Structured response bodyBody structurat al răspunsului
application/json
Structured response bodyBody structurat al răspunsului
Complete response schemaSchema completă a răspunsului
{
"$ref": "#/components/schemas/ConfigurationDeploymentRead",
"type": "object",
"additionalProperties": false,
"x-docula-max-bytes": 528384,
"required": [
"deployment",
"correlation_id"
],
"properties": {
"deployment": {
"$ref": "#/components/schemas/ConfigurationDeployment",
"type": "object",
"additionalProperties": false,
"required": [
"id",
"schema",
"created_by",
"request_hash",
"manifest_hash",
"manifest",
"status",
"correlation_id",
"created_at",
"applied_at",
"items"
],
"properties": {
"id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"schema": {
"const": "docula-configuration-deployment-v1"
},
"created_by": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"request_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentHash",
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"manifest_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentHash",
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"manifest": {
"$ref": "#/components/schemas/ConfigurationDeploymentReceiptManifest",
"type": "object",
"additionalProperties": false,
"x-docula-max-bytes": 2097152,
"required": [
"schema",
"items"
],
"properties": {
"schema": {
"const": "docula-configuration-deployment-v1"
},
"items": {
"type": "array",
"minItems": 1,
"maxItems": 100,
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/ConfigurationDeploymentIngestionModelItem",
"type": "object",
"additionalProperties": false,
"required": [
"local_ref",
"kind",
"operation",
"family",
"definition",
"effective_from"
],
"properties": {
"local_ref": {
"$ref": "#/components/schemas/ConfigurationDeploymentLocalRef",
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
},
"kind": {
"const": "ingestion_model"
},
"operation": {
"const": "deploy"
},
"family": {
"$ref": "#/components/schemas/ConfigurationDeploymentFamily",
"type": "object",
"additionalProperties": false,
"required": [
"slug",
"name"
],
"properties": {
"slug": {
"$ref": "#/components/schemas/ConfigurationDeploymentSlug",
"type": "string",
"maxLength": 64,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"description": {
"type": "string",
"maxLength": 2000
}
}
},
"expected_revision": {
"type": "integer",
"minimum": 1
},
"definition": {
"$ref": "#/components/schemas/ConfigurationDeploymentIngestionModelDefinition",
"type": "object",
"additionalProperties": false,
"required": [
"contract_version_id",
"contract_hash",
"definition"
],
"properties": {
"contract_version_id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"contract_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
},
"definition": {}
}
},
"effective_from": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
}
}
},
{
"$ref": "#/components/schemas/ConfigurationDeploymentTransformerItem",
"type": "object",
"additionalProperties": false,
"required": [
"local_ref",
"kind",
"operation",
"family",
"definition",
"effective_from"
],
"properties": {
"local_ref": {
"$ref": "#/components/schemas/ConfigurationDeploymentLocalRef",
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
},
"kind": {
"const": "transformer"
},
"operation": {
"const": "deploy"
},
"family": {
"$ref": "#/components/schemas/ConfigurationDeploymentFamily",
"type": "object",
"additionalProperties": false,
"required": [
"slug",
"name"
],
"properties": {
"slug": {
"$ref": "#/components/schemas/ConfigurationDeploymentSlug",
"type": "string",
"maxLength": 64,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"description": {
"type": "string",
"maxLength": 2000
}
}
},
"expected_revision": {
"type": "integer",
"minimum": 1
},
"definition": {
"$ref": "#/components/schemas/ConfigurationDeploymentTransformerDefinition",
"type": "object",
"additionalProperties": false,
"required": [
"format",
"source"
],
"properties": {
"format": {
"type": "string",
"enum": [
"json",
"yaml"
]
},
"source": {
"type": "string",
"minLength": 1,
"maxLength": 262144
}
}
},
"effective_from": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
}
}
},
{
"$ref": "#/components/schemas/ConfigurationDeploymentTemplateItem",
"type": "object",
"additionalProperties": false,
"required": [
"local_ref",
"kind",
"operation",
"family",
"definition",
"effective_from"
],
"properties": {
"local_ref": {
"$ref": "#/components/schemas/ConfigurationDeploymentLocalRef",
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
},
"kind": {
"const": "template"
},
"operation": {
"const": "deploy"
},
"family": {
"$ref": "#/components/schemas/ConfigurationDeploymentFamily",
"type": "object",
"additionalProperties": false,
"required": [
"slug",
"name"
],
"properties": {
"slug": {
"$ref": "#/components/schemas/ConfigurationDeploymentSlug",
"type": "string",
"maxLength": 64,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"description": {
"type": "string",
"maxLength": 2000
}
}
},
"expected_revision": {
"type": "integer",
"minimum": 0
},
"definition": {
"$ref": "#/components/schemas/ConfigurationDeploymentTemplateDefinition",
"type": "object",
"additionalProperties": false,
"required": [
"draft_content_hash"
],
"properties": {
"draft_content_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
}
}
},
"effective_from": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
}
}
},
{
"$ref": "#/components/schemas/ConfigurationDeploymentReceiptTransformationReleaseItem",
"type": "object",
"additionalProperties": false,
"required": [
"local_ref",
"kind",
"operation",
"processing_kind",
"name",
"ingestion_model",
"transformer",
"validation_evidence"
],
"properties": {
"local_ref": {
"$ref": "#/components/schemas/ConfigurationDeploymentLocalRef",
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
},
"kind": {
"const": "release"
},
"operation": {
"const": "publish"
},
"processing_kind": {
"const": "transformation"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"description": {
"type": "string",
"maxLength": 2000
},
"ingestion_model": {
"$ref": "#/components/schemas/ConfigurationDeploymentResourceRef",
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"local_ref"
],
"properties": {
"local_ref": {
"$ref": "#/components/schemas/ConfigurationDeploymentLocalRef",
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"id"
],
"properties": {
"id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"slug",
"version",
"content_hash"
],
"properties": {
"slug": {
"$ref": "#/components/schemas/ConfigurationDeploymentSlug",
"type": "string",
"maxLength": 64,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"version": {
"type": "integer",
"minimum": 1
},
"content_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
}
}
}
]
},
"transformer": {
"$ref": "#/components/schemas/ConfigurationDeploymentResourceRef",
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"local_ref"
],
"properties": {
"local_ref": {
"$ref": "#/components/schemas/ConfigurationDeploymentLocalRef",
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"id"
],
"properties": {
"id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"slug",
"version",
"content_hash"
],
"properties": {
"slug": {
"$ref": "#/components/schemas/ConfigurationDeploymentSlug",
"type": "string",
"maxLength": 64,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"version": {
"type": "integer",
"minimum": 1
},
"content_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
}
}
}
]
},
"node_address": {
"$ref": "#/components/schemas/ConfigurationDeploymentNodeAddress",
"type": "string",
"maxLength": 1024,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*(?::[a-z0-9]+(?:-[a-z0-9]+)*){1,15}$"
},
"input_mode": {
"type": "string",
"enum": [
"submission",
"parent_output"
]
},
"producer_node_address": {
"$ref": "#/components/schemas/ConfigurationDeploymentNodeAddress",
"type": "string",
"maxLength": 1024,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*(?::[a-z0-9]+(?:-[a-z0-9]+)*){1,15}$"
},
"producer_release": {
"$ref": "#/components/schemas/ConfigurationDeploymentProducerReleaseRef",
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"local_ref"
],
"properties": {
"local_ref": {
"$ref": "#/components/schemas/ConfigurationDeploymentLocalRef",
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"id",
"content_hash"
],
"properties": {
"id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"content_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
}
}
}
]
},
"validation_evidence": {
"$ref": "#/components/schemas/ConfigurationDeploymentReceiptTransformationEvidence",
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"case_id",
"case_hash",
"output_hash"
],
"properties": {
"case_id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"case_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
},
"validation_input_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
},
"output_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"validation_input_hash",
"output_hash"
],
"properties": {
"validation_input_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
},
"output_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
}
}
}
]
}
}
},
{
"$ref": "#/components/schemas/ConfigurationDeploymentReceiptDocumentReleaseItem",
"type": "object",
"additionalProperties": false,
"required": [
"local_ref",
"kind",
"operation",
"processing_kind",
"name",
"ingestion_model",
"transformer",
"template",
"validation_evidence"
],
"properties": {
"local_ref": {
"$ref": "#/components/schemas/ConfigurationDeploymentLocalRef",
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
},
"kind": {
"const": "release"
},
"operation": {
"const": "publish"
},
"processing_kind": {
"const": "document_generation"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"description": {
"type": "string",
"maxLength": 2000
},
"ingestion_model": {
"$ref": "#/components/schemas/ConfigurationDeploymentResourceRef",
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"local_ref"
],
"properties": {
"local_ref": {
"$ref": "#/components/schemas/ConfigurationDeploymentLocalRef",
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"id"
],
"properties": {
"id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"slug",
"version",
"content_hash"
],
"properties": {
"slug": {
"$ref": "#/components/schemas/ConfigurationDeploymentSlug",
"type": "string",
"maxLength": 64,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"version": {
"type": "integer",
"minimum": 1
},
"content_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
}
}
}
]
},
"transformer": {
"$ref": "#/components/schemas/ConfigurationDeploymentResourceRef",
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"local_ref"
],
"properties": {
"local_ref": {
"$ref": "#/components/schemas/ConfigurationDeploymentLocalRef",
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"id"
],
"properties": {
"id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"slug",
"version",
"content_hash"
],
"properties": {
"slug": {
"$ref": "#/components/schemas/ConfigurationDeploymentSlug",
"type": "string",
"maxLength": 64,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"version": {
"type": "integer",
"minimum": 1
},
"content_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
}
}
}
]
},
"template": {
"$ref": "#/components/schemas/ConfigurationDeploymentResourceRef",
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"local_ref"
],
"properties": {
"local_ref": {
"$ref": "#/components/schemas/ConfigurationDeploymentLocalRef",
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"id"
],
"properties": {
"id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"slug",
"version",
"content_hash"
],
"properties": {
"slug": {
"$ref": "#/components/schemas/ConfigurationDeploymentSlug",
"type": "string",
"maxLength": 64,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"version": {
"type": "integer",
"minimum": 1
},
"content_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
}
}
}
]
},
"node_address": {
"$ref": "#/components/schemas/ConfigurationDeploymentNodeAddress",
"type": "string",
"maxLength": 1024,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*(?::[a-z0-9]+(?:-[a-z0-9]+)*){1,15}$"
},
"input_mode": {
"type": "string",
"enum": [
"submission",
"parent_output"
]
},
"producer_node_address": {
"$ref": "#/components/schemas/ConfigurationDeploymentNodeAddress",
"type": "string",
"maxLength": 1024,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*(?::[a-z0-9]+(?:-[a-z0-9]+)*){1,15}$"
},
"producer_release": {
"$ref": "#/components/schemas/ConfigurationDeploymentProducerReleaseRef",
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"local_ref"
],
"properties": {
"local_ref": {
"$ref": "#/components/schemas/ConfigurationDeploymentLocalRef",
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"id",
"content_hash"
],
"properties": {
"id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"content_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
}
}
}
]
},
"validation_evidence": {
"$ref": "#/components/schemas/ConfigurationDeploymentReceiptDocumentEvidence",
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"case_id",
"case_hash",
"output_hash",
"bindings_hash"
],
"properties": {
"case_id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"case_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
},
"validation_input_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
},
"output_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
},
"bindings_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"validation_input_hash",
"output_hash",
"bindings_hash"
],
"properties": {
"validation_input_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
},
"output_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
},
"bindings_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentInputHash",
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
}
}
}
]
}
}
}
]
}
}
}
},
"status": {
"const": "applied"
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9._:-]+$"
},
"created_at": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
},
"applied_at": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
},
"items": {
"type": "array",
"minItems": 1,
"maxItems": 100,
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/ConfigurationDeploymentDefinitionOutcome",
"type": "object",
"additionalProperties": false,
"required": [
"position",
"local_ref",
"resource_kind",
"operation",
"outcome",
"resource_id",
"family_id",
"version_id",
"activation_id",
"slug",
"revision",
"content_hash",
"effective_from",
"created_at",
"dependencies",
"details"
],
"properties": {
"position": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"local_ref": {
"$ref": "#/components/schemas/ConfigurationDeploymentLocalRef",
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
},
"resource_kind": {
"type": "string",
"enum": [
"ingestion_model",
"transformer",
"template"
]
},
"operation": {
"const": "deploy"
},
"outcome": {
"type": "string",
"enum": [
"created",
"reused",
"scheduled"
]
},
"resource_id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"family_id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"version_id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"activation_id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"slug": {
"$ref": "#/components/schemas/ConfigurationDeploymentSlug",
"type": "string",
"maxLength": 64,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"revision": {
"type": "integer",
"minimum": 1
},
"content_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentHash",
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"effective_from": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
},
"created_at": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
},
"dependencies": {
"type": "array",
"maxItems": 0
},
"details": {
"type": "object",
"x-docula-max-bytes": 524288
}
}
},
{
"$ref": "#/components/schemas/ConfigurationDeploymentReleaseOutcome",
"type": "object",
"additionalProperties": false,
"required": [
"position",
"local_ref",
"resource_kind",
"operation",
"outcome",
"resource_id",
"release_id",
"content_hash",
"published_at",
"created_at",
"dependencies",
"details"
],
"properties": {
"position": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"local_ref": {
"$ref": "#/components/schemas/ConfigurationDeploymentLocalRef",
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
},
"resource_kind": {
"const": "release"
},
"operation": {
"const": "publish"
},
"outcome": {
"type": "string",
"enum": [
"created",
"reused"
]
},
"resource_id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"release_id": {
"$ref": "#/components/schemas/ConfigurationDeploymentUUID",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"content_hash": {
"$ref": "#/components/schemas/ConfigurationDeploymentHash",
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"published_at": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
},
"created_at": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
},
"dependencies": {
"type": "array",
"maxItems": 100,
"uniqueItems": true,
"items": {
"$ref": "#/components/schemas/ConfigurationDeploymentLocalRef",
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
}
},
"details": {
"type": "object",
"x-docula-max-bytes": 524288
}
}
}
]
}
}
}
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9._:-]+$"
}
}
}{
"deployment": {
"id": "11111111-1111-4111-8111-000000000001",
"schema": "docula-configuration-deployment-v1",
"created_by": "11111111-1111-4111-8111-000000000001",
"request_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"manifest_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"manifest": {
"schema": "docula-configuration-deployment-v1",
"items": [
{
"local_ref": "synthetic-example",
"kind": "ingestion_model",
"operation": "deploy",
"family": {
"slug": "synthetic-example",
"name": "synthetic-example"
},
"definition": {
"contract_version_id": "11111111-1111-4111-8111-000000000001",
"contract_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"definition": "synthetic-example"
},
"effective_from": "2026-08-01T10:00:00Z"
}
]
},
"status": "applied",
"correlation_id": "11111111-1111-4111-8111-000000000001",
"created_at": "2026-08-01T10:00:00Z",
"applied_at": "2026-08-01T10:00:00Z",
"items": [
{
"position": 1,
"local_ref": "synthetic-example",
"resource_kind": "ingestion_model",
"operation": "deploy",
"outcome": "created",
"resource_id": "11111111-1111-4111-8111-000000000001",
"family_id": "11111111-1111-4111-8111-000000000001",
"version_id": "11111111-1111-4111-8111-000000000001",
"activation_id": "11111111-1111-4111-8111-000000000001",
"slug": "synthetic-example",
"revision": 1,
"content_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"effective_from": "2026-08-01T10:00:00Z",
"created_at": "2026-08-01T10:00:00Z",
"dependencies": [],
"details": {}
}
]
},
"correlation_id": "11111111-1111-4111-8111-000000000001"
}