app-json_forms Schemas

On this page:

formSchema

{ "$id": "formSchema", "definitions": { "container": { "type": "object", "properties": { "uniqueItems": { "type": "boolean" }, "type": { "type": "string" }, "title": { "type": "string", "examples": [ "Connection Information" ] }, "description": { "type": "string", "examples": [ "This form describes the connection information for a device." ] }, "required": { "type": "array", "items": { "type": "string" }, "examples": [ [ "kdWO-g4oS3GkzrbqDqCZUw" ] ] }, "readOnly": { "type": "boolean" }, "properties": { "type": "object", "patternProperties": { ".*": { "anyOf": [ { "$ref": "#/definitions/container" }, { "$ref": "#/definitions/checkboxField" }, { "$ref": "#/definitions/numberField" }, { "$ref": "#/definitions/textField" }, { "$ref": "#/definitions/textareaField" }, { "$ref": "#/definitions/dropdownField" } ] } } }, "items": { "$ref": "#/definitions/tableItems" } }, "required": [ "type", "title" ], "additionalProperties": false }, "tableItems": { "type": "object", "properties": { "type": { "type": "string" }, "required": { "type": "array", "items": { "type": "string" } }, "readOnly": { "type": "boolean" }, "properties": { "type": "object", "patternProperties": { ".*": { "anyOf": [ { "$ref": "#/definitions/container" }, { "$ref": "#/definitions/checkboxField" }, { "$ref": "#/definitions/numberField" }, { "$ref": "#/definitions/textField" }, { "$ref": "#/definitions/textareaField" }, { "$ref": "#/definitions/dropdownField" } ] } } } } }, "checkboxField": { "type": "object", "properties": { "type": { "type": "string", "const": "boolean" }, "title": { "type": "string", "examples": [ "Allow timeout" ] }, "description": { "type": "string", "examples": [ "Is a timeout allowed to pass this step?" ] }, "default": { "type": "boolean" }, "enum": { "type": "array", "items": { "type": "boolean" } }, "readOnly": { "type": "boolean" } }, "required": [ "type", "title", "description" ], "additionalProperties": false }, "numberField": { "type": "object", "properties": { "type": { "type": "string", "const": "number" }, "title": { "type": "string", "examples": [ "Retry attempts" ] }, "description": { "type": "string", "examples": [ "The number of connection retries before timing out." ] }, "readOnly": { "type": "boolean" }, "placeholder": { "type": "string" }, "minimum": { "type": "number" }, "maximum": { "type": "number" } }, "required": [ "type", "title", "description" ], "additionalProperties": false }, "textField": { "type": "object", "properties": { "type": { "type": "string", "const": "string" }, "title": { "type": "string", "examples": [ "Device Name" ] }, "description": { "type": "string", "examples": [ "A unique name of the target device." ] }, "pattern": { "type": "string", "examples": [ "regex" ] }, "readOnly": { "type": "boolean" }, "placeholder": { "type": "string" }, "binding": { "type": "boolean" }, "format": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } }, "required": [ "type", "title", "description" ], "additionalProperties": false }, "textareaField": { "type": "object", "properties": { "type": { "type": "string" }, "title": { "type": "string", "examples": [ "Device Name" ] }, "description": { "type": "string", "examples": [ "A unique name of the target device." ] }, "pattern": { "type": "string", "examples": [ "regex" ] }, "placeholder": { "type": "string" }, "readOnly": { "type": "boolean" }, "format": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } }, "required": [ "type", "title", "description" ], "additionalProperties": false }, "dropdownField": { "type": "object", "properties": { "type": { "type": "string", "const": "string" }, "title": { "type": "string", "examples": [ "Device Name" ] }, "description": { "type": "string", "examples": [ "A unique name of the target device." ] }, "enum": { "type": "array", "default": [] }, "pattern": { "type": "string", "examples": [ "regex" ] }, "readOnly": { "type": "boolean" }, "placeholder": { "type": "string" }, "binding": { "type": "boolean" } }, "required": [ "type", "title", "description" ], "additionalProperties": false } } }