UNPKG

@asyncapi/specs

Version:
36 lines (35 loc) 802 B
{ "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" }