VisualDataSchema:Page upload: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
     "wiki": {
     "wiki": {
         "type": "schema",
         "type": "schema",
         "name": "Page upload"
         "name": "Page upload",
        "description-parsed": "a multiple upload with file select and caption, that saves files under the page with this schema, using the \u003Cb\u003EpageId as prefix\u003C/b\u003E",
        "description": "a multiple upload with file select and caption, that saves files under the page with this schema, using the '''pageId as prefix'''"
     },
     },
     "properties": {
     "properties": {
Line 8: Line 10:
             "wiki": {
             "wiki": {
                 "name": "files",
                 "name": "files",
                "title-parsed": "Files",
                "title": "Files",
                "min-items": 1,
                "unique-items": false,
                 "type": "schema"
                 "type": "schema"
             },
             },
Line 73: Line 79:
             },
             },
             "type": "array",
             "type": "array",
             "title": "Files",
             "title": "Files"
            "minItems": 1,
            "uniqueItems": false
         }
         }
     },
     },
     "type": "object",
     "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'''"
     "description": "a multiple upload with file select and caption, that saves files under the page with this schema, using the \u003Cb\u003EpageId as prefix\u003C/b\u003E"
}
}

Revision as of 11:04, 30 October 2023

wiki
type"schema"
name"Page upload"
description-parsed"a multiple upload with file select and caption, that saves files under the page with this schema, using the <b>pageId as prefix</b>"
description"a multiple upload with file select and caption, that saves files under the page with this schema, using the '''pageId as prefix'''"
properties
files
wiki
name"files"
title-parsed"Files"
title"Files"
min-items1
unique-itemsfalse
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"
type"object"
description"a multiple upload with file select and caption, that saves files under the page with this schema, using the <b>pageId as prefix</b>"