UNPKG

jsonbinpack

Version:

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

55 lines (54 loc) 939 B
{ "type": "object", "additionalProperties": false, "required": [ "foo", "main", "options" ], "properties": { "foo": { "type": "array", "items": { "type": "string" } }, "main": { "type": "object", "additionalProperties": false, "required": [ "files", "src" ], "properties": { "files": { "type": "object", "additionalProperties": false, "required": [] }, "src": { "type": "array", "items": { "type": "string" } } } }, "options": { "type": "object", "additionalProperties": false, "required": [ "force", "no-write" ], "properties": { "force": { "type": "boolean" }, "no-write": { "type": "boolean" } } } } }