{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-dialogflow/json-schema/google-dialogflow-google-cloud-dialogflow-v2-create-conversation-model-evaluation-request-schema.json",
  "title": "GoogleCloudDialogflowV2CreateConversationModelEvaluationRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/google-dialogflow-evaluations-api-openapi.yml#/components/schemas/GoogleCloudDialogflowV2CreateConversationModelEvaluationRequest",
  "type": "object",
  "properties": {
    "conversationModelEvaluation": {
      "$ref": "#/$defs/GoogleCloudDialogflowV2ConversationModelEvaluation"
    }
  },
  "$defs": {
    "GoogleCloudDialogflowV2ConversationModelEvaluation": {
      "type": "object",
      "properties": {
        "smartReplyMetrics": {
          "$ref": "#/$defs/GoogleCloudDialogflowV2SmartReplyMetrics"
        },
        "displayName": {
          "type": "string"
        },
        "rawHumanEvalTemplateCsv": {
          "type": "string",
          "readOnly": true
        },
        "evaluationConfig": {
          "$ref": "#/$defs/GoogleCloudDialogflowV2EvaluationConfig"
        },
        "name": {
          "type": "string"
        },
        "createTime": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        }
      }
    },
    "GoogleCloudDialogflowV2EvaluationConfig": {
      "type": "object",
      "properties": {
        "smartComposeConfig": {
          "$ref": "#/$defs/GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig"
        },
        "datasets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GoogleCloudDialogflowV2InputDataset"
          }
        },
        "smartReplyConfig": {
          "$ref": "#/$defs/GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig"
        }
      }
    },
    "GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig": {
      "type": "object",
      "properties": {
        "maxResultCount": {
          "type": "integer",
          "format": "int32"
        },
        "allowlistDocument": {
          "type": "string"
        }
      }
    },
    "GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig": {
      "type": "object",
      "properties": {
        "allowlistDocument": {
          "type": "string"
        },
        "maxResultCount": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudDialogflowV2InputDataset": {
      "type": "object",
      "properties": {
        "dataset": {
          "type": "string"
        }
      }
    },
    "GoogleCloudDialogflowV2SmartReplyMetrics": {
      "type": "object",
      "properties": {
        "allowlistCoverage": {
          "type": "number",
          "format": "float"
        },
        "conversationCount": {
          "type": "string",
          "format": "int64"
        },
        "topNMetrics": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics"
          }
        }
      }
    },
    "GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics": {
      "type": "object",
      "properties": {
        "n": {
          "type": "integer",
          "format": "int32"
        },
        "recall": {
          "type": "number",
          "format": "float"
        }
      }
    }
  }
}