25 lines
516 B
JSON
25 lines
516 B
JSON
|
{
|
||
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||
|
"$id": "labels",
|
||
|
"title": "labels",
|
||
|
"description": "Base labels definitions",
|
||
|
"definitions": {
|
||
|
"label": {
|
||
|
"type": "object",
|
||
|
"additionalProperties": false,
|
||
|
"properties": {
|
||
|
"name": {
|
||
|
"type": "string",
|
||
|
"minLength": 1,
|
||
|
"maxLength": 191,
|
||
|
"pattern": "^([^,]|$)"
|
||
|
},
|
||
|
"slug": {
|
||
|
"type": ["string", "null"],
|
||
|
"maxLength": 191
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|