src/schemas/push.create.json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://kalisio.xyz/schemas/push-schema#",
"type": "object",
"properties": {
"title": {
"type": "string",
"maxLength": 128,
"minLength": 3,
"field": {
"component": "form/KTextField",
"label": "webpush.TITLE"
}
},
"body": {
"type": "string",
"maxLength": 128,
"minLength": 3,
"field": {
"component": "form/KTextField",
"label": "webpush.BODY"
}
},
"icon": {
"type": "string",
"maxLength": 128,
"minLength": 3,
"field": {
"component": "form/KTextField",
"label": "webpush.ICON"
}
},
"url": {
"type": "string",
"maxLength": 128,
"minLength": 3,
"field": {
"component": "form/KTextField",
"label": "webpush.URL"
}
}
},
"required": ["title"]
}