Category:OSWd9aa0bca9b0040d8af6f5c091bf9eec7: Difference between revisions

Update package: OSW Base
(Update package: OSW Base)
(Update package: OSW Base)
jsonschema
Line 3: Line 3:
         "/wiki/Category:OSWd9aa0bca9b0040d8af6f5c091bf9eec7?action=raw\u0026slot=jsonschema",
         "/wiki/Category:OSWd9aa0bca9b0040d8af6f5c091bf9eec7?action=raw\u0026slot=jsonschema",
         {
         {
             "username": "Property:HasUsername",
             "room": {
             "room": "Property:HasRoom",
                "@id": "Property:HasRoom",
             "superior": "Property:HasSuperior"
                "@type": "@id"
            },
             "superior": {
                "@id": "Property:HasSuperior",
                "@type": "@id"
            },
             "username": {
                "@id": "Property:HasUsername"
            }
         }
         }
     ],
     ],
Line 12: Line 20:
         "type"
         "type"
     ],
     ],
     "defaultProperties": [],
     "defaultProperties": [
        "username"
    ],
     "properties": {
     "properties": {
         "username": {
         "username": {
Line 26: Line 36:
         },
         },
         "room": {
         "room": {
             "title": "Room",
             "title": "Room(s)",
             "title*": {
             "title*": {
                 "de": "Raum"
                 "de": "Raum"
Line 37: Line 47:
             "format": "table",
             "format": "table",
             "items": {
             "items": {
                 "title": "",
                 "title": "Room",
                "title*": {
                    "de": "Raum"
                },
                 "type": "string",
                 "type": "string",
                 "format": "autocomplete",
                 "format": "autocomplete",
                 "query": "[[HasType::Category:OSWc5ed0ed1e33c4b31887c67af25a610c1]] |?Display_title_of=label",
                 "range": "Category:OSWc5ed0ed1e33c4b31887c67af25a610c1"
                "previewWikiTextTemplate": "[[:{{result.fulltext}}]]",
                "labelTemplate": "{{result.printouts.label.[0]}}"
             },
             },
             "uniqueItems": true,
             "uniqueItems": true,
            "minItems": 1,
             "default": [
             "default": [
                 ""
                 ""
Line 51: Line 61:
         },
         },
         "superior": {
         "superior": {
             "title": "Superior",
             "title": "Superior(s)",
             "title*": {
             "title*": {
                 "de": "Führungsperson"
                 "de": "Führungsperson(en)"
            },
            "description": "Direct superior(s)",
            "description*": {
                "de": "Direkte Führungsperson(en)"
             },
             },
             "type": "array",
             "type": "array",
             "format": "table",
             "format": "table",
             "items": {
             "items": {
                 "title": "",
                 "title": "Supervisor",
                "title*": {
                    "de": "Führungsperson"
                },
                 "type": "string",
                 "type": "string",
                 "format": "autocomplete",
                 "format": "autocomplete",
                 "query": "[[HasType::Category:OSWd9aa0bca9b0040d8af6f5c091bf9eec7]] |?Display_title_of=label",
                 "range": "Category:OSWd9aa0bca9b0040d8af6f5c091bf9eec7"
                "previewWikiTextTemplate": "[[:{{result.fulltext}}]]",
                "labelTemplate": "{{result.printouts.label.[0]}}"
             },
             },
             "uniqueItems": true,
             "uniqueItems": true,
header_template
Line 26: Line 26:
      
      
     {{#ask: [[Category:OSWc5ed0ed1e33c4b31887c67af25a610c1]][[HasResponsiblePerson::{{FULLPAGENAME}}]] | <!--?HasName={{#switch:{{USERLANGUAGECODE}}|en=Room|de=Raum}} | -->
     {{#ask: [[Category:OSWc5ed0ed1e33c4b31887c67af25a610c1]][[HasResponsiblePerson::{{FULLPAGENAME}}]] | <!--?HasName={{#switch:{{USERLANGUAGECODE}}|en=Room|de=Raum}} | -->
         ?HasRoomFunction={{#switch:{{USERLANGUAGECODE}}|en=Function|de=Funktion}} |
         ?HasRoomUsage={{#switch:{{USERLANGUAGECODE}}|en=Function|de=Funktion}} |
         mainlabel={{#switch:{{USERLANGUAGECODE}}|en=Room|de=Raum}} |
         mainlabel={{#switch:{{USERLANGUAGECODE}}|en=Room|de=Raum}} |
         format=table
         format=table
Line 37: Line 37:
      
      
     {{#ask: [[Category:OSWe427aafafbac4262955b9f690a83405d]][[HasResponsiblePerson::{{FULLPAGENAME}}]] |
     {{#ask: [[Category:OSWe427aafafbac4262955b9f690a83405d]][[HasResponsiblePerson::{{FULLPAGENAME}}]] |
         ?HasPurpose={{#switch:{{USERLANGUAGECODE}}|en=Purpose|de=Verwendungszweck|#default=Purpose}} |
         ?HasType={{#switch:{{USERLANGUAGECODE}}|en=Type|de=Typ|#default=Type}} |
        ?HasType.SubClassOf={{#switch:{{USERLANGUAGECODE}}|en=Category|de=Kategorie|#default=Category}} |
         mainlabel={{#switch:{{USERLANGUAGECODE}}|en=Tool|de=Werkzeug|#default=Tool}} |
         mainlabel={{#switch:{{USERLANGUAGECODE}}|en=Tool|de=Werkzeug|#default=Tool}} |
         format=table
         format=table