Snowflake · JSON Structure

Database Role Database Role Structure

Type: object Properties: 8
Data LakesData SharingData WarehousingDatabaseSQL

DatabaseRole is a JSON Structure definition published by Snowflake, describing 8 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

name comment created_on granted_to_roles granted_to_database_roles granted_database_roles owner owner_role_type

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "DatabaseRole",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "comment": {
      "type": "string"
    },
    "created_on": {
      "type": "string"
    },
    "granted_to_roles": {
      "type": "integer"
    },
    "granted_to_database_roles": {
      "type": "integer"
    },
    "granted_database_roles": {
      "type": "integer"
    },
    "owner": {
      "type": "string"
    },
    "owner_role_type": {
      "type": "string"
    }
  }
}