{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-fraud-detector/json-schema/amazon-fraud-detector-update-model-version-status-request-schema.json",
  "title": "UpdateModelVersionStatusRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-fraud-detector-operations-api-openapi.yml#/components/schemas/UpdateModelVersionStatusRequest",
  "type": "object",
  "properties": {
    "modelId": {
      "type": "string",
      "description": "The model ID of the model version to update."
    },
    "modelType": {
      "type": "string",
      "enum": [
        "ONLINE_FRAUD_INSIGHTS",
        "TRANSACTION_FRAUD_INSIGHTS",
        "ACCOUNT_TAKEOVER_INSIGHTS"
      ],
      "description": "The model type."
    },
    "modelVersionNumber": {
      "type": "string",
      "description": "The model version number."
    },
    "status": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "INACTIVE",
        "TRAINING_CANCELLED"
      ],
      "description": "The model version status."
    }
  },
  "required": [
    "modelId",
    "modelType",
    "modelVersionNumber",
    "status"
  ]
}