Category:Category: Difference between revisions

Update package: OSW Core
(Update package: OSW Core)
(Update package: OSW Core)
 
(8 intermediate revisions by 2 users not shown)
jsonschema
Line 3: Line 3:
         "/wiki/Category:Entity?action=raw\u0026slot=jsonschema",
         "/wiki/Category:Entity?action=raw\u0026slot=jsonschema",
         {
         {
            "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
             "subclass_of": {
             "subclass_of": {
                 "@id": "rdf:subclass_of",
                 "@id": "rdfs:subClassOf",
                 "@type": "@id"
                 "@type": "@id"
             },
             },
Line 22: Line 23:
         }
         }
     ],
     ],
    "type": "object",
    "title": "Category",
    "title*": {
        "de": "Kategorie",
        "en": "Category"
    },
     "allOf": [
     "allOf": [
         {
         {
Line 33: Line 28:
         }
         }
     ],
     ],
    "uuid": "89aafe6d-ae5a-4f29-97ff-df7736d4cab6",
    "type": "object",
    "title": "Category",
    "title*": {
        "de": "Kategorie (Klasse)",
        "en": "Category (Class)"
    },
     "required": [
     "required": [
         "subclass_of",
         "subclass_of",
Line 38: Line 40:
     ],
     ],
     "properties": {
     "properties": {
        "metaclass": {
            "title": "Metaclasses/-categories",
            "title*": {
                "de": "Metaklassen/-kategorien"
            },
            "type": "array",
            "format": "table",
            "items": {
                "title": "Metaclass",
                "title*": {
                    "de": "Metaklasse"
                },
                "type": "string",
                "format": "autocomplete",
                "options": {
                    "autocomplete": {
                        "query": "[[HasType::Category:Category]]|?Display_title_of=label|?HasImage=image|HasDescription=description"
                    }
                }
            }
        },
         "type": {
         "type": {
             "title": "Types/Categories",
             "title": "Types/Categories",
Line 64: Line 45:
                 "de": "Typen/Kategorien"
                 "de": "Typen/Kategorien"
             },
             },
            "propertyOrder": -1010,
             "type": "array",
             "type": "array",
             "format": "table",
             "format": "table",
Line 75: Line 57:
                 "options": {
                 "options": {
                     "autocomplete": {
                     "autocomplete": {
                         "query": "[[HasType::Category:Category]]|?Display_title_of=label|?HasImage=image|HasDescription=description"
                         "query": "[[HasType::Category:Category]]|?Display_title_of=label|?HasImage=image|?HasDescription=description"
                     }
                     }
                 }
                 }
Line 85: Line 67:
             "options": {
             "options": {
                 "hidden": true
                 "hidden": true
            }
        },
        "instance_rdf_type": {
            "type": "array",
            "title": "RDF type(s) of instances",
            "title*": {
                "de": "RDF-Typ(en) der Instanzen"
            },
            "description": "References a class/type/category in another ontology to describe the instances of this category. Typically a prefix, representing the resolvable URI of an ontology and an id from the namespace of said ontology, separated by colon, e.g., \"schema:Person\"",
            "description*": {
                "de": "Verweist auf eine Klasse/Typ/Kategory in einer anderen Ontologie, um die Instanzen dieser Kategorie zu beschreiben. In der Regel ein Präfix, das den auflösbaren URI einer Ontologie und eine ID aus dem Namensraum dieser Ontologie darstellt, durch einen Doppelpunkt getrennt, z.B. \"schema:Person\""
            },
            "format": "table",
            "items": {
                "type": "string",
                "title": "RDF type",
                "title*": {
                    "de": "RDF-Typ"
                },
                "default": ""
             }
             }
         },
         },
Line 94: Line 96:
             },
             },
             "type": "array",
             "type": "array",
            "propertyOrder": -1009,
             "items": {
             "items": {
                 "title": "Category",
                 "title": "Category",
Line 113: Line 116:
             "options": {
             "options": {
                 "hidden": false
                 "hidden": false
            }
        },
        "metaclass": {
            "title": "Metaclasses/-categories",
            "title*": {
                "de": "Metaklassen/-kategorien"
            },
            "type": "array",
            "format": "table",
            "propertyOrder": -1008,
            "items": {
                "title": "Metaclass",
                "title*": {
                    "de": "Metaklasse"
                },
                "type": "string",
                "format": "autocomplete",
                "options": {
                    "autocomplete": {
                        "query": "[[HasType::Category:Category]]|?Display_title_of=label|?HasImage=image|HasDescription=description"
                    }
                }
             }
             }
         },
         },
footer_template
Line 1: Line 1:
<!-- Include optional extensions of this page  -->
{{#ask: [[ExtendsDocumentationOf::{{FULLPAGENAME}}]]
|format=embedded
|embedformat=h1
|embedonly=yes
}}
=={{#switch:{{USERLANGUAGECODE}}|en=Graph|de=Graph}}==
=={{#switch:{{USERLANGUAGECODE}}|en=Graph|de=Graph}}==
<div style="width: 100%;" class="InteractiveSemanticGraph" data-config='{ "root":"{{FULLPAGENAME}}", "properties":["SubClassOf","-SubClassOf","HasUtf8Icon"], "ignore_properties":["Subcategory_of", "-Subcategory_of"], "permalink":true, "depth":2, "edit": true, "edge_labels": false}'></div>
<div style="width: 100%;" class="InteractiveSemanticGraph" data-config='{ "root":"{{FULLPAGENAME}}", "properties":["SubClassOf","HasImage","HasUtf8Icon"], "ignore_properties":["Subcategory_of", "-Subcategory_of", "Has_query", "Display_title_of", "Display_title_of_lowercase", "Display_title_of_normalized"], "permalink":true, "depth":2, "edit": true, "edge_labels": false, "query_limit":25}'></div>
<br>
<br>
<br>
<br>
schema_template
Line 26: Line 26:
     {{/each}}
     {{/each}}
     },
     },
     "required": ["type"],
     "required": [
        "type"
    ],
     "properties": {
     "properties": {
         "type": {
         "type": {