Category:OSW3cb8cef2225e403092f098f99bc4c472: Difference between revisions

Update package: OSW Base
(Update package: OSW Base)
(Update package: OSW Base)
jsondata
Line 1: Line 1:
{
{
    "type": [
"subclass_of": [
        "Category:Category"
"Category:Item"
    ],
],
    "subclass_of": [
"type": [
        "Category:Item"
"Category:Category"
    ],
],
    "uuid": "3cb8cef2-225e-4030-92f0-98f99bc4c472",
"uuid": "3cb8cef2-225e-4030-92f0-98f99bc4c472",
    "name": "OrganizationalUnit",
"label": [
    "label": [
{
        {
"text": "Organizational unit",
            "text": "Organizational unit",
"lang": "en"
            "lang": "en"
},
        },
{
        {
"text": "Organisationseinheit",
            "text": "Organisationseinheit",
"lang": "de"
            "lang": "de"
}
        }
],
    ],
"description": [
    "description": [
{
        {
"text": "The most general kind of organizational unit - an organization but also parts of an organization",
            "text": "The most general kind of organizational unit - an organization but also parts of an organization",
"lang": "en"
            "lang": "en"
},
        },
{
        {
"text": "Die allgemeinste Art von Organisationseinheit - eine Organisation, aber auch Teile einer Organisation",
            "text": "Die allgemeinste Art von Organisationseinheit - eine Organisation, aber auch Teile einer Organisation",
"lang": "de"
            "lang": "de"
}
        }
],
    ],
"name": "OrganizationalUnit",
    "instance_rdf_type": [
"instance_rdf_type": [
        "schema:Organization"
"schema:Organization"
    ]
],
"utf8_icon": [
"🏢"
]
}
}
jsonschema
Line 1: Line 1:
{
{
    "@context": [
"@context": [
        {
{
            "abbreviation": {
"abbreviation": {
                "@id": "Property:HasAbbreviation",
"@id": "Property:HasId",
                "@type": "xsd:string"
"@type": "xsd:string"
            },
},
            "city": {
"abbreviation*": {
                "@id": "Property:HasCity",
"@id": "Property:HasAbbreviation",
                "@type": "@id"
"@type": "xsd:string"
            },
},
            "competence": {
"abbreviation**": {
                "@id": "schema:knowsAbout",
"@id": "Property:HasAcronym",
                "@type": "@id"
"@type": "xsd:string"
            },
},
            "competence*": {
"competence": {
                "@id": "Property:HasCompetence",
"@id": "schema:knowsAbout",
                "@type": "@id"
"@type": "@id"
            },
},
            "country": {
"competence*": {
                "@id": "Property:HasCountry",
"@id": "Property:HasCompetence",
                "@type": "@id"
"@type": "@id"
            },
},
            "deputy_manager": {
"deputy_manager": {
                "@id": "Property:HasDeputyManager",
"@id": "Property:HasDeputyManager",
                "@type": "@id"
"@type": "@id"
            },
},
            "email": {
"email": {
                "@id": "schema:email",
"@id": "schema:email",
                "@type": "xsd:string"
"@type": "xsd:string"
            },
},
            "email*": {
"email*": {
                "@id": "Property:HasEmail",
"@id": "Property:HasEmail",
                "@type": "xsd:string"
"@type": "xsd:string"
            },
},
            "fax_number": {
"fax_number": {
                "@id": "schema:faxNumber",
"@id": "schema:faxNumber",
                "@type": "xsd:string"
"@type": "xsd:string"
            },
},
            "fax_number*": {
"fax_number*": {
                "@id": "Property:HasFaxNumber",
"@id": "Property:HasFaxNumber",
                "@type": "xsd:string"
"@type": "xsd:string"
            },
},
            "founder": {
"founder": {
                "@id": "schema:founder",
"@id": "schema:founder",
                "@type": "xsd:string"
"@type": "xsd:string"
            },
},
            "founder*": {
"founder*": {
                "@id": "Property:HasFounder",
"@id": "Property:HasFounder",
                "@type": "@id"
"@type": "@id"
            },
},
            "founding_date": {
"founding_date": {
                "@id": "schema:foundingDate",
"@id": "schema:foundingDate",
                "@type": "xsd:date"
"@type": "xsd:date"
            },
},
            "founding_date*": {
"founding_date*": {
                "@id": "Property:HasFoundingDate",
"@id": "Property:HasFoundingDate",
                "@type": "xsd:date"
"@type": "xsd:date"
            },
},
            "founding_location": {
"founding_location": {
                "@id": "schema:foundingLocation",
"@id": "schema:foundingLocation",
                "@type": "@id"
"@type": "@id"
            },
},
            "founding_location*": {
"founding_location*": {
                "@id": "Property:HasFoundingLocation",
"@id": "Property:HasFoundingLocation",
                "@type": "@id"
"@type": "@id"
            },
},
            "funder": {
"funder": {
                "@id": "schema:funder",
"@id": "schema:funder",
                "@type": "@id"
"@type": "@id"
            },
},
            "funder*": {
"funder*": {
                "@id": "Property:HasFunder",
"@id": "Property:HasFunder",
                "@type": "@id"
"@type": "@id"
            },
},
            "house_no": {
"image": {
                "@id": "Property:HasHouseNo",
"@id": "schema:logo",
                "@type": "xsd:string"
"@type": "@id"
            },
},
            "image": {
"image*": {
                "@id": "schema:logo",
"@id": "Property:HasLogo",
                "@type": "@id"
"@type": "@id"
            },
},
            "image*": {
"legal_name": {
                "@id": "Property:HasLogo",
"@id": "schema:legalName",
                "@type": "@id"
"@type"
            },
            "legal_name": {
                "@id": "schema:legalName",
                "@type": "xsd:string"
            },
            "legal_name*": {
                "@id": "Property:HasLegalName",
                "@type": "xsd:string"
            },
            "mailing_list": {
                "@id": "Property:HasMailingList",
                "@type": "@id"
            },
            "manager": {
                "
}
}
header_template
Line 70: Line 70:
     <tr>
     <tr>
         <th>{{{_label_superordinate_ou|Superordinate OU}}}</th>
         <th>{{{_label_superordinate_ou|Superordinate OU}}}</th>
         <td>{{#ask:[[{{FULLPAGENAME}}]]|?HasSuperOrdinateOu=|format=plain|mainlabel=-}}</td>
         <td>{{#ask:[[{{FULLPAGENAME}}]]|?HasSuperordinateOu=|format=plain|mainlabel=-}}</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 79: Line 79:
         </th>
         </th>
         <td>{{#ask:
         <td>{{#ask:
             [[HasType::Category:OSW3cb8cef2225e403092f098f99bc4c472]][[HasSuperordinateOu::{{FULLPAGENAME}}]]}}
             [[HasSuperordinateOu::{{FULLPAGENAME}}]]|format=plain}}
         </td>
         </td>
     </tr>
     </tr>
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}}