{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-list-automated-reasoning-policy-test-cases-response-schema.json",
  "title": "ListAutomatedReasoningPolicyTestCasesResponse",
  "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/ListAutomatedReasoningPolicyTestCasesResponse",
  "type": "object",
  "properties": {
    "testCases": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AutomatedReasoningPolicyTestCase"
      },
      "description": "A list of tests for the specified policy."
    },
    "nextToken": {
      "type": "string",
      "description": "The pagination token to use in a subsequent request to retrieve the next page of results."
    }
  },
  "required": [
    "testCases"
  ],
  "$defs": {
    "AutomatedReasoningPolicyTestCase": {
      "type": "object",
      "properties": {
        "testCaseId": {
          "type": "string",
          "description": "The unique identifier of the test."
        },
        "guardContent": {
          "type": "string",
          "description": "The output content to be validated by the policy, typically representing a foundation model response."
        },
        "queryContent": {
          "type": "string",
          "description": "The input query or prompt that generated the content. This provides context for the validation."
        },
        "expectedAggregatedFindingsResult": {
          "type": "string",
          "enum": [
            "VALID",
            "INVALID",
            "SATISFIABLE",
            "IMPOSSIBLE",
            "TRANSLATION_AMBIGUOUS",
            "TOO_COMPLEX",
            "NO_TRANSLATION"
          ],
          "description": "The expected result of the Automated Reasoning check for this test."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the test was created."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the test was last updated."
        },
        "confidenceThreshold": {
          "type": "number",
          "description": "The minimum confidence level for logic validation. Content meeting this threshold is considered high-confidence and can be validated."
        }
      },
      "required": [
        "testCaseId",
        "guardContent",
        "createdAt",
        "updatedAt"
      ]
    }
  }
}