VisualDataSchema:Pictures: Difference between revisions

From Wikiyouth
Created page with "{"wiki":{"type":"schema","name":"Picture"},"properties":{"organization":{"wiki":{"type":"property","name":"organization","visibility":"visible","label":"organization","multiple-items":false,"preferred-input":"OO.ui.TextInputWidget","input-config":[],"required":true},"type":"string","format":"text","title":"organization"},"file":{"wiki":{"type":"property","name":"file","visibility":"visible","label":"file","multiple-items":false,"preferred-input":"OO.ui.SelectFileWidget",..."
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:
"wiki": {
"wiki": {
"type": "schema",
"type": "schema",
"name": "Picture",
"uuid": "68416fad59ec7",
"uuid": "68416fad59ec7"
"name": "Pictures"
},
},
"properties": {
"properties": {
Line 9: Line 9:
"wiki": {
"wiki": {
"type": "property",
"type": "property",
"uuid": "68416fad59ecb",
"name": "organization",
"name": "organization",
"visibility": "visible",
"visibility": "visible",
"label": "organization",
"label": "organization",
"multiple-items": false,
"multiple-items": false,
"preferred-input": "OO.ui.TextInputWidget",
"preferred-input": "LookupElement",
"input-config": [],
"input-config": [],
"required": true,
"options-query": "[[name::~\u003Cvalue\u003E~]]",
"uuid": "68416fad59ecb"
"query-schema": "Organization",
"query-printouts": [
"name"
],
"required": true
},
},
"type": "string",
"type": "string",
Line 22: Line 27:
"title": "organization"
"title": "organization"
},
},
"file": {
"location": {
"wiki": {
"wiki": {
"name": "location",
"type": "property",
"type": "property",
"name": "file",
"visibility": "visible",
"label": "file",
"multiple-items": false,
"multiple-items": false,
"preferred-input": "OO.ui.SelectFileWidget",
"label": "location",
"input-config": [],
"uuid": "68416fad59ed3",
"required": true,
"uuid": "68416fad59ece"
},
"type": "string",
"format": "text",
"title": "file"
},
"caption": {
"wiki": {
"type": "property",
"name": "caption",
"visibility": "visible",
"visibility": "visible",
"label": "caption",
"preferred-input": "OO.ui.DropdownInputWidget",
"multiple-items": false,
"preferred-input": "OO.ui.TextInputWidget",
"input-config": [],
"input-config": [],
"required": true,
"options-query": "[[name::+]][[organization::\u003Corganization\u003E]]",
"uuid": "68416fad59ed1"
},
"type": "string",
"format": "text",
"title": "caption"
},
"location": {
"wiki": {
"type": "property",
"name": "location",
"visibility": "visible",
"label": "location",
"multiple-items": false,
"preferred-input": "LookupElement",
"input-config": [],
"required": false,
"options-query": "[[name:+]][[organization::\u003Corganization\u003E]]",
"query-schema": "Location",
"query-schema": "Location",
"query-printouts": [
"query-printouts": [
"name"
"name"
],
],
"uuid": "68416fad59ed3"
"required": false,
"options-allow-null": false
},
},
"type": "string",
"type": "string",
"format": "text",
"format": "text",
"title": "location"
"title": "location"
},
"pictures": {
"wiki": {
"name": "pictures",
"min-items": 1,
"unique-items": false,
"type": "schema",
"uuid": "6841709eb242e"
},
"items": {
"type": "object",
"wiki": {
"name": "pictures",
"type": "schema",
"uuid": "68417068e481a",
"layout": "section",
"visibility": "visible"
},
"properties": {
"file": {
"wiki": {
"name": "file",
"type": "property",
"multiple-items": false,
"required": true,
"input-config": {
"accept": [
"image/svg+xml",
"image/png",
"image/gif",
"image/jpeg",
"image/pjpeg",
"image/jpeg",
"image/pjpeg",
"image/webp",
"application/pdf",
"image/tiff",
"image/x-tiff",
"image/bmp",
"image/x-windows-bmp"
]
},
"value-prefix": "File:",
"visibility": "visible",
"preferred-input": "OO.ui.SelectFileWidget",
"uuid": "68417068e4820"
},
"type": "string",
"format": "text"
},
"caption": {
"wiki": {
"name": "caption",
"type": "property",
"multiple-items": false,
"label": "caption",
"visibility": "visible",
"preferred-input": "OO.ui.TextInputWidget",
"input-config": [],
"required": false,
"uuid": "68417068e4823"
},
"type": "string",
"format": "text",
"title": "caption"
},
"date": {
"wiki": {
"name": "date",
"type": "property",
"multiple-items": false,
"label": "date",
"visibility": "visible",
"preferred-input": "mw.widgets.DateInputWidget",
"input-config": [],
"required": false,
"uuid": "6841709eb2435"
},
"type": "string",
"format": "date",
"title": "date"
}
},
"required": [
"file"
]
},
"type": "array",
"minItems": 1,
"uniqueItems": false
}
}
},
},
"required": [
"required": [
"organization",
"organization"
"file",
"caption"
],
],
"type": "object"
"type": "object"
}
}

Latest revision as of 11:31, 5 June 2025

wiki
type"schema"
uuid"68416fad59ec7"
name"Pictures"
properties
organization
wiki
type"property"
uuid"68416fad59ecb"
name"organization"
visibility"visible"
label"organization"
multiple-itemsfalse
preferred-input"LookupElement"
input-config
Empty array
options-query"[[name::~<value>~]]"
query-schema"Organization"
query-printouts
"name"
requiredtrue
type"string"
format"text"
title"organization"
location
wiki
name"location"
type"property"
multiple-itemsfalse
label"location"
uuid"68416fad59ed3"
visibility"visible"
preferred-input"OO.ui.DropdownInputWidget"
input-config
Empty array
options-query"[[name::+]][[organization::<organization>]]"
query-schema"Location"
query-printouts
"name"
requiredfalse
options-allow-nullfalse
type"string"
format"text"
title"location"
pictures
wiki
name"pictures"
min-items1
unique-itemsfalse
type"schema"
uuid"6841709eb242e"
items
type"object"
wiki
name"pictures"
type"schema"
uuid"68417068e481a"
layout"section"
visibility"visible"
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/jpeg"
"image/pjpeg"
"image/webp"
"application/pdf"
"image/tiff"
"image/x-tiff"
"image/bmp"
"image/x-windows-bmp"
value-prefix"File:"
visibility"visible"
preferred-input"OO.ui.SelectFileWidget"
uuid"68417068e4820"
type"string"
format"text"
caption
wiki
name"caption"
type"property"
multiple-itemsfalse
label"caption"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
uuid"68417068e4823"
type"string"
format"text"
title"caption"
date
wiki
name"date"
type"property"
multiple-itemsfalse
label"date"
visibility"visible"
preferred-input"mw.widgets.DateInputWidget"
input-config
Empty array
requiredfalse
uuid"6841709eb2435"
type"string"
format"date"
title"date"
required
"file"
type"array"
minItems1
uniqueItemsfalse
required
"organization"
type"object"