jsonbinpack
Version:
A space-efficient schema-driven binary JSON serialization format based on JSON Schema
39 lines (38 loc) • 722 B
JSON
{
"type": "object",
"additionalProperties": false,
"required": [
"optimizations"
],
"properties": {
"optimizations": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"includes",
"excludes",
"lossy"
],
"properties": {
"includes": {
"type": "array",
"items": {
"type": "string"
}
},
"excludes": {
"type": "array",
"items": {
"type": "string"
}
},
"lossy": {
"type": "boolean"
}
}
}
}
}
}