-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add schema listing all Schema-Store JSON Schema docs (#237)
- Loading branch information
Showing
2 changed files
with
151 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
{ | ||
"$id": "http://asyncapi.com/schema-store/all.schema-store.json", | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"title": "JSON Schema documents for all AsyncAPI spec versions", | ||
"description": "All AsyncAPI JSON Schema documents listed in one file. Needed for serving all documents through schemastore.org", | ||
"type": "object", | ||
"oneOf": [ | ||
{ | ||
"allOf": [ | ||
{ | ||
"properties": { | ||
"asyncapi": { | ||
"const": "1.0.0" | ||
} | ||
} | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/schema-store/1.0.0.json" | ||
} | ||
] | ||
}, | ||
{ | ||
"allOf": [ | ||
{ | ||
"properties": { | ||
"asyncapi": { | ||
"const": "1.1.0" | ||
} | ||
} | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/schema-store/1.1.0.json" | ||
} | ||
] | ||
}, | ||
{ | ||
"allOf": [ | ||
{ | ||
"properties": { | ||
"asyncapi": { | ||
"const": "1.2.0" | ||
} | ||
} | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/schema-store/1.2.0.json" | ||
} | ||
] | ||
}, | ||
{ | ||
"allOf": [ | ||
{ | ||
"properties": { | ||
"asyncapi": { | ||
"const": "2.0.0-rc1" | ||
} | ||
} | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/schema-store/2.0.0-rc1.json" | ||
} | ||
] | ||
}, | ||
{ | ||
"allOf": [ | ||
{ | ||
"properties": { | ||
"asyncapi": { | ||
"const": "2.0.0-rc2" | ||
} | ||
} | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/schema-store/2.0.0-rc2.json" | ||
} | ||
] | ||
}, | ||
{ | ||
"allOf": [ | ||
{ | ||
"properties": { | ||
"asyncapi": { | ||
"const": "2.0.0" | ||
} | ||
} | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/schema-store/2.0.0.json" | ||
} | ||
] | ||
}, | ||
{ | ||
"allOf": [ | ||
{ | ||
"properties": { | ||
"asyncapi": { | ||
"const": "2.1.0" | ||
} | ||
} | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/schema-store/2.1.0.json" | ||
} | ||
] | ||
}, | ||
{ | ||
"allOf": [ | ||
{ | ||
"properties": { | ||
"asyncapi": { | ||
"const": "2.2.0" | ||
} | ||
} | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/schema-store/2.2.0.json" | ||
} | ||
] | ||
}, | ||
{ | ||
"allOf": [ | ||
{ | ||
"properties": { | ||
"asyncapi": { | ||
"const": "2.3.0" | ||
} | ||
} | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/schema-store/2.3.0.json" | ||
} | ||
] | ||
}, | ||
{ | ||
"allOf": [ | ||
{ | ||
"properties": { | ||
"asyncapi": { | ||
"const": "2.4.0" | ||
} | ||
} | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/schema-store/2.4.0.json" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters