{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-get-automated-reasoning-policy-build-workflow-response-schema.json",
  "title": "GetAutomatedReasoningPolicyBuildWorkflowResponse",
  "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/GetAutomatedReasoningPolicyBuildWorkflowResponse",
  "type": "object",
  "properties": {
    "policyArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the Automated Reasoning policy."
    },
    "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 being executed (e.g., DOCUMENT_INGESTION, POLICY_REPAIR)."
    },
    "documentName": {
      "type": "string",
      "description": "The name of the source document used in the build workflow."
    },
    "documentContentType": {
      "type": "string",
      "enum": [
        "pdf",
        "txt"
      ],
      "description": "The content type of the source document (e.g., text/plain, application/pdf)."
    },
    "documentDescription": {
      "type": "string",
      "description": "A detailed description of the document's content and how it should be used in the policy generation process."
    },
    "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"
  ]
}