Category:OSW37a57741ae2e4dd4b29b1172b6848be8: Difference between revisions

Update package: OSW Core
(Update package: OSW Core)
 
(Update package: OSW Core)
Line 1: Line 1:
== {{#switch:{{USERLANGUAGECODE}}|#default=Subcategories|de=Sukategorien}} ==


{{#ask: [[HasType::Category:OSWca99a9bb9ad24386b222d18a73c2af5e]]
|?HasDescription=Description|+lang=en
|format=datatable
}}
== {{#switch:{{USERLANGUAGECODE}}|#default=Instances|de=Instanzen}} ==
{{#ask: [[{{FULLPAGENAME}}]]
|?HasDescription=Description|+lang=en
|?HasSerialNumber=Serial no|+lang=en
|format=datatable
}}
jsondata
Line 1: Line 1:
{
{
    "subclass_of": [
"subclass_of": [
        "Category:Item"
"Category:Item"
    ],
],
    "type": [
"type": [
        "Category:Category"
"Category:Category"
    ],
],
    "uuid": "37a57741-ae2e-4dd4-b29b-1172b6848be8",
"uuid": "37a57741-ae2e-4dd4-b29b-1172b6848be8",
    "label": [
"label": [
        {
{
            "text": "Physical Item",
"text": "Physical Item",
            "lang": "en"
"lang": "en"
        },
},
        {
{
            "text": "Physischer Gegenstand",
"text": "Physischer Gegenstand",
            "lang": "de"
"lang": "de"
        }
}
    ],
],
    "description": [
"description": [
        {
{
            "text": "Physical item as opposed to intangible item. It can posses properties such as position, geometry, weight, volume , etc.  ",
"text": "Physical item as opposed to intangible item. It can posses properties such as position, geometry, weight, volume , etc.  ",
            "lang": "en"
"lang": "en"
        },
},
        {
{
            "text": "Physischer Gegenstand im Gegensatz zu immateriellen Gegenständen. Er kann Eigenschaften wie Position, Geometrie, Gewicht, Volumen usw. besitzen.  ",
"text": "Physischer Gegenstand im Gegensatz zu immateriellen Gegenständen. Er kann Eigenschaften wie Position, Geometrie, Gewicht, Volumen usw. besitzen.  ",
            "lang": "de"
"lang": "de"
        }
}
    ],
],
    "name": "PhysicalItem"
"name": "PhysicalItem",
"metaclass": [
"Category:OSWca99a9bb9ad24386b222d18a73c2af5e"
],
"utf8_icon": [
"🪨"
]
}
}
jsonschema
Line 1: Line 1:
{
{
    "@context": [
"@context": [
        "/wiki/Category:Item?action=raw\u0026slot=jsonschema"
"/wiki/Category:Item?action=raw\u0026slot=jsonschema",
    ],
{
    "allOf": [
"data_sheet": {
        {
"@id": "Property:HasDataSheet",
            "$ref": "/wiki/Category:Item?action=raw\u0026slot=jsonschema"
"@type": "@id"
        }
},
    ],
"instructions": {
    "type": "object",
"@id": "Property:HasInstructions",
    "uuid": "37a57741-ae2e-4dd4-b29b-1172b6848be8",
"@type": "@id"
    "title": "PhysicalItem",
},
    "title*": {
"manual": {
        "en": "Physical Item",
"@id": "Property:HasManual",
        "de": "Physischer Gegenstand"
"@type": "@id"
    },
},
    "description": "Physical item as opposed to intangible item. It can posses properties such as position, geometry, weight, volume , etc.  ",
"manufacturer": {
    "description*": {
"@id": "Property:HasManufacturer",
        "en": "Physical item as opposed to intangible item. It can posses properties such as position, geometry, weight, volume , etc.  ",
"@type": "@id"
        "de": "Physischer Gegenstand im Gegensatz zu immateriellen Gegenständen. Er kann Eigenschaften wie Position, Geometrie, Gewicht, Volumen usw. besitzen.  "
},
    },
"origin": {
    "required": [
"@id": "Property:HasStatement",
        "type"
"@type": "@id",
    ],
"@context": {
    "properties": {
"origin_item_instance_property": "Property:HasProperty",
        "type": {
"origin_item_instance": "Property:HasObject"
            "default": [
}
                "Category:OSW37a57741ae2e4dd4b29b1172b6848be8"
},
            ]
"quantity_statements": {
        }
"@id": "Property:HasStatement",
    }
"@type": "@id"
},
"safety_data_sheet": {
"@id": "Property:HasSafetyDataSheet",
"@type": "@id"
},
"serial_number": "Property:HasSerialNumber",
"type_no": "Property:HasTypeNumber"
}
],
"allOf": [
{
"$ref": "/wiki/Category:Item?action=raw\u0026slot=jsonschema"
}
],
"type": "object",
"uuid": "37a57741-ae2e-4dd4-b29b-1172b6848be8",
"title": "PhysicalItem",
"title*": {
"en": "Physical Item",
"de": "Physischer Gegenstand"
},
"description": "Physical item as opposed to intangible item. It can posses properties such as position, geometry, weight, volume , etc.  ",
"description*": {
"en": "Physical item as opposed to intangible item. It can posses properties such as position, geometry, weight, volume , etc.  ",
"de": "Physischer Gegenstand im Gegensatz zu immateriellen Gegenständen. Er kann Eigenschaften wie Position, Geometrie, Gewicht, Volumen usw. besitzen.  "
},
"required": [
"type"
],
"properties": {
"type": {
"default": [
"Category:OSW37a57741ae2e4dd4b29b1172b6848be8"
]
},
"quantity_statements": {
"type": "array",
"format": "tabs",
"title": "Quantitative statement(s)",
"title*": {
"de": "Quantitative Aussage(n)"
},
"eval_template": {
"type": "mustache-wikitext",
"mode": "render",
"value": "{{#quantity_statements}}.. {{#quantity}}[[{{quantity}}]]{{/quantity}} {{#value}}{{value}}{{/value}}\u003Cbr\u003E{{/quantity_statements}}"
},
"items": {
"$ref": "/wiki/JsonSchema:QuantityProperty?action=raw"
}
},
"origin": {
"type": "array",
"format": "table",
"title": "Origin",
"title*": {
"de": "Ursprung"
},
"description": "Other physical item(s) that this physical item was derived from.",
"description*": {
"de": "Andere(r) physische(r) Gegenstand/Gegenstände aus der dieser physische Gegenstand hergestellt wurde."
},
"options": {
"enable_array_copy": true,
"array_copy_ignore": [
"uuid",
"attachments"
]
},
"eval_template": [
{
"type": "mustache-wikitext",
"mode": "render",
"value": "{{=\u003C% %\u003E=}} \u003Cul\u003E\u003C%#origin%\u003E\u003Cli\u003E[[\u003C%origin_item_instance%\u003E]] ({{#switch:{{USERLANGUAGECODE}}|en=Type|de=Typ|#default=Type}}: {{#ask:[[\u003C%origin_item_instance%\u003E]]|?HasType=|format=plain|mainlabel=-}})\u003C/li\u003E\u003C%/origin%\u003E\u003C/ul\u003E"
}
],
"items": {
"type": "object",
"format": "grid-strict",
"title": "Other physical Item",
"title*": {
"de": "Anderer physischer Gegenstand"
},
"id": "origin_item",
"headerTemplate": "{{ i1 }}",
"defaultProperties": [],
"required": [
"uuid",
"origin_item_type",
"origin_item_instance_property",
"origin_item_instance"
],
"properties": {
"uuid": {
"type": "string",
"dynamic_template": "{{_uuid_}}",
"options": {
"hidden": true,
"dynamic_template": {
"override": "empty"
}
}
},
"origin_item_type": {
"title": "Type",
"title*": {
"de": "Typ"
},
"type": "string",
"format": "autocomplete",
"range": "Category:Category",
"options": {
"autocomplete": {
"$comment": "Tool",
"query": "[[:Category:OSW37a57741ae2e4dd4b29b1172b6848be8]]OR[[SubClassOf::Category:OSW37a57741ae2e4dd4b29b1172b6848be8]]OR[[SubClassOf.SubClassOf::Category:OSW37a57741ae2e4dd4b29b1172b6848be8]]OR[[SubClassOf.SubClassOf.SubClassOf::Category:OSW37a57741ae2e4dd4b29b1172b6848be8]]OR[[SubClassOf.SubClassOf.SubClassOf.SubClassOf::Category:OSW37a57741ae2e4dd4b29b1172b6848be8]]OR[[SubClassOf.SubClassOf.SubClassOf.SubClassOf.SubClassOf::Category:OSW37a57741ae2e4dd4b29b1172b6848be8]]"
},
"grid_columns": 12
},
"default": "Category:OSW37a57741ae2e4dd4b29b1172b6848be8",
"propertyOrder": 40
},
"origin_item_instance_property": {
"type": "string",
"default": "Property:HasOrigin",
"options": {
"hidden": true
}
},
"origin_item_instance": {
"title": "Instance",
"title*": {
"de": "Instanz"
},
"type": "string",
"format": "autocomplete",
"range": "Category:OSW37a57741ae2e4dd4b29b1172b6848be8",
"watch": {
"origin_item_type_": "origin_item.origin_item_type"
},
"options": {
"autocomplete": {
"query": "[[HasType::$(origin_item_type_)]]|?Display_title_of=label|?HasImage=image|?HasDescription=description"
},
"grid_columns": 12
},
"propertyOrder": 50
}
}
}
},
"type_no": {
"allOf": [
{
"$ref": "/wiki/JsonSchema:TypeNumber?action=raw\u0026slot=main"
}
]
},
"manufacturer": {
"allOf": [
{
"$ref": "/wiki/JsonSchema:Manufacturer?action=raw\u0026slot=main"
}
]
},
"data_sheet": {
"$ref": "/wiki/JsonSchema:DataSheet?action=raw\u0026slot=main"
},
"safety_data_sheet": {
"$ref": "/wiki/JsonSchema:SafetyDataSheet?action=raw\u0026slot=main"
},
"manual": {
"$ref": "/wiki/JsonSchema:Manual?action=raw\u0026slot=main"
},
"instructions": {
"$ref": "/wiki/JsonSchema:Instructions?action=raw\u0026slot=main"
}
}
}
}