2019-09-04 21:01:54 +05:30
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"required": [
|
|
|
|
"id",
|
|
|
|
"name",
|
|
|
|
"color",
|
|
|
|
"description",
|
2020-03-13 15:44:24 +05:30
|
|
|
"description_html",
|
2019-09-04 21:01:54 +05:30
|
|
|
"text_color"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"name": { "type": "string" },
|
|
|
|
"color": {
|
|
|
|
"type": "string",
|
|
|
|
"pattern": "^#[0-9A-Fa-f]{3}{1,2}$"
|
|
|
|
},
|
|
|
|
"description": { "type": ["string", "null"] },
|
2020-03-13 15:44:24 +05:30
|
|
|
"description_html": { "type": ["string", "null"] },
|
2019-09-04 21:01:54 +05:30
|
|
|
"text_color": {
|
|
|
|
"type": "string",
|
|
|
|
"pattern": "^#[0-9A-Fa-f]{3}{1,2}$"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|