MassTransit · Schema

MassTransit Message Envelope

Schema for the MassTransit message envelope format. All messages sent through MassTransit are wrapped in this envelope containing routing, correlation, and metadata information.

.NETEvent-DrivenMessage BusMessagingOpen-SourceSagas

Properties

Name Type Description
messageId string Unique identifier for the message
requestId string Request identifier for request/response conversations
correlationId string Correlation identifier for tracking related messages
conversationId string Conversation identifier (created on first message, propagated through chain)
initiatorId string The messageId of the message that initiated this message
sourceAddress string The address of the endpoint that sent the message
destinationAddress string The destination endpoint address
responseAddress string The address for response messages
faultAddress string The address for fault messages
messageType array URN-formatted message type identifiers, e.g., urn:message:Namespace:MessageType
message object The actual message payload
expirationTime string Time at which the message expires
sentTime string Time when the message was sent
headers object Custom headers as key-value pairs
host object Information about the host that sent the message
View JSON Schema on GitHub

JSON Schema

masstransit-message-envelope.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.com/schemas/masstransit/masstransit-message-envelope.json",
  "title": "MassTransit Message Envelope",
  "description": "Schema for the MassTransit message envelope format. All messages sent through MassTransit are wrapped in this envelope containing routing, correlation, and metadata information.",
  "type": "object",
  "properties": {
    "messageId": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for the message"
    },
    "requestId": {
      "type": "string",
      "format": "uuid",
      "description": "Request identifier for request/response conversations"
    },
    "correlationId": {
      "type": "string",
      "format": "uuid",
      "description": "Correlation identifier for tracking related messages"
    },
    "conversationId": {
      "type": "string",
      "format": "uuid",
      "description": "Conversation identifier (created on first message, propagated through chain)"
    },
    "initiatorId": {
      "type": "string",
      "format": "uuid",
      "description": "The messageId of the message that initiated this message"
    },
    "sourceAddress": {
      "type": "string",
      "format": "uri",
      "description": "The address of the endpoint that sent the message"
    },
    "destinationAddress": {
      "type": "string",
      "format": "uri",
      "description": "The destination endpoint address"
    },
    "responseAddress": {
      "type": "string",
      "format": "uri",
      "description": "The address for response messages"
    },
    "faultAddress": {
      "type": "string",
      "format": "uri",
      "description": "The address for fault messages"
    },
    "messageType": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "URN-formatted message type identifiers, e.g., urn:message:Namespace:MessageType"
    },
    "message": {
      "type": "object",
      "description": "The actual message payload"
    },
    "expirationTime": {
      "type": "string",
      "format": "date-time",
      "description": "Time at which the message expires"
    },
    "sentTime": {
      "type": "string",
      "format": "date-time",
      "description": "Time when the message was sent"
    },
    "headers": {
      "type": "object",
      "additionalProperties": true,
      "description": "Custom headers as key-value pairs"
    },
    "host": {
      "type": "object",
      "description": "Information about the host that sent the message",
      "properties": {
        "machineName": {
          "type": "string"
        },
        "processName": {
          "type": "string"
        },
        "processId": {
          "type": "integer"
        },
        "assembly": {
          "type": "string"
        },
        "assemblyVersion": {
          "type": "string"
        },
        "frameworkVersion": {
          "type": "string"
        },
        "massTransitVersion": {
          "type": "string"
        },
        "operatingSystemVersion": {
          "type": "string"
        }
      }
    }
  },
  "required": ["messageId", "messageType", "message"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/masstransit-message-envelope"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.