src/common/schemas/groups.create.json
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$id": "http://www.kalisio.xyz/schemas/groups.create.json#",
"title": "schemas.GROUPS_CREATE_TITLE",
"description": "Group creation schema",
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 128,
"minLength": 3,
"field": {
"component": "form/KTextField",
"helper": "schemas.GROUPS_NAME_FIELD_HELPER"
}
},
"description": {
"type": "string",
"maxLength": 256,
"field": {
"component": "form/KTextField",
"helper": "schemas.GROUPS_DESCRIPTION_FIELD_HELPER"
}
}
},
"required": ["name"]
}