{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "SchemaConfig",
  "description": "Configuration for the FHIR BigQuery schema. Determines how the server generates the schema.",
  "properties": {
    "lastUpdatedPartitionConfig": {
      "$ref": "#/components/schemas/TimePartitioning",
      "description": "The configuration for exported BigQuery tables to be partitioned by FHIR resource's last updated time column."
    },
    "recursiveStructureDepth": {
      "description": "The depth for all recursive structures in the output analytics schema. For example, `concept` in the CodeSystem resource is a recursive structure; when the depth is 2, the CodeSystem table will have a column called `concept.concept` but not `concept.concept.concept`. If not specified or set to 0, the server will use the default value 2. The maximum depth allowed is 5.",
      "format": "int64",
      "type": "string"
    },
    "schemaType": {
      "description": "Specifies the output schema type. Schema type is required.",
      "enum": [
        "SCHEMA_TYPE_UNSPECIFIED",
        "ANALYTICS",
        "ANALYTICS_V2"
      ],
      "type": "string"
    }
  },
  "type": "object"
}