{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-dialogflow/json-schema/google-dialogflow-google-cloud-dialogflow-v2-conversation-model-schema.json",
  "title": "GoogleCloudDialogflowV2ConversationModel",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/google-dialogflow-conversationmodels-api-openapi.yml#/components/schemas/GoogleCloudDialogflowV2ConversationModel",
  "type": "object",
  "properties": {
    "state": {
      "type": "string",
      "enum": [
        "STATE_UNSPECIFIED",
        "CREATING",
        "UNDEPLOYED",
        "DEPLOYING",
        "DEPLOYED",
        "UNDEPLOYING",
        "DELETING",
        "FAILED",
        "PENDING"
      ],
      "x-enumDescriptions": [
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        ""
      ],
      "readOnly": true
    },
    "smartReplyModelMetadata": {
      "$ref": "#/$defs/GoogleCloudDialogflowV2SmartReplyModelMetadata"
    },
    "name": {
      "type": "string"
    },
    "datasets": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GoogleCloudDialogflowV2InputDataset"
      }
    },
    "displayName": {
      "type": "string"
    },
    "createTime": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "articleSuggestionModelMetadata": {
      "$ref": "#/$defs/GoogleCloudDialogflowV2ArticleSuggestionModelMetadata"
    },
    "languageCode": {
      "type": "string"
    },
    "satisfiesPzs": {
      "type": "boolean",
      "readOnly": true
    },
    "satisfiesPzi": {
      "type": "boolean",
      "readOnly": true
    }
  },
  "$defs": {
    "GoogleCloudDialogflowV2ArticleSuggestionModelMetadata": {
      "type": "object",
      "properties": {
        "trainingModelType": {
          "type": "string",
          "enum": [
            "MODEL_TYPE_UNSPECIFIED",
            "SMART_REPLY_DUAL_ENCODER_MODEL",
            "SMART_REPLY_BERT_MODEL"
          ],
          "x-enumDescriptions": [
            "",
            "",
            ""
          ]
        }
      }
    },
    "GoogleCloudDialogflowV2InputDataset": {
      "type": "object",
      "properties": {
        "dataset": {
          "type": "string"
        }
      }
    },
    "GoogleCloudDialogflowV2SmartReplyModelMetadata": {
      "type": "object",
      "properties": {
        "trainingModelType": {
          "type": "string",
          "enum": [
            "MODEL_TYPE_UNSPECIFIED",
            "SMART_REPLY_DUAL_ENCODER_MODEL",
            "SMART_REPLY_BERT_MODEL"
          ],
          "x-enumDescriptions": [
            "",
            "",
            ""
          ]
        }
      }
    }
  }
}