19 lines
731 B
Text
19 lines
731 B
Text
|
|
let oci = import "schemas/lib/integration/oci_artifact_format.ncl" in
|
||
|
|
|
||
|
|
{
|
||
|
|
artifact = {
|
||
|
|
media_type = "application/vnd.ontoref.domain.v1",
|
||
|
|
id = "event-emission",
|
||
|
|
version = "0.1.0",
|
||
|
|
description = "Async event emission protocol. Participants publish lifecycle events (requested/progress/completed/failed) to NATS subjects. Subject prefix is injected via cabling to avoid cross-Mode collisions.",
|
||
|
|
layers = [
|
||
|
|
{
|
||
|
|
media_type = "application/vnd.ontoref.domain.contract.v1",
|
||
|
|
description = "contract.ncl — EventEnvelope schema + EventEmissionInputs (subject_prefix requirement)",
|
||
|
|
required = true,
|
||
|
|
},
|
||
|
|
],
|
||
|
|
uses_registry = "primary",
|
||
|
|
} | oci.DomainArtifact,
|
||
|
|
}
|