How would you design JSON Schema for an arbitrary key?
On json-schema.org you will find something appropriate in the File System Example section. You can define patternProperties inside an object. { “type”: “object”, “properties”: { “/”: {} }, “patternProperties”: { “^(label_name_[0-9]+)+$”: { “type”: “integer” } }, “additionalProperties”: false, } The regular expression (label_name_[0-9]+)+ should fit your needs. In JSON Schema regular expressions are explicitly anchored … Read more