JsonSchema:Description: Difference between revisions

From OSL Demo
(Update package: OSW Core)
 
(Update package: OSW Core)
 
(2 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_": "rdfs:comment",
        "wiki": "https://wiki-dev.open-semantic-lab.org/id/",
        "property": {
            "@id": "wiki:Property-3A",
            "@prefix": true
        },
        "label": "property:HasDescription",
         "text": {
         "text": {
             "@id": "@value"
             "@id": "@value"
Line 29: Line 22:
                 "de": "Text"
                 "de": "Text"
             },
             },
             "type": "string"
             "type": "string",
            "format": "textarea",
            "minLength": 1,
            "options": {
                "input_width": "800px"
            }
         },
         },
         "lang": {
         "lang": {
Line 41: Line 39:
                 "de"
                 "de"
             ],
             ],
             "default": "en"
             "default": "en",
            "default*": {
                "en": "en",
                "de": "de"
            },
            "options": {
                "input_width": "100px"
            }
         }
         }
     }
     }
}
}

Latest revision as of 02:36, 15 November 2023

@context
rdf"http://www.w3.org/2000/01/rdf-schema#"
text
@id"@value"
lang
@id"@language"
title"Description"
id"description"
type"object"
required
"text"
"lang"
properties
text
title"Text"
title*
de"Text"
type"string"
format"textarea"
minLength1
options
input_width"800px"
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.