Category:Category: Difference between revisions

Category page
Category:Category
(Update package: OSW Core)
(Update package: OSW Core)
jsonschema
Line 5: Line 5:
             "subclass_of": {
             "subclass_of": {
                 "@id": "rdf:subclass_of",
                 "@id": "rdf:subclass_of",
                "@type": "@id"
            },
            "metaclass": {
                "@id": "Property:HasMetaCategory",
                "@type": "@id"
            },
            "type": {
                "@id": "Property:HasType",
                 "@type": "@id"
                 "@type": "@id"
             },
             },
Line 23: Line 31:
     ],
     ],
     "required": [
     "required": [
         "subclass_of"
         "subclass_of",
        "type"
     ],
     ],
     "properties": {
     "properties": {
        "metaclass": {
            "title": "Metaclasses/-categories",
            "title*": {
                "de": "Metaklassen/-kategorien"
            },
            "type": "array",
            "format": "table",
            "items": {
                "title": "Metaclass",
                "title*": {
                    "de": "Metaklasse"
                },
                "type": "string",
                "format": "autocomplete",
                "query": "[[IsA::Category:Category]] |?Display_title_of=label",
                "previewWikiTextTemplate": "[[:{{result.fulltext}}]]",
                "labelTemplate": "{{result.printouts.label.[0]}}"
            }
        },
        "type": {
            "title": "Types/Categories",
            "title*": {
                "de": "Typen/Kategorien"
            },
            "type": "array",
            "format": "table",
            "items": {
                "title": "Type",
                "title*": {
                    "de": "Type"
                },
                "type": "string",
                "format": "autocomplete",
                "query": "[[IsA::Category:Category]] |?Display_title_of=label",
                "previewWikiTextTemplate": "[[:{{result.fulltext}}]]",
                "labelTemplate": "{{result.printouts.label.[0]}}"
            },
            "minLength": 1,
            "default": [
                "Category:Category"
            ],
            "options": {
                "hidden": true
            }
        },
         "subclass_of": {
         "subclass_of": {
             "title": "Supercategories",
             "title": "Supercategories",
schema_template
Line 1: Line 1:
 
{
    "@context": [
    {{#each subclass_of}}
        "/wiki/{{{.}}}?action=raw\u0026slot=jsonschema"{{#unless @last}},{{/unless}}
        {{/each}}
    ],
    "allOf": [
        {
        {{#each subclass_of}}
            "$ref": "/wiki/{{{.}}}?action=raw\u0026slot=jsonschema"{{#unless @last}},{{/unless}}
            {{/each}}
        }
    ],
    "type": "object",
    "uuid": "{{{uuid}}}",
    "title": "{{{name}}}",
    "title*": {
    {{#each label}}
        "{{{lang}}}": "{{{text}}}"{{#unless @last}},{{/unless}}
    {{/each}}
    },
    "description": "{{{description.[0].text}}}",
    "description*": {
    {{#each description}}
        "{{{lang}}}": "{{{text}}}"{{#unless @last}},{{/unless}}
    {{/each}}
    }
}

Revision as of 13:58, 21 March 2023

Category (Class) [Category]
ID Category
UUID 89aafe6d-ae5a-4f29-97ff-df7736d4cab6
Label Category (Class)
Machine compatible name CategoryClass
Statements (outgoing)
Statements (incoming)
Keywords

Description


📎 Select files (or drop them here)... 📷 Camera


    jsondata
    label
    text"Category (Class)"
    lang"en"
    uuid"89aafe6d-ae5a-4f29-97ff-df7736d4cab6"
    description
    text"Meta-Category for Categories"
    lang"en"
    name"CategoryClass"
    jsonschema
    @context
    "/wiki/Category:Entity?action=raw&slot=jsonschema"
    subclass_of
    @id"rdf:subclass_of"
    @type"@id"
    metaclass
    @id"Property:HasMetaCategory"
    @type"@id"
    type
    @id"Property:HasType"
    @type"@id"
    utf8_icon"Property:HasUtf8Icon"
    type"object"
    title"Category"
    title*
    de"Kategorie"
    en"Category"
    allOf
    type"object"
    $ref"/wiki/Category:Entity?action=raw&slot=jsonschema"
    required
    "subclass_of"
    "type"
    properties
    metaclass
    title"Metaclasses/-categories"
    title*
    de"Metaklassen/-kategorien"
    type"array"
    format"table"
    items
    title"Metaclass"
    title*
    de"Metaklasse"
    type"string"
    format"autocomplete"
    query"[[IsA::Category:Category]] |?Display_title_of=label"
    previewWikiTextTemplate"[[:{{result.fulltext}}]]"
    labelTemplate"{{result.printouts.label.[0]}}"
    type
    title"Types/Categories"
    title*
    de"Typen/Kategorien"
    type"array"
    format"table"
    items
    title"Type"
    title*
    de"Type"
    type"string"
    format"autocomplete"
    query"[[IsA::Category:Category]] |?Display_title_of=label"
    previewWikiTextTemplate"[[:{{result.fulltext}}]]"
    labelTemplate"{{result.printouts.label.[0]}}"
    minLength1
    default
    "Category:Category"
    options
    hiddentrue
    subclass_of
    title"Supercategories"
    title*
    en"Supercategories"
    de"Überkategorien"
    type"array"
    items
    title"Category"
    title*
    en"Category"
    de"Kategorie"
    type"string"
    format"autocomplete"
    query"[[IsA::Category:Category]] |?Display_title_of=label"
    previewWikiTextTemplate"[[:{{result.fulltext}}]]"
    labelTemplate"{{result.printouts.label.[0]}}"
    default
    "Category:Entity"
    options
    hiddenfalse
    utf8_icon
    type"array"
    title"UTF8-Icons"
    description"see https://www.w3schools.com/charsets/ref_utf_symbols.asp"
    description*
    de"see https://www.w3schools.com/charsets/ref_utf_symbols.asp"
    items
    type"string"
    title"UTF8-Icon"
    minLength1
    maxLength2

    Subcategories

    This category has the following 5 subcategories, out of 5 total.

    M

    O

    P

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.