328
edits
(Install package: OSW Base) |
(Update package: OSW Base) |
||
jsondata | |||
---|---|---|---|
Line 37: | Line 37: | ||
} | } | ||
], | ], | ||
"name": "Person" | "name": "Person", | ||
"instance_rdf_type": [ | |||
"schema:Person" | |||
] | |||
} | } | ||
jsonschema | |||
Line 1: | Line 1: | ||
{ | { | ||
"@context": [ | "@context": [ | ||
{ | { | ||
"competence": { | "competence": { | ||
Line 12: | Line 11: | ||
}, | }, | ||
"email": { | "email": { | ||
"@id": "schema:email" | "@id": "schema:email", | ||
"@type": "xsd:string" | |||
}, | }, | ||
"email*": { | "email*": { | ||
"@id": "Property:HasEmail" | "@id": "Property:HasEmail", | ||
"@type": "xsd:string" | |||
}, | }, | ||
"fax_number": { | "fax_number": { | ||
"@id": "schema:faxNumber" | "@id": "schema:faxNumber", | ||
"@type": "xsd:string" | |||
}, | }, | ||
"fax_number*": { | "fax_number*": { | ||
"@id": "Property:HasFaxNumber" | "@id": "Property:HasFaxNumber", | ||
"@type": "xsd:string" | |||
}, | }, | ||
"first_name": { | "first_name": { | ||
"@id": "schema:givenName" | "@id": "schema:givenName", | ||
"@type": "xsd:string" | |||
}, | }, | ||
"first_name*": { | "first_name*": { | ||
"@id": "Property:HasFirstName" | "@id": "Property:HasFirstName", | ||
"@type": "xsd:string" | |||
}, | }, | ||
"located_in": { | "located_in": { | ||
Line 38: | Line 43: | ||
}, | }, | ||
"middle_name": { | "middle_name": { | ||
"@id": "schema:additionalName" | "@id": "schema:additionalName", | ||
"@type": "xsd:string" | |||
}, | }, | ||
"middle_name*": { | "middle_name*": { | ||
"@id": "Property:HasMiddleName" | "@id": "Property:HasMiddleName", | ||
"@type": "xsd:string" | |||
}, | }, | ||
"orcid": { | "orcid": { | ||
"@id": "schema:identifier" | "@id": "schema:identifier", | ||
"@type": "xsd:string" | |||
}, | }, | ||
"orcid*": { | "orcid*": { | ||
"@id": "Property:HasOrcidId" | "@id": "Property:HasOrcidId", | ||
"@type": "xsd:string" | |||
}, | }, | ||
"organization": { | "organization": { | ||
Line 62: | Line 71: | ||
}, | }, | ||
"organizational_unit*": { | "organizational_unit*": { | ||
"@id": "Property: | "@id": "Property:HasOu", | ||
"@type": "@id" | "@type": "@id" | ||
}, | }, | ||
"phone_number": { | "phone_number": { | ||
"@id": "schema:telephone" | "@id": "schema:telephone", | ||
"@type": "xsd:string" | |||
}, | }, | ||
"phone_number*": { | "phone_number*": { | ||
"@id": "Property:HasPhoneNumber" | "@id": "Property:HasPhoneNumber", | ||
"@type": "xsd:string" | |||
}, | }, | ||
"role": { | "role": { | ||
Line 80: | Line 91: | ||
}, | }, | ||
"surname": { | "surname": { | ||
"@id": "schema:familyName" | "@id": "schema:familyName", | ||
"@type": "xsd:string" | |||
}, | }, | ||
"surname*": { | "surname*": { | ||
"@id": "Property:HasSurname" | "@id": "Property:HasSurname", | ||
"@type": "xsd:string" | |||
}, | }, | ||
"topic": { | "topic": { | ||
Line 94: | Line 107: | ||
}, | }, | ||
"website": { | "website": { | ||
"@id": "schema:subjectOf" | "@id": "schema:subjectOf", | ||
"@type": "xsd:string" | |||
}, | }, | ||
"website*": { | "website*": { | ||
"@id": "Property:HasWebsite" | "@id": "Property:HasWebsite", | ||
"@type": "xsd:string" | |||
} | } | ||
}, | |||
"/wiki/Category:Item?action=raw\u0026slot=jsonschema" | |||
], | |||
"allOf": [ | |||
{ | |||
"$ref": "/wiki/Category:Item?action=raw\u0026slot=jsonschema" | |||
} | } | ||
], | ], | ||
"title": "Person", | |||
"title*": { | |||
"de": "Person", | |||
"en": "Person" | |||
}, | |||
"type": "object", | |||
"uuid": "44deaa5b-806d-41a2-a885-94f562b110e9", | |||
"description": "Category for a person in general. Subcategories are e.g. 'User', i.e. persons who have a user ID.", | |||
"description*": { | |||
"en": "Category for a person in general. Subcategories are e.g. 'User', i.e. persons who have a user ID.", | |||
"de": "Kategorie für eine Person im Allgemeinen. Unterkategorien sind bsp. 'User', also Personen die über eine Nutzerkennung verfügen." | |||
}, | |||
"defaultProperties": [ | "defaultProperties": [ | ||
"first_name", | "first_name", | ||
"surname", | "surname", | ||
"organization", | "organization", | ||
"email", | "email", | ||
"phone_number" | |||
"phone_number | |||
], | ], | ||
"required": [ | "required": [ | ||
"first_name", | "first_name", | ||
"surname", | "surname", | ||
"type" | "type" | ||
], | ], | ||
"properties": { | "properties": { | ||
"type": { | |||
"default": [ | |||
"Category:OSW44deaa5b806d41a2a88594f562b110e9" | |||
] | |||
}, | |||
"first_name": { | "first_name": { | ||
"title": "First name / Given name / Forename", | "title": "First name / Given name / Forename", | ||
Line 146: | Line 157: | ||
"de": "Vorname" | "de": "Vorname" | ||
}, | }, | ||
"type": "string" | "type": "string", | ||
"propertyOrder": -3 | |||
}, | }, | ||
"middle_name": { | "middle_name": { | ||
Line 156: | Line 168: | ||
"format": "table", | "format": "table", | ||
"items": { | "items": { | ||
"title": "", | "title": "Name", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"uniqueItems": true, | "uniqueItems": true, | ||
" | "propertyOrder": -2 | ||
}, | }, | ||
"surname": { | "surname": { | ||
Line 169: | Line 179: | ||
"de": "Nachname" | "de": "Nachname" | ||
}, | }, | ||
"type": "string" | "type": "string", | ||
"propertyOrder": -1 | |||
}, | |||
"label": { | |||
"items": { | |||
"title": "Display name", | |||
"title*": { | |||
"de": "Anzeigenamen" | |||
}, | |||
"properties": { | |||
"text": { | |||
"watch": { | |||
"first_name": "root.first_name", | |||
"middle_name": "root.middle_name", | |||
"surname": "root.surname" | |||
}, | |||
"readonly": true, | |||
"dynamic_template": "{{first_name}}{{#each middle_name}} {{.}}{{/each}}{{#if surname}} {{{surname}}}{{/if}}" | |||
} | |||
} | |||
}, | |||
"options": { | |||
"hidden": true | |||
} | |||
}, | }, | ||
"organization": { | "organization": { | ||
Line 189: | Line 222: | ||
}, | }, | ||
"format": "autocomplete", | "format": "autocomplete", | ||
" | "range": "Category:OSW3cb8cef2225e403092f098f99bc4c472" | ||
}, | }, | ||
"uniqueItems": true | "uniqueItems": true | ||
}, | }, | ||
"organizational_unit": { | "organizational_unit": { | ||
Line 217: | Line 246: | ||
"range": "Category:OSWfe3e842b804445c7bb0dd8ee61da2d70" | "range": "Category:OSWfe3e842b804445c7bb0dd8ee61da2d70" | ||
}, | }, | ||
"uniqueItems": true | "uniqueItems": true | ||
}, | }, | ||
"email": { | "email": { | ||
"title": "Email address", | "title": "Email address", | ||
"title*": { | "title*": { | ||
"de": "E-Mail" | "de": "E-Mail Adresse" | ||
}, | }, | ||
"eval_template": { | "eval_template": { | ||
Line 236: | Line 261: | ||
"format": "table", | "format": "table", | ||
"items": { | "items": { | ||
"title": "", | "title": "Email", | ||
"title*": { | |||
"de": "E-Mail" | |||
}, | |||
"type": "string", | "type": "string", | ||
"format": "email" | "format": "email" | ||
Line 255: | Line 283: | ||
"format": "table", | "format": "table", | ||
"items": { | "items": { | ||
"title": "", | "title": "URL", | ||
"type": "string", | "type": "string", | ||
"format": "uri" | "format": "uri" | ||
Line 290: | Line 318: | ||
"format": "table", | "format": "table", | ||
"items": { | "items": { | ||
"title": "", | "title": "Phone", | ||
"title*": { | |||
"de": "Telefon" | |||
}, | |||
"type": "string", | "type": "string", | ||
"pattern": "(?:(?:(?:\\+|00|011)[\\.\\/\\-\\ \\t]*([17]|2(?:[07]|[1-689]\\d)|3(?:[0-4679]|[578]\\d)|4(?:[013-9]|2\\d)|5(?:[1-8]|[09]\\d)|6(?:[0-6]|[789]\\d)|8(?:[1246]|[035789]\\d)|9(?:[0-58]|[679]\\d))[\\.\\/\\-\\ \\t]*|([17])[\\.\\/\\-\\ ])?(?:\\((\\d{1,6})\\)[\\.\\/\\-\\ \\t]*)?(?:(\\d{1,6})[\\.\\/\\-\\ ])?(?:(\\d{1,6})[\\.\\/\\-\\ ])?(?:(\\d{1,6})[\\.\\/\\-\\ ])?(?:(\\d{1,6})[\\.\\/\\-\\ ])?(\\d{0,10}?)(\\d{1,})(?:[\\.\\/\\-;\\ \\t]*e?xt?[\\.\\/\\-=\\ \\t]*(\\d{1,14}))?)?" | "pattern": "(?:(?:(?:\\+|00|011)[\\.\\/\\-\\ \\t]*([17]|2(?:[07]|[1-689]\\d)|3(?:[0-4679]|[578]\\d)|4(?:[013-9]|2\\d)|5(?:[1-8]|[09]\\d)|6(?:[0-6]|[789]\\d)|8(?:[1246]|[035789]\\d)|9(?:[0-58]|[679]\\d))[\\.\\/\\-\\ \\t]*|([17])[\\.\\/\\-\\ ])?(?:\\((\\d{1,6})\\)[\\.\\/\\-\\ \\t]*)?(?:(\\d{1,6})[\\.\\/\\-\\ ])?(?:(\\d{1,6})[\\.\\/\\-\\ ])?(?:(\\d{1,6})[\\.\\/\\-\\ ])?(?:(\\d{1,6})[\\.\\/\\-\\ ])?(\\d{0,10}?)(\\d{1,})(?:[\\.\\/\\-;\\ \\t]*e?xt?[\\.\\/\\-=\\ \\t]*(\\d{1,14}))?)?" | ||
Line 313: | Line 344: | ||
"format": "table", | "format": "table", | ||
"items": { | "items": { | ||
"title": "", | "title": "Fax", | ||
"type": "string", | "type": "string", | ||
"pattern": "(?:(?:(?:\\+|00|011)[\\.\\/\\-\\ \\t]*([17]|2(?:[07]|[1-689]\\d)|3(?:[0-4679]|[578]\\d)|4(?:[013-9]|2\\d)|5(?:[1-8]|[09]\\d)|6(?:[0-6]|[789]\\d)|8(?:[1246]|[035789]\\d)|9(?:[0-58]|[679]\\d))[\\.\\/\\-\\ \\t]*|([17])[\\.\\/\\-\\ ])?(?:\\((\\d{1,6})\\)[\\.\\/\\-\\ \\t]*)?(?:(\\d{1,6})[\\.\\/\\-\\ ])?(?:(\\d{1,6})[\\.\\/\\-\\ ])?(?:(\\d{1,6})[\\.\\/\\-\\ ])?(?:(\\d{1,6})[\\.\\/\\-\\ ])?(\\d{0,10}?)(\\d{1,})(?:[\\.\\/\\-;\\ \\t]*e?xt?[\\.\\/\\-=\\ \\t]*(\\d{1,14}))?)?" | "pattern": "(?:(?:(?:\\+|00|011)[\\.\\/\\-\\ \\t]*([17]|2(?:[07]|[1-689]\\d)|3(?:[0-4679]|[578]\\d)|4(?:[013-9]|2\\d)|5(?:[1-8]|[09]\\d)|6(?:[0-6]|[789]\\d)|8(?:[1246]|[035789]\\d)|9(?:[0-58]|[679]\\d))[\\.\\/\\-\\ \\t]*|([17])[\\.\\/\\-\\ ])?(?:\\((\\d{1,6})\\)[\\.\\/\\-\\ \\t]*)?(?:(\\d{1,6})[\\.\\/\\-\\ ])?(?:(\\d{1,6})[\\.\\/\\-\\ ])?(?:(\\d{1,6})[\\.\\/\\-\\ ])?(?:(\\d{1,6})[\\.\\/\\-\\ ])?(\\d{0,10}?)(\\d{1,})(?:[\\.\\/\\-;\\ \\t]*e?xt?[\\.\\/\\-=\\ \\t]*(\\d{1,14}))?)?" | ||
Line 335: | Line 366: | ||
"range": "Category:OSW473d7a1ed48544d1be83b258b5810948" | "range": "Category:OSW473d7a1ed48544d1be83b258b5810948" | ||
}, | }, | ||
"uniqueItems": true | "uniqueItems": true | ||
}, | }, | ||
"role": { | "role": { | ||
"title": " | "title": "Roles", | ||
"title*": { | "title*": { | ||
"de": " | "de": "Rollen" | ||
}, | }, | ||
"type": "array", | "type": "array", | ||
"format": "table", | "format": "table", | ||
"items": { | "items": { | ||
"title": "", | "title": "Role", | ||
"title*": { | |||
"de": "Rolle" | |||
}, | |||
"type": "string", | "type": "string", | ||
"format": "autocomplete", | "format": "autocomplete", | ||
"range": "Category:OSW5efde23b1d8c4e1c864ef039cb0616ed" | "range": "Category:OSW5efde23b1d8c4e1c864ef039cb0616ed" | ||
}, | }, | ||
"uniqueItems": true | "uniqueItems": true | ||
}, | }, | ||
"competence": { | "competence": { | ||
"title": " | "title": "Competences", | ||
"title*": { | "title*": { | ||
"de": " | "de": "Kompetenzen" | ||
}, | }, | ||
"type": "array", | "type": "array", | ||
"format": "table", | "format": "table", | ||
"items": { | "items": { | ||
"title": "", | "title": "Competence", | ||
"title*": { | |||
"de": "Kompetenz" | |||
}, | |||
"type": "string", | "type": "string", | ||
"format": "autocomplete", | "format": "autocomplete", | ||
"range": "Category:OSW5eb9c52b804544dc870dfd54ff434428" | "range": "Category:OSW5eb9c52b804544dc870dfd54ff434428" | ||
}, | }, | ||
"uniqueItems": true | "uniqueItems": true | ||
}, | }, | ||
"topic": { | "topic": { | ||
"title": " | "title": "Topics", | ||
"title*": { | "title*": { | ||
"de": " | "de": "Themen" | ||
}, | }, | ||
"type": "array", | "type": "array", | ||
"format": "table", | "format": "table", | ||
"items": { | "items": { | ||
"title": "", | "title": "Topic", | ||
"title*": { | |||
"de": "Thema" | |||
}, | |||
"type": "string", | "type": "string", | ||
"format": "autocomplete", | "format": "autocomplete", | ||
"range": "Category:OSW5a13eeda5ed5405ea7ef62ea6feeceec" | "range": "Category:OSW5a13eeda5ed5405ea7ef62ea6feeceec" | ||
}, | }, | ||
"uniqueItems": true | "uniqueItems": true | ||
} | } | ||
} | } | ||
} | } | ||
header_template | |||
Line 27: | Line 27: | ||
<tr> | <tr> | ||
<th>{{{_label_organizational_unit|Department}}}</th> | <th>{{{_label_organizational_unit|Department}}}</th> | ||
<td>{{#ask:[[{{FULLPAGENAME}}]]|? | <td>{{#ask:[[{{FULLPAGENAME}}]]|?HasOu=|format=plain|mainlabel=-}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> |
edits