VisualDataSchema:News media: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
"wiki": { | "wiki": { | ||
"type": "schema", | "type": "schema", | ||
" | "uuid": "673a69318a10d", | ||
" | "name": "News media" | ||
}, | }, | ||
"properties": { | "properties": { | ||
"name": { | "name": { | ||
"wiki": { | "wiki": { | ||
"name": "name", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"required": true, | |||
"label": "name", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"uuid": "673a69318a116" | |||
"uuid": " | |||
}, | }, | ||
"type": "string", | "type": "string", | ||
Line 24: | Line 24: | ||
"language": { | "language": { | ||
"wiki": { | "wiki": { | ||
"name": "language", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"required": true, | |||
"label": "language", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"uuid": "673a69318a11e" | |||
"uuid": " | |||
}, | }, | ||
"type": "string", | "type": "string", | ||
Line 40: | Line 40: | ||
"scope": { | "scope": { | ||
"wiki": { | "wiki": { | ||
"name": "scope", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"label": "scope", | |||
"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, | ||
"uuid": " | "options-values-parsed": { | ||
"world": "world", | |||
"national": "national", | |||
"regional": "regional" | |||
}, | |||
"uuid": "673a69318a126" | |||
}, | }, | ||
"type": "string", | "type": "string", | ||
Line 62: | Line 67: | ||
"country": { | "country": { | ||
"wiki": { | "wiki": { | ||
"name": "country", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"label": "country", | "label": "country", | ||
" | "visibility": "visible", | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"required": false, | "required": false, | ||
"uuid": "6751c1f664097" | |||
"uuid": " | |||
}, | }, | ||
"type": "string", | "type": "string", | ||
Line 81: | Line 83: | ||
"region": { | "region": { | ||
"wiki": { | "wiki": { | ||
"name": "region", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"label": "region", | |||
"uuid": "673a69318a138", | |||
"visibility": "condition", | "visibility": "condition", | ||
" | "showif-field": "scope", | ||
" | "showif-condition": "=", | ||
"showif-value": "regional", | |||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"required": false | "required": false | ||
}, | }, | ||
"type": "string", | "type": "string", | ||
Line 100: | Line 102: | ||
"url": { | "url": { | ||
"wiki": { | "wiki": { | ||
"name": "url", | |||
"type": "property", | "type": "property", | ||
"name": " | "multiple-items": false, | ||
"required": true, | |||
"label": "url", | |||
"uuid": "673a69318a13e", | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.TextInputWidget (url)", | |||
"input-config": [] | |||
}, | |||
"type": "string", | |||
"format": "url", | |||
"title": "url" | |||
}, | |||
"tags": { | |||
"wiki": { | |||
"name": "tags", | |||
"unique-items": false, | |||
"type": "schema", | |||
"uuid": "673a697da1b93" | |||
}, | |||
"items": { | |||
"type": "string", | |||
"wiki": { | |||
"name": "tags", | |||
"type": "property", | |||
"multiple-items": true, | |||
"label": "tags", | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.MenuTagMultiselectWidget", | |||
"input-config": [], | |||
"required": false, | |||
"options-allow-null": false, | |||
"options-wikilist": "News media tags", | |||
"uuid": "673a697da1b98", | |||
"options-values-parsed": { | |||
"Blog": "Blog" | |||
}, | |||
"layout": "table" | |||
}, | |||
"format": "text", | |||
"title": "tags", | |||
"enum": [ | |||
"Blog" | |||
] | |||
}, | |||
"type": "array", | |||
"uniqueItems": false | |||
}, | |||
"notes": { | |||
"wiki": { | |||
"type": "property", | |||
"name": "notes", | |||
"visibility": "visible", | "visibility": "visible", | ||
"label": " | "label": "notes", | ||
"multiple-items": false, | "multiple-items": false, | ||
"preferred-input": "OO.ui. | "preferred-input": "OO.ui.MultilineTextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"required": false, | "required": false, | ||
"uuid": " | "uuid": "67641b947403d" | ||
}, | }, | ||
"type": "string", | "type": "string", | ||
"format": " | "format": "textarea", | ||
"title": " | "title": "notes" | ||
} | } | ||
}, | }, | ||
"required": [ | "required": [ | ||
"name", | "name", | ||
"language" | "language", | ||
"url" | |||
], | ], | ||
"type": "object" | "type": "object" | ||
} | } |
Latest revision as of 13:11, 19 December 2024
wiki |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
properties |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | "object" |