67 lines
1.8 KiB
JSON
67 lines
1.8 KiB
JSON
{
|
|
"title": "Settings",
|
|
"description": "Settings from Showroom Bo",
|
|
"type": "object",
|
|
"properties": {
|
|
"sub_title": {
|
|
"description": "Sous-titre de l'application",
|
|
"type": "object",
|
|
"properties": {
|
|
"fr": {
|
|
"type": "string",
|
|
"minLength": 2,
|
|
"maxLength": 110
|
|
}
|
|
},
|
|
"additionalProperties": {
|
|
"type": "string",
|
|
"minLength": 2,
|
|
"maxLength": 110
|
|
}
|
|
},
|
|
"footer_phrase": {
|
|
"description": "Texte en bas de page",
|
|
"type": "object",
|
|
"properties": {
|
|
"fr": {
|
|
"type": "string",
|
|
"minLength": 2,
|
|
"maxLength": 110
|
|
}
|
|
},
|
|
"additionalProperties": {
|
|
"type": "string",
|
|
"minLength": 2,
|
|
"maxLength": 110
|
|
}
|
|
},
|
|
"logo": {
|
|
"description": "Logo de l'application, chemin tel que présent dans le zip",
|
|
"type": "string"
|
|
},
|
|
"color": {
|
|
"description": "Couleur de l'application",
|
|
"$ref": "#/$defs/hexcolor"
|
|
},
|
|
"home_timeout": {
|
|
"description": "Temps en secondes avant retour sur la page home lorsque inactif",
|
|
"type": "integer",
|
|
"minimum": 20,
|
|
"maximum": 900
|
|
}
|
|
},
|
|
"$defs": {
|
|
"hexcolor": {
|
|
"description": "HEX color",
|
|
"pattern": "^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"sub_title",
|
|
"footer_phrase",
|
|
"logo",
|
|
"color",
|
|
"home_timeout"
|
|
]
|
|
}
|