{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ibm-translate/json-schema/ibm-translate-translation-models-schema.json",
  "title": "TranslationModels",
  "description": "The response type for listing existing translation models.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ibm-translate-models-api-openapi.yml#/components/schemas/TranslationModels",
  "type": "object",
  "properties": {
    "models": {
      "type": "array",
      "description": "An array of available models.",
      "items": {
        "$ref": "#/$defs/TranslationModel"
      }
    }
  },
  "$defs": {
    "TranslationModel": {
      "type": "object",
      "description": "Response payload for models.",
      "properties": {
        "model_id": {
          "type": "string",
          "description": "A globally unique string that identifies the underlying model that is used for translation."
        },
        "name": {
          "type": "string",
          "description": "Optional name that can be specified when the model is created."
        },
        "source": {
          "type": "string",
          "description": "Translation source language code."
        },
        "target": {
          "type": "string",
          "description": "Translation target language code."
        },
        "base_model_id": {
          "type": "string",
          "description": "Model ID of the base model that was used to customize the model. If the model is not a custom model, this will be an empty string."
        },
        "domain": {
          "type": "string",
          "description": "The domain of the translation model."
        },
        "customizable": {
          "type": "boolean",
          "description": "Whether this model can be used as a base for customization."
        },
        "default_model": {
          "type": "boolean",
          "description": "Whether or not the model is a default model. A default model is the model for a given language pair that will be used when that language pair is specified in the source and target parameters."
        },
        "owner": {
          "type": "string",
          "description": "Returns the Bluemix ID of the instance that created the model, or an empty string if it is a model that is trained by IBM."
        },
        "status": {
          "type": "string",
          "description": "Availability of a model. Valid values are: available, training, error.",
          "enum": [
            "available",
            "training",
            "error"
          ]
        }
      }
    }
  }
}