UNPKG

jsonbinpack

Version:

A space-efficient schema-driven binary JSON serialization format based on JSON Schema

92 lines (91 loc) 1.84 kB
{ "type": "object", "encoding": "REQUIRED_ONLY_BOUNDED_TYPED_OBJECT", "options": { "propertyEncodings": { "github": { "type": "string", "encoding": "FLOOR_PREFIX_LENGTH_ENUM_VARINT", "options": { "minimum": 0 } }, "patreon": { "type": "enum", "encoding": "CONST_NONE", "options": { "value": null } }, "open_collective": { "type": "enum", "encoding": "CONST_NONE", "options": { "value": null } }, "ko_fi": { "type": "enum", "encoding": "CONST_NONE", "options": { "value": null } }, "tidelift": { "type": "enum", "encoding": "CONST_NONE", "options": { "value": null } }, "community_bridge": { "type": "enum", "encoding": "CONST_NONE", "options": { "value": null } }, "liberapay": { "type": "enum", "encoding": "CONST_NONE", "options": { "value": null } }, "issuehunt": { "type": "enum", "encoding": "CONST_NONE", "options": { "value": null } }, "otechie": { "type": "enum", "encoding": "CONST_NONE", "options": { "value": null } }, "custom": { "type": "enum", "encoding": "CONST_NONE", "options": { "value": null } } }, "requiredProperties": [ "community_bridge", "custom", "github", "issuehunt", "ko_fi", "liberapay", "open_collective", "otechie", "patreon", "tidelift" ], "booleanRequiredProperties": [] } }