Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions labelsync.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the label"
},
"color": {
"type": "string",
"pattern": "^#?[0-9a-fA-F]{6}$",
"description": "A six-character hex color code, with or without a leading '#' character"
},
"aliases": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of alias names for the label"
},
"description": {
"type": "string",
"description": "A description of the label"
}
},
"required": [
"name",
"color"
],
"additionalProperties": false
}
}