VisualDataSchema:Inventory item: Difference between revisions
Intcreator (talk | contribs) No edit summary |
Intcreator (talk | contribs) No edit summary |
||
(5 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 13: | Line 13: | ||
"type": "property", | "type": "property", | ||
"multiple-items": false, | "multiple-items": false, | ||
"label": "Accession ID", | |||
"uuid": "676b56f9edd15", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"required": false | "required": false | ||
}, | }, | ||
"type": "string", | "type": "string", | ||
"format": "text" | "format": "text", | ||
"title": "Accession ID" | |||
}, | }, | ||
"type": { | "type": { | ||
Line 28: | Line 30: | ||
"multiple-items": false, | "multiple-items": false, | ||
"required": true, | "required": true, | ||
"label": "Type", | |||
"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", | |||
"enum": [ | |||
"phone", | |||
"tool" | |||
] | |||
}, | }, | ||
"container_id": { | "container_id": { | ||
Line 42: | Line 55: | ||
"multiple-items": false, | "multiple-items": false, | ||
"required": true, | "required": true, | ||
"label": "Container ID", | |||
"uuid": "676b56f9edd17", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [] | "input-config": [] | ||
}, | }, | ||
"type": "string", | "type": "string", | ||
"format": "text" | "format": "text", | ||
"title": "Container ID" | |||
}, | }, | ||
"media": { | "media": { | ||
"wiki": { | "wiki": { | ||
"name": "media", | "name": "media", | ||
"title": "Media", | |||
"unique-items": false, | "unique-items": false, | ||
"type": "schema", | "type": "schema", | ||
"uuid": " | "uuid": "676b5aac2deba" | ||
}, | }, | ||
"items": { | "items": { | ||
Line 62: | Line 78: | ||
"name": "", | "name": "", | ||
"type": "schema", | "type": "schema", | ||
"uuid": "676b56f9edd18", | |||
"layout": "section", | "layout": "section", | ||
"visibility": "visible | "visibility": "visible" | ||
}, | }, | ||
"properties": { | "properties": { | ||
Line 109: | Line 125: | ||
}, | }, | ||
"type": "array", | "type": "array", | ||
"title": "Media", | |||
"uniqueItems": false | "uniqueItems": false | ||
}, | }, | ||
Line 114: | Line 131: | ||
"wiki": { | "wiki": { | ||
"name": "history", | "name": "history", | ||
"title": "History", | |||
"unique-items": false, | |||
"type": "schema", | "type": "schema", | ||
"uuid": "676b5b0550841" | |||
"uuid": " | |||
}, | }, | ||
"properties": { | "items": { | ||
"type": "object", | |||
"wiki": { | |||
"name": "", | |||
"type": "schema", | |||
"uuid": "676b5acf523db", | |||
"layout": "section", | |||
"visibility": "visible" | |||
}, | |||
"properties": { | |||
"action": { | |||
"wiki": { | |||
"name": "action", | |||
"type": "property", | |||
"multiple-items": false, | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.RadioSelectInputWidget", | |||
"input-config": [], | |||
"required": false, | |||
"options-allow-null": false, | |||
"options-values-parsed": { | |||
"manufacture": "manufacture", | |||
"acquire": "acquire", | |||
"inventory": "inventory" | |||
}, | |||
"uuid": "676b56f9edd20" | |||
}, | }, | ||
" | "type": "string", | ||
"format": "text", | |||
"enum": [ | |||
"manufacture", | |||
"acquire", | |||
"inventory" | |||
] | |||
}, | }, | ||
"type": " | "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": " | "type": "array", | ||
"title": "History", | |||
"uniqueItems": false | |||
} | } | ||
}, | }, | ||
Line 154: | 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." | ||
} | } |