534
edits
(Update package: OSW Core) |
(Update package: OSW Core) |
||
jsonschema | |||
---|---|---|---|
Line 5: | Line 5: | ||
"xsd": "http://www.w3.org/2001/XMLSchema#", | "xsd": "http://www.w3.org/2001/XMLSchema#", | ||
"wiki": "https://wiki-dev.open-semantic-lab.org/id/", | "wiki": "https://wiki-dev.open-semantic-lab.org/id/", | ||
" | "Category": { | ||
"@id": "wiki: | "@id": "wiki:Category-3A", | ||
"@prefix": true | "@prefix": true | ||
}, | }, | ||
"File": { | "File": { | ||
"@id": "https://wiki-dev.open-semantic-lab.org/wiki/Special:Redirect/file/", | "@id": "https://wiki-dev.open-semantic-lab.org/wiki/Special:Redirect/file/", | ||
"@prefix": true | "@prefix": true | ||
}, | }, | ||
" | "Property": { | ||
"@id": "wiki: | "@id": "wiki:Property-3A", | ||
"@prefix": true | "@prefix": true | ||
}, | }, | ||
" | "Item": { | ||
"@id": " | "@id": "wiki:Item-3A", | ||
"@ | "@prefix": true | ||
}, | }, | ||
" | "attachments*": { | ||
"@id": "Property:HasFileAttachment", | |||
"@id | |||
"@type": "@id" | "@type": "@id" | ||
}, | }, | ||
" | "based_on": { | ||
"@id": " | "@id": "skos:isBasedOn", | ||
"@type": "@id" | "@type": "@id" | ||
}, | }, | ||
"based_on*": { | "based_on*": { | ||
"@id": "Property:IsBasedOn", | "@id": "Property:IsBasedOn", | ||
"@type": "@id" | "@type": "@id" | ||
}, | }, | ||
" | "description": { | ||
" | "@id": "skos:definition" | ||
" | }, | ||
"@id": "Property: | "description*": { | ||
"@id": "Property:HasDescription" | |||
}, | |||
"image": { | |||
"@id": "schema:image", | |||
"@type": "@id" | |||
}, | |||
"image*": { | |||
"@id": "Property:HasImage", | |||
"@type": "@id" | "@type": "@id" | ||
}, | |||
"label": { | |||
"@id": "skos:prefLabel" | |||
}, | |||
"label*": { | |||
"@id": "Property:HasLabel" | |||
}, | |||
"lang": { | |||
"@id": "@language" | |||
}, | |||
"text": { | |||
"@id": "@value" | |||
}, | |||
"uuid*": { | |||
"@id": "Property:HasUuid" | |||
}, | }, | ||
"meta": { | "meta": { | ||
Line 66: | Line 71: | ||
} | } | ||
} | } | ||
}, | |||
"name*": { | |||
"@id": "Property:HasName" | |||
}, | |||
"query_label": { | |||
"@id": "Property:HasLabel" | |||
}, | |||
"short_name": { | |||
"@id": "Property:HasShortName" | |||
}, | |||
"keywords": { | |||
"@id": "schema:keywords", | |||
"@type": "@id" | |||
}, | |||
"keywords*": { | |||
"@id": "Property:HasKeyword", | |||
"@type": "@id" | |||
}, | |||
"statements": { | |||
"@id": "Property:HasStatement", | |||
"@type": "@id" | |||
} | } | ||
}, | }, | ||
Line 225: | Line 251: | ||
"de": "Bild" | "de": "Bild" | ||
}, | }, | ||
"propertyOrder": 1020, | |||
"type": "string", | "type": "string", | ||
"format": "url", | "format": "url", | ||
Line 244: | Line 271: | ||
"keywords": { | "keywords": { | ||
"type": "array", | "type": "array", | ||
"format": "table", | |||
"title": "Keywords / Tags", | "title": "Keywords / Tags", | ||
"title*": { | "title*": { | ||
Line 255: | Line 283: | ||
"type": "mustache-wikitext", | "type": "mustache-wikitext", | ||
"mode": "render", | "mode": "render", | ||
"value": " | "value": "{{#keywords}}[[{{{.}}}]] \u003Cbr\u003E {{/keywords}}" | ||
}, | }, | ||
"items": { | "items": { | ||
Line 315: | Line 343: | ||
"collapsed": true | "collapsed": true | ||
}, | }, | ||
"propertyOrder": | "propertyOrder": 1030, | ||
"items": { | "items": { | ||
"title": "Attachment", | "title": "Attachment", | ||
header_template | |||
Line 1: | Line 1: | ||
<table class="info_box"> | <table class="info_box"> | ||
<tr> | <tr> | ||
<th class="heading" colspan="2">{{#if: {{{label|}}}|{{{label|}}} | <th class="heading" colspan="2">{{#if: {{{label|}}}|{{{label|}}} | {{{id|{{PAGENAME}}}}} }} | ||
</th> | </th> | ||
</tr> | </tr> | ||
Line 63: | Line 63: | ||
}}</td> | }}</td> | ||
</tr> | </tr> | ||
<tr> | |||
{{#if: {{{ordering_categories|}}}|<!-- show a row if an ordering_categories exists --> | |||
<th>{{{_label_ordering_categories|Classification categories}}}</th> | |||
<td>{{{ordering_categories|}}}</td> | |||
</tr> | |||
<tr> | |||
|}} | |||
{{#if: {{{keywords|}}}|<!-- show a row if an keywords exists --> | |||
<tr> | <tr> | ||
<th>{{{_keywords_name|Keywords}}}</th> | <th>{{{_keywords_name|Keywords}}}</th> | ||
<td>{{{keywords|}}}</td> | <td>{{{keywords|}}}</td> | ||
</tr> | </tr> | ||
|}} | |||
</table> | </table> | ||
edits