@asyncapi/specs
Advanced tools
Comparing version 5.0.0-next-major-spec.13 to 5.0.0-next-major-spec.14
@@ -157,4 +157,88 @@ { | ||
}, | ||
"allOf": [ | ||
{ | ||
"if": { | ||
"not": { | ||
"required": [ | ||
"schemaFormat" | ||
] | ||
} | ||
}, | ||
"then": { | ||
"properties": { | ||
"payload": { | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/schema.json" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"if": { | ||
"required": [ | ||
"schemaFormat" | ||
], | ||
"properties": { | ||
"schemaFormat": { | ||
"enum": [ | ||
"application/vnd.aai.asyncapi;version=2.0.0", | ||
"application/vnd.aai.asyncapi+json;version=2.0.0", | ||
"application/vnd.aai.asyncapi+yaml;version=2.0.0", | ||
"application/vnd.aai.asyncapi;version=2.1.0", | ||
"application/vnd.aai.asyncapi+json;version=2.1.0", | ||
"application/vnd.aai.asyncapi+yaml;version=2.1.0", | ||
"application/vnd.aai.asyncapi;version=2.2.0", | ||
"application/vnd.aai.asyncapi+json;version=2.2.0", | ||
"application/vnd.aai.asyncapi+yaml;version=2.2.0", | ||
"application/vnd.aai.asyncapi;version=2.3.0", | ||
"application/vnd.aai.asyncapi+json;version=2.3.0", | ||
"application/vnd.aai.asyncapi+yaml;version=2.3.0", | ||
"application/vnd.aai.asyncapi;version=2.4.0", | ||
"application/vnd.aai.asyncapi+json;version=2.4.0", | ||
"application/vnd.aai.asyncapi+yaml;version=2.4.0", | ||
"application/vnd.aai.asyncapi;version=2.5.0", | ||
"application/vnd.aai.asyncapi+json;version=2.5.0", | ||
"application/vnd.aai.asyncapi+yaml;version=2.5.0", | ||
"application/vnd.aai.asyncapi;version=2.6.0", | ||
"application/vnd.aai.asyncapi+json;version=2.6.0", | ||
"application/vnd.aai.asyncapi+yaml;version=2.6.0", | ||
"application/vnd.aai.asyncapi;version=3.0.0", | ||
"application/vnd.aai.asyncapi+json;version=3.0.0", | ||
"application/vnd.aai.asyncapi+yaml;version=3.0.0" | ||
] | ||
} | ||
} | ||
}, | ||
"then": { | ||
"properties": { | ||
"payload": { | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/schema.json" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"if": { | ||
"required": [ | ||
"schemaFormat" | ||
], | ||
"properties": { | ||
"schemaFormat": { | ||
"enum": [ | ||
"application/schema+json;version=draft-07", | ||
"application/schema+yaml;version=draft-07" | ||
] | ||
} | ||
} | ||
}, | ||
"then": { | ||
"properties": { | ||
"payload": { | ||
"$ref": "http://json-schema.org/draft-07/schema" | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/3.0.0/messageObject.json" | ||
} |
{ | ||
"name": "@asyncapi/specs", | ||
"version": "5.0.0-next-major-spec.13", | ||
"version": "5.0.0-next-major-spec.14", | ||
"description": "AsyncAPI schema versions", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14515955
126857