Scalable Architecture · JSON Structure

Scalable Architecture Event Structure

Hierarchical structure of a CloudEvents-compliant domain event for event-driven microservice architectures.

Type: Properties: 0
Cloud ArchitectureCloud-NativeDistributed SystemsHigh AvailabilityInfrastructureMicroservicesPerformanceResilienceScalabilityService Mesh

Domain Event is a JSON Structure definition published by Scalable Architecture.

Meta-schema:

JSON Structure

Raw ↑
{
  "name": "Domain Event",
  "description": "Hierarchical structure of a CloudEvents-compliant domain event for event-driven microservice architectures.",
  "fields": [
    {
      "name": "specversion",
      "type": "string",
      "description": "CloudEvents specification version (always '1.0').",
      "required": true,
      "default": "1.0"
    },
    {
      "name": "id",
      "type": "string",
      "description": "Unique UUID identifier for this event occurrence.",
      "required": true,
      "format": "uuid"
    },
    {
      "name": "source",
      "type": "string",
      "description": "URI of the originating service context.",
      "required": true,
      "format": "uri"
    },
    {
      "name": "type",
      "type": "string",
      "description": "Event type in reverse-DNS notation (e.g., com.example.orders.created).",
      "required": true
    },
    {
      "name": "subject",
      "type": "string",
      "description": "Entity ID or subject the event is about (e.g., order-12345).",
      "required": false
    },
    {
      "name": "datacontenttype",
      "type": "string",
      "description": "MIME type of the event data payload.",
      "required": false,
      "default": "application/json"
    },
    {
      "name": "dataschema",
      "type": "string",
      "description": "URI of the schema definition for the event data.",
      "required": false,
      "format": "uri"
    },
    {
      "name": "time",
      "type": "string",
      "description": "RFC3339 timestamp of when the event occurred.",
      "required": false,
      "format": "date-time"
    },
    {
      "name": "data",
      "type": "object",
      "description": "Event-type-specific payload carrying the domain data.",
      "required": false
    },
    {
      "name": "partitionkey",
      "type": "string",
      "description": "Kafka partition key for ordered event delivery.",
      "required": false
    },
    {
      "name": "correlationid",
      "type": "string",
      "description": "Cross-service trace correlation identifier.",
      "required": false,
      "format": "uuid"
    },
    {
      "name": "causationid",
      "type": "string",
      "description": "ID of the event or command that caused this event.",
      "required": false,
      "format": "uuid"
    },
    {
      "name": "metadata",
      "type": "object",
      "description": "Operational metadata for routing, retries, and dead letter handling.",
      "required": false,
      "fields": [
        {"name": "retryCount", "type": "integer", "description": "Number of delivery retry attempts.", "default": 0},
        {"name": "deadLetterQueue", "type": "boolean", "description": "Whether the event was moved to DLQ.", "default": false},
        {"name": "version", "type": "integer", "description": "Event schema version for compatibility.", "default": 1}
      ]
    }
  ]
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/scalable-architecture-event-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

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

Get an API key

Free tier, no email required.

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