| $schema | "https://json-schema.org/draft/2020-12/schema" |
|---|
| title | "Survey Builder" |
|---|
| description | "" |
|---|
| type | "object" |
|---|
| x-layout | "default" |
|---|
| x-value-converter | "survey" |
|---|
| definitions | | cell | | title | "Data Cell" |
|---|
| oneOf | |
| title | "checkbox" |
|---|
| const | "checkbox" |
|---|
|
| type | "object" |
|---|
| title | "matrix" |
|---|
| description | "Configuration for data cells" |
|---|
| properties | | type | | type | "string" |
|---|
| enum | |
|---|
| default | "number" |
|---|
|
|---|
| input | |
|---|
| x-input-config | | type | "object" |
|---|
| compact | true |
|---|
| x-collapsible | true |
|---|
| description | "Configuration options passed to the selected input widget" |
|---|
| x-watch | "input" |
|---|
| links | | rel | "describedBy" |
|---|
| href | "JsonSchema:MetaSchema/InputOptions#/definitions/{{input}}" |
|---|
|
|
|---|
|
|---|
|
|---|
| allOf | | if | |
|---|
| then | | properties | | input | | enum | | "OO.ui.NumberInputWidget" |
| "RangeWidget" |
|
|---|
|
|---|
|
|---|
|
|---|
|
|
|
|---|
|
|
|---|
|
|---|
| item | | type | "object" |
|---|
| properties | | name | | type | "string" |
|---|
| title | "Row Name" |
|---|
| minLength | 1 |
|---|
| description | "" |
|---|
| x-format | "text" |
|---|
| x-input | "OO.ui.TextInputWidget" |
|---|
| x-input-config | |
|---|
|
|---|
| title | | type | "string" |
|---|
| title | "Row Title" |
|---|
| description | "Display title for the row" |
|---|
| x-format | "text" |
|---|
| x-input | "OO.ui.TextInputWidget" |
|---|
| x-input-config | |
|---|
|
|---|
|
|---|
| required | |
|---|
| title | "" |
|---|
| description | "" |
|---|
| x-layout | "default" |
|---|
| x-collapsible | false |
|---|
|
|---|
|
|---|
| properties | | items | | type | "array" |
|---|
| x-layout | "tabs" |
|---|
| description | "Each item represents a level of the survey, from outer to inner. Each level includes both rows and columns." |
|---|
| items | | type | "object" |
|---|
| properties | | rows | | type | "array" |
|---|
| items | | $ref | "#/definitions/item" |
|---|
| type | "object" |
|---|
| title | "" |
|---|
| description | "" |
|---|
| properties | |
|---|
| required | |
|---|
| x-layout | "default" |
|---|
|
|---|
| title | "" |
|---|
| description | "" |
|---|
| x-layout | "booklet" |
|---|
| minItems | 1 |
|---|
| x-collapsible | true |
|---|
|
|---|
| columns | | type | "array" |
|---|
| items | | $ref | "#/definitions/item" |
|---|
| type | "object" |
|---|
| title | "" |
|---|
| description | "" |
|---|
| properties | |
|---|
| required | |
|---|
| x-layout | "default" |
|---|
|
|---|
| title | "" |
|---|
| description | "" |
|---|
| x-layout | "booklet" |
|---|
| minItems | 1 |
|---|
| x-collapsible | true |
|---|
|
|---|
|
|---|
| required | |
|---|
| title | "" |
|---|
| description | "" |
|---|
| x-layout | "default" |
|---|
|
|---|
|
|---|
| cell | |
|---|
|
|---|
| required | |
|---|
| $id | "http://127.0.0.1/mediawiki-1.44.0/index.php/JsonSchema:SurveyBuilder_b" |
|---|