Manifest Format
A service's Manifest is one JSON document (format 1): its bounded contexts, their aggregates with the commands and events they speak, their subscriptions, the framework's error codes, and the JSON Schema 2020-12 of every payload under $defs. A module's fragment (META-INF/wow/manifest/<module>.json) has the same shape without service. This outline of every object and its keys is generated from the code that writes it, ManifestTree.
Wow reads a schema of $defs, the compiler's and a hand-written one alike (a schemaOverrides entry, or a schema a fragment holds already), by a rule that differs from JSON Schema's default, which allows any property a schema does not refuse: an object schema that names its class (x-wow-class) or lists properties, and has no additionalProperties, is closed, so a masked read answers only the properties it declares (Where masking stops). One with additionalProperties, a map's or a class's that Jackson writes more of than its properties (@JsonAnyGetter, @JsonAppend), and one with neither class nor properties, a free object, are open.
What the writer leaves out:
Absent optional values (a null description, unknown produces, derives, schedules or transformsTo, a fragment's service, a subscription's retry or job) are left out, not written as null, and so are a subscription source's nullableState and a command's mounted, system and internal when false, an aggregate's ownership when it is OWNER, the default, its idSource when it is ASSIGNED, the default, its retired events and its access attributes when it has none, an access attribute's multiple when false, and the requires of the Manifest, a context or an aggregate when it has none (written sorted and distinct, so the Manifest is byte-stable). Names and error codes follow one grammar each (the schema's patterns), a $defs key is a type's binary name (a.b.Page(a.b.Item?)), and a nullable reference is anyOf of {"type": "null"} and its $ref: Guide › The Manifest and Compatibility gives each.
Manifest
formatrequiresservice: object; left out when absent or at its defaultnameversion
contexts: array ofContexterrors: array ofError$defs
Context
namerequiresdescriptionaggregates: array ofAggregatesubscriptions: array ofSubscriptionpublished: array of objectsaggregatetopicincludeStaterevealsDisplay: left out when absent or at its default
errors: array ofErrorcommands: array ofCommand; left out when absent or at its defaultroutes: array ofServiceRoute; left out when absent or at its default
ServiceRoute
namerouteparameters: array of objects; left out when absent or at its defaultnameinschemarequired
requestresponseresponseOptional: left out when absent or at its defaulterrors: left out when absent or at its defaultdescriptiondeprecated: left out when absent or at its default
Command
namealiasesschemacreationproducesroutes: array ofRoutemounted: left out when absent or at its defaultsystem: left out when absent or at its defaultinternal: left out when absent or at its defaulttransformsToidPropertyoccurredAtPropertydescription
Error
codestatusdescriptionretry: left out when absent or at its defaultretryAfter
Aggregate
namerequiresdescriptionstate: objectschemafingerprint
snapshot: objectenabledstateRevision: left out when absent or at its default
commands: array ofCommandevents: array of objectsnamealiasesrevisionschemadescription
queries: array of objectsmodelroutes: array ofRoute
schedulesownership: left out when absent or at its defaultretired: left out when absent or at its defaultidSource: left out when absent or at its defaultaccess: array of objects; left out when absent or at its defaultnametypemultiple: left out when absent or at its default
Route
methodpath
Subscription
namekindsource: objectcontextaggregateseventseventSchemas: left out when absent or at its defaultnullableState: left out when absent or at its default
function: objectkindcontextprocessorname
derivesrejectedcommittedcallsstart: left out when absent or at its defaultschedulesretry: object; left out when absent or at its defaultmaxAttemptsinitialBackoffmaxBackofftimeoutrecoverableunrecoverablesystemicmultiplier
job: object; left out when absent or at its defaultnamecrontimeZonescopemisfire