VisualDataSchema:Pictures: Difference between revisions
Created page with "{"wiki":{"type":"schema","name":"Picture"},"properties":{"organization":{"wiki":{"type":"property","name":"organization","visibility":"visible","label":"organization","multiple-items":false,"preferred-input":"OO.ui.TextInputWidget","input-config":[],"required":true},"type":"string","format":"text","title":"organization"},"file":{"wiki":{"type":"property","name":"file","visibility":"visible","label":"file","multiple-items":false,"preferred-input":"OO.ui.SelectFileWidget",..." |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
"wiki": { | "wiki": { | ||
"type": "schema", | "type": "schema", | ||
" | "uuid": "68416fad59ec7", | ||
" | "name": "Pictures" | ||
}, | }, | ||
"properties": { | "properties": { | ||
Line 9: | Line 9: | ||
"wiki": { | "wiki": { | ||
"type": "property", | "type": "property", | ||
"uuid": "68416fad59ecb", | |||
"name": "organization", | "name": "organization", | ||
"visibility": "visible", | "visibility": "visible", | ||
"label": "organization", | "label": "organization", | ||
"multiple-items": false, | "multiple-items": false, | ||
"preferred-input": " | "preferred-input": "LookupElement", | ||
"input-config": [], | "input-config": [], | ||
" | "options-query": "[[name::~\u003Cvalue\u003E~]]", | ||
" | "query-schema": "Organization", | ||
"query-printouts": [ | |||
"name" | |||
], | |||
"required": true | |||
}, | }, | ||
"type": "string", | "type": "string", | ||
Line 22: | Line 27: | ||
"title": "organization" | "title": "organization" | ||
}, | }, | ||
" | "location": { | ||
"wiki": { | "wiki": { | ||
"name": "location", | |||
"type": "property", | "type": "property", | ||
"multiple-items": false, | "multiple-items": false, | ||
" | "label": "location", | ||
"uuid": "68416fad59ed3", | |||
"uuid": " | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.DropdownInputWidget", | |||
"preferred-input": "OO.ui. | |||
"input-config": [], | "input-config": [], | ||
"options-query": "[[name::+]][[organization::\u003Corganization\u003E]]", | |||
"options-query": "[[name:+]][[organization::\u003Corganization\u003E]]", | |||
"query-schema": "Location", | "query-schema": "Location", | ||
"query-printouts": [ | "query-printouts": [ | ||
"name" | "name" | ||
], | ], | ||
" | "required": false, | ||
"options-allow-null": false | |||
}, | }, | ||
"type": "string", | "type": "string", | ||
"format": "text", | "format": "text", | ||
"title": "location" | "title": "location" | ||
}, | |||
"pictures": { | |||
"wiki": { | |||
"name": "pictures", | |||
"min-items": 1, | |||
"unique-items": false, | |||
"type": "schema", | |||
"uuid": "6841709eb242e" | |||
}, | |||
"items": { | |||
"type": "object", | |||
"wiki": { | |||
"name": "pictures", | |||
"type": "schema", | |||
"uuid": "68417068e481a", | |||
"layout": "section", | |||
"visibility": "visible" | |||
}, | |||
"properties": { | |||
"file": { | |||
"wiki": { | |||
"name": "file", | |||
"type": "property", | |||
"multiple-items": false, | |||
"required": true, | |||
"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" | |||
] | |||
}, | |||
"value-prefix": "File:", | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.SelectFileWidget", | |||
"uuid": "68417068e4820" | |||
}, | |||
"type": "string", | |||
"format": "text" | |||
}, | |||
"caption": { | |||
"wiki": { | |||
"name": "caption", | |||
"type": "property", | |||
"multiple-items": false, | |||
"label": "caption", | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.TextInputWidget", | |||
"input-config": [], | |||
"required": false, | |||
"uuid": "68417068e4823" | |||
}, | |||
"type": "string", | |||
"format": "text", | |||
"title": "caption" | |||
}, | |||
"date": { | |||
"wiki": { | |||
"name": "date", | |||
"type": "property", | |||
"multiple-items": false, | |||
"label": "date", | |||
"visibility": "visible", | |||
"preferred-input": "mw.widgets.DateInputWidget", | |||
"input-config": [], | |||
"required": false, | |||
"uuid": "6841709eb2435" | |||
}, | |||
"type": "string", | |||
"format": "date", | |||
"title": "date" | |||
} | |||
}, | |||
"required": [ | |||
"file" | |||
] | |||
}, | |||
"type": "array", | |||
"minItems": 1, | |||
"uniqueItems": false | |||
} | } | ||
}, | }, | ||
"required": [ | "required": [ | ||
"organization | "organization" | ||
], | ], | ||
"type": "object" | "type": "object" | ||
} | } |
Latest revision as of 11:31, 5 June 2025
wiki |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
properties |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | "object" |