Skip to content

Instantly share code, notes, and snippets.

@hallettj
Created August 29, 2022 21:41
Show Gist options
  • Save hallettj/783d06a926cbc854eececa4964e8aa5b to your computer and use it in GitHub Desktop.
Save hallettj/783d06a926cbc854eececa4964e8aa5b to your computer and use it in GitHub Desktop.
Generated OpenAPI spec from PR
{
"components": {
"schemas": {
"BigQueryConnSourceConfig": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"BigqueryDelPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"filter"
],
"type": "object"
},
"BigqueryDeletePermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/BigqueryDelPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"BigqueryFunctionMetadata": {
"description": "A custom SQL function to add to the GraphQL schema with configuration.\n\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax\n",
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"configuration": {
"additionalProperties": true,
"default": {
"custom_root_fields": {}
},
"description": "Configuration for the SQL function\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"function": {
"additionalProperties": true,
"description": "Name of the SQL function\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"permissions": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"nullable": true,
"type": "array"
}
},
"required": [
"function"
],
"type": "object"
},
"BigqueryInsPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"check": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"columns": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"set": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"check"
],
"type": "object"
},
"BigqueryInsertPermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/BigqueryInsPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"BigquerySelPerm": {
"properties": {
"allow_aggregations": {
"default": false,
"type": "boolean"
},
"columns": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"computed_fields": {
"additionalProperties": true,
"default": [],
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"limit": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "number"
},
"query_root_fields": {
"default": null,
"items": {
"enum": [
"select",
"select_by_pk",
"select_aggregate"
],
"type": "string"
},
"nullable": true,
"type": "array"
},
"subscription_root_fields": {
"default": null,
"items": {
"enum": [
"select",
"select_by_pk",
"select_aggregate",
"select_stream"
],
"type": "string"
},
"nullable": true,
"type": "array"
}
},
"required": [
"columns",
"filter"
],
"type": "object"
},
"BigquerySelectPermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/BigquerySelPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"BigquerySourceMetadata": {
"properties": {
"configuration": {
"$ref": "#/components/schemas/BigQueryConnSourceConfig"
},
"customization": {
"$ref": "#/components/schemas/SourceCustomization"
},
"functions": {
"default": [],
"items": {
"$ref": "#/components/schemas/BigqueryFunctionMetadata"
},
"nullable": true,
"type": "array"
},
"kind": {
"enum": [
"bigquery"
],
"type": "string"
},
"name": {
"type": "string"
},
"query_tags": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"tables": {
"items": {
"$ref": "#/components/schemas/BigqueryTableMetadata"
},
"type": "array"
}
},
"required": [
"name",
"kind",
"tables",
"configuration"
],
"type": "object"
},
"BigqueryTableMetadata": {
"description": "Representation of a table in metadata, 'tables.yaml' and 'metadata.json'",
"properties": {
"apollo_federation_config": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"array_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"computed_fields": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"configuration": {
"additionalProperties": true,
"default": {
"column_config": {},
"custom_column_names": {},
"custom_root_fields": {}
},
"description": "Configuration for the table/view\n\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config\n\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"delete_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/BigqueryDeletePermDef"
},
"type": "array"
},
"event_triggers": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"insert_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/BigqueryInsertPermDef"
},
"type": "array"
},
"is_enum": {
"default": false,
"type": "boolean"
},
"object_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"remote_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"select_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/BigquerySelectPermDef"
},
"type": "array"
},
"table": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"update_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/BigqueryUpdatePermDef"
},
"type": "array"
}
},
"required": [
"table"
],
"type": "object"
},
"BigqueryUpdPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"check": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"columns": {
"additionalProperties": true,
"description": "Allowed columns\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"set": {
"additionalProperties": true,
"description": "Preset columns\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"columns",
"filter"
],
"type": "object"
},
"BigqueryUpdatePermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/BigqueryUpdPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"CitusDelPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"filter"
],
"type": "object"
},
"CitusDeletePermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/CitusDelPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"CitusFunctionMetadata": {
"description": "A custom SQL function to add to the GraphQL schema with configuration.\n\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax\n",
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"configuration": {
"additionalProperties": true,
"default": {
"custom_root_fields": {}
},
"description": "Configuration for the SQL function\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"function": {
"additionalProperties": true,
"description": "Name of the SQL function\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"permissions": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"nullable": true,
"type": "array"
}
},
"required": [
"function"
],
"type": "object"
},
"CitusInsPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"check": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"columns": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"set": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"check"
],
"type": "object"
},
"CitusInsertPermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/CitusInsPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"CitusSelPerm": {
"properties": {
"allow_aggregations": {
"default": false,
"type": "boolean"
},
"columns": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"computed_fields": {
"additionalProperties": true,
"default": [],
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"limit": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "number"
},
"query_root_fields": {
"default": null,
"items": {
"enum": [
"select",
"select_by_pk",
"select_aggregate"
],
"type": "string"
},
"nullable": true,
"type": "array"
},
"subscription_root_fields": {
"default": null,
"items": {
"enum": [
"select",
"select_by_pk",
"select_aggregate",
"select_stream"
],
"type": "string"
},
"nullable": true,
"type": "array"
}
},
"required": [
"columns",
"filter"
],
"type": "object"
},
"CitusSelectPermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/CitusSelPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"CitusSourceMetadata": {
"properties": {
"configuration": {
"$ref": "#/components/schemas/PostgresConnConfiguration"
},
"customization": {
"$ref": "#/components/schemas/SourceCustomization"
},
"functions": {
"default": [],
"items": {
"$ref": "#/components/schemas/CitusFunctionMetadata"
},
"nullable": true,
"type": "array"
},
"kind": {
"enum": [
"citus"
],
"type": "string"
},
"name": {
"type": "string"
},
"query_tags": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"tables": {
"items": {
"$ref": "#/components/schemas/CitusTableMetadata"
},
"type": "array"
}
},
"required": [
"name",
"kind",
"tables",
"configuration"
],
"type": "object"
},
"CitusTableMetadata": {
"description": "Representation of a table in metadata, 'tables.yaml' and 'metadata.json'",
"properties": {
"apollo_federation_config": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"array_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"computed_fields": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"configuration": {
"additionalProperties": true,
"default": {
"column_config": {},
"custom_column_names": {},
"custom_root_fields": {}
},
"description": "Configuration for the table/view\n\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config\n\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"delete_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/CitusDeletePermDef"
},
"type": "array"
},
"event_triggers": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"insert_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/CitusInsertPermDef"
},
"type": "array"
},
"is_enum": {
"default": false,
"type": "boolean"
},
"object_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"remote_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"select_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/CitusSelectPermDef"
},
"type": "array"
},
"table": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"update_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/CitusUpdatePermDef"
},
"type": "array"
}
},
"required": [
"table"
],
"type": "object"
},
"CitusUpdPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"check": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"columns": {
"additionalProperties": true,
"description": "Allowed columns\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"set": {
"additionalProperties": true,
"description": "Preset columns\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"columns",
"filter"
],
"type": "object"
},
"CitusUpdatePermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/CitusUpdPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"CockroachDelPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"filter"
],
"type": "object"
},
"CockroachDeletePermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/CockroachDelPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"CockroachFunctionMetadata": {
"description": "A custom SQL function to add to the GraphQL schema with configuration.\n\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax\n",
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"configuration": {
"additionalProperties": true,
"default": {
"custom_root_fields": {}
},
"description": "Configuration for the SQL function\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"function": {
"additionalProperties": true,
"description": "Name of the SQL function\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"permissions": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"nullable": true,
"type": "array"
}
},
"required": [
"function"
],
"type": "object"
},
"CockroachInsPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"check": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"columns": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"set": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"check"
],
"type": "object"
},
"CockroachInsertPermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/CockroachInsPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"CockroachSelPerm": {
"properties": {
"allow_aggregations": {
"default": false,
"type": "boolean"
},
"columns": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"computed_fields": {
"additionalProperties": true,
"default": [],
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"limit": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "number"
},
"query_root_fields": {
"default": null,
"items": {
"enum": [
"select",
"select_by_pk",
"select_aggregate"
],
"type": "string"
},
"nullable": true,
"type": "array"
},
"subscription_root_fields": {
"default": null,
"items": {
"enum": [
"select",
"select_by_pk",
"select_aggregate",
"select_stream"
],
"type": "string"
},
"nullable": true,
"type": "array"
}
},
"required": [
"columns",
"filter"
],
"type": "object"
},
"CockroachSelectPermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/CockroachSelPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"CockroachSourceMetadata": {
"properties": {
"configuration": {
"$ref": "#/components/schemas/PostgresConnConfiguration"
},
"customization": {
"$ref": "#/components/schemas/SourceCustomization"
},
"functions": {
"default": [],
"items": {
"$ref": "#/components/schemas/CockroachFunctionMetadata"
},
"nullable": true,
"type": "array"
},
"kind": {
"enum": [
"cockroach"
],
"type": "string"
},
"name": {
"type": "string"
},
"query_tags": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"tables": {
"items": {
"$ref": "#/components/schemas/CockroachTableMetadata"
},
"type": "array"
}
},
"required": [
"name",
"kind",
"tables",
"configuration"
],
"type": "object"
},
"CockroachTableMetadata": {
"description": "Representation of a table in metadata, 'tables.yaml' and 'metadata.json'",
"properties": {
"apollo_federation_config": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"array_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"computed_fields": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"configuration": {
"additionalProperties": true,
"default": {
"column_config": {},
"custom_column_names": {},
"custom_root_fields": {}
},
"description": "Configuration for the table/view\n\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config\n\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"delete_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/CockroachDeletePermDef"
},
"type": "array"
},
"event_triggers": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"insert_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/CockroachInsertPermDef"
},
"type": "array"
},
"is_enum": {
"default": false,
"type": "boolean"
},
"object_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"remote_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"select_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/CockroachSelectPermDef"
},
"type": "array"
},
"table": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"update_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/CockroachUpdatePermDef"
},
"type": "array"
}
},
"required": [
"table"
],
"type": "object"
},
"CockroachUpdPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"check": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"columns": {
"additionalProperties": true,
"description": "Allowed columns\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"set": {
"additionalProperties": true,
"description": "Preset columns\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"columns",
"filter"
],
"type": "object"
},
"CockroachUpdatePermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/CockroachUpdPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"DataConnectorConnConfiguration": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"DataconnectorDelPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"filter"
],
"type": "object"
},
"DataconnectorDeletePermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/DataconnectorDelPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"DataconnectorFunctionMetadata": {
"description": "A custom SQL function to add to the GraphQL schema with configuration.\n\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax\n",
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"configuration": {
"additionalProperties": true,
"default": {
"custom_root_fields": {}
},
"description": "Configuration for the SQL function\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"function": {
"additionalProperties": true,
"description": "Name of the SQL function\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"permissions": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"nullable": true,
"type": "array"
}
},
"required": [
"function"
],
"type": "object"
},
"DataconnectorInsPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"check": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"columns": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"set": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"check"
],
"type": "object"
},
"DataconnectorInsertPermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/DataconnectorInsPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"DataconnectorSelPerm": {
"properties": {
"allow_aggregations": {
"default": false,
"type": "boolean"
},
"columns": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"computed_fields": {
"additionalProperties": true,
"default": [],
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"limit": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "number"
},
"query_root_fields": {
"default": null,
"items": {
"enum": [
"select",
"select_by_pk",
"select_aggregate"
],
"type": "string"
},
"nullable": true,
"type": "array"
},
"subscription_root_fields": {
"default": null,
"items": {
"enum": [
"select",
"select_by_pk",
"select_aggregate",
"select_stream"
],
"type": "string"
},
"nullable": true,
"type": "array"
}
},
"required": [
"columns",
"filter"
],
"type": "object"
},
"DataconnectorSelectPermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/DataconnectorSelPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"DataconnectorSourceMetadata": {
"properties": {
"configuration": {
"$ref": "#/components/schemas/DataConnectorConnConfiguration"
},
"customization": {
"$ref": "#/components/schemas/SourceCustomization"
},
"functions": {
"default": [],
"items": {
"$ref": "#/components/schemas/DataconnectorFunctionMetadata"
},
"nullable": true,
"type": "array"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"query_tags": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"tables": {
"items": {
"$ref": "#/components/schemas/DataconnectorTableMetadata"
},
"type": "array"
}
},
"required": [
"name",
"kind",
"tables",
"configuration"
],
"type": "object"
},
"DataconnectorTableMetadata": {
"description": "Representation of a table in metadata, 'tables.yaml' and 'metadata.json'",
"properties": {
"apollo_federation_config": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"array_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"computed_fields": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"configuration": {
"additionalProperties": true,
"default": {
"column_config": {},
"custom_column_names": {},
"custom_root_fields": {}
},
"description": "Configuration for the table/view\n\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config\n\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"delete_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/DataconnectorDeletePermDef"
},
"type": "array"
},
"event_triggers": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"insert_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/DataconnectorInsertPermDef"
},
"type": "array"
},
"is_enum": {
"default": false,
"type": "boolean"
},
"object_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"remote_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"select_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/DataconnectorSelectPermDef"
},
"type": "array"
},
"table": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"update_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/DataconnectorUpdatePermDef"
},
"type": "array"
}
},
"required": [
"table"
],
"type": "object"
},
"DataconnectorUpdPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"check": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"columns": {
"additionalProperties": true,
"description": "Allowed columns\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"set": {
"additionalProperties": true,
"description": "Preset columns\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"columns",
"filter"
],
"type": "object"
},
"DataconnectorUpdatePermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/DataconnectorUpdPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"MSSQLConnConfiguration": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"Metadata": {
"description": "configuration format for the Hasura GraphQL Engine",
"oneOf": [
{
"$ref": "#/components/schemas/MetadataV1"
},
{
"$ref": "#/components/schemas/MetadataV2"
},
{
"$ref": "#/components/schemas/MetadataV3"
}
]
},
"MetadataV1": {
"properties": {
"functions": {
"description": "user-defined SQL functions\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"remote_schemas": {
"description": "merge remote GraphQL schemas and provide a unified GraphQL API\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"tables": {
"description": "configured database tables\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"version": {
"enum": [
1
],
"type": "number"
}
},
"required": [
"tables"
],
"type": "object"
},
"MetadataV2": {
"properties": {
"actions": {
"description": "action definitions which extend Hasura's schema with custom business logic using custom queries and mutations\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"allowlist": {
"description": "safe GraphQL operations - when allow lists are enabled only these operations are allowed\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"cron_triggers": {
"description": "reliably trigger HTTP endpoints to run custom business logic periodically based on a cron schedule\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"custom_types": {
"additionalProperties": true,
"description": "custom type definitions\n\n\nobject with unspecified properties - this is a placeholder that will eventually be replaced with a more detailed description"
},
"functions": {
"description": "user-defined SQL functions\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"query_collections": {
"description": "group queries using query collections\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"remote_schemas": {
"description": "merge remote GraphQL schemas and provide a unified GraphQL API\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"tables": {
"description": "configured database tables\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"version": {
"enum": [
2
],
"type": "number"
}
},
"required": [
"version",
"tables"
],
"type": "object"
},
"MetadataV3": {
"properties": {
"actions": {
"description": "action definitions which extend Hasura's schema with custom business logic using custom queries and mutations\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"allowlist": {
"description": "safe GraphQL operations - when allow lists are enabled only these operations are allowed\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"api_limits": {
"additionalProperties": true,
"description": "limts to depth and/or rate of API requests\n\n\nobject with unspecified properties - this is a placeholder that will eventually be replaced with a more detailed description"
},
"backend_configs": {
"additionalProperties": true,
"description": "TODO\n\n\nobject with unspecified properties - this is a placeholder that will eventually be replaced with a more detailed description"
},
"cron_triggers": {
"description": "reliably trigger HTTP endpoints to run custom business logic periodically based on a cron schedule\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"custom_types": {
"additionalProperties": true,
"description": "custom type definitions\n\n\nobject with unspecified properties - this is a placeholder that will eventually be replaced with a more detailed description"
},
"graphql_schema_introspection": {
"additionalProperties": true,
"description": "TODO\n\n\nobject with unspecified properties - this is a placeholder that will eventually be replaced with a more detailed description"
},
"inherited_roles": {
"description": "an inherited role is a way to create a new role which inherits permissions from two or more roles\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"metrics_config": {
"additionalProperties": true,
"description": "TODO\n\n\nobject with unspecified properties - this is a placeholder that will eventually be replaced with a more detailed description"
},
"network": {
"additionalProperties": true,
"description": "TODO\n\n\nobject with unspecified properties - this is a placeholder that will eventually be replaced with a more detailed description"
},
"query_collections": {
"description": "group queries using query collections\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"remote_schemas": {
"description": "merge remote GraphQL schemas and provide a unified GraphQL API\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"rest_endpoints": {
"description": "REST interfaces to saved GraphQL queries and mutations\n\n\narray of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"items": {
"additionalProperties": true
},
"type": "array"
},
"sources": {
"description": "configured databases",
"items": {
"$ref": "#/components/schemas/SourceMetadata"
},
"type": "array"
},
"version": {
"enum": [
3
],
"type": "number"
}
},
"required": [
"version",
"sources"
],
"type": "object"
},
"MssqlDelPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"filter"
],
"type": "object"
},
"MssqlDeletePermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/MssqlDelPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"MssqlFunctionMetadata": {
"description": "A custom SQL function to add to the GraphQL schema with configuration.\n\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax\n",
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"configuration": {
"additionalProperties": true,
"default": {
"custom_root_fields": {}
},
"description": "Configuration for the SQL function\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"function": {
"additionalProperties": true,
"description": "Name of the SQL function\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"permissions": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"nullable": true,
"type": "array"
}
},
"required": [
"function"
],
"type": "object"
},
"MssqlInsPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"check": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"columns": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"set": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"check"
],
"type": "object"
},
"MssqlInsertPermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/MssqlInsPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"MssqlSelPerm": {
"properties": {
"allow_aggregations": {
"default": false,
"type": "boolean"
},
"columns": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"computed_fields": {
"additionalProperties": true,
"default": [],
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"limit": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "number"
},
"query_root_fields": {
"default": null,
"items": {
"enum": [
"select",
"select_by_pk",
"select_aggregate"
],
"type": "string"
},
"nullable": true,
"type": "array"
},
"subscription_root_fields": {
"default": null,
"items": {
"enum": [
"select",
"select_by_pk",
"select_aggregate",
"select_stream"
],
"type": "string"
},
"nullable": true,
"type": "array"
}
},
"required": [
"columns",
"filter"
],
"type": "object"
},
"MssqlSelectPermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/MssqlSelPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"MssqlSourceMetadata": {
"properties": {
"configuration": {
"$ref": "#/components/schemas/MSSQLConnConfiguration"
},
"customization": {
"$ref": "#/components/schemas/SourceCustomization"
},
"functions": {
"default": [],
"items": {
"$ref": "#/components/schemas/MssqlFunctionMetadata"
},
"nullable": true,
"type": "array"
},
"kind": {
"enum": [
"mssql"
],
"type": "string"
},
"name": {
"type": "string"
},
"query_tags": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"tables": {
"items": {
"$ref": "#/components/schemas/MssqlTableMetadata"
},
"type": "array"
}
},
"required": [
"name",
"kind",
"tables",
"configuration"
],
"type": "object"
},
"MssqlTableMetadata": {
"description": "Representation of a table in metadata, 'tables.yaml' and 'metadata.json'",
"properties": {
"apollo_federation_config": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"array_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"computed_fields": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"configuration": {
"additionalProperties": true,
"default": {
"column_config": {},
"custom_column_names": {},
"custom_root_fields": {}
},
"description": "Configuration for the table/view\n\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config\n\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"delete_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/MssqlDeletePermDef"
},
"type": "array"
},
"event_triggers": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"insert_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/MssqlInsertPermDef"
},
"type": "array"
},
"is_enum": {
"default": false,
"type": "boolean"
},
"object_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"remote_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"select_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/MssqlSelectPermDef"
},
"type": "array"
},
"table": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"update_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/MssqlUpdatePermDef"
},
"type": "array"
}
},
"required": [
"table"
],
"type": "object"
},
"MssqlUpdPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"check": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"columns": {
"additionalProperties": true,
"description": "Allowed columns\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"set": {
"additionalProperties": true,
"description": "Preset columns\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"columns",
"filter"
],
"type": "object"
},
"MssqlUpdatePermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/MssqlUpdPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"MySQLConnConfiguration": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"MysqlDelPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"filter"
],
"type": "object"
},
"MysqlDeletePermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/MysqlDelPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"MysqlFunctionMetadata": {
"description": "A custom SQL function to add to the GraphQL schema with configuration.\n\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax\n",
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"configuration": {
"additionalProperties": true,
"default": {
"custom_root_fields": {}
},
"description": "Configuration for the SQL function\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"function": {
"additionalProperties": true,
"description": "Name of the SQL function\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"permissions": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"nullable": true,
"type": "array"
}
},
"required": [
"function"
],
"type": "object"
},
"MysqlInsPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"check": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"columns": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"set": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"check"
],
"type": "object"
},
"MysqlInsertPermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/MysqlInsPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"MysqlSelPerm": {
"properties": {
"allow_aggregations": {
"default": false,
"type": "boolean"
},
"columns": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"computed_fields": {
"additionalProperties": true,
"default": [],
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"limit": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "number"
},
"query_root_fields": {
"default": null,
"items": {
"enum": [
"select",
"select_by_pk",
"select_aggregate"
],
"type": "string"
},
"nullable": true,
"type": "array"
},
"subscription_root_fields": {
"default": null,
"items": {
"enum": [
"select",
"select_by_pk",
"select_aggregate",
"select_stream"
],
"type": "string"
},
"nullable": true,
"type": "array"
}
},
"required": [
"columns",
"filter"
],
"type": "object"
},
"MysqlSelectPermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/MysqlSelPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"MysqlSourceMetadata": {
"properties": {
"configuration": {
"$ref": "#/components/schemas/MySQLConnConfiguration"
},
"customization": {
"$ref": "#/components/schemas/SourceCustomization"
},
"functions": {
"default": [],
"items": {
"$ref": "#/components/schemas/MysqlFunctionMetadata"
},
"nullable": true,
"type": "array"
},
"kind": {
"enum": [
"mysql"
],
"type": "string"
},
"name": {
"type": "string"
},
"query_tags": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"tables": {
"items": {
"$ref": "#/components/schemas/MysqlTableMetadata"
},
"type": "array"
}
},
"required": [
"name",
"kind",
"tables",
"configuration"
],
"type": "object"
},
"MysqlTableMetadata": {
"description": "Representation of a table in metadata, 'tables.yaml' and 'metadata.json'",
"properties": {
"apollo_federation_config": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"array_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"computed_fields": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"configuration": {
"additionalProperties": true,
"default": {
"column_config": {},
"custom_column_names": {},
"custom_root_fields": {}
},
"description": "Configuration for the table/view\n\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config\n\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"delete_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/MysqlDeletePermDef"
},
"type": "array"
},
"event_triggers": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"insert_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/MysqlInsertPermDef"
},
"type": "array"
},
"is_enum": {
"default": false,
"type": "boolean"
},
"object_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"remote_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"select_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/MysqlSelectPermDef"
},
"type": "array"
},
"table": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"update_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/MysqlUpdatePermDef"
},
"type": "array"
}
},
"required": [
"table"
],
"type": "object"
},
"MysqlUpdPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"check": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"columns": {
"additionalProperties": true,
"description": "Allowed columns\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"set": {
"additionalProperties": true,
"description": "Preset columns\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"columns",
"filter"
],
"type": "object"
},
"MysqlUpdatePermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/MysqlUpdPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"PostgresConnConfiguration": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"PostgresDelPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"filter"
],
"type": "object"
},
"PostgresDeletePermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/PostgresDelPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"PostgresFunctionMetadata": {
"description": "A custom SQL function to add to the GraphQL schema with configuration.\n\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax\n",
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"configuration": {
"additionalProperties": true,
"default": {
"custom_root_fields": {}
},
"description": "Configuration for the SQL function\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"function": {
"additionalProperties": true,
"description": "Name of the SQL function\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"permissions": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"nullable": true,
"type": "array"
}
},
"required": [
"function"
],
"type": "object"
},
"PostgresInsPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"check": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"columns": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"set": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"check"
],
"type": "object"
},
"PostgresInsertPermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/PostgresInsPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"PostgresSelPerm": {
"properties": {
"allow_aggregations": {
"default": false,
"type": "boolean"
},
"columns": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"computed_fields": {
"additionalProperties": true,
"default": [],
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"limit": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "number"
},
"query_root_fields": {
"default": null,
"items": {
"enum": [
"select",
"select_by_pk",
"select_aggregate"
],
"type": "string"
},
"nullable": true,
"type": "array"
},
"subscription_root_fields": {
"default": null,
"items": {
"enum": [
"select",
"select_by_pk",
"select_aggregate",
"select_stream"
],
"type": "string"
},
"nullable": true,
"type": "array"
}
},
"required": [
"columns",
"filter"
],
"type": "object"
},
"PostgresSelectPermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/PostgresSelPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"PostgresSourceMetadata": {
"properties": {
"configuration": {
"$ref": "#/components/schemas/PostgresConnConfiguration"
},
"customization": {
"$ref": "#/components/schemas/SourceCustomization"
},
"functions": {
"default": [],
"items": {
"$ref": "#/components/schemas/PostgresFunctionMetadata"
},
"nullable": true,
"type": "array"
},
"kind": {
"additionalProperties": true,
"enum": [
"postgres",
"pg"
],
"type": "string"
},
"name": {
"type": "string"
},
"query_tags": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"tables": {
"items": {
"$ref": "#/components/schemas/PostgresTableMetadata"
},
"type": "array"
}
},
"required": [
"name",
"kind",
"tables",
"configuration"
],
"type": "object"
},
"PostgresTableMetadata": {
"description": "Representation of a table in metadata, 'tables.yaml' and 'metadata.json'",
"properties": {
"apollo_federation_config": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"array_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"computed_fields": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"configuration": {
"additionalProperties": true,
"default": {
"column_config": {},
"custom_column_names": {},
"custom_root_fields": {}
},
"description": "Configuration for the table/view\n\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config\n\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"delete_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/PostgresDeletePermDef"
},
"type": "array"
},
"event_triggers": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"insert_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/PostgresInsertPermDef"
},
"type": "array"
},
"is_enum": {
"default": false,
"type": "boolean"
},
"object_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"remote_relationships": {
"default": [],
"items": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"type": "array"
},
"select_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/PostgresSelectPermDef"
},
"type": "array"
},
"table": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"update_permissions": {
"default": [],
"items": {
"$ref": "#/components/schemas/PostgresUpdatePermDef"
},
"type": "array"
}
},
"required": [
"table"
],
"type": "object"
},
"PostgresUpdPerm": {
"properties": {
"backend_only": {
"default": false,
"type": "boolean"
},
"check": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description",
"nullable": true
},
"columns": {
"additionalProperties": true,
"description": "Allowed columns\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"filter": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"set": {
"additionalProperties": true,
"description": "Preset columns\nvalue with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
}
},
"required": [
"columns",
"filter"
],
"type": "object"
},
"PostgresUpdatePermDef": {
"properties": {
"comment": {
"nullable": true,
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/PostgresUpdPerm"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"permission"
],
"type": "object"
},
"SourceCustomization": {
"additionalProperties": true,
"description": "value with unspecified type - this is a placeholder that will eventually be replaced with a more detailed description"
},
"SourceMetadata": {
"oneOf": [
{
"$ref": "#/components/schemas/PostgresSourceMetadata"
},
{
"$ref": "#/components/schemas/CitusSourceMetadata"
},
{
"$ref": "#/components/schemas/CockroachSourceMetadata"
},
{
"$ref": "#/components/schemas/MssqlSourceMetadata"
},
{
"$ref": "#/components/schemas/BigquerySourceMetadata"
},
{
"$ref": "#/components/schemas/MysqlSourceMetadata"
},
{
"$ref": "#/components/schemas/DataconnectorSourceMetadata"
}
]
}
}
},
"info": {
"title": "",
"version": ""
},
"openapi": "3.0.0",
"paths": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment