Category:OSWf0fe562f422d49c6877490b3dfee2f3f: Difference between revisions

From OpenSemanticWorld
Update package: OSW Base
(Update package: OSW Base)
 
(Update package: OSW Base)
Line 1: Line 1:
=={{#switch:{{USERLANGUAGECODE}}|en=Instances|de=Instanzen/Exemplare|#default=Instances}}== 
{{#ask: [[{{FULLPAGENAME}}]]
|?HasType={{#switch:{{USERLANGUAGECODE}}|en=Type|de=Typ|#default=Type}}
|?HasDescription={{#switch:{{USERLANGUAGECODE}}|en=Description|de=Beschreibung|#default=Description}}
|?HasManufacturer={{#switch:{{USERLANGUAGECODE}}|en=Manufacturer|de=Hersteller|#default=Manufacturer}}
|?IsLocatedIn={{#switch:{{USERLANGUAGECODE}}|en=Location|de=Standort|#default=Location}}
|?HasResponsiblePerson={{#switch:{{USERLANGUAGECODE}}|en=Responsible Person|de=Verantwortlich|#default=Responsible Person}}
|format=datatable
|limit = 2000
}}
=={{#switch:{{USERLANGUAGECODE}}|en=Subcategories|de=Subkategorien|#default=Subcategories}}==
{{#ask:
[[SubClassOf::{{FULLPAGENAME}}]] OR
[[SubClassOf.SubClassOf::{{FULLPAGENAME}}]] OR
[[SubClassOf.SubClassOf.SubClassOf::{{FULLPAGENAME}}]] OR
[[SubClassOf.SubClassOf.SubClassOf.SubClassOf::{{FULLPAGENAME}}]] OR [[SubClassOf.SubClassOf.SubClassOf.SubClassOf.SubClassOf::{{FULLPAGENAME}}]]
|?HasDescription={{#switch:{{USERLANGUAGECODE}}|en=Description|de=Beschreibung|#default=Description}}
|?HasManufacturer={{#switch:{{USERLANGUAGECODE}}|en=Manufacturer|de=Hersteller|#default=Manufacturer}}
|format=datatable
|limit = 2000
}}
== Tutorial ==
[[Item:OSW9e3bf8a77562480c83f33d98c33c78e8|{{#switch:{{USERLANGUAGECODE}}|en=Device management|de=Geräteverwaltung|#default=Device management}}]]
<!--
<!--
==[[:Category:OSW20691106529a419d829f3d057b99f3e1|Categories]] (Process / Idea Level)==
==[[:Category:OSW20691106529a419d829f3d057b99f3e1|Categories]] (Process / Idea Level)==
Line 7: Line 32:
|format=datatable
|format=datatable
}}
}}
==[[:Category:OSWbeec89bdcbc64d8f90a459ba19c46dcc|Types]] (Manufacturer Level) ==
==[[:Category:OSWbeec89bdcbc64d8f90a459ba19c46dcc|Types]] (Manufacturer Level)==
<div class="pagebot-button" data-config='{    "params": {"categories": ["Category:OSWbeec89bdcbc64d8f90a459ba19c46dcc"]},    "label": "➕ Create Device Type" }'></div>
<div class="pagebot-button" data-config='{    "params": {"categories": ["Category:OSWbeec89bdcbc64d8f90a459ba19c46dcc"]},    "label": "➕ Create Device Type" }'></div>
<br>
<br>
Line 15: Line 40:
}}
}}


-->
 


==[[:Category:OSWf0fe562f422d49c6877490b3dfee2f3f|{{#switch:{{USERLANGUAGECODE}}|en=Instances|de=Instanzen/Exemplare|#default=Instances}}]]==   
==[[:Category:OSWf0fe562f422d49c6877490b3dfee2f3f|{{#switch:{{USERLANGUAGECODE}}|en=Instances|de=Instanzen/Exemplare|#default=Instances}}]]==   
Line 38: Line 63:
  |limit = 2000
  |limit = 2000
}}
}}
=={{#switch:{{USERLANGUAGECODE}}|en=All Device Categories|de=Alle Gerätekategorien|#default=All Device Categories}} ==
=={{#switch:{{USERLANGUAGECODE}}|en=All Device Categories|de=Alle Gerätekategorien|#default=All Device Categories}}==
{{#ask:
{{#ask:
  [[SubClassOf::Category:OSWf0fe562f422d49c6877490b3dfee2f3f]] OR
  [[SubClassOf::Category:OSWf0fe562f422d49c6877490b3dfee2f3f]] OR
jsondata
Line 1: Line 1:
{
{
    "metaclass": [
"subclass_of": [
        "Category:OSWd845b96813a344458f140e48c4d063fd"
"Category:OSWe427aafafbac4262955b9f690a83405d",
    ],
"Category:OSW37a57741ae2e4dd4b29b1172b6848be8"
    "type": [
],
        "Category:Category"
"type": [
    ],
"Category:Category"
    "subclass_of": [
],
        "Category:OSWe427aafafbac4262955b9f690a83405d"
"uuid": "f0fe562f-422d-49c6-8774-90b3dfee2f3f",
    ],
"label": [
    "uuid": "f0fe562f-422d-49c6-8774-90b3dfee2f3f",
{
    "name": "Device",
"text": "Device",
    "label": [
"lang": "en"
        {
},
            "text": "Device",
{
            "lang": "en"
"text": "Gerät",
        },
"lang": "de"
        {
}
            "text": "Gerät",
],
            "lang": "de"
"description": [
        }
{
    ],
"text": "A Tool that is a (phyiscal) piece of Hardware.",
    "description": [
"lang": "en"
        {
},
            "text": "A Tool that is a (phyiscal) piece of Hardware.",
{
            "lang": "en"
"text": "Ein Werkzeug, das ein (physisches) Stück Ausrüstung ist.",
        },
"lang": "de"
        {
}
            "text": "Ein Werkzeug, das ein (physisches) Stück Ausrüstung ist.",
],
            "lang": "de"
"metaclass": [
        }
"Category:OSWd845b96813a344458f140e48c4d063fd"
    ],
],
    "utf8_icon": [
"name": "Device",
        "🔬"
"utf8_icon": [
    ]
"🔬"
],
"attachments": []
}
}
jsonschema
Line 1: Line 1:
{
{
    "@context": [
"@context": [
        {
"/wiki/Category:OSWe427aafafbac4262955b9f690a83405d?action=raw\u0026slot=jsonschema",
            "responsible_person": "Property:HasResponsiblePerson",
"/wiki/Category:OSW37a57741ae2e4dd4b29b1172b6848be8?action=raw\u0026slot=jsonschema",
            "location": "Property:IsLocatedIn",
{
            "organizational_unit": "Property:HasDepartment",
"accessories": {
            "inventory_number": "Property:HasInventoryNumber",
"@id": "Property:HasAccessories",
            "risk_assessment": "Property:HasRiskAssessment",
"@type": "@id"
            "owner": "Property:HasOwner",
},
            "serial_number": "Property:HasSerialNumber"
"inventory_number": "Property:HasInventoryNumber",
        },
"location": {
        "/wiki/Category:OSWe427aafafbac4262955b9f690a83405d?action=raw\u0026slot=jsonschema"
"@id": "Property:IsLocatedIn",
    ],
"@type": "@id"
    "allOf": [
},
        {
"organizational_unit": {
            "$ref": "/wiki/Category:OSWe427aafafbac4262955b9f690a83405d?action=raw\u0026slot=jsonschema"
"@id": "Property:HasDepartment",
        }
"@type": "@id"
    ],
},
    "title": "Device",
"organizational_unit*": {
    "type": "object",
"@id": "Property:HasOu",
    "properties": {
"@type": "@id"
        "responsible_person": {
},
            "type": "array",
"owner": {
            "title": "Responsible Person",
"@id": "Property:HasOwner",
            "items": {
"@type": "@id"
                "title": "Responsible Person",
},
                "type": "string",
"purpose": {
                "format": "autocomplete",
"@id": "Property:HasPurpose",
                "category": "Category:OSW44deaa5b806d41a2a88594f562b110e9"
"@type": "@id"
            }
},
        },
"responsible_person": {
        "responsible_person_name": {
"@id": "Property:HasResponsiblePerson",
            "type": "array",
"@type": "@id"
            "title": "Responsible Person Name",
},
            "description": "use only if responsible person cannot be created as an object",
"risk_assessment": {
            "items": {
"@id": "Property:HasRiskAssessment",
                "title": "Responsible Person Name",
"@type": "@id"
                "type": "string"
},
            }
"serial_number": "Property:HasSerialNumber",
        },
"typical_processes": {
        "location": {
"@id": "Property:HasTypicalProcess",
            "title": "Location",
"@type": "@id"
            "title*": {
}
                "de": "Ort",
}
                "en": "Location"
],
            },
"allOf": [
            "type": "array",
{
            "items": {
"$ref": "/wiki/Category:OSWe427aafafbac4262955b9f690a83405d?action=raw\u0026slot=jsonschema"
                "title": "",
},
                "type": "string",
{
                "format": "autocomplete",
"$ref": "/wiki/Category:OSW37a57741ae2e4dd4b29b1172b6848be8?action=raw\u0026slot=jsonschema"
                "category": "Category:OSW3d238d05316e45a4ac95a11d7b24e36b"
}
            }
],
        },
"type": "object",
        "location_name": {
"uuid": "f0fe562f-422d-49c6-8774-90b3dfee2f3f",
            "title": "Location Name",
"title": "Device",
            "description": "Only use if Location Object cannot be found and created",
"title*": {
            "title*": {
"en": "Device",
                "de": "Ort (Name)"
"de": "Gerät"
            },
},
            "type": "array",
"description": "A Tool that is a (phyiscal) piece of Hardware.",
            "items": {
"description*": {
                "title": "",
"en": "A Tool that is a (phyiscal) piece of Hardware.",
                "type": "string"
"de": "Ein Werkzeug, das ein (physisches) Stück Ausrüstung ist."
            }
},
        },
"required": [
        "organizational_unit": {
"type"
            "title": "Organizational Unit",
],
            "type": "array",
"defaultProperties": [
            "items": {
"image",
                "title": "Organizational Unit",
"responsible_person",
                "type": "string",
"location",
                "format": "autocomplete",
"inventory_number",
                "category": "Category:OSWb8b6278763d54b0784eea9d3b3d183a4"
"_device_type_properties"
            }
],
        },
"properties": {
        "inventory_number": {
"responsible_person": {
            "title": "Inventory Number",
"type": "array",
            "type": "string"
"title": "Responsible Person",
        },
"title*": {
        "risk_assessment": {
"de": "Verantwortliche Person(en)"
            "title": "Risk Assessment",
},
            "title*": {
"items": {
                "de": "Gefährdungsbeurteilung"
"title": "Responsible Person",
            },
"title*": {
            "type": "string",
"de": "Verantwortliche Person"
            "format": "autocomplete",
},
            "options": {
"type": "string",
                "autocomplete": {
"format": "autocomplete",
                    "category": "Category:OSW3886740859ae459588fee73d3bb3c83e"
"range": "Category:OSW44deaa5b806d41a2a88594f562b110e9"
                }
}
            }
},
        },
"location": {
        "serial_number": {
"title": "Location",
            "title": "Serial Number",
"title*": {
            "type": "string",
"de": "Ort",
            "description": "The Serial Number written on the device"
"en": "Location"
        },
},
        "owner": {
"type": "array",
            "title": "Owner",
"items": {
            "type": "string"
"title": "Location",
        },
"title*": {
        "type": {
"de": "Ort"
            "default": [
},
                "Category:OSWf0fe562f422d49c6877490b3dfee2f3f"
"type": "string",
            ]
"format": "autocomplete",
        }
"range": "Category:OSW3d238d05316e45a4ac95a11d7b24e36b"
    },
}
    "uuid": "f0fe562f-422d-49c6-8774-90b3dfee2f3f",
},
    "title*": {
"manufacturer_type_id": {
        "en": "Device",
"type": "string",
        "de": "Gerät"
"title": "Manufacturer Type ID",
    },
"title*": {
    "description": "A Tool that is a (phyiscal) piece of Hardware.",
"de": "Hersteller Typen-ID"
    "description*": {
},
        "en": "A Tool that is a (phyiscal) piece of Hardware.",
"description": "Product ID provided by the manufacturer",
        "de": "Ein Werkzeug, das ein (physisches) Stück Ausrüstung ist."
"description*": {
    },
"de": "Produkt-ID des Herstellers."
    "required": [
}
        "type"
},
    ]
"manufacturer_type_name": {
"type": "string",
"title": "Manufacturer Type Name",
"title*": {
"de": "Hersteller Typenbezeichnung"
},
"description": "Product name provided by the manufacturer. Often more human friendly than the type id.",
"description*": {
"de": "Produktname des Herstellers. Oftmals ein einfacherer Alias neben der Typen-ID"
}
},
"typical_processes": {
"title": "Typical Processes",
"title*": {
"de": "Typische Prozesse"
},
"type": "array",
"items": {
"type": "string",
"format": "autocomplete",
"title": "Process",
"$comment": "range are processes / subcategories of Process",
"subclassof_range": "Category:OSWe5aa96bffb1c4d95be7fbd46142ad203"
},
"eval_template": [
{
"type": "mustache-wikitext",
"mode": "render",
"$comment": "render buttons for each typical process with which an instance for the corresponding process can be created",
"value": "{{#typical_processes}}* [[:{{{.}}}]] \u003Cdiv class=\"pagebot-button\" data-config='{ \"label\": \"➕\",  \"params\": {\"categories\": [\"{{{.}}}\"] ,\"jsondata\":{\"tool\":[\"{{=\u003C% %\u003E=}}{{FULLPAGENAME}}\u003C%={{ }}=%\u003E\"]}}}'\u003E\u003C/div\u003E\n{{/typical_processes}}"
}
]
},
"organizational_unit": {
"type": "array",
"title": "Organizational Unit",
"title*": {
"de": "Organisationseinheit(en)"
},
"items": {
"title": "Organizational Unit",
"title*": {
"de": "Organisationseinheit"
},
"type": "string",
"format": "autocomplete",
"range": "Category:OSWb8b6278763d54b0784eea9d3b3d183a4"
}
},
"inventory_number": {
"title": "Inventory Number",
"title*": {
"de": "Inventarnummer"
},
"type": "string"
},
"risk_assessment": {
"title": "Risk Assessment",
"title*": {
"de": "Gefährdungsbeurteilung"
},
"type": "string",
"format": "autocomplete",
"range": "Category:OSW3886740859ae459588fee73d3bb3c83e"
},
"serial_number": {
"title": "Serial Number",
"title*": {
"de": "Seriennummer"
},
"type": "string",
"description": "The Serial Number written on the device"
},
"owner": {
"title": "Owner",
"title*": {
"de": "Eigentümer"
},
"type": "string"
},
"accessories": {
"title": "Accessories",
"title*": {
"de": "Zubehör"
},
"description": "Things that are used together with this device or replacement parts",
"description*": {
"de": "Dinge, die zusammen mit diesem Gerät benutzt werden oder Ersatzteile"
},
"type": "array",
"items": {
"title": "Accessory",
"title*": {
"de": "Zubehör"
},
"type": "string",
"format": "autocomplete",
"range": "Category:Item"
}
},
"type": {
"default": [
"Category:OSWf0fe562f422d49c6877490b3dfee2f3f"
]
},
"_device_type_properties": {
"title": "Information from Type",
"title*": {
"en": "Device type information",
"de": "Informationen des Gerätetyps"
},
"default": "visible",
"type": "string",
"options": {
"hidden": true
},
"propertyOrder": 10000,
"eval_template": [
{
"type": "mustache-wikitext",
"mode": "render",
"$comment": "information from jsondata slots in class hirarchy",
"value": "{{=\u003C% %\u003E=}} \u003Ctr\u003E\u003Ctd\u003E{{#switch:{{USERLANGUAGECODE}}|en=Manufacturer|de=Hersteller}}\u003C/td\u003E\u003Ctd\u003E{{#ask:[[-HasType::{{FULLPAGENAME}}]][[HasManufacturer::+]]|?HasManufacturer=|format=plain|mainlabel=-}}\u003C/td\u003E \u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003E{{#switch:{{USERLANGUAGECODE}}|en=Manual|de=Bedienungsanleitung}}\u003C/td\u003E\u003Ctd\u003E{{#ask:[[-HasType::{{FULLPAGENAME}}]]|?HasManual=|format=plain|mainlabel=-}}\u003C/td\u003E \u003C/tr\u003E\u003C%={{ }}=%\u003E"
}
]
}
}
}
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.