forked from asyncapi/spec-json-schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next-major' into remove_duplicate_schemas
- Loading branch information
Showing
7 changed files
with
111 additions
and
99 deletions.
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,35 @@ | ||
{ | ||
"type": "object", | ||
"additionalProperties": false, | ||
"anyOf": [ | ||
{ | ||
"required": [ | ||
"payload" | ||
] | ||
}, | ||
{ | ||
"required": [ | ||
"headers" | ||
] | ||
} | ||
], | ||
"properties": { | ||
"name": { | ||
"type": "string", | ||
"description": "Machine readable name of the message example." | ||
}, | ||
"summary": { | ||
"type": "string", | ||
"description": "A brief summary of the message example." | ||
}, | ||
"headers": { | ||
"type": "object", | ||
"description": "Example of the application headers. It can be of any type." | ||
}, | ||
"payload": { | ||
"description": "Example of the message payload. It can be of any type." | ||
} | ||
}, | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/3.0.0/messageExampleObject.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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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