VisualDataSchema:Test schema: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 45: | Line 45: | ||
"dropdown": { | "dropdown": { | ||
"wiki": { | "wiki": { | ||
"name": "dropdown", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"label-parsed": "dropdown", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.DropdownInputWidget", | "preferred-input": "OO.ui.DropdownInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"required": false, | "required": false, | ||
"options-allow-null": false | "options-allow-null": false, | ||
"options-values-parsed": { | |||
"a": "a", | |||
"b": "b", | |||
"c": "c" | |||
} | |||
}, | }, | ||
"enum": [ | "enum": [ | ||
Line 65: | Line 71: | ||
"file": { | "file": { | ||
"wiki": { | "wiki": { | ||
"name": "file", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"input-config": { | |||
"accept": [ | |||
"image/svg+xml", | |||
"image/png", | |||
"image/gif", | |||
"image/jpeg", | |||
"image/pjpeg", | |||
"image/jpeg", | |||
"image/pjpeg", | |||
"image/webp", | |||
"application/pdf", | |||
"image/tiff", | |||
"image/x-tiff", | |||
"image/bmp", | |||
"image/x-windows-bmp" | |||
] | |||
}, | |||
"label-parsed": "file", | |||
"value-prefix": "File:", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.SelectFileWidget", | "preferred-input": "OO.ui.SelectFileWidget", | ||
"required": false | "required": false | ||
}, | }, | ||
Line 79: | Line 103: | ||
"combobox": { | "combobox": { | ||
"wiki": { | "wiki": { | ||
"name": "combobox", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"label-parsed": "combobox", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.ComboBoxInputWidget", | "preferred-input": "OO.ui.ComboBoxInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"options-allow-null": false, | "options-allow-null": false, | ||
"required": false | "required": false, | ||
"options-values-parsed": { | |||
"a": "a", | |||
"b": "b", | |||
"c": "c" | |||
} | |||
}, | }, | ||
"enum": [ | "enum": [ | ||
Line 99: | Line 129: | ||
"number": { | "number": { | ||
"wiki": { | "wiki": { | ||
"name": "number", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"label-parsed": "number", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.NumberInputWidget", | "preferred-input": "OO.ui.NumberInputWidget", | ||
"input-config": [], | "input-config": [], | ||
Line 110: | Line 141: | ||
"format": "number", | "format": "number", | ||
"title": "number" | "title": "number" | ||
}, | |||
"tel": { | |||
"wiki": { | |||
"name": "tel", | |||
"type": "property", | |||
"multiple-items": false, | |||
"label-parsed": "tel", | |||
"visibility": "visible", | |||
"preferred-input": "intl-tel-input", | |||
"input-config": [], | |||
"required": false | |||
}, | |||
"type": "string", | |||
"format": "tel", | |||
"title": "tel" | |||
}, | }, | ||
"rating": { | "rating": { | ||
"wiki": { | "wiki": { | ||
"name": "rating", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"label-parsed": "rating", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "RatingWidget", | "preferred-input": "RatingWidget", | ||
"input-config": [], | "input-config": [], | ||
Line 138: | Line 185: | ||
"name": "button-multiselect", | "name": "button-multiselect", | ||
"type": "property", | "type": "property", | ||
"multiple-items": true, | |||
"label-parsed": "button-multiselect", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "ButtonMultiselectWidget", | "preferred-input": "ButtonMultiselectWidget", | ||
"input-config": [], | "input-config": [], | ||
"required": false, | "required": false, | ||
"options-allow-null": false | "options-allow-null": false, | ||
"options-values-parsed": { | |||
"a": "a", | |||
"b": "b", | |||
"c": "c", | |||
"d": "d", | |||
"e": "e" | |||
}, | |||
"layout": "table" | |||
}, | }, | ||
"enum": [ | "enum": [ | ||
Line 161: | Line 217: | ||
"date": { | "date": { | ||
"wiki": { | "wiki": { | ||
"name": "date", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"label-parsed": "date", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "mw.widgets.DateInputWidget", | "preferred-input": "mw.widgets.DateInputWidget", | ||
"input-config": [], | "input-config": [], | ||
Line 175: | Line 232: | ||
"datetime": { | "datetime": { | ||
"wiki": { | "wiki": { | ||
"name": "datetime", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"label-parsed": "datetime", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "mw.widgets.datetime.DateTimeInputWidget", | "preferred-input": "mw.widgets.datetime.DateTimeInputWidget", | ||
"input-config": [], | "input-config": [], |
Latest revision as of 21:51, 9 December 2023
wiki |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
properties |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | "object" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
title | "Test schema" |