Category:Category: Difference between revisions

Update package: OSW Core
(Install package: OSW Core)
 
(Update package: OSW Core)
 
(4 intermediate revisions by 3 users not shown)
jsonschema
Line 23: Line 23:
         }
         }
     ],
     ],
    "type": "object",
    "title": "Category",
    "title*": {
        "de": "Kategorie",
        "en": "Category"
    },
     "allOf": [
     "allOf": [
         {
         {
Line 34: 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 56: 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 66: 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": ""
             }
             }
         },
         },
footer_template
Line 1: Line 1:
=={{#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", "Has_query", "Display_title_of", "Display_title_of_lowercase", "Display_title_of_normalized"], "permalink":true, "depth":2, "edit": true, "edge_labels": false, "query_limit":10}'></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": {