Appendix A. Message Schemas

This appendix contains the different message schemas used by Clever Coney Media to specify the JSON representations of the messages they send through RabbitMQ.

Note

Messages are represented using the JSON format, http://json.org/. Their definitions are expressed using draft 3 of the JSON schema language, http://tools.ietf.org/html/draft-zyp-json-schema-03. (CCM doesn't use draft 4 because their code generation tool doesn't support it yet.)

User message

The user message schema is used to represent all user messages (user-to-user, topic, or public-announce messages), and is coded as follows:

{ "$schema": "http://json-schema.org/draft-03/schema#", "$content_type": "application/vnd.ccm.pmsg.v1+json", "type": "object", "additionalProperties": ...

Get RabbitMQ Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.