{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-list-automated-reasoning-policy-build-workflows-response-schema.json",
  "title": "ListAutomatedReasoningPolicyBuildWorkflowsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-build-workflows-api-openapi.yml#/components/schemas/ListAutomatedReasoningPolicyBuildWorkflowsResponse",
  "type": "object",
  "properties": {
    "automatedReasoningPolicyBuildWorkflowSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AutomatedReasoningPolicyBuildWorkflowSummary"
      },
      "description": "A list of build workflow summaries, each containing key information about a build workflow including its status and timestamps."
    },
    "nextToken": {
      "type": "string",
      "description": "A pagination token to use in subsequent requests to retrieve additional build workflows."
    }
  },
  "required": [
    "automatedReasoningPolicyBuildWorkflowSummaries"
  ],
  "$defs": {
    "AutomatedReasoningPolicyBuildWorkflowSummary": {
      "type": "object",
      "properties": {
        "policyArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Automated Reasoning policy associated with this build workflow."
        },
        "buildWorkflowId": {
          "type": "string",
          "description": "The unique identifier of the build workflow."
        },
        "status": {
          "type": "string",
          "enum": [
            "SCHEDULED",
            "CANCEL_REQUESTED",
            "PREPROCESSING",
            "BUILDING",
            "TESTING",
            "COMPLETED",
            "FAILED",
            "CANCELLED"
          ],
          "description": "The current status of the build workflow (e.g., RUNNING, COMPLETED, FAILED, CANCELLED)."
        },
        "buildWorkflowType": {
          "type": "string",
          "enum": [
            "INGEST_CONTENT",
            "REFINE_POLICY",
            "IMPORT_POLICY",
            "GENERATE_FIDELITY_REPORT",
            "GENERATE_POLICY_SCENARIOS",
            "RESOLVE_POLICY_AMBIGUITIES",
            "ITERATIVELY_REFINE_POLICY"
          ],
          "description": "The type of build workflow (e.g., DOCUMENT_INGESTION, POLICY_REPAIR)."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the build workflow was created."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the build workflow was last updated."
        }
      },
      "required": [
        "policyArn",
        "buildWorkflowId",
        "status",
        "buildWorkflowType",
        "createdAt",
        "updatedAt"
      ]
    }
  }
}