{
  "revision": "6f341b4e6d356dd28d1a90ec65e220b98a9bbb96",
  "resources": [
    {
      "source": "providers/databricks/deploy/chart/files/schemas/connections.databricks.faros.sh.yaml",
      "schema": {
        "apiVersion": "apis.kcp.io/v1alpha1",
        "kind": "APIResourceSchema",
        "metadata": {
          "name": "v260701-fa21f11c.connections.databricks.faros.sh"
        },
        "spec": {
          "group": "databricks.faros.sh",
          "names": {
            "categories": [
              "faros"
            ],
            "kind": "Connection",
            "listKind": "ConnectionList",
            "plural": "connections",
            "shortNames": [
              "dbxconn"
            ],
            "singular": "connection"
          },
          "scope": "Cluster",
          "versions": [
            {
              "additionalPrinterColumns": [
                {
                  "jsonPath": ".spec.host",
                  "name": "Host",
                  "type": "string"
                },
                {
                  "jsonPath": ".spec.authType",
                  "name": "Auth",
                  "type": "string"
                },
                {
                  "jsonPath": ".status.conditions[?(@.type==\"Validated\")].status",
                  "name": "Validated",
                  "type": "string"
                },
                {
                  "jsonPath": ".metadata.creationTimestamp",
                  "name": "Age",
                  "type": "date"
                }
              ],
              "name": "v1alpha1",
              "schema": {
                "description": "Connection configures a Databricks workspace for one faros tenant. It points\nat tenant-owned Secrets for auth material; credentials never live on the CR.",
                "properties": {
                  "apiVersion": {
                    "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
                    "type": "string"
                  },
                  "kind": {
                    "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
                    "type": "string"
                  },
                  "metadata": {
                    "type": "object"
                  },
                  "spec": {
                    "properties": {
                      "authType": {
                        "description": "AuthType selects the credential model. PAT is the only supported model.",
                        "enum": [
                          "pat"
                        ],
                        "type": "string"
                      },
                      "host": {
                        "description": "Host is the Databricks workspace host, e.g. https://dbc-xyz.cloud.databricks.com.",
                        "maxLength": 2048,
                        "minLength": 1,
                        "pattern": "^https://[A-Za-z0-9.-]+(:[0-9]+)?/?$",
                        "type": "string"
                      },
                      "secretRef": {
                        "description": "SecretRef points at tenant workspace credential/federation config.",
                        "properties": {
                          "key": {
                            "description": "Key is the optional key holding credential material. Defaults depend on\nthe auth type.",
                            "type": "string"
                          },
                          "name": {
                            "description": "Name is the Secret name in the tenant workspace.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "namespace": {
                            "description": "Namespace is the Secret namespace in the tenant workspace. Defaults to default.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "name"
                        ],
                        "type": "object"
                      }
                    },
                    "required": [
                      "authType",
                      "host",
                      "secretRef"
                    ],
                    "type": "object"
                  },
                  "status": {
                    "properties": {
                      "conditions": {
                        "items": {
                          "description": "Condition contains details for one aspect of the current state of this API Resource.",
                          "properties": {
                            "lastTransitionTime": {
                              "description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.",
                              "format": "date-time",
                              "type": "string"
                            },
                            "message": {
                              "description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
                              "maxLength": 32768,
                              "type": "string"
                            },
                            "observedGeneration": {
                              "description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
                              "format": "int64",
                              "minimum": 0,
                              "type": "integer"
                            },
                            "reason": {
                              "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
                              "maxLength": 1024,
                              "minLength": 1,
                              "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$",
                              "type": "string"
                            },
                            "status": {
                              "description": "status of the condition, one of True, False, Unknown.",
                              "enum": [
                                "True",
                                "False",
                                "Unknown"
                              ],
                              "type": "string"
                            },
                            "type": {
                              "description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
                              "maxLength": 316,
                              "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "lastTransitionTime",
                            "message",
                            "reason",
                            "status",
                            "type"
                          ],
                          "type": "object"
                        },
                        "type": "array",
                        "x-kubernetes-list-map-keys": [
                          "type"
                        ],
                        "x-kubernetes-list-type": "map"
                      },
                      "observedGeneration": {
                        "format": "int64",
                        "type": "integer"
                      },
                      "workspaceID": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "spec"
                ],
                "type": "object"
              },
              "served": true,
              "storage": true,
              "subresources": {
                "status": {}
              }
            }
          ]
        }
      }
    },
    {
      "source": "providers/databricks/deploy/chart/files/schemas/tables.databricks.faros.sh.yaml",
      "schema": {
        "apiVersion": "apis.kcp.io/v1alpha1",
        "kind": "APIResourceSchema",
        "metadata": {
          "name": "v260814-45403ace.tables.databricks.faros.sh"
        },
        "spec": {
          "group": "databricks.faros.sh",
          "names": {
            "categories": [
              "faros"
            ],
            "kind": "Table",
            "listKind": "TableList",
            "plural": "tables",
            "shortNames": [
              "dbxtbl"
            ],
            "singular": "table"
          },
          "scope": "Cluster",
          "versions": [
            {
              "additionalPrinterColumns": [
                {
                  "jsonPath": ".spec.table",
                  "name": "Table",
                  "type": "string"
                },
                {
                  "jsonPath": ".spec.catalog",
                  "name": "Catalog",
                  "type": "string"
                },
                {
                  "jsonPath": ".spec.schema",
                  "name": "Schema",
                  "type": "string"
                },
                {
                  "jsonPath": ".status.conditions[?(@.type==\"Ready\")].status",
                  "name": "Ready",
                  "type": "string"
                },
                {
                  "jsonPath": ".metadata.creationTimestamp",
                  "name": "Age",
                  "type": "date"
                }
              ],
              "name": "v1alpha1",
              "schema": {
                "description": "Table imports a Databricks table into faros as a stable resource handle. It\nis a governed pointer plus cached schema, not a copy of table data.",
                "properties": {
                  "apiVersion": {
                    "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
                    "type": "string"
                  },
                  "kind": {
                    "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
                    "type": "string"
                  },
                  "metadata": {
                    "type": "object"
                  },
                  "spec": {
                    "properties": {
                      "catalog": {
                        "maxLength": 255,
                        "minLength": 1,
                        "pattern": "^[^\\p{Cc}]+$",
                        "type": "string"
                      },
                      "connectionRef": {
                        "maxLength": 253,
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "maxLength": 255,
                        "minLength": 1,
                        "pattern": "^[^\\p{Cc}]+$",
                        "type": "string"
                      },
                      "table": {
                        "maxLength": 255,
                        "minLength": 1,
                        "pattern": "^[^\\p{Cc}]+$",
                        "type": "string"
                      },
                      "warehouseRef": {
                        "maxLength": 253,
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "catalog",
                      "connectionRef",
                      "schema",
                      "table",
                      "warehouseRef"
                    ],
                    "type": "object"
                  },
                  "status": {
                    "properties": {
                      "columns": {
                        "description": "Columns caches schema for App Studio authoring. It never stores row data.",
                        "items": {
                          "properties": {
                            "comment": {
                              "maxLength": 4096,
                              "type": "string"
                            },
                            "name": {
                              "maxLength": 255,
                              "minLength": 1,
                              "pattern": "^[^\\p{Cc}]+$",
                              "type": "string"
                            },
                            "nullable": {
                              "type": "boolean"
                            },
                            "type": {
                              "maxLength": 1024,
                              "minLength": 1,
                              "pattern": "^[^\\p{Cc}]+$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "name",
                            "type"
                          ],
                          "type": "object"
                        },
                        "maxItems": 64,
                        "type": "array",
                        "x-kubernetes-list-map-keys": [
                          "name"
                        ],
                        "x-kubernetes-list-type": "map"
                      },
                      "conditions": {
                        "items": {
                          "description": "Condition contains details for one aspect of the current state of this API Resource.",
                          "properties": {
                            "lastTransitionTime": {
                              "description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.",
                              "format": "date-time",
                              "type": "string"
                            },
                            "message": {
                              "description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
                              "maxLength": 32768,
                              "type": "string"
                            },
                            "observedGeneration": {
                              "description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
                              "format": "int64",
                              "minimum": 0,
                              "type": "integer"
                            },
                            "reason": {
                              "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
                              "maxLength": 1024,
                              "minLength": 1,
                              "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$",
                              "type": "string"
                            },
                            "status": {
                              "description": "status of the condition, one of True, False, Unknown.",
                              "enum": [
                                "True",
                                "False",
                                "Unknown"
                              ],
                              "type": "string"
                            },
                            "type": {
                              "description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
                              "maxLength": 316,
                              "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "lastTransitionTime",
                            "message",
                            "reason",
                            "status",
                            "type"
                          ],
                          "type": "object"
                        },
                        "type": "array",
                        "x-kubernetes-list-map-keys": [
                          "type"
                        ],
                        "x-kubernetes-list-type": "map"
                      },
                      "observedGeneration": {
                        "format": "int64",
                        "type": "integer"
                      },
                      "refreshedAt": {
                        "format": "date-time",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "spec"
                ],
                "type": "object"
              },
              "served": true,
              "storage": true,
              "subresources": {
                "status": {}
              }
            }
          ]
        }
      }
    },
    {
      "source": "providers/databricks/deploy/chart/files/schemas/warehouses.databricks.faros.sh.yaml",
      "schema": {
        "apiVersion": "apis.kcp.io/v1alpha1",
        "kind": "APIResourceSchema",
        "metadata": {
          "name": "v260814-45403ace.warehouses.databricks.faros.sh"
        },
        "spec": {
          "group": "databricks.faros.sh",
          "names": {
            "categories": [
              "faros"
            ],
            "kind": "Warehouse",
            "listKind": "WarehouseList",
            "plural": "warehouses",
            "shortNames": [
              "dbxwh"
            ],
            "singular": "warehouse"
          },
          "scope": "Cluster",
          "versions": [
            {
              "additionalPrinterColumns": [
                {
                  "jsonPath": ".spec.connectionRef",
                  "name": "Connection",
                  "type": "string"
                },
                {
                  "jsonPath": ".spec.warehouseID",
                  "name": "Warehouse",
                  "type": "string"
                },
                {
                  "jsonPath": ".status.conditions[?(@.type==\"Ready\")].status",
                  "name": "Ready",
                  "type": "string"
                },
                {
                  "jsonPath": ".metadata.creationTimestamp",
                  "name": "Age",
                  "type": "date"
                }
              ],
              "name": "v1alpha1",
              "schema": {
                "description": "Warehouse binds a tenant-visible faros handle to a Databricks SQL warehouse.",
                "properties": {
                  "apiVersion": {
                    "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
                    "type": "string"
                  },
                  "kind": {
                    "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
                    "type": "string"
                  },
                  "metadata": {
                    "type": "object"
                  },
                  "spec": {
                    "properties": {
                      "connectionRef": {
                        "maxLength": 253,
                        "minLength": 1,
                        "type": "string"
                      },
                      "warehouseID": {
                        "maxLength": 255,
                        "minLength": 1,
                        "pattern": "^[^\\p{Cc}]+$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "connectionRef",
                      "warehouseID"
                    ],
                    "type": "object"
                  },
                  "status": {
                    "properties": {
                      "conditions": {
                        "items": {
                          "description": "Condition contains details for one aspect of the current state of this API Resource.",
                          "properties": {
                            "lastTransitionTime": {
                              "description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.",
                              "format": "date-time",
                              "type": "string"
                            },
                            "message": {
                              "description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
                              "maxLength": 32768,
                              "type": "string"
                            },
                            "observedGeneration": {
                              "description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
                              "format": "int64",
                              "minimum": 0,
                              "type": "integer"
                            },
                            "reason": {
                              "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
                              "maxLength": 1024,
                              "minLength": 1,
                              "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$",
                              "type": "string"
                            },
                            "status": {
                              "description": "status of the condition, one of True, False, Unknown.",
                              "enum": [
                                "True",
                                "False",
                                "Unknown"
                              ],
                              "type": "string"
                            },
                            "type": {
                              "description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
                              "maxLength": 316,
                              "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "lastTransitionTime",
                            "message",
                            "reason",
                            "status",
                            "type"
                          ],
                          "type": "object"
                        },
                        "type": "array",
                        "x-kubernetes-list-map-keys": [
                          "type"
                        ],
                        "x-kubernetes-list-type": "map"
                      },
                      "observedGeneration": {
                        "format": "int64",
                        "type": "integer"
                      },
                      "state": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "spec"
                ],
                "type": "object"
              },
              "served": true,
              "storage": true,
              "subresources": {
                "status": {}
              }
            }
          ]
        }
      }
    }
  ]
}
