jsonbinpack
Version:
A space-efficient schema-driven binary JSON serialization format based on JSON Schema
49 lines (48 loc) • 1.57 kB
JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"additionalProperties": false,
"required": ["rules"],
"properties": {
"rules": {
"type": "object",
"additionalProperties": false,
"required": ["no-any", "radix", "ordered-imports"],
"properties": {
"no-any": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": {
"type": "boolean"
}
},
"radix": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": {
"type": "boolean"
}
},
"ordered-imports": {
"type": "object",
"additionalProperties": false,
"required": ["options"],
"properties": {
"options": {
"type": "object",
"additionalProperties": false,
"required": ["grouped-imports"],
"properties": {
"grouped-imports": {
"type": "boolean"
}
}
}
}
}
}
}
}
}