Snowflake · Schema

ReturnType

Data LakesData SharingData WarehousingDatabaseSQL

Properties

Name Type Description
type string Type of the return, can be either DATATYPE or TABLE
View JSON Schema on GitHub

JSON Schema

snowflake-returntype-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ReturnType",
  "title": "ReturnType",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "pattern": "^\"([^\"]|\"\")+\"|[a-zA-Z_][a-zA-Z0-9_$]*$",
      "description": "Type of the return, can be either DATATYPE or TABLE",
      "example": "example_value"
    }
  },
  "required": [
    "type"
  ],
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "DATATYPE": "ReturnDataType",
      "TABLE": "ReturnTable"
    }
  }
}