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/Transform",
"type": "object",
"additionalProperties": false,
"required": [
"id",
"name",
"description",
"draft_revision",
"created_by",
"created_at",
"updated_at",
"versions"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"draft_source": {
"type": "string"
},
"draft_format": {
"$ref": "#/components/schemas/TransformSourceFormat",
"type": "string",
"enum": [
"yaml",
"json"
]
},
"draft_revision": {
"type": "integer",
"minimum": 1
},
"created_by": {
"type": "string",
"format": "uuid"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"versions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/TransformVersion",
"type": "object",
"additionalProperties": false,
"required": [
"id",
"definition_id",
"number",
"source",
"source_format",
"canonical_definition",
"content_hash",
"language",
"status",
"source_revision",
"created_by",
"correlation_id",
"created_at"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"definition_id": {
"type": "string",
"format": "uuid"
},
"number": {
"type": "integer",
"minimum": 1
},
"source": {
"type": "string",
"minLength": 1
},
"source_format": {
"$ref": "#/components/schemas/TransformSourceFormat",
"type": "string",
"enum": [
"yaml",
"json"
]
},
"canonical_definition": {
"type": "string",
"minLength": 1
},
"content_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"language": {
"type": "string",
"const": "declarative-v1"
},
"status": {
"type": "string",
"enum": [
"versioned",
"published"
]
},
"source_revision": {
"type": "integer",
"minimum": 1
},
"created_by": {
"type": "string",
"format": "uuid"
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"created_at": {
"type": "string",
"format": "date-time"
},
"published_at": {
"type": "string",
"format": "date-time"
}
}
}
}
}
}{
"id": "11111111-1111-4111-8111-000000000001",
"name": "synthetic-example",
"description": "synthetic-example",
"draft_revision": 1,
"created_by": "11111111-1111-4111-8111-000000000001",
"created_at": "2026-08-01T10:00:00Z",
"updated_at": "2026-08-01T10:00:00Z",
"versions": [
{
"id": "11111111-1111-4111-8111-000000000001",
"definition_id": "11111111-1111-4111-8111-000000000001",
"number": 1,
"source": "synthetic-example",
"source_format": "yaml",
"canonical_definition": "synthetic-example",
"content_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"language": "declarative-v1",
"status": "versioned",
"source_revision": 1,
"created_by": "11111111-1111-4111-8111-000000000001",
"correlation_id": "11111111-1111-4111-8111-000000000001",
"created_at": "2026-08-01T10:00:00Z"
}
]
}