Category:OSW3cb8cef2225e403092f098f99bc4c472: Difference between revisions

Update package: OSW Base
(Update package: OSW Base)
(Update package: OSW Base)
 
(One intermediate revision by the same user not shown)
jsondata
Line 1: Line 1:
{
{
    "subclass_of": [
        "Category:Item"
    ],
     "type": [
     "type": [
         "Category:Category"
         "Category:Category"
    ],
    "subclass_of": [
        "Category:Item"
     ],
     ],
     "uuid": "3cb8cef2-225e-4030-92f0-98f99bc4c472",
     "uuid": "3cb8cef2-225e-4030-92f0-98f99bc4c472",
    "name": "OrganizationalUnit",
     "label": [
     "label": [
         {
         {
Line 28: Line 27:
         }
         }
     ],
     ],
    "name": "OrganizationalUnit",
     "instance_rdf_type": [
     "instance_rdf_type": [
         "schema:Organization"
         "schema:Organization"
jsonschema
Line 3: Line 3:
         {
         {
             "abbreviation": {
             "abbreviation": {
                "@id": "Property:HasId",
                "@type": "xsd:string"
            },
            "abbreviation*": {
                 "@id": "Property:HasAbbreviation",
                 "@id": "Property:HasAbbreviation",
                "@type": "xsd:string"
            },
            "abbreviation**": {
                "@id": "Property:HasAcronym",
                 "@type": "xsd:string"
                 "@type": "xsd:string"
             },
             },
Line 112: Line 120:
             "member_of*": {
             "member_of*": {
                 "@id": "Property:IsMemberOf",
                 "@id": "Property:IsMemberOf",
                "@type": "@id"
            },
            "employees*": {
                "@id": "schema:employee",
                "@type": "@id"
            },
            "employees**": {
                "@reverse": "Property:HasOrganization",
                 "@type": "@id"
                 "@type": "@id"
             },
             },
Line 198: Line 214:
     "title": "OrganizationalUnit",
     "title": "OrganizationalUnit",
     "title*": {
     "title*": {
         "de": "Organisationseinheit"
         "de": "Organisationseinheit",
        "en": "Organizational unit"
     },
     },
     "uuid": "3cb8cef2-225e-4030-92f0-98f99bc4c472",
     "uuid": "3cb8cef2-225e-4030-92f0-98f99bc4c472",
Line 205: Line 222:
     "description": "The most general kind of organizational unit - an organization but also parts of an organization",
     "description": "The most general kind of organizational unit - an organization but also parts of an organization",
     "description*": {
     "description*": {
         "de": "Die allgemeinste Art von Organisationseinheit - eine Organisation, aber auch Teile einer Organisation"
         "de": "Die allgemeinste Art von Organisationseinheit - eine Organisation, aber auch Teile einer Organisation",
        "en": "The most general kind of organizational unit - an organization but also parts of an organization"
     },
     },
     "defaultProperties": [
     "defaultProperties": [
Line 721: Line 739:
                 },
                 },
                 "type": "string"
                 "type": "string"
            }
        }
    },
    "x-oold-reverse-defaultProperties": [
        "employees"
    ],
    "x-oold-reverse-properties": {
        "employees": {
            "type": "array",
            "title": "Employees",
            "items": {
                "type": "string",
                "format": "autocomplete",
                "title": "Person",
                "$comment": "range is Person",
                "range": "Category:OSW44deaa5b806d41a2a88594f562b110e9"
             }
             }
         }
         }
     }
     }
}
}
header_template
Line 130: Line 130:
=={{#switch:{{USERLANGUAGECODE}}|en=Members |de=Mitarbeitende|#default=Members}}==
=={{#switch:{{USERLANGUAGECODE}}|en=Members |de=Mitarbeitende|#default=Members}}==
{{#set: HasNumberOfMembers=
{{#set: HasNumberOfMembers=
     {{#ask: [[Category:OSW44deaa5b806d41a2a88594f562b110e9]][[HasOu::{{FULLPAGENAME}}]]
     {{#ask: [[Category:OSW44deaa5b806d41a2a88594f562b110e9]][[HasOu::{{FULLPAGENAME}}]][[HasEmploymentContractStatus::Item:OSW62770459451644f3841c502df8a5cb1d]]
         |format=count
         |format=count
         |limit=1000
         |limit=1000
Line 140: Line 140:
         |#default=Number of members
         |#default=Number of members
     }}: {{#show: {{FULLPAGENAME}} |?HasNumberOfMembers}}
     }}: {{#show: {{FULLPAGENAME}} |?HasNumberOfMembers}}
{{#ask: [[Category:OSW44deaa5b806d41a2a88594f562b110e9]][[HasOu::{{FULLPAGENAME}}]]
{{#ask: [[Category:OSW44deaa5b806d41a2a88594f562b110e9]][[HasOu::{{FULLPAGENAME}}]][[HasEmploymentContractStatus::Item:OSW62770459451644f3841c502df8a5cb1d]]
    |?HasRoom={{#switch: {{USERLANGUAGECODE}} |en=Room |de=Raum |#default=Room}}
    |?HasPhoneNumber={{#switch: {{USERLANGUAGECODE}} |en=Phone |de=Telefon |#default=Phone}}
    |?HasSuperior={{#switch: {{USERLANGUAGECODE}} |en=Superior |de=Führungskraft |#default=Superior}}
    |?HasRole={{#switch: {{USERLANGUAGECODE}} |en=Role |de=Rolle |#default=Role}}
    |format=table
    |limit=1000
    |sort=Display title of
    |order=asc
    }}
=={{#switch:{{USERLANGUAGECODE}}|en=Former members |de=Ausgeschiedene Mitarbeitende|#default=Former members}}==
{{#ask: [[Category:OSW44deaa5b806d41a2a88594f562b110e9]][[HasOu::{{FULLPAGENAME}}]][[HasEmploymentContractStatus::Item:OSWacf5f4db53264d29ae8744d03796be0b]]
     |?HasRoom={{#switch: {{USERLANGUAGECODE}} |en=Room |de=Raum |#default=Room}}
     |?HasRoom={{#switch: {{USERLANGUAGECODE}} |en=Room |de=Raum |#default=Room}}
     |?HasPhoneNumber={{#switch: {{USERLANGUAGECODE}} |en=Phone |de=Telefon |#default=Phone}}
     |?HasPhoneNumber={{#switch: {{USERLANGUAGECODE}} |en=Phone |de=Telefon |#default=Phone}}