{"additionalProperties": false, "required": ["slug", "type"], "type": "object", "properties": {"regex": {"type": "string", "format": "regex"}, "multi": {"default": false, "type": "boolean"}, "hidden": {"type": "string", "examples": ["params.country.value !== 'USA'"]}, "name": {"type": "string"}, "default": {"oneOf": [{"type": "string"}, {"type": "number"}, {"type": "boolean"}, {"required": ["config"], "type": "object", "properties": {"config": {"type": "string"}}}, {"type": "object"}, {"type": "array"}]}, "required": {"default": true, "type": "boolean"}, "options": {"anyOf": [{"items": {"anyOf": [{"type": "string"}, {"type": "number"}, {"type": "boolean"}, {"additionalProperties": false, "required": ["label", "value"], "type": "object", "properties": {"value": {"anyOf": [{"type": "string"}, {"type": "number"}, {"type": "boolean"}, {"type": "object"}, {"type": "array"}]}, "label": {"type": "string"}}}, {"additionalProperties": false, "required": ["label", "config"], "type": "object", "properties": {"config": {"type": "string"}, "label": {"type": "string"}}}, {"type": "object"}, {"type": "array"}]}, "type": "array", "examples": ["Alfred Pennyworth", {"value": "Bruce Wayne", "label": "Batman"}]}, {"required": ["slug"], "type": "object", "properties": {"enabled": {"type": "string"}, "params": {"patternProperties": {"^[a-z0-9_]{1,50}$": {"type": "string"}}, "type": "object"}, "slug": {"type": "string"}}}]}, "validate": {"type": "string", "examples": ["params.country.value === 'USA' ? 'The country cannot be set to USA.' : undefined"]}, "type": {"enum": ["shorttext", "longtext", "sql", "boolean", "upload", "integer", "float", "date", "datetime", "configvar", "json"]}, "slug": {"pattern": "^[a-z0-9_]+$", "type": "string", "maxLength": 50}}}