VisualDataSchema:Images: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary |
||
Line 5: | Line 5: | ||
}, | }, | ||
"properties": { | "properties": { | ||
"image | "image": { | ||
"wiki": { | "wiki": { | ||
" | "type": "schema", | ||
" | "name": "image", | ||
" | "layout": "section" | ||
}, | }, | ||
" | "properties": { | ||
"image": { | |||
"wiki": { | |||
"name": "image", | |||
"type": "property", | |||
"multiple-items": false, | |||
"required": true, | |||
"input-config": { | |||
" | "accept": [ | ||
"image/png", | |||
"image/gif", | |||
"image/jpeg", | |||
"image/pjpeg", | |||
"image/webp" | |||
], | |||
"droppable": true, | |||
"showDropTarget": true, | |||
"inputFilter": "" | |||
}, | }, | ||
" | "value-prefix": "File:", | ||
" | "visibility": "visible", | ||
"preferred-input": "OO.ui.SelectFileWidget" | |||
}, | }, | ||
"type": "string", | |||
"format": "text" | |||
}, | }, | ||
"required": | "caption": { | ||
" | "wiki": { | ||
"name": "caption", | |||
"type": "property", | |||
"multiple-items": false, | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.TextInputWidget", | |||
"input-config": [], | |||
"required": false | |||
}, | |||
"type": "string", | |||
"format": "text" | |||
} | |||
}, | }, | ||
" | "required": [ | ||
" | "image" | ||
], | |||
"type": "object" | |||
} | } | ||
}, | }, | ||
"type": "object" | "type": "object" | ||
} | } |
Revision as of 17:57, 23 February 2024
wiki |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
properties |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | "object" |