Record / Events & source registryPermalink ↗
ConsumerDecision
Consumer-owned processing decision. Domain commands and Runtime records retain their actual mutation/execution state.
Review draftZenith / Shared vocabulary · v0.1.0
Source reference details
The source snapshot pins the input files; the schema profile identifies their reading context.
- Schema profile
- zenith@0.1.0 review
p-7abca15b9ad2fbd322675f7913d2e89c571b5b0c3c6d9fcd82cb96f8c70b6a57 - Source snapshot
s-30ba18073b20c533bcc5cda02197a30a95f9806b4b54291c48c2a2dda4cfb6d3
- Revision
d-5a94de4f1480d934869d4a40c4f2bb2a4b4fe2de407691975a7eef6533268ebc- Occurrence
o-d2ebf67f5f7646bd56e5de4fd1f60accd2bdca82a37ee1bb9951f73b9baea01e- Existing IRI
urn:zenith:ontology-review:shared:0.1.0:events#ConsumerDecision- Producer state
- Review draft
- Website state
- viewer-source-not-published
- Attribution
- Unknown. Source association is not authorship or approval.
Fields 16
| Field | Contract |
|---|---|
typeRequired | "events.ConsumerDecision"Schema constraints{
"type": "string",
"minLength": 1,
"maxLength": 160,
"const": "events.ConsumerDecision",
"allOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 160
},
{
"const": "events.ConsumerDecision"
}
]
} |
idRequired | stringSchema constraints{
"type": "string",
"minLength": 1,
"maxLength": 256
} |
scopeRequired | ScopeRef ↗Schema constraints{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/ScopeRef"
} |
revisionRequired | integerSchema constraints{
"type": "integer",
"minimum": 1
} |
recorded_atRequired | stringSchema constraints{
"type": "string",
"format": "date-time"
} |
origin_refOptional | OwnedRecordRef ↗Schema constraints{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/OwnedRecordRef"
} |
attributed_toOptional | OwnedRecordRefSchema constraints{
"allOf": [
{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/OwnedRecordRef"
}
],
"properties": {
"kind": {
"enum": [
"Entity",
"Person",
"Agent",
"Organization"
]
}
},
"x-target-types": [
"https://zenith-research.ca/ontology/terms/Entity",
"https://zenith-research.ca/ontology/terms/Person",
"https://zenith-research.ca/ontology/terms/Agent",
"https://zenith-research.ca/ontology/terms/Organization"
]
} |
evidence_refsOptional | arraySchema constraints{
"type": "array",
"items": {
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/ArtifactRef"
},
"minItems": 0,
"maxItems": 128,
"uniqueItems": true
} |
occurrence_refRequired | OwnedRecordRefSchema constraints{
"allOf": [
{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/OwnedRecordRef"
}
],
"x-target-types": [
"events.EventOccurrence"
]
} |
consumer_refRequired | stringSchema constraints{
"type": "string",
"minLength": 1,
"maxLength": 160
} |
policy_revision_refRequired | RevisionQualifiedRef ↗Schema constraints{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/RevisionQualifiedRef"
} |
decisionRequired | accepted | rejected | duplicate | blocked | applied | failedSchema constraints{
"type": "string",
"enum": [
"accepted",
"rejected",
"duplicate",
"blocked",
"applied",
"failed"
]
} |
reasonRequired | stringSchema constraints{
"type": "string",
"minLength": 1,
"maxLength": 2048
} |
source_command_refOptional | RevisionQualifiedRef ↗Schema constraints{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/RevisionQualifiedRef"
} |
run_refsOptional | arraySchema constraints{
"type": "array",
"items": {
"allOf": [
{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/OwnedRecordRef"
}
],
"properties": {
"owner": {
"const": "process-runtime"
},
"kind": {
"const": "ProcessRun"
}
},
"x-target-types": [
"provider:process-runtime:ProcessRun"
]
},
"minItems": 0,
"maxItems": 128,
"uniqueItems": true
} |
receipt_refsOptional | arraySchema constraints{
"type": "array",
"items": {
"allOf": [
{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/OwnedRecordRef"
}
],
"properties": {
"owner": {
"const": "process-runtime"
},
"kind": {
"const": "Receipt"
}
},
"x-target-types": [
"provider:process-runtime:Receipt"
]
},
"minItems": 0,
"maxItems": 128,
"uniqueItems": true
} |
Scope & rules
- Applied requires source_command_ref or a run_ref; this profile is evidence of a decision, not a replay/durable-consumer implementation.
Relationships
run_refs→provider:process-runtime:ProcessRun (unresolved)0…128
receipt_refs→provider:process-runtime:Receipt (unresolved)0…128
Pinned source artifacts
catalog.json ↗fc80ccf855bd99b377839827180548c8377ea0e0719447f9f132529a913af102
zenith.schema.json ↗fdd34ac7b86e8d2c1e92c2f3c42c47a7789059988009522093f56ae20b725883
devgraph.ontology.json ↗afd935f58e1a0ec2af090cf4d09f5e14a83c62e1280d96390d2ec2a75d648c95
Exact source node
{
"id": "events.ConsumerDecision",
"label": "ConsumerDecision",
"kind": "Record",
"group": "Events & source registry",
"description": "Consumer-owned processing decision. Domain commands and Runtime records retain their actual mutation/execution state.",
"iri": "urn:zenith:ontology-review:shared:0.1.0:events#ConsumerDecision",
"schemaRef": "urn:zenith:ontology-review:shared:0.1.0:events#/$defs/ConsumerDecision",
"fields": [
{
"name": "type",
"type": "\"events.ConsumerDecision\"",
"required": true,
"schema": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"const": "events.ConsumerDecision",
"allOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 160
},
{
"const": "events.ConsumerDecision"
}
]
}
},
{
"name": "id",
"type": "string",
"required": true,
"schema": {
"type": "string",
"minLength": 1,
"maxLength": 256
}
},
{
"name": "scope",
"type": "ScopeRef",
"required": true,
"schema": {
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/ScopeRef"
}
},
{
"name": "revision",
"type": "integer",
"required": true,
"schema": {
"type": "integer",
"minimum": 1
}
},
{
"name": "recorded_at",
"type": "string",
"required": true,
"schema": {
"type": "string",
"format": "date-time"
}
},
{
"name": "origin_ref",
"type": "OwnedRecordRef",
"required": false,
"schema": {
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/OwnedRecordRef"
}
},
{
"name": "attributed_to",
"type": "OwnedRecordRef",
"required": false,
"schema": {
"allOf": [
{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/OwnedRecordRef"
}
],
"properties": {
"kind": {
"enum": [
"Entity",
"Person",
"Agent",
"Organization"
]
}
},
"x-target-types": [
"https://zenith-research.ca/ontology/terms/Entity",
"https://zenith-research.ca/ontology/terms/Person",
"https://zenith-research.ca/ontology/terms/Agent",
"https://zenith-research.ca/ontology/terms/Organization"
]
}
},
{
"name": "evidence_refs",
"type": "array",
"required": false,
"schema": {
"type": "array",
"items": {
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/ArtifactRef"
},
"minItems": 0,
"maxItems": 128,
"uniqueItems": true
}
},
{
"name": "occurrence_ref",
"type": "OwnedRecordRef",
"required": true,
"schema": {
"allOf": [
{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/OwnedRecordRef"
}
],
"x-target-types": [
"events.EventOccurrence"
]
}
},
{
"name": "consumer_ref",
"type": "string",
"required": true,
"schema": {
"type": "string",
"minLength": 1,
"maxLength": 160
}
},
{
"name": "policy_revision_ref",
"type": "RevisionQualifiedRef",
"required": true,
"schema": {
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/RevisionQualifiedRef"
}
},
{
"name": "decision",
"type": "accepted | rejected | duplicate | blocked | applied | failed",
"required": true,
"schema": {
"type": "string",
"enum": [
"accepted",
"rejected",
"duplicate",
"blocked",
"applied",
"failed"
]
}
},
{
"name": "reason",
"type": "string",
"required": true,
"schema": {
"type": "string",
"minLength": 1,
"maxLength": 2048
}
},
{
"name": "source_command_ref",
"type": "RevisionQualifiedRef",
"required": false,
"schema": {
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/RevisionQualifiedRef"
}
},
{
"name": "run_refs",
"type": "array",
"required": false,
"schema": {
"type": "array",
"items": {
"allOf": [
{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/OwnedRecordRef"
}
],
"properties": {
"owner": {
"const": "process-runtime"
},
"kind": {
"const": "ProcessRun"
}
},
"x-target-types": [
"provider:process-runtime:ProcessRun"
]
},
"minItems": 0,
"maxItems": 128,
"uniqueItems": true
}
},
{
"name": "receipt_refs",
"type": "array",
"required": false,
"schema": {
"type": "array",
"items": {
"allOf": [
{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/OwnedRecordRef"
}
],
"properties": {
"owner": {
"const": "process-runtime"
},
"kind": {
"const": "Receipt"
}
},
"x-target-types": [
"provider:process-runtime:Receipt"
]
},
"minItems": 0,
"maxItems": 128,
"uniqueItems": true
}
}
],
"rules": [
"Applied requires source_command_ref or a run_ref; this profile is evidence of a decision, not a replay/durable-consumer implementation."
],
"facts": [],
"links": [
{
"label": "occurrence_ref",
"target": "events.EventOccurrence",
"note": "1…1"
},
{
"label": "run_refs",
"target": "provider:process-runtime:ProcessRun",
"note": "0…128"
},
{
"label": "receipt_refs",
"target": "provider:process-runtime:Receipt",
"note": "0…128"
}
]
}