{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-update-automated-reasoning-policy-test-case-request-schema.json",
  "title": "UpdateAutomatedReasoningPolicyTestCaseRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-test-cases-api-openapi.yml#/components/schemas/UpdateAutomatedReasoningPolicyTestCaseRequest",
  "type": "object",
  "properties": {
    "policyArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the Automated Reasoning policy that contains the test."
    },
    "testCaseId": {
      "type": "string",
      "description": "The unique identifier of the test to update."
    },
    "guardContent": {
      "type": "string",
      "description": "The updated content to be validated by the Automated Reasoning policy."
    },
    "queryContent": {
      "type": "string",
      "description": "The updated input query or prompt that generated the content."
    },
    "lastUpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the test was last updated. This is used as a concurrency token to prevent conflicting modifications."
    },
    "expectedAggregatedFindingsResult": {
      "type": "string",
      "enum": [
        "VALID",
        "INVALID",
        "SATISFIABLE",
        "IMPOSSIBLE",
        "TRANSLATION_AMBIGUOUS",
        "TOO_COMPLEX",
        "NO_TRANSLATION"
      ],
      "description": "The updated expected result of the Automated Reasoning check."
    },
    "confidenceThreshold": {
      "type": "number",
      "description": "The updated minimum confidence level for logic validation. If null is provided, the threshold will be removed."
    },
    "clientRequestToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error."
    }
  },
  "required": [
    "policyArn",
    "testCaseId",
    "guardContent",
    "lastUpdatedAt",
    "expectedAggregatedFindingsResult"
  ]
}