VisualDataSchema:Images: Difference between revisions

From Visual Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 60: Line 60:
                             "type": "content-block",
                             "type": "content-block",
                             "name": "new_content_block",
                             "name": "new_content_block",
                             "content": "{{#visualdataquery:[[name::{{PAGEID}}]]\n|?image\n|schema=images\n|format=template\n|template=image_preview\n}}"
                             "content": "{{#visualdataquery:[[name::{{PAGEID}}]]\n|?project_objective\n|schema=Project Key Data\n|format=template\n|template=project\n}}"
                         },
                         },
                         "type": "object",
                         "type": "object",
                         "description": "schema does not exist"
                         "description": "Objective: Test PageIDObjective: fgh"
                     }
                     }
                 },
                 },

Revision as of 16:27, 23 February 2024

wiki
type"schema"
name"Images"
properties
image-container
wiki
name"image-container"
unique-itemstrue
type"schema"
items
type"object"
wiki
name"image"
type"schema"
layout"section"
properties
image
wiki
name"image"
type"property"
multiple-itemsfalse
requiredtrue
input-config
accept
"image/png"
"image/gif"
"image/jpeg"
"image/pjpeg"
"image/jpeg"
"image/pjpeg"
"image/webp"
value-prefix"File:"
visibility"visible"
preferred-input"OO.ui.SelectFileWidget"
type"string"
format"text"
caption
wiki
name"caption"
type"property"
multiple-itemsfalse
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
type"string"
format"text"
new_content_block
wiki
type"content-block"
name"new_content_block"
content"{{#visualdataquery:[[name::{{PAGEID}}]] |?project_objective |schema=Project Key Data |format=template |template=project }}"
type"object"
description"Objective: Test PageIDObjective: fgh"
required
"image"
type"array"
uniqueItemstrue
type"object"