{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/speakeasy-generation-config-file/_shared/latest--terraform.schema.json",
  "title": "terraform Configuration Schema",
  "description": "Schema for configuration specific to a terraform SDK",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/speakeasy-api/sdk-gen-config/main/schemas/languages/terraform.schema.json",
    "sourceSha256": "22c8ef7b1fbc1ddd48225f1e078c68c3d9784111f15b2e0b7cf9fa3e44dd59a8"
  },
  "type": "object",
  "properties": {
    "allowUnknownFieldsInWeakUnions": {
      "description": "Allow unknown fields in weak (undiscriminated) unions",
      "type": "boolean"
    },
    "author": {
      "description": "The name of the author of the published package.",
      "type": "string"
    },
    "defaultErrorName": {
      "description": "The name of the default error type used to represent API errors",
      "pattern": "^[A-Z][a-zA-Z0-9]*$",
      "type": "string"
    },
    "enableTypeDeduplication": {
      "description": "Enables deduplication of terraform value types",
      "type": "boolean"
    },
    "packageName": {
      "description": "The terraform provider name.",
      "pattern": "^[\\w0-9-]+$",
      "type": "string"
    },
    "version": {
      "description": "The current version of the SDK",
      "pattern": "^[\\w0-9.\\-_]+$",
      "type": "string"
    }
  },
  "required": [
    "packageName",
    "author",
    "version"
  ],
  "additionalProperties": true
}
