VisualDataSchema:Page upload

From Wikisphere
Revision as of 09:17, 30 October 2023 by Admin (talk | contribs)
Jump to navigation Jump to search
wiki
type"schema"
name"Page upload"
properties
new_content_block
wiki
type"content-block"
name"new_content_block"
content"a multiple upload with file select and caption, that saves files under the page with this schema, using the pageId as prefix"
type"object"
description"a multiple upload with file select and caption, that saves files under the page with this schema, using the pageId as prefix"
files
wiki
name"files"
type"schema"
items
type"object"
wiki
name"file"
type"schema"
layout"section"
properties
file
wiki
name"file"
type"property"
multiple-itemsfalse
requiredtrue
input-config
accept
"image/svg+xml"
"image/png"
"image/gif"
"image/jpeg"
"image/pjpeg"
"image/webp"
"application/pdf"
"image/tiff"
"image/x-tiff"
"image/bmp"
"image/x-windows-bmp"
droppabletrue
showDropTargettrue
label-parsed"file"
value-prefix"File:"
visibility"visible"
preferred-input"OO.ui.SelectFileWidget"
value-formula"{{PAGEID}}-<value>"
type"string"
format"text"
title"file"
caption
wiki
name"caption"
type"property"
multiple-itemsfalse
label-parsed"caption"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
property-model"json-schema"
type"string"
format"text"
title"caption"
required
"file"
type"array"
title"Files"
minItems1
uniqueItemsfalse
type"object"
description"a multiple upload with file select and caption, that saves files under the page with this schema, using the pageId as prefix"