JsonSchema:Label: Difference between revisions

From OSL Demo
(Update package: OSW Core)
 
(Update package: OSW Core)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
     "@context": {
     "@context": {
         "rdf": "http://www.w3.org/2000/01/rdf-schema#",
         "rdf": "http://www.w3.org/2000/01/rdf-schema#",
        "label_": "rdf:label",
        "wiki": "https://wiki-dev.open-semantic-lab.org/id/",
        "property": {
            "@id": "wiki:Property-3A",
            "@prefix": true
        },
        "label": "property:HasLabel",
         "text": {
         "text": {
             "@id": "@value"
             "@id": "@value"
Line 29: Line 22:
                 "de": "Text"
                 "de": "Text"
             },
             },
             "type": "string"
             "type": "string",
            "minLength": 1,
            "options": {
                "input_width": "800px",
                "inputAttributes": {
                    "placeholder": "Title of the entry"
                },
                "inputAttributes*": {
                    "de": {
                        "placeholder": "Titel dieses Eintrags"
                    }
                }
            }
         },
         },
         "lang": {
         "lang": {
Line 41: Line 46:
                 "de"
                 "de"
             ],
             ],
             "default": "en"
             "default": "en",
            "default*": {
                "en": "en",
                "de": "de"
            },
            "options": {
                "input_width": "100px"
            }
         }
         }
     }
     }
}
}

Latest revision as of 02:06, 13 December 2023

@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.