JsonSchema:Label: Difference between revisions

480 bytes removed ,  Thursday at 04:57
m
Protected "JsonSchema:Label": Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]
(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"
            }
}
        }
}
    }
}
}
}