Befor generating

This commit is contained in:
marys
2026-06-01 13:17:37 +02:00
parent 3383f4bf4a
commit 1aa1b5f625
6756 changed files with 649946 additions and 1 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+14
View File
@@ -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.
@@ -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"
}
]
}
]
}