JsonSchema:Label: Difference between revisions

From OpenSemanticWorld
(Update package: OSW Core)
m (Protected "JsonSchema:Label": Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{
{
    "@context": {
"@context": {
        "rdf": "http://www.w3.org/2000/01/rdf-schema#",
"rdf": "http://www.w3.org/2000/01/rdf-schema#",
        "text": {
"text": {
            "@id": "@value"
"@id": "@value"
        },
},
        "lang": {
"lang": {
            "@id": "@language"
"@id": "@language"
        }
}
    },
},
    "title": "Label",
"title": "Label",
    "id": "label",
"id": "label",
    "type": "object",
"type": "object",
    "required": [
"required": [
        "text",
"text",
        "lang"
"lang"
    ],
],
    "properties": {
"properties": {
        "text": {
"text": {
            "title": "Text",
"title": "Text",
            "title*": {
"title*": {
                "de": "Text"
"de": "Text"
            },
},
            "type": "string",
"type": "string",
            "minLength": 1,
"minLength": 1,
            "options": {
"options": {
                "input_width": "800px",
"input_width": "800px",
                "inputAttributes": {
"inputAttributes": {
                    "placeholder": "Title of the entry"
"placeholder": "Title of the entry"
                },
},
                "inputAttributes*": {
"inputAttributes*": {
                    "de": {
"de": {
                        "placeholder": "Titel dieses Eintrags"
"placeholder": "Titel dieses Eintrags"
                    }
}
                }
}
            }
}
        },
},
        "lang": {
"lang": {
            "title": "Lang code",
"title": "Lang code",
            "title*": {
"title*": {
                "de": "Sprache"
"de": "Sprache"
            },
},
            "type": "string",
"type": "string",
            "enum": [
"enum": [
                "en",
"en",
                "de"
"de"
            ],
],
            "default": "en",
"default": "en",
            "default*": {
"default*": {
                "en": "en",
"en": "en",
                "de": "de"
"de": "de"
            },
},
            "options": {
"options": {
                "input_width": "100px"
"input_width": "100px"
            }
}
        }
}
    }
}
}
}

Latest revision as of 04:57, 8 January 2026

@context
rdf"http://www.w3.org/2000/01/rdf-schema#"
text
@id"@value"
lang
@id"@language"
title"Label"
id"label"
type"object"
required
"text"
"lang"
properties
text
title"Text"
title*
de"Text"
type"string"
minLength1
options
input_width"800px"
inputAttributes
placeholder"Title of the entry"
inputAttributes*
de
placeholder"Titel dieses Eintrags"
lang
title"Lang code"
title*
de"Sprache"
type"string"
enum
"en"
"de"
default"en"
default*
en"en"
de"de"
options
input_width"100px"
Cookies help us deliver our services. By using our services, you agree to our use of cookies.