JsonSchema:Label: Difference between revisions

From OSL Demo
(Update package: OSW Core)
(Update package: OSW Core)
Line 23: Line 23:
             },
             },
             "type": "string",
             "type": "string",
             "minLength": 1
             "minLength": 1,
            "options": {
                "input_width": "800px"
            }
         },
         },
         "lang": {
         "lang": {
Line 35: Line 38:
                 "de"
                 "de"
             ],
             ],
             "default": "en"
             "default": "en",
            "default*": {
                "en": "en",
                "de": "de"
            },
            "options": {
                "input_width": "100px"
            }
         }
         }
     }
     }
}
}

Revision as of 02:33, 15 November 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"
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.