Befor generating
This commit is contained in:
+1077
File diff suppressed because it is too large
Load Diff
+1155
File diff suppressed because it is too large
Load Diff
+1321
File diff suppressed because it is too large
Load Diff
+1655
File diff suppressed because it is too large
Load Diff
+1602
File diff suppressed because it is too large
Load Diff
+1696
File diff suppressed because it is too large
Load Diff
+1837
File diff suppressed because it is too large
Load Diff
+1822
File diff suppressed because it is too large
Load Diff
+1844
File diff suppressed because it is too large
Load Diff
+1868
File diff suppressed because it is too large
Load Diff
+1882
File diff suppressed because it is too large
Load Diff
+1887
File diff suppressed because it is too large
Load Diff
+14
@@ -0,0 +1,14 @@
|
||||
# AsyncAPI JSON Schema definitions
|
||||
|
||||
All the JSON Schema documents for validating AsyncAPI documents are located here in this repository.
|
||||
|
||||
## Download and usage
|
||||
Files are served via `https://asyncapi.com/definitions/<asyncapi-version>.json`, for example, https://asyncapi.com/definitions/2.4.0.json.
|
||||
|
||||
In that way, documents are served with the proper `Content-Type` response header. It also allows us to measure AsyncAPI user adoption of those files ([More info in this GitHub Issue](https://github.com/asyncapi/website/issues/780)).
|
||||
We encourage you to **only** download the files from our website instead of from GitHub.
|
||||
|
||||
### JSON Schema Store
|
||||
|
||||
[JSON Schema Store](schemastore.org) is a universal JSON schema store, where schemas for popular JSON documents can be found.
|
||||
AsyncAPI JSON Schema documents are also available in the store, meaning you can use their [plugins for most IDEs](https://www.schemastore.org/json/#editors), adding linting and validation automatically for all your AsyncAPI documents.
|
||||
+177
@@ -0,0 +1,177 @@
|
||||
{
|
||||
"$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"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"allOf": [
|
||||
{
|
||||
"properties": {
|
||||
"asyncapi": {
|
||||
"const": "2.5.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/schema-store/2.5.0.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"allOf": [
|
||||
{
|
||||
"properties": {
|
||||
"asyncapi": {
|
||||
"const": "2.6.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/schema-store/2.6.0.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user