Skip to content

Commit

Permalink
Add shortcutsArray definition to schema.json
Browse files Browse the repository at this point in the history
  • Loading branch information
r15ch13 committed Jan 8, 2018
1 parent 65ba47f commit 0c7e600
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"shortcuts": {
"$ref": "#/definitions/arrayOfArrayOfStrings"
"$ref": "#/definitions/shortcutsArray"
},
"uninstaller": {
"$ref": "#/definitions/uninstaller"
Expand All @@ -120,6 +120,18 @@
"minItems": 1,
"type": "array"
},
"shortcutsArray": {
"items": {
"items": {
"type": "string"
},
"minItems": 2,
"maxItems": 4,
"type": "array"
},
"minItems": 1,
"type": "array"
},
"autoupdate": {
"additionalProperties": false,
"properties": {
Expand Down Expand Up @@ -412,7 +424,7 @@
"type": "object"
},
"shortcuts": {
"$ref": "#/definitions/arrayOfArrayOfStrings"
"$ref": "#/definitions/shortcutsArray"
},
"suggest": {
"additionalProperties": false,
Expand Down

0 comments on commit 0c7e600

Please sign in to comment.