Category:OSWfe032188635d4e049eb46ffb9e228ce6: Difference between revisions

fix
No edit summary
Tag: Metadata slot edit
 
(fix)
Tag: Metadata slot edit
 
(2 intermediate revisions by the same user not shown)
jsonschema
Line 1: Line 1:
{
{
     "@context": [
     "@context": [
         "/wiki/Category:Item?action=raw\u0026slot=jsonschema"
         "/wiki/Category:Item?action=raw\u0026slot=jsonschema",
        {
            "ordering_categories": {
                "@id": "Property:Category",
                "@type": "@id"
            }
        }
     ],
     ],
     "allOf": [
     "allOf": [
Line 18: Line 24:
     "required": [
     "required": [
         "type"
         "type"
    ],
    "defaultProperties": [
        "ordering_categories"
     ],
     ],
     "properties": {
     "properties": {
Line 24: Line 33:
                 "Category:OSWfe032188635d4e049eb46ffb9e228ce6"
                 "Category:OSWfe032188635d4e049eb46ffb9e228ce6"
             ]
             ]
        },
        "ordering_categories": {
            "type": "array",
            "format": "table",
            "title": "Classification categories",
            "title*": {
                "de": "Ordnungskategorien"
            },
            "description": "Classification categories are used to categorize instances, e.g., according to their use but not their properties. When querying for instances of a here listed classification category, this instance will be returned. Note: Classification categories define no properties, while 'regular' categories define properties, which an instance assigns values to.",
            "description*": {
                "de": "Ordnungskategorien werden verwendet, um Instanzen zu kategorisieren, z. B. nach ihrer Verwendung, nicht aber nach ihren Eigenschaften. Bei der Abfrage nach Instanzen einer hier aufgeführten Ordnungskategorie wird diese Instanz zurückgegeben. Hinweis: Ordnungskategorien definieren keine Eigenschaften, während 'normale' Kategorien Eigenschaften definieren, denen eine Instanz Werte zuweist."
            },
            "items": {
                "title": "Classification category",
                "title*": {
                    "de": "Ordnungskategorie"
                },
                "type": "string",
                "format": "autocomplete",
                "options": {
                    "autocomplete": {
                        "$comment": "SubCategories of Item OR OwlThing (Category:OSW379d5a1589c74c82bc0de47938264d00)",
                        "query": "[[SubClassOf::Category:OSW379d5a1589c74c82bc0de47938264d00]] OR [[SubClassOf.SubClassOf::Category:OSW379d5a1589c74c82bc0de47938264d00]] OR [[SubClassOf.SubClassOf.SubClassOf::Category:OSW379d5a1589c74c82bc0de47938264d00]] OR [[SubClassOf.SubClassOf.SubClassOf.SubClassOf::Category:OSW379d5a1589c74c82bc0de47938264d00]] OR [[SubClassOf.SubClassOf.SubClassOf.SubClassOf.SubClassOf::Category:OSW379d5a1589c74c82bc0de47938264d00]]"
                    }
                }
            }
         }
         }
     }
     }
}
}