VisualDataSchema:Person: Difference between revisions
Jump to navigation
Jump to search
Created page with "{"wiki":{"type":"schema","name":"Person"},"properties":{"first_name":{"wiki":{"type":"property","name":"first_name","visibility":"visible","label":"first name","multiple-items":false,"preferred-input":"OO.ui.TextInputWidget","input-config":[],"required":true},"type":"string","format":"text","title":"first name"}},"required":["first_name"],"type":"object"}" |
No edit summary |
||
Line 2: | Line 2: | ||
"wiki": { | "wiki": { | ||
"type": "schema", | "type": "schema", | ||
" | "uuid": "674f0a554a322", | ||
" | "name": "Person" | ||
}, | }, | ||
"properties": { | "properties": { | ||
"first_name": { | "first_name": { | ||
"wiki": { | "wiki": { | ||
"name": "first_name", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"required": true, | |||
"label": "first name", | |||
"visibility": "visible", | "visibility": "visible", | ||
" | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [], | |||
"uuid": "674f0a554a326" | |||
}, | |||
"type": "string", | |||
"format": "text", | |||
"title": "first name" | |||
}, | |||
"last_name": { | |||
"wiki": { | |||
"name": "last_name", | |||
"type": "property", | |||
"multiple-items": false, | "multiple-items": false, | ||
"required": true, | |||
"label": "last name", | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"uuid": "674f0a554a32a" | |||
}, | |||
"type": "string", | |||
"format": "text", | |||
"title": "last name" | |||
}, | |||
"country": { | |||
"wiki": { | |||
"name": "country", | |||
"type": "property", | |||
"multiple-items": false, | |||
"required": true, | "required": true, | ||
"uuid": " | "label": "country", | ||
"visibility": "visible", | |||
"preferred-input": "OO.ui.TextInputWidget", | |||
"input-config": [], | |||
"uuid": "674f0a554a32d" | |||
}, | |||
"type": "string", | |||
"format": "text", | |||
"title": "country" | |||
}, | |||
"age": { | |||
"wiki": { | |||
"name": "age", | |||
"type": "property", | |||
"multiple-items": false, | |||
"label": "Age", | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.NumberInputWidget", | |||
"input-config": [], | |||
"required": false, | |||
"uuid": "67b601e15f297" | |||
}, | |||
"type": "number", | |||
"title": "Age" | |||
}, | |||
"biographical_note": { | |||
"wiki": { | |||
"type": "property", | |||
"uuid": "674f0b5c77c3a", | |||
"name": "biographical_note", | |||
"visibility": "visible", | |||
"label": "biographical note", | |||
"multiple-items": false, | |||
"preferred-input": "OO.ui.MultilineTextInputWidget", | |||
"input-config": [], | |||
"required": false | |||
}, | |||
"type": "string", | |||
"format": "textarea", | |||
"title": "biographical note" | |||
}, | |||
"occupation": { | |||
"wiki": { | |||
"name": "occupation", | |||
"type": "property", | |||
"multiple-items": false, | |||
"label": "occupation", | |||
"uuid": "674f0b5c77c36", | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.TextInputWidget", | |||
"input-config": [], | |||
"required": false | |||
}, | }, | ||
"type": "string", | "type": "string", | ||
"format": "text", | "format": "text", | ||
"title": " | "title": "occupation" | ||
}, | |||
"picture": { | |||
"wiki": { | |||
"name": "picture", | |||
"type": "property", | |||
"multiple-items": false, | |||
"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" | |||
] | |||
}, | |||
"label": "picture", | |||
"value-prefix": "File:", | |||
"uuid": "674f0a554a32f", | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.SelectFileWidget", | |||
"required": false | |||
}, | |||
"type": "string", | |||
"format": "text", | |||
"title": "picture" | |||
}, | |||
"contact": { | |||
"wiki": { | |||
"name": "contact", | |||
"type": "property", | |||
"multiple-items": false, | |||
"label": "contact", | |||
"help-message": "Please provide your email if you would like to be contacted.", | |||
"uuid": "674f11100c320", | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.TextInputWidget (email)", | |||
"input-config": [], | |||
"required": false | |||
}, | |||
"type": "string", | |||
"format": "email", | |||
"title": "contact", | |||
"description": "Please provide your email if you would like to be contacted." | |||
}, | |||
"name": { | |||
"wiki": { | |||
"name": "name", | |||
"type": "property", | |||
"multiple-items": false, | |||
"visibility": "hidden", | |||
"preferred-input": "OO.ui.TextInputWidget", | |||
"input-config": [], | |||
"required": false, | |||
"value-formula": "\u003Cfirst_name\u003E \u003Clast_name\u003E", | |||
"uuid": "679b9b7bc89d5" | |||
}, | |||
"options": { | |||
"hidden": true | |||
}, | |||
"type": "string", | |||
"format": "text" | |||
} | } | ||
}, | }, | ||
"required": [ | "required": [ | ||
"first_name" | "first_name", | ||
"last_name", | |||
"country" | |||
], | ], | ||
"type": "object" | "type": "object" | ||
} | } |
Latest revision as of 13:52, 19 March 2025
wiki |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
properties |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | "object" |