Add language selection to plugin schema

This commit is contained in:
Luis Riegger 2021-05-04 08:32:42 +02:00
parent 3af668399b
commit 010e177306

View File

@ -17,6 +17,32 @@
"type": "string",
"required": true,
"description": "Your Password"
},
"language": {
"title": "language",
"type": "string",
"default": "en",
"oneOf": [
{
"title": "English",
"enum": [
"en"
]
},
{
"title": "German",
"enum": [
"de"
]
},
{
"title": "French",
"enum": [
"fr"
]
}
],
"required": true
}
}
}