38 lines
918 B
JSON
38 lines
918 B
JSON
{
|
|
"title": "Label",
|
|
"description": "Label associated to an issue.",
|
|
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"index": {
|
|
"description": "Unique identifier.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of the label, unique within the repository.",
|
|
"type": "string"
|
|
},
|
|
"color": {
|
|
"description": "Color code of the label in RGB notation 'xxx' or 'xxxxxx'.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "Long description.",
|
|
"type": "string"
|
|
},
|
|
"exclusive": {
|
|
"description": "There can only be one label with the prefix found before the first slash (/).",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"index",
|
|
"name"
|
|
],
|
|
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"$id": "https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/label.json",
|
|
"$$target": "label.json"
|
|
}
|