18 lines
725 B
Text
18 lines
725 B
Text
let oci = import "schemas/lib/integration/oci_artifact_format.ncl" in
|
|
|
|
{
|
|
artifact = {
|
|
media_type = "application/vnd.ontoref.domain.v1",
|
|
id = "result-reporting",
|
|
version = "0.1.0",
|
|
description = "Synchronous result reporting contract. Participants write a ResultEnvelope to stdout after step completion. Provisioning reads and stores the structured result linked to the integration run.",
|
|
layers = [
|
|
{
|
|
media_type = "application/vnd.ontoref.domain.contract.v1",
|
|
description = "contract.ncl — ResultEnvelope schema (success, exit_code, summary, payload, errors)",
|
|
required = true,
|
|
},
|
|
],
|
|
uses_registry = "primary",
|
|
} | oci.DomainArtifact,
|
|
}
|