Bots, Bureaucrats, Moderators (CommentStreams), Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
1,273
edits
(Install package: OSW Core) |
(Update package: OSW Core) |
||
jsonschema | |||
---|---|---|---|
Line 1: | Line 1: | ||
{ | { | ||
"@context": [ | "@context": [ | ||
"/wiki/Category:Property?action=raw\u0026slot=jsonschema" | "/wiki/Category:Property?action=raw\u0026slot=jsonschema", | ||
{ | |||
"range": { | |||
"@id": "rdfs:range", | |||
"@type": "@id" | |||
}, | |||
"range*": { | |||
"@id": "Property:HasRange", | |||
"@type": "@id" | |||
} | |||
} | |||
], | ], | ||
"allOf": [ | "allOf": [ | ||
Line 20: | Line 30: | ||
"de": "Die benannte Beziehung zwischen einem Subjekt und einem Objekt" | "de": "Die benannte Beziehung zwischen einem Subjekt und einem Objekt" | ||
}, | }, | ||
"required": [ | |||
"type" | |||
], | |||
"defaultProperties": [ | |||
"range" | |||
], | |||
"properties": { | "properties": { | ||
"property_type": { | "property_type": { | ||
Line 31: | Line 47: | ||
"Category:ObjectProperty" | "Category:ObjectProperty" | ||
] | ] | ||
}, | |||
"range": { | |||
"type": "array", | |||
"title": "Value range", | |||
"description": "Enables autocomplete support by lookup all elements that are at least in one of the listed categories. Currently only a single category is supprted.", | |||
"title*": { | |||
"de": "Wertebereich" | |||
}, | |||
"description*": { | |||
"de": "Ermöglicht die Unterstützung der automatischen Vervollständigung durch Nachschlagen aller Elemente, die mindestens in einer der aufgeführten Kategorien enthalten sind. Derzeit wird nur eine einzelne Kategorie unterstützt." | |||
}, | |||
"items": { | |||
"type": "string", | |||
"format": "autocomplete", | |||
"range": "Category:Category", | |||
"subclassof_range": "Category:Item", | |||
"options": { | |||
"autocomplete": { | |||
"query": "[[:Category:%2B]]" | |||
}, | |||
"compact": true | |||
} | |||
} | |||
} | } | ||
} | } | ||
} | } |