1
0
Fork 0
golang-forgejo-f3-gof3/f3/schemas/label.json

38 lines
911 B
JSON
Raw Permalink Normal View History

{
"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://code.forgejo.org/f3/f3-schemas/src/branch/main/label.json",
"$$target": "label.json"
}