|
| 1 | +{ |
| 2 | + "@context": [ |
| 3 | + { |
| 4 | + "exact_ontology_match***": { |
| 5 | + "@id": "owl:equivalentClass", |
| 6 | + "@type": "@id" |
| 7 | + }, |
| 8 | + "subclass_of": { |
| 9 | + "@id": "rdfs:subClassOf", |
| 10 | + "@type": "@id" |
| 11 | + }, |
| 12 | + "subclass_of*": { |
| 13 | + "@id": "Property:SubClassOf", |
| 14 | + "@type": "@id" |
| 15 | + }, |
| 16 | + "version": "owl:versionInfo", |
| 17 | + "version*": "Property:HasVersion", |
| 18 | + "utf8_icon": "Property:HasUtf8Icon" |
| 19 | + }, |
| 20 | + "/wiki/Category:OSWffe74f291d354037b318c422591c5023?action=raw&slot=jsonschema" |
| 21 | + ], |
| 22 | + "allOf": [ |
| 23 | + { |
| 24 | + "$ref": "/wiki/Category:OSWffe74f291d354037b318c422591c5023?action=raw&slot=jsonschema" |
| 25 | + } |
| 26 | + ], |
| 27 | + "uuid": "89aafe6d-ae5a-4f29-97ff-df7736d4cab6", |
| 28 | + "type": "object", |
| 29 | + "title": "Category", |
| 30 | + "title*": { |
| 31 | + "de": "Kategorie (Klasse)", |
| 32 | + "en": "Category (Class)" |
| 33 | + }, |
| 34 | + "required": [ |
| 35 | + "subclass_of", |
| 36 | + "type" |
| 37 | + ], |
| 38 | + "defaultProperties": [ |
| 39 | + "version" |
| 40 | + ], |
| 41 | + "properties": { |
| 42 | + "type": { |
| 43 | + "items": { |
| 44 | + "subclassof_range": "Category:Category", |
| 45 | + "format": "autocomplete", |
| 46 | + "options": { |
| 47 | + "autocomplete": { |
| 48 | + "$comment": "All categories here since subclassof_range is limited by depth 5", |
| 49 | + "query": "[[:Category:%2B]]" |
| 50 | + } |
| 51 | + } |
| 52 | + }, |
| 53 | + "default": [ |
| 54 | + "Category:Category" |
| 55 | + ], |
| 56 | + "options": { |
| 57 | + "hidden": true |
| 58 | + } |
| 59 | + }, |
| 60 | + "version": { |
| 61 | + "title": "Version", |
| 62 | + "title*": { |
| 63 | + "de": "Version" |
| 64 | + }, |
| 65 | + "description": "Human-readable version string (e.g. 1.0.1) following https://semver.org/", |
| 66 | + "description*": { |
| 67 | + "de": "Für Menschen lesbare Versionszeichenfolge (z.B. 1.0.1) gemäß https://semver.org/" |
| 68 | + }, |
| 69 | + "type": "string", |
| 70 | + "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$", |
| 71 | + "propertyOrder": -1010, |
| 72 | + "default": "0.1.0" |
| 73 | + }, |
| 74 | + "subclass_of": { |
| 75 | + "title": "Supercategories", |
| 76 | + "title*": { |
| 77 | + "de": "Überkategorien" |
| 78 | + }, |
| 79 | + "type": "array", |
| 80 | + "propertyOrder": -1009, |
| 81 | + "items": { |
| 82 | + "title": "Category", |
| 83 | + "title*": { |
| 84 | + "de": "Kategorie" |
| 85 | + }, |
| 86 | + "type": "string", |
| 87 | + "format": "autocomplete", |
| 88 | + "subclassof_range": "Category:Entity" |
| 89 | + }, |
| 90 | + "default": [ |
| 91 | + "Category:Entity" |
| 92 | + ], |
| 93 | + "options": { |
| 94 | + "hidden": false |
| 95 | + } |
| 96 | + }, |
| 97 | + "utf8_icon": { |
| 98 | + "type": "array", |
| 99 | + "title": "UTF8-Icons", |
| 100 | + "title*": { |
| 101 | + "de": "UTF8-Symbole" |
| 102 | + }, |
| 103 | + "description": "see https://www.unicode.org/cldr/charts/latest/annotations/romance.html", |
| 104 | + "description*": { |
| 105 | + "de": "siehe https://www.unicode.org/cldr/charts/latest/annotations/germanic.html" |
| 106 | + }, |
| 107 | + "items": { |
| 108 | + "type": "string", |
| 109 | + "title": "UTF8-Icon", |
| 110 | + "minLength": 1, |
| 111 | + "maxLength": 2 |
| 112 | + } |
| 113 | + } |
| 114 | + } |
| 115 | +} |
0 commit comments