Schemas/Properties.json
{
"$schema": "http://json-schema.org/draft-07/schema#", "title": "Property Metadata Schema", "type": "object", "properties": { "$schema": { "type": "string" } }, "additionalProperties": { "type": "object", "required": [ "Type" ], "properties": { "Type": { "type": "string", "enum": [ "string", "integer", "boolean" ] }, "Enum": { "type": "array", "items": {} }, "Validation": { "type": "object", "properties": { "Minimum": { "type": "number" }, "Maximum": { "type": "number" }, "MinLength": { "type": "integer" }, "MaxLength": { "type": "integer" }, "Pattern": { "type": "string", "format": "regex" } }, "additionalProperties": false } }, "additionalProperties": false } } |