VisualDataSchema:Inventory item: Difference between revisions
Intcreator (talk | contribs) No edit summary |
Intcreator (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
"type": "schema", | "type": "schema", | ||
"uuid": "676b56f9edd13", | "uuid": "676b56f9edd13", | ||
"name": " | "name": "inventory_item", | ||
"title": "Item", | "title": "Inventory Item", | ||
"description": "A single item acquired by the museum. Atomic—does not contain sub-items." | "description": "A single item acquired by the museum. Atomic—does not contain sub-items." | ||
}, | }, | ||
Line 33: | Line 33: | ||
"uuid": "676b56f9edd16", | "uuid": "676b56f9edd16", | ||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui. | "preferred-input": "OO.ui.RadioSelectInputWidget", | ||
"input-config": [] | "input-config": [], | ||
"options-allow-null": false, | |||
"options-values-parsed": { | |||
"phone": "phone", | |||
"tool": "tool" | |||
} | |||
}, | }, | ||
"type": "string", | "type": "string", | ||
"format": "text", | "format": "text", | ||
"title": "Type" | "title": "Type", | ||
"enum": [ | |||
"phone", | |||
"tool" | |||
] | |||
}, | }, | ||
"container_id": { | "container_id": { | ||
Line 122: | Line 131: | ||
"wiki": { | "wiki": { | ||
"name": "history", | "name": "history", | ||
"title": "History", | |||
"unique-items": false, | "unique-items": false, | ||
"type": "schema", | "type": "schema", | ||
"uuid": " | "uuid": "676b5b0550841" | ||
}, | }, | ||
"items": { | "items": { | ||
"type": "object", | "type": "object", | ||
"wiki": { | "wiki": { | ||
"name": " | "name": "", | ||
"type": "schema", | "type": "schema", | ||
"uuid": " | "uuid": "676b5acf523db", | ||
"layout": "section", | "layout": "section", | ||
"visibility": "visible" | "visibility": "visible" | ||
Line 161: | Line 170: | ||
"inventory" | "inventory" | ||
] | ] | ||
}, | |||
"new_property": { | |||
"wiki": { | |||
"name": "new_property", | |||
"type": "property", | |||
"multiple-items": false, | |||
"visibility": "visible", | |||
"preferred-input": "mw.widgets.DateInputWidget", | |||
"input-config": [], | |||
"required": false, | |||
"uuid": "676b5b0550845" | |||
}, | |||
"type": "string", | |||
"format": "date" | |||
} | } | ||
} | } | ||
}, | }, | ||
"type": "array", | "type": "array", | ||
"title": "History", | |||
"uniqueItems": false | "uniqueItems": false | ||
} | } | ||
Line 174: | Line 197: | ||
], | ], | ||
"type": "object", | "type": "object", | ||
"title": "Item", | "title": "Inventory Item", | ||
"description": "A single item acquired by the museum. Atomic—does not contain sub-items." | "description": "A single item acquired by the museum. Atomic—does not contain sub-items." | ||
} | } |