summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-04 12:24:58 -0700
committermo khan <mo.khan@gmail.com>2020-03-04 12:24:58 -0700
commit1891d63cc24ef1713a501acfaace43d2e0ae594e (patch)
tree69ee43919f893a9bdcf4f913278f312fbc28f930 /spec
parent08277fb46fe75ae99f32c4d8fd05264c87186119 (diff)
Fix typo in v1.0 schema file
Diffstat (limited to 'spec')
-rw-r--r--spec/fixtures/schema/v1.0.json19
1 files changed, 16 insertions, 3 deletions
diff --git a/spec/fixtures/schema/v1.0.json b/spec/fixtures/schema/v1.0.json
index c183326..61d6e2e 100644
--- a/spec/fixtures/schema/v1.0.json
+++ b/spec/fixtures/schema/v1.0.json
@@ -6,9 +6,22 @@
"dependencies"
],
"properties": {
- "version": {
- "type": "string",
- "pattern": "^[0-9]+\\.[0-9]+$"
+ "licenses": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "count": {
+ "type": "number"
+ }
+ }
+ }
},
"dependencies": {
"type": "array",