summaryrefslogtreecommitdiffstats
path: root/modules/migration/schemas/label.json
blob: 561a2e3357a4171ca8977b186d7c54a1a3e75e73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
    "title": "Label",
    "description": "Label associated to an issue.",

    "type": "object",
    "additionalProperties": false,
    "properties": {
	"name": {
	    "description": "Name of the label, unique within the repository.",
	    "type": "string"
	},
	"color": {
	    "description": "Color code of the label.",
	    "type": "string"
	},
	"description": {
	    "description": "Long, multiline, description.",
	    "type": "string"
	}
    },
    "required": [
	"name"
    ],

    "$schema": "http://json-schema.org/draft-04/schema#",
    "$id": "label.json",
    "$$target": "label.json"
}