summaryrefslogtreecommitdiff
path: root/spec/fixtures/schema/v2.0.json
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/schema/v2.0.json')
-rw-r--r--spec/fixtures/schema/v2.0.json48
1 files changed, 46 insertions, 2 deletions
diff --git a/spec/fixtures/schema/v2.0.json b/spec/fixtures/schema/v2.0.json
index 3377a9d..712143b 100644
--- a/spec/fixtures/schema/v2.0.json
+++ b/spec/fixtures/schema/v2.0.json
@@ -8,8 +8,52 @@
],
"properties": {
"version": { "type": "string" },
- "licenses": { "type": "array" },
- "dependencies": { "$ref": "v2.0_dependency.json" }
+ "licenses": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": [
+ "id",
+ "name",
+ "url"
+ ],
+ "properties": {
+ "id": { "type": "string" },
+ "name": { "type": "string" },
+ "url": { "type": "uri" }
+ }
+ }
+ },
+ "dependencies": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": [
+ "name",
+ "url",
+ "description",
+ "paths",
+ "licenses"
+ ],
+ "properties": {
+ "name": { "type": "string" },
+ "url": { "type": "uri" },
+ "description": { "type": "string" },
+ "paths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "licenses": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
},
"additionalProperties": false
}