VisualDataSchema:Page upload: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: content model change
Line 2: Line 2:
     "wiki": {
     "wiki": {
         "type": "schema",
         "type": "schema",
        "uuid": "66142e96ec966",
         "name": "Page upload",
         "name": "Page upload",
        "title-parsed": "Page upload",
         "title": "Page upload",
         "title": "Page upload",
        "description-parsed": "a multiple file upload with droppable area and caption. Uploaded files will be saved under the page holding this schema, using the \u003Cb\u003EpageId as prefix\u003C/b\u003E",
         "description": "a multiple file upload with droppable area and caption. Uploaded files will be saved under the page holding this schema, using the '''pageId as prefix'''"
         "description": "a multiple file upload with droppable area and caption. Uploaded files will be saved under the page holding this schema, using the '''pageId as prefix'''"
     },
     },
Line 16: Line 15:
                 "min-items": 1,
                 "min-items": 1,
                 "unique-items": false,
                 "unique-items": false,
                 "type": "schema"
                 "type": "schema",
                "uuid": "66142e96ec96c"
             },
             },
             "items": {
             "items": {
Line 23: Line 23:
                     "name": "file",
                     "name": "file",
                     "type": "schema",
                     "type": "schema",
                     "layout": "section"
                     "layout": "section",
                    "uuid": "66142e96ec96f"
                 },
                 },
                 "properties": {
                 "properties": {
Line 53: Line 54:
                             "visibility": "visible",
                             "visibility": "visible",
                             "preferred-input": "OO.ui.SelectFileWidget",
                             "preferred-input": "OO.ui.SelectFileWidget",
                             "value-formula": "{{PAGEID}}-\u003Cvalue\u003E"
                             "value-formula": "{{PAGEID}}-\u003Cvalue\u003E",
                            "uuid": "66142e96ec971"
                         },
                         },
                         "type": "string",
                         "type": "string",
Line 69: Line 71:
                             "input-config": [],
                             "input-config": [],
                             "required": false,
                             "required": false,
                             "property-model": "json-schema"
                             "property-model": "json-schema",
                            "uuid": "66142e96ec977"
                         },
                         },
                         "type": "string",
                         "type": "string",

Latest revision as of 17:51, 8 April 2024

wiki
type"schema"
uuid"66142e96ec966"
name"Page upload"
title"Page upload"
description"a multiple file upload with droppable area and caption. Uploaded files will be saved under the page holding this schema, using the '''pageId as prefix'''"
properties
files
wiki
name"files"
title-parsed"Files"
title"Files"
min-items1
unique-itemsfalse
type"schema"
uuid"66142e96ec96c"
items
type"object"
wiki
name"file"
type"schema"
layout"section"
uuid"66142e96ec96f"
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>"
uuid"66142e96ec971"
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"
uuid"66142e96ec977"
type"string"
format"text"
title"caption"
required
"file"
type"array"
title"Files"
minItems1
uniqueItemsfalse
type"object"
title"Page upload"
description"a multiple file upload with droppable area and caption. Uploaded files will be saved under the page holding this schema, using the <b>pageId as prefix</b>"
[Mark as patrolled]