jsonbinpack
Version:
A space-efficient schema-driven binary JSON serialization format based on JSON Schema
78 lines (77 loc) • 2.1 kB
JSON
{
"type": "object",
"additionalProperties": false,
"required": [
"version",
"workflows"
],
"properties": {
"version": {
"type": "number"
},
"workflows": {
"type": "object",
"additionalProperties": false,
"required": [
"test"
],
"properties": {
"test": {
"type": "object",
"additionalProperties": false,
"required": [
"jobs"
],
"properties": {
"jobs": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"m1"
],
"properties": {
"m1": {
"type": "object",
"additionalProperties": false,
"required": [
"matrix"
],
"properties": {
"matrix": {
"type": "object",
"additionalProperties": false,
"required": [
"parameters"
],
"properties": {
"parameters": {
"type": "object",
"additionalProperties": false,
"required": [
"a"
],
"properties": {
"a": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}