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/Release",
"type": "object",
"additionalProperties": false,
"required": [
"id",
"processing_kind",
"name",
"description",
"contract_version_id",
"contract_hash",
"transform_version_id",
"transform_hash",
"output_hash",
"manifest",
"content_hash",
"created_by",
"correlation_id",
"published_at"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"processing_kind": {
"type": "string",
"enum": [
"transformation",
"document_generation"
]
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"ingestion_model_version_id": {
"type": "string",
"format": "uuid"
},
"ingestion_model_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"node_address": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*(?::[a-z0-9]+(?:-[a-z0-9]+)*){1,15}$",
"maxLength": 1024
},
"input_mode": {
"type": "string",
"enum": [
"submission",
"parent_output"
]
},
"producer_node_address": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*(?::[a-z0-9]+(?:-[a-z0-9]+)*){1,15}$",
"maxLength": 1024
},
"producer_release_id": {
"type": "string",
"format": "uuid"
},
"producer_release_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"validation_input_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"contract_version_id": {
"type": "string",
"format": "uuid"
},
"contract_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"transform_version_id": {
"type": "string",
"format": "uuid"
},
"transform_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"template_version_id": {
"type": "string",
"format": "uuid"
},
"template_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"validation_case_id": {
"type": "string",
"format": "uuid"
},
"case_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"output_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"bindings_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"manifest": {
"type": "string",
"minLength": 1
},
"content_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"created_by": {
"type": "string",
"format": "uuid"
},
"correlation_id": {
"type": "string",
"minLength": 1
},
"published_at": {
"type": "string",
"format": "date-time"
}
},
"allOf": [
{
"if": {
"properties": {
"processing_kind": {
"const": "document_generation"
}
},
"required": [
"processing_kind"
]
},
"then": {
"required": [
"template_version_id",
"template_hash",
"bindings_hash"
]
}
},
{
"if": {
"properties": {
"processing_kind": {
"const": "transformation"
}
},
"required": [
"processing_kind"
]
},
"then": {
"not": {
"anyOf": [
{
"required": [
"template_version_id"
]
},
{
"required": [
"template_hash"
]
},
{
"required": [
"bindings_hash"
]
}
]
}
}
},
{
"oneOf": [
{
"required": [
"validation_case_id",
"case_hash"
],
"not": {
"required": [
"node_address"
]
}
},
{
"required": [
"ingestion_model_version_id",
"ingestion_model_hash",
"node_address",
"input_mode",
"validation_input_hash",
"validation_case_id",
"case_hash"
],
"properties": {
"input_mode": {
"const": "submission"
}
}
},
{
"required": [
"ingestion_model_version_id",
"ingestion_model_hash",
"node_address",
"input_mode",
"producer_node_address",
"producer_release_id",
"producer_release_hash",
"validation_input_hash"
],
"properties": {
"input_mode": {
"const": "parent_output"
}
},
"not": {
"anyOf": [
{
"required": [
"validation_case_id"
]
},
{
"required": [
"case_hash"
]
}
]
}
}
]
}
]
}{
"id": "11111111-1111-4111-8111-000000000001",
"processing_kind": "transformation",
"name": "synthetic-example",
"description": "synthetic-example",
"contract_version_id": "11111111-1111-4111-8111-000000000001",
"contract_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"transform_version_id": "11111111-1111-4111-8111-000000000001",
"transform_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"output_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"manifest": "synthetic-example",
"content_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"created_by": "11111111-1111-4111-8111-000000000001",
"correlation_id": "11111111-1111-4111-8111-000000000001",
"published_at": "2026-08-01T10:00:00Z",
"validation_case_id": "11111111-1111-4111-8111-000000000001",
"case_hash": "0000000000000000000000000000000000000000000000000000000000000000"
}