JsonSchema:Description: Difference between revisions

From OSL Demo
(Update package: OSW Core)
(Update package: OSW Core)
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:
                 "de": "Text"
                 "de": "Text"
             },
             },
             "type": "string"
             "type": "string",
            "format": "textarea",
            "minLength": 1,
            "options": {
                "input_width": "800px"
            }
         },
         },
         "lang": {
         "lang": {
Line 34: 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.