AsyncAPI Spec Class Specification

Normative definition of the asyncapi-spec atom class in schema-atoms.

draft 1.0.0-draft design-spec
idschema-atoms/design-spec/asyncapi-spec-class-spec
authorsconvergent-systems-co
conforms_toschema-atoms/design-spec/atom-spec@1.1.0
created2026-05-23

AsyncAPI Spec Class Specification

Class: asyncapi-spec Version: 1.0.0-draft Conforms to: schema-atoms/design-spec/atom-spec@1.1.0

What This Class Covers

The asyncapi-spec class represents event-driven API contracts expressed as AsyncAPI 2.x or 3.x documents. It captures the channels, messages, bindings, and server definitions that describe how producers and consumers interact over message brokers and event streams.

Accepted Asset Formats

Normative Requirements

Example Atom Reference

schema-atoms/api-spec/order-events-asyncapi@2.0.0
├── atom.toml   (class = "asyncapi-spec")
└── asyncapi.yaml

This atom would declare the event contract for an order-events channel, specifying message schemas for OrderPlaced, OrderShipped, and OrderCancelled events.


atom.toml
# atom.toml — class specification atom for asyncapi-spec
id          = "schema-atoms/design-spec/asyncapi-spec-class-spec"
version     = "1.0.0-draft"
content_hash = ""
lifecycle   = "draft"
created_at  = "2026-05-23T00:00:00Z"

[spec]
class       = "design-spec"
title       = "AsyncAPI Spec Class Specification"
summary     = "Normative definition of the asyncapi-spec atom class in schema-atoms."
authors     = ["convergent-systems-co"]
conforms_to = "schema-atoms/design-spec/atom-spec@1.1.0"
asset       = "spec.md"