{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ometria/json-schema/ometria-translation-request-details-schema.json",
  "title": "TranslationRequestDetails",
  "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/TranslationRequestDetails",
  "properties": {
    "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."
    },
    "source_translations": {
      "type": "object",
      "title": "Source Translations",
      "description": "The source language translations."
    },
    "target_translations": {
      "type": "object",
      "title": "Target Translations",
      "description": "The target language translations."
    },
    "translation_tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "Translation Tags",
      "description": "The tags that are requested for translation from source to 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": [
    "source_lang",
    "target_lang",
    "source_translations",
    "target_translations",
    "translation_tags",
    "created_at",
    "updated_at",
    "status"
  ]
}