jsonbinpack
Version:
A space-efficient schema-driven binary JSON serialization format based on JSON Schema
40 lines (39 loc) • 561 B
JSON
{
"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"
}
}
}