{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ometria/json-schema/ometria-translation-request-schema.json",
  "title": "TranslationRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ometria-translation-requests-api-openapi.yml#/components/schemas/TranslationRequest",
  "properties": {
    "request_id": {
      "type": "string",
      "title": "Request ID",
      "description": "The ID of the translation request."
    },
    "source_lang": {
      "type": "string",
      "title": "Source Language",
      "description": "The language code of the translation source language."
    },
    "target_lang": {
      "type": "string",
      "title": "Target Language",
      "description": "The language code of the translation target language."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created Timestamp",
      "description": "The date and time the translation request was created."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated Timestamp",
      "description": "The date and time the translation request was last updated."
    },
    "status": {
      "type": "string",
      "title": "Status",
      "description": "The current status of the translation request.",
      "enum": [
        "pending",
        "cancelled",
        "completed"
      ]
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "request_id",
    "source_lang",
    "target_lang",
    "created_at",
    "updated_at",
    "status"
  ]
}