summaryrefslogtreecommitdiff
path: root/spec/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/schema/v2.0.json30
1 files changed, 22 insertions, 8 deletions
diff --git a/spec/fixtures/schema/v2.0.json b/spec/fixtures/schema/v2.0.json
index 712143b..6ade7ad 100644
--- a/spec/fixtures/schema/v2.0.json
+++ b/spec/fixtures/schema/v2.0.json
@@ -7,7 +7,10 @@
"dependencies"
],
"properties": {
- "version": { "type": "string" },
+ "version": {
+ "type": "string",
+ "pattern": "^[0-9]+\\.[0-9]+$"
+ },
"licenses": {
"type": "array",
"items": {
@@ -18,9 +21,15 @@
"url"
],
"properties": {
- "id": { "type": "string" },
- "name": { "type": "string" },
- "url": { "type": "uri" }
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "uri"
+ }
}
}
},
@@ -36,9 +45,15 @@
"licenses"
],
"properties": {
- "name": { "type": "string" },
- "url": { "type": "uri" },
- "description": { "type": "string" },
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "uri"
+ },
+ "description": {
+ "type": "string"
+ },
"paths": {
"type": "array",
"items": {
@@ -57,4 +72,3 @@
},
"additionalProperties": false
}
-