jsonbinpack
Version:
A space-efficient schema-driven binary JSON serialization format based on JSON Schema
30 lines (29 loc) • 566 B
JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"additionalProperties": false,
"required": [ "cjs", "mainFields", "mode", "force", "cache", "sourceMap" ],
"properties": {
"cjs": {
"type": "boolean"
},
"mainFields": {
"type": "array",
"items": {
"type": "string"
}
},
"mode": {
"enum": [ "auto", "all", "strict" ]
},
"force": {
"type": "boolean"
},
"cache": {
"type": "boolean"
},
"sourceMap": {
"type": "boolean"
}
}
}