{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grepr/json-schema/grepr-cloud-formation-setup-info-schema.json",
  "title": "CloudFormationSetupInfo",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/grepr-external-s3-data-warehouse-integration-api-openapi.yml#/components/schemas/CloudFormationSetupInfo",
  "properties": {
    "awsAccountId": {
      "description": "The AWS account ID",
      "type": "string"
    },
    "bucketName": {
      "description": "The name of the S3 bucket to use for the data warehouse",
      "type": "string"
    },
    "orgName": {
      "description": "The organization's name, which names its folder under the bucket's query-results prefix. The stack expires that folder's query results after a day.",
      "type": "string"
    },
    "region": {
      "description": "The AWS region the bucket must be created in. Matches the region the Grepr deployment is running in.",
      "type": "string"
    },
    "roleName": {
      "description": "The IAM role name for the data warehouse integration",
      "type": "string"
    },
    "stackName": {
      "description": "The name of the CloudFormation stack",
      "type": "string"
    }
  },
  "required": [
    "awsAccountId",
    "bucketName",
    "orgName",
    "region",
    "roleName",
    "stackName"
  ],
  "type": "object"
}