repository
stringclasses 528
values | commit
stringlengths 40
40
| commitDate
timestamp[s] | path
stringlengths 11
149
| repoStars
int64 5
94.9k
| repoLastFetched
stringclasses 528
values | content
stringlengths 48
736k
| license
stringclasses 14
values | language
stringclasses 7
values |
---|---|---|---|---|---|---|---|---|
TBD54566975/dwn-sdk-js | a15479cb1bd1a8da31210f6cdf586b67d70aaaf9 | 2023-07-31T22:33:31 | json-schemas/interface-methods/records-write-unidentified.json | 323 | 2024-05-27T06:10:09.270032Z | {
"$comment": "rule defining `protocol` and `contextId` relationship",
"$id": "https://identity.foundation/dwn/json-schemas/records-write-unidentified.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"anyOf": [
{
"properties": {
"descriptor": {
"required": [
"protocol",
"protocolPath",
"schema"
],
"type": "object"
}
},
"required": [
"contextId"
]
},
{
"allOf": [
{
"not": {
"required": [
"contextId"
]
}
},
{
"properties": {
"descriptor": {
"not": {
"required": [
"protocol"
]
},
"type": "object"
}
}
},
{
"properties": {
"descriptor": {
"not": {
"required": [
"protocolPath"
]
},
"type": "object"
}
}
}
]
}
],
"properties": {
"attestation": {
"$ref": "https://identity.foundation/dwn/json-schemas/general-jws.json"
},
"authorization": {
"$ref": "https://identity.foundation/dwn/json-schemas/general-jws.json"
},
"contextId": {
"type": "string"
},
"descriptor": {
"additionalProperties": false,
"allOf": [
{
"$comment": "rule defining `published` and `datePublished` relationship",
"anyOf": [
{
"properties": {
"published": {
"enum": [
true
],
"type": "boolean"
}
},
"required": [
"published",
"datePublished"
]
},
{
"not": {
"required": [
"datePublished"
]
},
"properties": {
"published": {
"enum": [
false
],
"type": "boolean"
}
}
},
{
"allOf": [
{
"not": {
"required": [
"published"
]
}
},
{
"not": {
"required": [
"datePublished"
]
}
}
]
}
]
}
],
"dependencies": {
"parentId": [
"protocol"
]
},
"properties": {
"dataCid": {
"type": "string"
},
"dataFormat": {
"type": "string"
},
"dataSize": {
"type": "number"
},
"dateCreated": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/date-time"
},
"datePublished": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/date-time"
},
"interface": {
"enum": [
"Records"
],
"type": "string"
},
"messageTimestamp": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/date-time"
},
"method": {
"enum": [
"Write"
],
"type": "string"
},
"parentId": {
"type": "string"
},
"protocol": {
"type": "string"
},
"protocolPath": {
"pattern": "^[a-zA-Z]+(/[a-zA-Z]+)*$",
"type": "string"
},
"published": {
"type": "boolean"
},
"recipient": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/did"
},
"schema": {
"type": "string"
}
},
"required": [
"interface",
"method",
"dataCid",
"dataSize",
"dateCreated",
"messageTimestamp",
"dataFormat"
],
"type": "object"
},
"encryption": {
"additionalProperties": false,
"properties": {
"algorithm": {
"enum": [
"A256CTR"
],
"type": "string"
},
"initializationVector": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/base64url"
},
"keyEncryption": {
"items": {
"additionalProperties": false,
"properties": {
"algorithm": {
"enum": [
"ECIES-ES256K"
],
"type": "string"
},
"derivationScheme": {
"enum": [
"dataFormats",
"protocolContext",
"protocolPath",
"schemas"
],
"type": "string"
},
"derivedPublicKey": {
"$ref": "https://identity.foundation/dwn/json-schemas/public-jwk.json"
},
"encryptedKey": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/base64url"
},
"ephemeralPublicKey": {
"$ref": "https://identity.foundation/dwn/json-schemas/public-jwk.json"
},
"initializationVector": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/base64url"
},
"messageAuthenticationCode": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/base64url"
},
"rootKeyId": {
"type": "string"
}
},
"required": [
"rootKeyId",
"derivationScheme",
"algorithm",
"encryptedKey",
"initializationVector",
"ephemeralPublicKey",
"messageAuthenticationCode"
],
"type": "object"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"algorithm",
"initializationVector",
"keyEncryption"
],
"type": "object"
},
"recordId": {
"type": "string"
}
},
"required": [
"descriptor"
],
"type": "object"
} | Apache-2.0 | en |
TBD54566975/dwn-sdk-js | 947a3728ddf18720ac5c1ff45930a2cd678cdec4 | 2023-11-14T18:00:45 | json-schemas/interface-methods/records-read.json | 323 | 2024-05-27T06:10:09.270032Z | {
"$id": "https://identity.foundation/dwn/json-schemas/records-read.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"authorization": {
"$ref": "https://identity.foundation/dwn/json-schemas/authorization-delegated-grant.json"
},
"descriptor": {
"additionalProperties": false,
"properties": {
"filter": {
"$ref": "https://identity.foundation/dwn/json-schemas/records-filter.json"
},
"interface": {
"enum": [
"Records"
],
"type": "string"
},
"messageTimestamp": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/date-time"
},
"method": {
"enum": [
"Read"
],
"type": "string"
}
},
"required": [
"interface",
"method",
"messageTimestamp",
"filter"
],
"type": "object"
}
},
"required": [
"descriptor"
],
"type": "object"
} | Apache-2.0 | en |
TBD54566975/dwn-sdk-js | cb6b21f75d19a644f62231cf27bc154ed73dad0e | 2023-07-19T20:51:32 | json-schemas/interface-methods/protocols-query.json | 323 | 2024-05-27T06:10:09.270032Z | {
"$id": "https://identity.foundation/dwn/json-schemas/protocols-query.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"authorization": {
"$ref": "https://identity.foundation/dwn/json-schemas/general-jws.json"
},
"descriptor": {
"additionalProperties": false,
"properties": {
"filter": {
"additionalProperties": false,
"minProperties": 1,
"properties": {
"protocol": {
"type": "string"
},
"recipient": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/did"
}
},
"type": "object"
},
"interface": {
"enum": [
"Protocols"
],
"type": "string"
},
"messageTimestamp": {
"type": "string"
},
"method": {
"enum": [
"Query"
],
"type": "string"
}
},
"required": [
"interface",
"method",
"messageTimestamp"
],
"type": "object"
}
},
"required": [
"descriptor"
],
"type": "object"
} | Apache-2.0 | en |
TBD54566975/dwn-sdk-js | 13eb608bde2f03b4a120720c4f1bb793b4f1f3fa | 2023-09-28T17:43:52 | json-schemas/interface-methods/records-read.json | 323 | 2024-05-27T06:10:09.270032Z | {
"$id": "https://identity.foundation/dwn/json-schemas/records-read.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"authorization": {
"$ref": "https://identity.foundation/dwn/json-schemas/authorization.json"
},
"descriptor": {
"additionalProperties": false,
"properties": {
"filter": {
"$ref": "https://identity.foundation/dwn/json-schemas/records-filter.json"
},
"interface": {
"enum": [
"Records"
],
"type": "string"
},
"messageTimestamp": {
"type": "string"
},
"method": {
"enum": [
"Read"
],
"type": "string"
}
},
"required": [
"interface",
"method",
"messageTimestamp",
"filter"
],
"type": "object"
}
},
"required": [
"descriptor"
],
"type": "object"
} | Apache-2.0 | en |
TBD54566975/dwn-sdk-js | 43fdbc900c5944bf8b0bc75d3a74bfdda2494350 | 2024-04-26T18:01:10 | json-schemas/interface-methods/records-delete.json | 323 | 2024-05-27T06:10:09.270032Z | {
"$id": "https://identity.foundation/dwn/json-schemas/records-delete.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"authorization": {
"$ref": "https://identity.foundation/dwn/json-schemas/authorization-delegated-grant.json"
},
"descriptor": {
"additionalProperties": false,
"properties": {
"interface": {
"enum": [
"Records"
],
"type": "string"
},
"messageTimestamp": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/$defs/date-time"
},
"method": {
"enum": [
"Delete"
],
"type": "string"
},
"prune": {
"type": "boolean"
},
"recordId": {
"type": "string"
}
},
"required": [
"interface",
"method",
"messageTimestamp",
"recordId",
"prune"
],
"type": "object"
}
},
"required": [
"authorization",
"descriptor"
],
"type": "object"
} | Apache-2.0 | en |
TBD54566975/dwn-sdk-js | 2519f8c67084bc67defbb6768dbdc88e81ddf2b6 | 2023-04-27T20:17:05 | json-schemas/definitions.json | 323 | 2024-05-27T06:10:09.270032Z | {
"$id": "https://identity.foundation/dwn/json-schemas/defs.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"base64url": {
"pattern": "^[A-Za-z0-9_-]+$",
"type": "string"
},
"date-time": {
"pattern": "^\\d{4}-[0-1]\\d-[0-3]\\dT(?:[0-2]\\d:[0-5]\\d:[0-5]\\d|23:59:60)\\.\\d{6}Z$",
"type": "string"
},
"did": {
"pattern": "^did:([a-z0-9]+):((?:(?:[a-zA-Z0-9._-]|(?:%[0-9a-fA-F]{2}))*:)*((?:[a-zA-Z0-9._-]|(?:%[0-9a-fA-F]{2}))+))((;[a-zA-Z0-9_.:%-]+=[a-zA-Z0-9_.:%-]*)*)(/[^#?]*)?([?][^#]*)?(#.*)?$",
"type": "string"
},
"uuid": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"type": "string"
}
},
"type": "object"
} | Apache-2.0 | en |
TBD54566975/dwn-sdk-js | fb08183ba91d906d6249e306e5e1f1b55c9ee2a9 | 2023-10-27T23:18:16 | json-schemas/interface-methods/messages-get.json | 323 | 2024-05-27T06:10:09.270032Z | {
"$id": "https://identity.foundation/dwn/json-schemas/messages-get.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"authorization": {
"$ref": "https://identity.foundation/dwn/json-schemas/authorization.json"
},
"descriptor": {
"additionalProperties": false,
"properties": {
"interface": {
"enum": [
"Messages"
],
"type": "string"
},
"messageCids": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"messageTimestamp": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/date-time"
},
"method": {
"enum": [
"Get"
],
"type": "string"
}
},
"required": [
"interface",
"method",
"messageTimestamp"
],
"type": "object"
}
},
"required": [
"authorization",
"descriptor"
],
"type": "object"
} | Apache-2.0 | en |
TBD54566975/dwn-sdk-js | 2081a2e93754071ecd9f5228107a311678257bfc | 2023-11-16T18:59:29 | json-schemas/interface-methods/records-delete.json | 323 | 2024-05-27T06:10:09.270032Z | {
"$id": "https://identity.foundation/dwn/json-schemas/records-delete.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"authorization": {
"$ref": "https://identity.foundation/dwn/json-schemas/authorization-delegated-grant.json"
},
"descriptor": {
"additionalProperties": false,
"properties": {
"interface": {
"enum": [
"Records"
],
"type": "string"
},
"messageTimestamp": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/date-time"
},
"method": {
"enum": [
"Delete"
],
"type": "string"
},
"recordId": {
"type": "string"
}
},
"required": [
"interface",
"method",
"messageTimestamp",
"recordId"
],
"type": "object"
}
},
"required": [
"authorization",
"descriptor"
],
"type": "object"
} | Apache-2.0 | en |
TBD54566975/dwn-sdk-js | 26d1944f51538b0dba0df08bfe31685a8b29ac29 | 2024-04-24T00:08:42 | json-schemas/interface-methods/protocols-configure.json | 323 | 2024-05-27T06:10:09.270032Z | {
"$id": "https://identity.foundation/dwn/json-schemas/protocols-configure.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"authorization": {
"$ref": "https://identity.foundation/dwn/json-schemas/authorization.json"
},
"descriptor": {
"additionalProperties": false,
"properties": {
"definition": {
"$ref": "https://identity.foundation/dwn/json-schemas/protocol-definition.json"
},
"interface": {
"enum": [
"Protocols"
],
"type": "string"
},
"messageTimestamp": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/$defs/date-time"
},
"method": {
"enum": [
"Configure"
],
"type": "string"
}
},
"required": [
"interface",
"method",
"messageTimestamp",
"definition"
],
"type": "object"
}
},
"required": [
"authorization",
"descriptor"
],
"type": "object"
} | Apache-2.0 | en |
TBD54566975/dwn-sdk-js | 41d355093ab9ef2fb409a8ba2ebe98db81a1fb0b | 2023-12-08T21:25:35 | json-schemas/permissions/permissions-definitions.json | 323 | 2024-05-27T06:10:09.270032Z | {
"$id": "https://identity.foundation/dwn/json-schemas/permissions/defs.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"conditions": {
"additionalProperties": false,
"properties": {
"publication": {
"enum": [
"Required",
"Prohibited"
],
"type": "string"
}
},
"type": "object"
},
"grantedBy": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/did"
},
"grantedFor": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/did"
},
"grantedTo": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/did"
},
"scope": {
"oneOf": [
{
"$ref": "https://identity.foundation/dwn/json-schemas/permissions/scopes.json#/definitions/protocols-query-scope"
},
{
"$ref": "https://identity.foundation/dwn/json-schemas/permissions/scopes.json#/definitions/records-read-scope"
},
{
"$ref": "https://identity.foundation/dwn/json-schemas/permissions/scopes.json#/definitions/records-delete-scope"
},
{
"$ref": "https://identity.foundation/dwn/json-schemas/permissions/scopes.json#/definitions/records-write-scope"
},
{
"$ref": "https://identity.foundation/dwn/json-schemas/permissions/scopes.json#/definitions/records-query-scope"
}
]
}
},
"type": "object"
} | Apache-2.0 | en |
TBD54566975/dwn-sdk-js | a08dcbe1b02f1129eb862da818a4cdbba91e734d | 2023-07-03T22:36:57 | json-schemas/interface-methods/records-delete.json | 323 | 2024-05-27T06:10:09.270032Z | {
"$id": "https://identity.foundation/dwn/json-schemas/records-delete.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"authorization": {
"$ref": "https://identity.foundation/dwn/json-schemas/general-jws.json"
},
"descriptor": {
"additionalProperties": false,
"properties": {
"interface": {
"enum": [
"Records"
],
"type": "string"
},
"messageTimestamp": {
"type": "string"
},
"method": {
"enum": [
"Delete"
],
"type": "string"
},
"recordId": {
"type": "string"
}
},
"required": [
"interface",
"method",
"messageTimestamp",
"recordId"
],
"type": "object"
}
},
"required": [
"authorization",
"descriptor"
],
"type": "object"
} | Apache-2.0 | en |
TBD54566975/dwn-sdk-js | ecd72c95e4ab31f68dbd74d36bc3502967d163da | 2022-11-11T01:32:54 | json-schemas/definitions.json | 323 | 2024-05-27T06:10:09.270032Z | {
"$id": "https://identity.foundation/dwn/json-schemas/defs.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"base64url": {
"pattern": "^[A-Za-z0-9_-]+$",
"type": "string"
},
"did": {
"pattern": "^did:([a-z0-9]+):((?:(?:[a-zA-Z0-9._-]|(?:%[0-9a-fA-F]{2}))*:)*((?:[a-zA-Z0-9._-]|(?:%[0-9a-fA-F]{2}))+))((;[a-zA-Z0-9_.:%-]+=[a-zA-Z0-9_.:%-]*)*)(/[^#?]*)?([?][^#]*)?(#.*)?$",
"type": "string"
},
"uuid": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"type": "string"
}
},
"type": "object"
} | Apache-2.0 | en |
TBD54566975/incubation-verifiable-credential-selector | 121c751010580aca56e1672f846e12d8f60f2da6 | 2022-10-01T16:01:11 | banking_vc_schemas/common.json | 7 | 2024-05-27T06:26:25.258578Z | {
"$id": "https://api.sophtron.com/schema/draft/vc/common.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"definitions": {
"BankAccount": {
"properties": {
"accountCategory": {
"description": "e.g.: DEPOSIT_ACCOUNT",
"type": "string"
},
"accountId": {
"type": "string"
},
"accountNumber": {
"description": "The full account number",
"type": "string"
},
"accountNumberDisplay": {
"description": "Account number masked for displaying",
"type": "string"
},
"accountType": {
"description": "e.g.: Checking",
"type": "string"
},
"availableBalnace": {
"multipleOf": 0.01,
"type": "number"
},
"balanceAsOf": {
"format": "date",
"type": "string"
},
"balanceType": {
"description": "e.g.: ASSET",
"type": "string"
},
"currency": {
"properties": {
"currencyCode": {
"type": "string"
}
},
"type:": "object"
},
"currentBalance": {
"multipleOf": 0.01,
"type": "number"
},
"nickname": {
"type": "string"
},
"routingTransitNumber": {
"type": "string"
},
"status": {
"type": "string"
},
"transactions": {
"items": {
"$ref": "#/definitions/BankTransaction"
},
"type": "array"
},
"transferIn": {
"type": "boolean"
},
"transferOut": {
"type": "boolean"
}
},
"type": "object"
},
"BankTransaction": {
"description": "Bank transaction entity",
"properties": {
"accountId": {
"type": "string"
},
"amount": {
"multipleOf": 0.01,
"type": "number"
},
"category": {
"type": "string"
},
"description": {
"type": "string"
},
"payee": {
"type": "string"
},
"postedTimestamp": {
"format": "date",
"type": "string"
},
"status": {
"type": "string"
},
"transactionId": {
"type": "string"
},
"transactionTimestamp": {
"format": "date",
"type": "string"
},
"transactionType": {
"description": "e.g.: Debit, Credit",
"type": "string"
}
},
"type": "object"
},
"Customer": {
"description": "The customer/user information linked to the accounts",
"properties": {
"addresses": {
"items": {
"properties": {
"city": {
"type": [
"string",
"null"
]
},
"country": {
"type": [
"string",
"null"
]
},
"line1": {
"type": [
"string",
"null"
]
},
"line2": {
"type": [
"string",
"null"
]
},
"line3": {
"type": [
"string",
"null"
]
},
"postalCode": {
"type": [
"string",
"null"
]
},
"region": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"type": "array"
},
"customerId": {
"type": "string"
},
"emails": {
"items": {
"type": [
"string",
"null"
]
},
"type": "array"
},
"name": {
"properties": {
"first": {
"type": [
"string",
"null"
]
},
"last": {
"type": [
"string",
"null"
]
},
"middle": {
"type": [
"string",
"null"
]
},
"suffix": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"telephones": {
"items": {
"type": [
"string",
"null"
]
},
"type": "array"
}
},
"type": "object"
},
"FinancialInstitution": {
"properties": {
"logo_url": {
"type": "string"
},
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"logo_url"
],
"type": "object"
}
},
"type": "object"
} | Apache-2.0 | en |
TBD54566975/incubation-verifiable-credential-selector | 121c751010580aca56e1672f846e12d8f60f2da6 | 2022-10-01T16:01:11 | banking_vc_schemas/vc_transactions.json | 7 | 2024-05-27T06:26:25.258578Z | {
"$id": "https://api.sophtron.com/schema/draft/vc/bankaccounts.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "List of accounts schema of banking verifiable credentials",
"minProperties": 4,
"properties": {
"accounts": {
"items": {
"$ref": "common.json#/definitions/BankAccount"
},
"type": "array"
},
"fiAttributes": {
"$ref": "common.json#/definitions/FinancialInstitution"
},
"id": {
"description": "",
"type": "string"
},
"name": {
"description": "Name of the subject",
"type": "string"
}
},
"title": "Banking VC - BankAccounts",
"type": "object"
} | Apache-2.0 | en |
TBD54566975/incubation-verifiable-credential-selector | 121c751010580aca56e1672f846e12d8f60f2da6 | 2022-10-01T16:01:11 | banking_vc_schemas/vc_bankaccounts.json | 7 | 2024-05-27T06:26:25.258578Z | {
"$id": "https://api.sophtron.com/schema/draft/vc/bankaccounts.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "List of accounts schema of banking verifiable credentials",
"minProperties": 4,
"properties": {
"accounts": {
"items": {
"$ref": "common.json#/definitions/BankAccount"
},
"type": "array"
},
"customer": {
"$ref": "common.json#/definitions/Customer"
},
"fiAttributes": {
"$ref": "common.json#/definitions/FinancialInstitution"
},
"id": {
"description": "",
"type": "string"
}
},
"title": "Banking VC - BankAccounts",
"type": "object"
} | Apache-2.0 | en |
TBD54566975/incubation-verifiable-credential-selector | 121c751010580aca56e1672f846e12d8f60f2da6 | 2022-10-01T16:01:11 | banking_vc_schemas/vc_authorization.json | 7 | 2024-05-27T06:26:25.258578Z | {
"$id": "https://api.sophtron.com/schema/draft/vc/authorization.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Authorization schema of banking verifiable credentials",
"minProperties": 8,
"properties": {
"actions": {
"description": "The authorized actions that can be taken",
"items": {
"description": "the actions allowed, e.g. 'read', 'write', 'delete'",
"type": "string"
},
"type": "array"
},
"authorizedAttributeAccess": {
"description": "The attribuet of the resource that this authorization includes",
"items": {
"description": "The name of the object attribute",
"type": "string"
},
"type": "array"
},
"authorizedToken": {
"description": "A short lived token for validating the authorization",
"type": "string"
},
"id": {
"description": "",
"type": "string"
},
"name": {
"description": "Name of the subject",
"type": "string"
},
"resource": {
"description": "the link to the resource that's being authorized to access",
"type": "string"
},
"tokenExpiration": {
"description": "The expiration time of the token",
"type": "string"
},
"verifier": {
"description": "The credential verifier unique id in distributed netwrok",
"type": "string"
}
},
"title": "Banking VC Authorization",
"type": "object"
} | Apache-2.0 | en |
TBD54566975/incubation-verifiable-credential-selector | 121c751010580aca56e1672f846e12d8f60f2da6 | 2022-10-01T16:01:11 | banking_vc_schemas/vc_identity.json | 7 | 2024-05-27T06:26:25.258578Z | {
"$id": "http://localhost:8080/vc_identity.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Identity schema of banking verifiable credentials",
"minProperties": 3,
"properties": {
"customer": {
"$ref": "common.json#/definitions/Customer"
},
"fiAttributes": {
"$ref": "common.json#/definitions/FinancialInstitution"
},
"id": {
"description": "",
"type": "string"
}
},
"title": "Banking VC - Identity",
"type": "object"
} | Apache-2.0 | en |
magda-io/magda | c0523b591e25a1efcde28fc341e5c7e926feb8bb | 2020-02-27T04:47:32 | magda-registry-aspects/publishing.schema.json | 491 | 2024-05-27T22:04:07.749391Z | {
"$schema": "http://json-schema.org/hyper-schema#",
"description": "Specifies the state and other metadata associated with publication of data within MAGDA system.",
"properties": {
"contactPointDisplay": {
"enum": [
"team",
"organization",
"custodian"
],
"title": "What should be shown for the contact point(s) of a dataset",
"type": "string"
},
"level": {
"default": "agency",
"enum": [
"agency",
"team",
"public",
"personal"
],
"title": "Level dataset is visible at",
"type": "string"
},
"publishAsOpenData": {
"patternProperties": {
".{1,}": {
"type": "boolean"
}
},
"title": "whether the database can be published as open data on a external open data platform",
"type": "object"
},
"state": {
"default": "published",
"enum": [
"draft",
"published",
"archived"
],
"title": "State of dataset",
"type": "string"
}
},
"title": "The publishing state of a dataset",
"type": "object"
} | Apache-2.0 | en |
magda-io/magda | 43656fb9998c7207998c9a03f09e51bc311c4c24 | 2019-04-01T23:46:04 | magda-registry-aspects/publishing.schema.json | 491 | 2024-05-27T22:04:07.749391Z | {
"$schema": "http://json-schema.org/hyper-schema#",
"description": "Specifies the state and other metadata associated with publication of data within MAGDA system.",
"properties": {
"state": {
"default": "published",
"enum": [
"draft",
"published",
"archived"
],
"title": "State of dataset",
"type": "string"
}
},
"title": "The publishing state of a dataset",
"type": "object"
} | Apache-2.0 | en |
magda-io/magda | 86354ebc7ac883d25d4caffc441d4d06b4e326bc | 2020-05-27T04:57:08 | magda-registry-aspects/publishing.schema.json | 491 | 2024-05-27T22:04:07.749391Z | {
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema#",
"description": "Specifies the state and other metadata associated with publication of data within MAGDA system.",
"properties": {
"contactPointDisplay": {
"enum": [
"team",
"organization",
"custodian"
],
"title": "What should be shown for the contact point(s) of a dataset",
"type": "string"
},
"level": {
"default": "agency",
"enum": [
"agency",
"division",
"branch",
"team"
],
"title": "Level dataset is visible at",
"type": "string"
},
"publishAsOpenData": {
"description": "A map of ids of open data portals to a boolean of whether or not they should be published on that platform. It's assumed that the absence of a platform means that it shouldn't be published on that platform.",
"patternProperties": {
".{1,}": {
"type": "boolean"
}
},
"title": "The open data platforms that this should be published on",
"type": "object"
},
"state": {
"default": "published",
"enum": [
"draft",
"published",
"archived"
],
"title": "State of dataset",
"type": "string"
}
},
"title": "The publishing state of a dataset",
"type": "object"
} | Apache-2.0 | en |
magda-io/magda | 13309545bcf77bbdcc94ac34523143ca6af027ed | 2019-05-03T06:25:28 | magda-registry-aspects/publishing.schema.json | 491 | 2024-05-27T22:04:07.749391Z | {
"$schema": "http://json-schema.org/hyper-schema#",
"description": "Specifies the state and other metadata associated with publication of data within MAGDA system.",
"properties": {
"level": {
"default": "agency",
"enum": [
"agency",
"team",
"public",
"personal"
],
"title": "Level dataset is visible at",
"type": "string"
},
"state": {
"default": "published",
"enum": [
"draft",
"published",
"archived"
],
"title": "State of dataset",
"type": "string"
}
},
"title": "The publishing state of a dataset",
"type": "object"
} | Apache-2.0 | en |
magda-io/magda | 499f414d09ec916080ac47afd27a5bccdd74e8d7 | 2020-03-03T02:34:54 | magda-registry-aspects/publishing.schema.json | 491 | 2024-05-27T22:04:07.749391Z | {
"$schema": "http://json-schema.org/hyper-schema#",
"description": "Specifies the state and other metadata associated with publication of data within MAGDA system.",
"properties": {
"contactPointDisplay": {
"enum": [
"team",
"organization",
"custodian"
],
"title": "What should be shown for the contact point(s) of a dataset",
"type": "string"
},
"level": {
"default": "agency",
"enum": [
"agency",
"team",
"public",
"personal"
],
"title": "Level dataset is visible at",
"type": "string"
},
"publishAsOpenData": {
"description": "A map of ids of open data portals to a boolean of whether or not they should be published on that platform. It's assumed that the absence of a platform means that it shouldn't be published on that platform.",
"patternProperties": {
".{1,}": {
"type": "boolean"
}
},
"title": "The open data platforms that this should be published on",
"type": "object"
},
"state": {
"default": "published",
"enum": [
"draft",
"published",
"archived"
],
"title": "State of dataset",
"type": "string"
}
},
"title": "The publishing state of a dataset",
"type": "object"
} | Apache-2.0 | en |
magda-io/magda | 473a1061389b8a5af3882f31e2978421fcb7b7e5 | 2020-07-17T07:02:10 | magda-registry-aspects/ckan-export.schema.json | 491 | 2024-05-27T22:04:07.749391Z | {
"$schema": "https://json-schema.org/draft-07/schema#",
"description": "An aspect that stores information regarding exporting the associated dataset to Ckan. Any changes to this aspect will trigger the export action performed by the Ckan export minion.",
"patternProperties": {
"^https://.*": {
"properties": {
"ckanId": {
"description": "(Optional); The UUID of the dataset in Ckan system (package ID). Only available after the first export.",
"title": "Ckan ID",
"type": "string"
},
"exportAttempted": {
"description": "Whether or not the backend process (minion) has attempt to process the export since last time the `exportRequired` is set to true",
"title": "Has exporting been attempted",
"type": "boolean"
},
"exportError": {
"description": "(optional);The error message recorded during the last backend export processing.",
"title": "Last export Error",
"type": "string"
},
"exportRequired": {
"description": "Whether or not system should re-export the dataset to ckan system. When the dataset is modified, this field should be set to true to trigger the backend exporting process.",
"title": "Is export required",
"type": "boolean"
},
"exportUserId": {
"description": "(Optional). The magda user ID that is used to perform any Ckan exporting actions (including delete). System mainly use this info to determine the Ckan API key that should be used for any communications with the target Ckan system. The an API key can't be located for this user or this field doesn't exist, system should use a default API key for any Ckan export communications for this dataset.",
"regex": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"title": "Export User ID",
"type": "string"
},
"hasCreated": {
"description": "Indicates whether or not the corresponding ckan package has been created for the dataset or not.",
"title": "Has the dataset been created in Ckan",
"type": "boolean"
},
"lastExportAttemptTime": {
"description": "(optional);The time when the backend process export the dataset.",
"format": "date-time",
"title": "Time last export was attempted",
"type": "string"
},
"status": {
"default": "retain",
"description": "Indicates the desired dataset export status. `retain`: the dataset should be created on target Ckan system and export any changes of this dataset in registry. `withdraw`: the dataset and its associated resources should be removed from the target Ckan system.",
"enum": [
"retain",
"withdraw"
],
"title": "Dataset Export Status",
"type": "string"
}
},
"required": [
"status",
"exportRequired"
],
"type": "object"
}
},
"title": "Ckan Export Information Aspect",
"type": "object"
} | Apache-2.0 | en |
magda-io/magda | 12bfc05d721ffede0a60f33888c978d61ad786b5 | 2020-06-02T06:53:41 | magda-registry-aspects/ckan-export.schema.json | 491 | 2024-05-27T22:04:07.749391Z | {
"$schema": "https://json-schema.org/draft-07/schema#",
"description": "An aspect that stores information regarding exporting the associated dataset to Ckan. Any changes to this aspect will trigger the export action performed by the Ckan export minion.",
"patternProperties": {
"^https://.*": {
"properties": {
"ckanId": {
"description": "(Optional); The UUID of the dataset in Ckan system (package ID). Only available after the first export.",
"title": "Ckan ID",
"type": "string"
},
"exportAttempted": {
"description": "Whether or not the backend process (minion) has attempt to process the export since last time the `exportRequired` is set to true",
"title": "Has exporting been attempted",
"type": "boolean"
},
"exportError": {
"description": "(optional);The error message recorded during the last backend export processing.",
"title": "Last export Error",
"type": "string"
},
"exportRequired": {
"description": "Whether or not system should re-export the dataset to ckan system. When the dataset is modified, this field should be set to true to trigger the backend exporting process.",
"title": "Is export required",
"type": "boolean"
},
"exportUserId": {
"description": "(Optional). The magda user ID that is used to perform any Ckan exporting actions (including delete). System mainly use this info to determine the Ckan API key that should be used for any communications with the target Ckan system. The an API key can't be located for this user or this field doesn't exist, system should use a default API key for any Ckan export communications for this dataset.",
"regex": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"title": "Export User ID",
"type": "string"
},
"hasCreated": {
"description": "Indicates whether or not the corresponding ckan package has been created for the dataset or not.",
"title": "Has the dataset been created in Ckan",
"type": "boolean"
},
"lastExportAttemptTime": {
"description": "(optional);The time when the backend process export the dataset.",
"format": "date-time",
"title": "Time last export was attempted",
"type": "string"
},
"status": {
"default": "retain",
"description": "Indicates the desired dataset export status. `retain`: the dataset should be created on target Ckan system and export any changes of this dataset in registry. `withdraw`: the dataset and its associated resources should be removed from the target Ckan system.",
"enum": [
"retain",
"withdraw"
],
"title": "Dataset Export Status",
"type": "string"
}
},
"required": [
"status",
"hasCreated",
"exportRequired",
"exportAttempted"
],
"type": "object"
}
},
"title": "Ckan Export Information Aspect",
"type": "object"
} | Apache-2.0 | en |
magda-io/magda | 4b3fc5c928ad59efcca642d32735f81cfd43b1a0 | 2019-09-05T05:15:41 | magda-registry-aspects/publishing.schema.json | 491 | 2024-05-27T22:04:07.749391Z | {
"$schema": "http://json-schema.org/hyper-schema#",
"description": "Specifies the state and other metadata associated with publication of data within MAGDA system.",
"properties": {
"contactPointDisplay": {
"enum": [
"team",
"organization",
"custodian"
],
"title": "What should be shown for the contact point(s) of a dataset",
"type": "string"
},
"level": {
"default": "agency",
"enum": [
"agency",
"team",
"public",
"personal"
],
"title": "Level dataset is visible at",
"type": "string"
},
"state": {
"default": "published",
"enum": [
"draft",
"published",
"archived"
],
"title": "State of dataset",
"type": "string"
}
},
"title": "The publishing state of a dataset",
"type": "object"
} | Apache-2.0 | en |
magda-io/magda | c9a0c2e73cfa7e92adfe3225f30e8944a59a8a99 | 2022-03-31T11:05:06 | magda-registry-aspects/publishing.schema.json | 491 | 2024-05-27T22:04:07.749391Z | {
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema#",
"description": "Specifies the state and other metadata associated with publication of data within MAGDA system.",
"properties": {
"contactPointDisplay": {
"enum": [
"team",
"organization",
"custodian"
],
"title": "What should be shown for the contact point(s) of a dataset",
"type": "string"
},
"custodianOrgUnitId": {
"maxLength": 36,
"minLength": 36,
"title": "the id of organisational unit that should be referenced as the data custodian",
"type": "string"
},
"level": {
"default": "organization",
"enum": [
"organization",
"custodian",
"team",
"creatorOrgUnit",
"selectedOrgUnit"
],
"title": "Level dataset is visible at",
"type": "string"
},
"managingOrgUnitId": {
"maxLength": 36,
"minLength": 36,
"title": "the id of organisational unit that is responsible for maintaining this dataset",
"type": "string"
},
"publishAsOpenData": {
"description": "A map of ids of open data portals to a boolean of whether or not they should be published on that platform. It's assumed that the absence of a platform means that it shouldn't be published on that platform.",
"patternProperties": {
".{1,}": {
"type": "boolean"
}
},
"title": "The open data platforms that this should be published on",
"type": "object"
},
"state": {
"default": "published",
"enum": [
"draft",
"published",
"archived"
],
"title": "State of dataset",
"type": "string"
}
},
"title": "Dataset Publishing State Aspect",
"type": "object"
} | Apache-2.0 | en |
magda-io/magda | 9492345ab0662f019fa0f1b8b67adab726c9c94a | 2019-08-07T06:52:42 | magda-registry-aspects/publishing.schema.json | 491 | 2024-05-27T22:04:07.749391Z | {
"$schema": "http://json-schema.org/hyper-schema#",
"description": "Specifies the state and other metadata associated with publication of data within MAGDA system.",
"properties": {
"contactPointDisplay": {
"enum": [
"members",
"team",
"organization"
],
"title": "What should be shown for the contact point(s) of a dataset",
"type": "string"
},
"level": {
"default": "agency",
"enum": [
"agency",
"team",
"public",
"personal"
],
"title": "Level dataset is visible at",
"type": "string"
},
"state": {
"default": "published",
"enum": [
"draft",
"published",
"archived"
],
"title": "State of dataset",
"type": "string"
}
},
"title": "The publishing state of a dataset",
"type": "object"
} | Apache-2.0 | en |
magda-io/magda | 56b035c45c793f1a07d09a6e8fb663a73471845d | 2020-03-16T08:33:17 | magda-registry-aspects/publishing.schema.json | 491 | 2024-05-27T22:04:07.749391Z | {
"$schema": "http://json-schema.org/hyper-schema#",
"description": "Specifies the state and other metadata associated with publication of data within MAGDA system.",
"properties": {
"contactPointDisplay": {
"enum": [
"team",
"organization",
"custodian"
],
"title": "What should be shown for the contact point(s) of a dataset",
"type": "string"
},
"level": {
"default": "agency",
"enum": [
"agency",
"division",
"branch",
"team"
],
"title": "Level dataset is visible at",
"type": "string"
},
"publishAsOpenData": {
"description": "A map of ids of open data portals to a boolean of whether or not they should be published on that platform. It's assumed that the absence of a platform means that it shouldn't be published on that platform.",
"patternProperties": {
".{1,}": {
"type": "boolean"
}
},
"title": "The open data platforms that this should be published on",
"type": "object"
},
"state": {
"default": "published",
"enum": [
"draft",
"published",
"archived"
],
"title": "State of dataset",
"type": "string"
}
},
"title": "The publishing state of a dataset",
"type": "object"
} | Apache-2.0 | en |
magda-io/magda | 3cfb0b1fdf41ecbe4c754f83c7bcfda7176b9da7 | 2022-02-19T10:32:12 | magda-registry-aspects/publishing.schema.json | 491 | 2024-05-27T22:04:07.749391Z | {
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema#",
"description": "Specifies the state and other metadata associated with publication of data within MAGDA system.",
"properties": {
"contactPointDisplay": {
"enum": [
"team",
"organization",
"custodian"
],
"title": "What should be shown for the contact point(s) of a dataset",
"type": "string"
},
"level": {
"default": "agency",
"enum": [
"agency",
"division",
"branch",
"team"
],
"title": "Level dataset is visible at",
"type": "string"
},
"publishAsOpenData": {
"description": "A map of ids of open data portals to a boolean of whether or not they should be published on that platform. It's assumed that the absence of a platform means that it shouldn't be published on that platform.",
"patternProperties": {
".{1,}": {
"type": "boolean"
}
},
"title": "The open data platforms that this should be published on",
"type": "object"
},
"state": {
"default": "published",
"enum": [
"draft",
"published",
"archived"
],
"title": "State of dataset",
"type": "string"
}
},
"title": "Dataset Publishing State Aspect",
"type": "object"
} | Apache-2.0 | en |
magda-io/magda | d73852c9e5cc0e6c28ba66e02e4dcf2523d8e17b | 2022-08-12T13:54:52 | magda-registry-aspects/publishing.schema.json | 491 | 2024-05-27T22:04:07.749391Z | {
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema#",
"description": "Specifies the state and other metadata associated with publication of data within MAGDA system.",
"properties": {
"contactPointDisplay": {
"enum": [
"team",
"organization",
"custodian"
],
"title": "What should be shown for the contact point(s) of a dataset",
"type": "string"
},
"custodianOrgUnitId": {
"maxLength": 36,
"minLength": 36,
"title": "the id of organisational unit that should be referenced as the data custodian",
"type": "string"
},
"hasEverPublished": {
"default": false,
"description": "Whether the dataset has ever been published before. If `true`, editing workflow UI (rather than creation workflow) will be shown.",
"title": "Has ever published",
"type": "boolean"
},
"level": {
"default": "organization",
"enum": [
"organization",
"custodian",
"team",
"creatorOrgUnit",
"selectedOrgUnit"
],
"title": "Level dataset is visible at",
"type": "string"
},
"managingOrgUnitId": {
"maxLength": 36,
"minLength": 36,
"title": "the id of organisational unit that is responsible for maintaining this dataset",
"type": "string"
},
"publishAsOpenData": {
"description": "A map of ids of open data portals to a boolean of whether or not they should be published on that platform. It's assumed that the absence of a platform means that it shouldn't be published on that platform.",
"patternProperties": {
".{1,}": {
"type": "boolean"
}
},
"title": "The open data platforms that this should be published on",
"type": "object"
},
"state": {
"default": "published",
"enum": [
"draft",
"published",
"archived"
],
"title": "State of dataset",
"type": "string"
}
},
"title": "Dataset Publishing State Aspect",
"type": "object"
} | Apache-2.0 | en |
magda-io/magda | 2ae86481188f0f3cbafe32933d5f2e2c6456e19a | 2020-05-21T08:14:06 | magda-registry-aspects/ckan-export.schema.json | 491 | 2024-05-27T22:04:07.749391Z | {
"$schema": "https://json-schema.org/draft-07/schema#",
"description": "An aspect that stores information regarding exporting the associated dataset to Ckan. Any changes to this aspect will trigger the export action performed by the Ckan export minion.",
"properties": {
"ckanId": {
"description": "(Optional); The UUID of the dataset in Ckan system (package ID). Only available after the first export.",
"title": "Ckan ID",
"type": "string"
},
"exportAttempted": {
"description": "Whether or not the backend process (minion) has attempt to process the export since last time the `exportRequired` is set to true",
"title": "Has exporting been attempted",
"type": "boolean"
},
"exportError": {
"description": "(optional);The error message recorded during the last backend export processing.",
"title": "Last export Error",
"type": "string"
},
"exportRequired": {
"description": "Whether or not system should re-export the dataset to ckan system. When the dataset is modified, this field should be set to true to trigger the backend exporting process.",
"title": "Is export required",
"type": "boolean"
},
"exportUserId": {
"description": "(Optional). The magda user ID that is used to perform any Ckan exporting actions (including delete). System mainly use this info to determine the Ckan API key that should be used for any communications with the target Ckan system. The an API key can't be located for this user or this field doesn't exist, system should use a default API key for any Ckan export communications for this dataset.",
"regex": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"title": "Export User ID",
"type": "string"
},
"hasCreated": {
"description": "Indicates whether or not the corresponding ckan package has been created for the dataset or not.",
"title": "Has the dataset been created in Ckan",
"type": "boolean"
},
"lastExportAttemptTime": {
"description": "(optional);The time when the backend process export the dataset.",
"format": "date-time",
"title": "Time last export was attempted",
"type": "string"
},
"status": {
"default": "retain",
"description": "Indicates the desired dataset export status. `retain`: the dataset should be created on target Ckan system and export any changes of this dataset in registry. `withdraw`: the dataset and its associated resources should be removed from the target Ckan system.",
"enum": [
"retain",
"withdraw"
],
"title": "Dataset Export Status",
"type": "string"
}
},
"required": [
"status",
"hasCreated",
"exportRequired",
"exportAttempted"
],
"title": "Ckan Export Information Aspect",
"type": "object"
} | Apache-2.0 | en |
magda-io/magda | c3e3fa598ed25b257eb49c5c16bf85d19eb4e64e | 2019-04-01T23:46:02 | magda-registry-aspects/publishing.schema.json | 491 | 2024-05-27T22:04:07.749391Z | {
"$schema": "http://json-schema.org/hyper-schema#",
"description": "Specifies the state and other metadata associated with publication of data within MAGDA system.",
"properties": {
"state": {
"default": "published",
"title": "State of dataset",
"type": "string"
}
},
"title": "The publishing state of a dataset",
"type": "object"
} | Apache-2.0 | en |
asdf-format/asdf | caf5a07a7857bbf4b24a72257b0b3ae962a7146c | 2023-08-01T21:14:11 | asdf/_jsonschema/json/test-schema.json | 509 | 2024-05-29T13:15:33.257074Z | {
"$defs": {
"test": {
"additionalProperties": false,
"description": "A single test",
"properties": {
"comment": {
"description": "Any additional comments about the test",
"type": "string"
},
"data": {
"description": "The instance which should be validated against the schema in \"schema\"."
},
"description": {
"description": "The test description, briefly explaining which behavior it exercises",
"type": "string"
},
"valid": {
"description": "Whether the validation process of this instance should consider the instance valid or not",
"type": "boolean"
}
},
"required": [
"description",
"data",
"valid"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A schema for files contained within this suite",
"items": {
"additionalProperties": false,
"description": "An individual test case, containing multiple tests of a single schema's behavior",
"properties": {
"comment": {
"description": "Any additional comments about the test case",
"type": "string"
},
"description": {
"description": "The test case description",
"type": "string"
},
"schema": {
"description": "A valid JSON Schema (one written for the corresponding version directory that the file sits within)."
},
"tests": {
"description": "A set of related tests all using the same schema",
"items": {
"$ref": "#/$defs/test"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"description",
"schema",
"tests"
],
"type": "object"
},
"minItems": 1,
"type": "array"
} | BSD-3-Clause | en |
GREsau/schemars | 6bebd73701df8f9c11df8273e02501978739a354 | 2019-12-29T22:30:17 | schemars/tests/expected/doc_comments_struct_ref_siblings.json | 732 | 2024-05-29T15:25:38.354657Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"MyUnitStruct": {
"title": "A Unit",
"type": "null"
}
},
"description": "This is the struct's description.",
"properties": {
"my_int": {
"format": "int32",
"title": "An integer",
"type": "integer"
},
"my_undocumented_bool": {
"type": "boolean"
},
"my_unit": {
"$ref": "#/definitions/MyUnitStruct",
"description": "A unit struct instance"
}
},
"required": [
"my_int",
"my_undocumented_bool",
"my_unit"
],
"title": "This is the struct's title",
"type": "object"
} | MIT | en |
GREsau/schemars | f6482fd4600e10a19c9370747afc60056a3fa55a | 2021-03-25T18:32:28 | schemars/tests/expected/from_value_2019_09.json | 732 | 2024-05-29T15:25:38.354657Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"examples": [
{
"myBool": true,
"myInnerStruct": {
"my_empty_map": {},
"my_empty_vec": [],
"my_map": {
"": 0.0
},
"my_tuple": [
"\ud83d\udca9",
42
],
"my_vec": [
"hello",
"world"
]
},
"myInt": 123,
"myNullableEnum": null
}
],
"properties": {
"myBool": {
"type": "boolean"
},
"myInnerStruct": {
"properties": {
"my_empty_map": {
"additionalProperties": true,
"type": "object"
},
"my_empty_vec": {
"items": true,
"type": "array"
},
"my_map": {
"additionalProperties": {
"format": "double",
"type": "number"
},
"type": "object"
},
"my_tuple": {
"items": [
{
"maxLength": 1,
"minLength": 1,
"type": "string"
},
{
"format": "uint8",
"minimum": 0.0,
"type": "integer"
}
],
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"my_vec": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"myInt": {
"format": "int32",
"type": "integer"
},
"myNullableEnum": true
},
"title": "MyStruct",
"type": "object"
} | MIT | en |
GREsau/schemars | 5021204dfbf1da04fa87b2d9a8c4e0bba66fa802 | 2020-04-09T16:03:27 | schemars/tests/expected/schema-2019_09.json | 732 | 2024-05-29T15:25:38.354657Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": true,
"definitions": {
"InstanceType": {
"description": "The possible types of values in JSON Schema documents.\n\nSee [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1).",
"enum": [
"null",
"boolean",
"object",
"array",
"number",
"string",
"integer"
]
},
"Schema": {
"anyOf": [
{
"description": "A trivial boolean JSON Schema.\n\nThe schema `true` matches everything (always passes validation), whereas the schema `false` matches nothing (always fails validation).",
"type": "boolean"
},
{
"$ref": "#/definitions/SchemaObject",
"description": "A JSON Schema object."
}
],
"description": "A JSON Schema."
},
"SchemaObject": {
"additionalProperties": true,
"description": "A JSON Schema object.",
"properties": {
"$id": {
"description": "The `$id` keyword.\n\nSee [JSON Schema 8.2.2. The \"$id\" Keyword](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.2).",
"type": [
"string",
"null"
]
},
"$ref": {
"description": "The `$ref` keyword.\n\nSee [JSON Schema 8.2.4.1. Direct References with \"$ref\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.4.1).",
"type": [
"string",
"null"
]
},
"additionalItems": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalItems` keyword.\n\nSee [JSON Schema 9.3.1.2. \"additionalItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.2)."
},
"additionalProperties": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalProperties` keyword.\n\nSee [JSON Schema 9.3.2.3. \"additionalProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.3)."
},
"allOf": {
"description": "The `allOf` keyword.\n\nSee [JSON Schema 9.2.1.1. \"allOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.1).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"anyOf": {
"description": "The `anyOf` keyword.\n\nSee [JSON Schema 9.2.1.2. \"anyOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.2).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"const": {
"description": "The `const` keyword.\n\nSee [JSON Schema Validation 6.1.3. \"const\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.3)"
},
"contains": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `contains` keyword.\n\nSee [JSON Schema 9.3.1.4. \"contains\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.4)."
},
"default": {
"description": "The `default` keyword.\n\nSee [JSON Schema Validation 9.2. \"default\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.2)."
},
"deprecated": {
"description": "The `deprecated` keyword.\n\nSee [JSON Schema Validation 9.3. \"deprecated\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.3).",
"type": "boolean"
},
"description": {
"description": "The `description` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"else": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `else` keyword.\n\nSee [JSON Schema 9.2.2.3. \"else\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.3)."
},
"enum": {
"description": "The `enum` keyword.\n\nSee [JSON Schema Validation 6.1.2. \"enum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.2)",
"items": true,
"type": [
"array",
"null"
]
},
"examples": {
"description": "The `examples` keyword.\n\nSee [JSON Schema Validation 9.5. \"examples\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.5).",
"items": true,
"type": "array"
},
"exclusiveMaximum": {
"description": "The `exclusiveMaximum` keyword.\n\nSee [JSON Schema Validation 6.2.3. \"exclusiveMaximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.3).",
"format": "double",
"type": [
"number",
"null"
]
},
"exclusiveMinimum": {
"description": "The `exclusiveMinimum` keyword.\n\nSee [JSON Schema Validation 6.2.5. \"exclusiveMinimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.5).",
"format": "double",
"type": [
"number",
"null"
]
},
"format": {
"description": "The `format` keyword.\n\nSee [JSON Schema Validation 7. A Vocabulary for Semantic Content With \"format\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-7).",
"type": [
"string",
"null"
]
},
"if": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `if` keyword.\n\nSee [JSON Schema 9.2.2.1. \"if\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.1)."
},
"items": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_Schema"
},
{
"type": "null"
}
],
"description": "The `items` keyword.\n\nSee [JSON Schema 9.3.1.1. \"items\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.1)."
},
"maxItems": {
"description": "The `maxItems` keyword.\n\nSee [JSON Schema Validation 6.4.1. \"maxItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxLength": {
"description": "The `maxLength` keyword.\n\nSee [JSON Schema Validation 6.3.1. \"maxLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxProperties": {
"description": "The `maxProperties` keyword.\n\nSee [JSON Schema Validation 6.5.1. \"maxProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maximum": {
"description": "The `maximum` keyword.\n\nSee [JSON Schema Validation 6.2.2. \"maximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.2).",
"format": "double",
"type": [
"number",
"null"
]
},
"minItems": {
"description": "The `minItems` keyword.\n\nSee [JSON Schema Validation 6.4.2. \"minItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minLength": {
"description": "The `minLength` keyword.\n\nSee [JSON Schema Validation 6.3.2. \"minLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minProperties": {
"description": "The `minProperties` keyword.\n\nSee [JSON Schema Validation 6.5.2. \"minProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minimum": {
"description": "The `minimum` keyword.\n\nSee [JSON Schema Validation 6.2.4. \"minimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.4).",
"format": "double",
"type": [
"number",
"null"
]
},
"multipleOf": {
"description": "The `multipleOf` keyword.\n\nSee [JSON Schema Validation 6.2.1. \"multipleOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.1).",
"format": "double",
"type": [
"number",
"null"
]
},
"not": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `not` keyword.\n\nSee [JSON Schema 9.2.1.4. \"not\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.4)."
},
"oneOf": {
"description": "The `oneOf` keyword.\n\nSee [JSON Schema 9.2.1.3. \"oneOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.3).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"pattern": {
"description": "The `pattern` keyword.\n\nSee [JSON Schema Validation 6.3.3. \"pattern\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.3).",
"type": [
"string",
"null"
]
},
"patternProperties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `patternProperties` keyword.\n\nSee [JSON Schema 9.3.2.2. \"patternProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.2).",
"type": "object"
},
"properties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `properties` keyword.\n\nSee [JSON Schema 9.3.2.1. \"properties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1).",
"type": "object"
},
"propertyNames": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `propertyNames` keyword.\n\nSee [JSON Schema 9.3.2.5. \"propertyNames\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.5)."
},
"readOnly": {
"description": "The `readOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
},
"required": {
"description": "The `required` keyword.\n\nSee [JSON Schema Validation 6.5.3. \"required\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.3).",
"items": {
"type": "string"
},
"type": "array"
},
"then": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `then` keyword.\n\nSee [JSON Schema 9.2.2.2. \"then\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.2)."
},
"title": {
"description": "The `title` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"type": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_InstanceType"
},
{
"type": "null"
}
],
"description": "The `type` keyword.\n\nSee [JSON Schema Validation 6.1.1. \"type\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.1) and [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1)."
},
"uniqueItems": {
"description": "The `uniqueItems` keyword.\n\nSee [JSON Schema Validation 6.4.3. \"uniqueItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.3).",
"type": [
"boolean",
"null"
]
},
"writeOnly": {
"description": "The `writeOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
}
},
"type": "object"
},
"SingleOrVec_for_InstanceType": {
"anyOf": [
{
"$ref": "#/definitions/InstanceType"
},
{
"items": {
"$ref": "#/definitions/InstanceType"
},
"type": "array"
}
],
"description": "A type which can be serialized as a single item, or multiple items.\n\nIn some contexts, a `Single` may be semantically distinct from a `Vec` containing only item."
},
"SingleOrVec_for_Schema": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"items": {
"$ref": "#/definitions/Schema"
},
"type": "array"
}
],
"description": "A type which can be serialized as a single item, or multiple items.\n\nIn some contexts, a `Single` may be semantically distinct from a `Vec` containing only item."
}
},
"description": "The root object of a JSON Schema document.",
"properties": {
"$id": {
"description": "The `$id` keyword.\n\nSee [JSON Schema 8.2.2. The \"$id\" Keyword](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.2).",
"type": [
"string",
"null"
]
},
"$ref": {
"description": "The `$ref` keyword.\n\nSee [JSON Schema 8.2.4.1. Direct References with \"$ref\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.4.1).",
"type": [
"string",
"null"
]
},
"$schema": {
"description": "The `$schema` keyword.\n\nSee [JSON Schema 8.1.1. The \"$schema\" Keyword](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.1.1).",
"type": [
"string",
"null"
]
},
"additionalItems": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalItems` keyword.\n\nSee [JSON Schema 9.3.1.2. \"additionalItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.2)."
},
"additionalProperties": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalProperties` keyword.\n\nSee [JSON Schema 9.3.2.3. \"additionalProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.3)."
},
"allOf": {
"description": "The `allOf` keyword.\n\nSee [JSON Schema 9.2.1.1. \"allOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.1).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"anyOf": {
"description": "The `anyOf` keyword.\n\nSee [JSON Schema 9.2.1.2. \"anyOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.2).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"const": {
"description": "The `const` keyword.\n\nSee [JSON Schema Validation 6.1.3. \"const\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.3)"
},
"contains": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `contains` keyword.\n\nSee [JSON Schema 9.3.1.4. \"contains\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.4)."
},
"default": {
"description": "The `default` keyword.\n\nSee [JSON Schema Validation 9.2. \"default\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.2)."
},
"definitions": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `definitions` keyword.\n\nIn JSON Schema draft 2019-09 this was replaced by $defs, but in Schemars this is still serialized as `definitions` for backward-compatibility.\n\nSee [JSON Schema 8.2.5. Schema Re-Use With \"$defs\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.5), and [JSON Schema (draft 07) 9. Schema Re-Use With \"definitions\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-9).",
"type": "object"
},
"deprecated": {
"description": "The `deprecated` keyword.\n\nSee [JSON Schema Validation 9.3. \"deprecated\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.3).",
"type": "boolean"
},
"description": {
"description": "The `description` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"else": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `else` keyword.\n\nSee [JSON Schema 9.2.2.3. \"else\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.3)."
},
"enum": {
"description": "The `enum` keyword.\n\nSee [JSON Schema Validation 6.1.2. \"enum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.2)",
"items": true,
"type": [
"array",
"null"
]
},
"examples": {
"description": "The `examples` keyword.\n\nSee [JSON Schema Validation 9.5. \"examples\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.5).",
"items": true,
"type": "array"
},
"exclusiveMaximum": {
"description": "The `exclusiveMaximum` keyword.\n\nSee [JSON Schema Validation 6.2.3. \"exclusiveMaximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.3).",
"format": "double",
"type": [
"number",
"null"
]
},
"exclusiveMinimum": {
"description": "The `exclusiveMinimum` keyword.\n\nSee [JSON Schema Validation 6.2.5. \"exclusiveMinimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.5).",
"format": "double",
"type": [
"number",
"null"
]
},
"format": {
"description": "The `format` keyword.\n\nSee [JSON Schema Validation 7. A Vocabulary for Semantic Content With \"format\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-7).",
"type": [
"string",
"null"
]
},
"if": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `if` keyword.\n\nSee [JSON Schema 9.2.2.1. \"if\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.1)."
},
"items": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_Schema"
},
{
"type": "null"
}
],
"description": "The `items` keyword.\n\nSee [JSON Schema 9.3.1.1. \"items\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.1)."
},
"maxItems": {
"description": "The `maxItems` keyword.\n\nSee [JSON Schema Validation 6.4.1. \"maxItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxLength": {
"description": "The `maxLength` keyword.\n\nSee [JSON Schema Validation 6.3.1. \"maxLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxProperties": {
"description": "The `maxProperties` keyword.\n\nSee [JSON Schema Validation 6.5.1. \"maxProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maximum": {
"description": "The `maximum` keyword.\n\nSee [JSON Schema Validation 6.2.2. \"maximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.2).",
"format": "double",
"type": [
"number",
"null"
]
},
"minItems": {
"description": "The `minItems` keyword.\n\nSee [JSON Schema Validation 6.4.2. \"minItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minLength": {
"description": "The `minLength` keyword.\n\nSee [JSON Schema Validation 6.3.2. \"minLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minProperties": {
"description": "The `minProperties` keyword.\n\nSee [JSON Schema Validation 6.5.2. \"minProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minimum": {
"description": "The `minimum` keyword.\n\nSee [JSON Schema Validation 6.2.4. \"minimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.4).",
"format": "double",
"type": [
"number",
"null"
]
},
"multipleOf": {
"description": "The `multipleOf` keyword.\n\nSee [JSON Schema Validation 6.2.1. \"multipleOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.1).",
"format": "double",
"type": [
"number",
"null"
]
},
"not": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `not` keyword.\n\nSee [JSON Schema 9.2.1.4. \"not\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.4)."
},
"oneOf": {
"description": "The `oneOf` keyword.\n\nSee [JSON Schema 9.2.1.3. \"oneOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.3).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"pattern": {
"description": "The `pattern` keyword.\n\nSee [JSON Schema Validation 6.3.3. \"pattern\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.3).",
"type": [
"string",
"null"
]
},
"patternProperties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `patternProperties` keyword.\n\nSee [JSON Schema 9.3.2.2. \"patternProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.2).",
"type": "object"
},
"properties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `properties` keyword.\n\nSee [JSON Schema 9.3.2.1. \"properties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1).",
"type": "object"
},
"propertyNames": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `propertyNames` keyword.\n\nSee [JSON Schema 9.3.2.5. \"propertyNames\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.5)."
},
"readOnly": {
"description": "The `readOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
},
"required": {
"description": "The `required` keyword.\n\nSee [JSON Schema Validation 6.5.3. \"required\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.3).",
"items": {
"type": "string"
},
"type": "array"
},
"then": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `then` keyword.\n\nSee [JSON Schema 9.2.2.2. \"then\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.2)."
},
"title": {
"description": "The `title` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"type": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_InstanceType"
},
{
"type": "null"
}
],
"description": "The `type` keyword.\n\nSee [JSON Schema Validation 6.1.1. \"type\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.1) and [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1)."
},
"uniqueItems": {
"description": "The `uniqueItems` keyword.\n\nSee [JSON Schema Validation 6.4.3. \"uniqueItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.3).",
"type": [
"boolean",
"null"
]
},
"writeOnly": {
"description": "The `writeOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
}
},
"title": "RootSchema",
"type": "object"
} | MIT | en |
GREsau/schemars | 449bb1a0ca64ddb549c95d8ebb5d210bebd187e8 | 2024-05-13T16:53:56 | schemars/tests/expected/schema_settings-2019_09.json | 732 | 2024-05-29T15:25:38.354657Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"definitions": {
"Inner": {
"oneOf": [
{
"enum": [
"UndocumentedUnit1",
"UndocumentedUnit2"
],
"type": "string"
},
{
"description": "This is a documented unit variant",
"enum": [
"DocumentedUnit"
],
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"ValueNewType": true
},
"required": [
"ValueNewType"
],
"type": "object"
}
]
}
},
"properties": {
"inner": {
"anyOf": [
{
"$ref": "#/definitions/Inner"
},
{
"type": "null"
}
]
},
"int": {
"examples": [
8,
null
],
"format": "int32",
"type": "integer"
},
"value": true,
"values": {
"additionalProperties": true,
"type": "object"
}
},
"required": [
"int",
"value",
"values"
],
"title": "Outer",
"type": "object"
} | MIT | en |
GREsau/schemars | 0198ede4b664ffab84ca5ea46603d56bfddaba9a | 2019-12-29T18:05:10 | schemars/tests/expected/schema-2019_09.json | 732 | 2024-05-29T15:25:38.354657Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": true,
"definitions": {
"InstanceType": {
"description": "The possible types of values in JSON Schema documents.\n\nSee [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1).",
"enum": [
"null",
"boolean",
"object",
"array",
"number",
"string",
"integer"
]
},
"Schema": {
"anyOf": [
{
"description": "A trivial boolean JSON Schema.\n\nThe schema `true` matches everything (always passes validation), whereas the schema `false` matches nothing (always fails validation).",
"type": "boolean"
},
{
"$ref": "#/definitions/SchemaObject",
"description": "A JSON Schema object."
}
],
"description": "A JSON Schema."
},
"SchemaObject": {
"additionalProperties": true,
"description": "A JSON Schema object.",
"properties": {
"$id": {
"description": "The `$id` keyword.\n\nSee [JSON Schema 8.2.2. The \"$id\" Keyword](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.2).",
"type": [
"string",
"null"
]
},
"$ref": {
"description": "The `$ref` keyword.\n\nSee [JSON Schema 8.2.4.1. Direct References with \"$ref\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.4.1).",
"type": [
"string",
"null"
]
},
"additionalItems": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalItems` keyword.\n\nSee [JSON Schema 9.3.1.2. \"additionalItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.2)."
},
"additionalProperties": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalProperties` keyword.\n\nSee [JSON Schema 9.3.2.3. \"additionalProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.3)."
},
"allOf": {
"description": "The `allOf` keyword.\n\nSee [JSON Schema 9.2.1.1. \"allOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.1).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"anyOf": {
"description": "The `anyOf` keyword.\n\nSee [JSON Schema 9.2.1.2. \"anyOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.2).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"const": {
"description": "The `const` keyword.\n\nSee [JSON Schema Validation 6.1.3. \"const\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.3)"
},
"contains": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `contains` keyword.\n\nSee [JSON Schema 9.3.1.4. \"contains\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.4)."
},
"default": {
"description": "The `default` keyword.\n\nSee [JSON Schema Validation 9.2. \"default\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.2)."
},
"deprecated": {
"description": "The `deprecated` keyword.\n\nSee [JSON Schema Validation 9.3. \"deprecated\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.3).",
"type": "boolean"
},
"description": {
"description": "The `description` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"else": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `else` keyword.\n\nSee [JSON Schema 9.2.2.3. \"else\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.3)."
},
"enum": {
"description": "The `enum` keyword.\n\nSee [JSON Schema Validation 6.1.2. \"enum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.2)",
"items": true,
"type": [
"array",
"null"
]
},
"exclusiveMaximum": {
"description": "The `exclusiveMaximum` keyword.\n\nSee [JSON Schema Validation 6.2.3. \"exclusiveMaximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.3).",
"format": "double",
"type": [
"number",
"null"
]
},
"exclusiveMinimum": {
"description": "The `exclusiveMinimum` keyword.\n\nSee [JSON Schema Validation 6.2.5. \"exclusiveMinimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.5).",
"format": "double",
"type": [
"number",
"null"
]
},
"format": {
"description": "The `format` keyword.\n\nSee [JSON Schema Validation 7. A Vocabulary for Semantic Content With \"format\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-7).",
"type": [
"string",
"null"
]
},
"if": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `if` keyword.\n\nSee [JSON Schema 9.2.2.1. \"if\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.1)."
},
"items": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_Schema"
},
{
"type": "null"
}
],
"description": "The `items` keyword.\n\nSee [JSON Schema 9.3.1.1. \"items\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.1)."
},
"maxItems": {
"description": "The `maxItems` keyword.\n\nSee [JSON Schema Validation 6.4.1. \"maxItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxLength": {
"description": "The `maxLength` keyword.\n\nSee [JSON Schema Validation 6.3.1. \"maxLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxProperties": {
"description": "The `maxProperties` keyword.\n\nSee [JSON Schema Validation 6.5.1. \"maxProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maximum": {
"description": "The `maximum` keyword.\n\nSee [JSON Schema Validation 6.2.2. \"maximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.2).",
"format": "double",
"type": [
"number",
"null"
]
},
"minItems": {
"description": "The `minItems` keyword.\n\nSee [JSON Schema Validation 6.4.2. \"minItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minLength": {
"description": "The `minLength` keyword.\n\nSee [JSON Schema Validation 6.3.2. \"minLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minProperties": {
"description": "The `minProperties` keyword.\n\nSee [JSON Schema Validation 6.5.2. \"minProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minimum": {
"description": "The `minimum` keyword.\n\nSee [JSON Schema Validation 6.2.4. \"minimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.4).",
"format": "double",
"type": [
"number",
"null"
]
},
"multipleOf": {
"description": "The `multipleOf` keyword.\n\nSee [JSON Schema Validation 6.2.1. \"multipleOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.1).",
"format": "double",
"type": [
"number",
"null"
]
},
"not": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `not` keyword.\n\nSee [JSON Schema 9.2.1.4. \"not\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.4)."
},
"oneOf": {
"description": "The `oneOf` keyword.\n\nSee [JSON Schema 9.2.1.3. \"oneOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.3).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"pattern": {
"description": "The `pattern` keyword.\n\nSee [JSON Schema Validation 6.3.3. \"pattern\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.3).",
"type": [
"string",
"null"
]
},
"patternProperties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `patternProperties` keyword.\n\nSee [JSON Schema 9.3.2.2. \"patternProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.2).",
"type": "object"
},
"properties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `properties` keyword.\n\nSee [JSON Schema 9.3.2.1. \"properties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1).",
"type": "object"
},
"propertyNames": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `propertyNames` keyword.\n\nSee [JSON Schema 9.3.2.5. \"propertyNames\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.5)."
},
"readOnly": {
"description": "The `readOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
},
"required": {
"description": "The `required` keyword.\n\nSee [JSON Schema Validation 6.5.3. \"required\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.3).",
"items": {
"type": "string"
},
"type": "array"
},
"then": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `then` keyword.\n\nSee [JSON Schema 9.2.2.2. \"then\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.2)."
},
"title": {
"description": "The `title` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"type": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_InstanceType"
},
{
"type": "null"
}
],
"description": "The `type` keyword.\n\nSee [JSON Schema Validation 6.1.1. \"type\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.1) and [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1)."
},
"uniqueItems": {
"description": "The `uniqueItems` keyword.\n\nSee [JSON Schema Validation 6.4.3. \"uniqueItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.3).",
"type": [
"boolean",
"null"
]
},
"writeOnly": {
"description": "The `writeOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
}
},
"type": "object"
},
"SingleOrVec_for_InstanceType": {
"anyOf": [
{
"$ref": "#/definitions/InstanceType"
},
{
"items": {
"$ref": "#/definitions/InstanceType"
},
"type": "array"
}
],
"description": "A type which can be serialized as a single item, or multiple items.\n\nIn some contexts, a `Single` may be semantically distinct from a `Vec` containing only item."
},
"SingleOrVec_for_Schema": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"items": {
"$ref": "#/definitions/Schema"
},
"type": "array"
}
],
"description": "A type which can be serialized as a single item, or multiple items.\n\nIn some contexts, a `Single` may be semantically distinct from a `Vec` containing only item."
}
},
"description": "The root object of a JSON Schema document.",
"properties": {
"$id": {
"description": "The `$id` keyword.\n\nSee [JSON Schema 8.2.2. The \"$id\" Keyword](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.2).",
"type": [
"string",
"null"
]
},
"$ref": {
"description": "The `$ref` keyword.\n\nSee [JSON Schema 8.2.4.1. Direct References with \"$ref\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.4.1).",
"type": [
"string",
"null"
]
},
"$schema": {
"description": "The `$schema` keyword.\n\nSee [JSON Schema 8.1.1. The \"$schema\" Keyword](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.1.1).",
"type": [
"string",
"null"
]
},
"additionalItems": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalItems` keyword.\n\nSee [JSON Schema 9.3.1.2. \"additionalItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.2)."
},
"additionalProperties": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalProperties` keyword.\n\nSee [JSON Schema 9.3.2.3. \"additionalProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.3)."
},
"allOf": {
"description": "The `allOf` keyword.\n\nSee [JSON Schema 9.2.1.1. \"allOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.1).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"anyOf": {
"description": "The `anyOf` keyword.\n\nSee [JSON Schema 9.2.1.2. \"anyOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.2).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"const": {
"description": "The `const` keyword.\n\nSee [JSON Schema Validation 6.1.3. \"const\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.3)"
},
"contains": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `contains` keyword.\n\nSee [JSON Schema 9.3.1.4. \"contains\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.4)."
},
"default": {
"description": "The `default` keyword.\n\nSee [JSON Schema Validation 9.2. \"default\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.2)."
},
"definitions": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `definitions` keyword.\n\nIn JSON Schema draft 2019-09 this was replaced by $defs, but in Schemars this is still serialized as `definitions` for backward-compatibility.\n\nSee [JSON Schema 8.2.5. Schema Re-Use With \"$defs\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.5), and [JSON Schema (draft 07) 9. Schema Re-Use With \"definitions\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-9).",
"type": "object"
},
"deprecated": {
"description": "The `deprecated` keyword.\n\nSee [JSON Schema Validation 9.3. \"deprecated\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.3).",
"type": "boolean"
},
"description": {
"description": "The `description` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"else": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `else` keyword.\n\nSee [JSON Schema 9.2.2.3. \"else\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.3)."
},
"enum": {
"description": "The `enum` keyword.\n\nSee [JSON Schema Validation 6.1.2. \"enum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.2)",
"items": true,
"type": [
"array",
"null"
]
},
"exclusiveMaximum": {
"description": "The `exclusiveMaximum` keyword.\n\nSee [JSON Schema Validation 6.2.3. \"exclusiveMaximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.3).",
"format": "double",
"type": [
"number",
"null"
]
},
"exclusiveMinimum": {
"description": "The `exclusiveMinimum` keyword.\n\nSee [JSON Schema Validation 6.2.5. \"exclusiveMinimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.5).",
"format": "double",
"type": [
"number",
"null"
]
},
"format": {
"description": "The `format` keyword.\n\nSee [JSON Schema Validation 7. A Vocabulary for Semantic Content With \"format\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-7).",
"type": [
"string",
"null"
]
},
"if": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `if` keyword.\n\nSee [JSON Schema 9.2.2.1. \"if\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.1)."
},
"items": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_Schema"
},
{
"type": "null"
}
],
"description": "The `items` keyword.\n\nSee [JSON Schema 9.3.1.1. \"items\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.1)."
},
"maxItems": {
"description": "The `maxItems` keyword.\n\nSee [JSON Schema Validation 6.4.1. \"maxItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxLength": {
"description": "The `maxLength` keyword.\n\nSee [JSON Schema Validation 6.3.1. \"maxLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxProperties": {
"description": "The `maxProperties` keyword.\n\nSee [JSON Schema Validation 6.5.1. \"maxProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maximum": {
"description": "The `maximum` keyword.\n\nSee [JSON Schema Validation 6.2.2. \"maximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.2).",
"format": "double",
"type": [
"number",
"null"
]
},
"minItems": {
"description": "The `minItems` keyword.\n\nSee [JSON Schema Validation 6.4.2. \"minItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minLength": {
"description": "The `minLength` keyword.\n\nSee [JSON Schema Validation 6.3.2. \"minLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minProperties": {
"description": "The `minProperties` keyword.\n\nSee [JSON Schema Validation 6.5.2. \"minProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minimum": {
"description": "The `minimum` keyword.\n\nSee [JSON Schema Validation 6.2.4. \"minimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.4).",
"format": "double",
"type": [
"number",
"null"
]
},
"multipleOf": {
"description": "The `multipleOf` keyword.\n\nSee [JSON Schema Validation 6.2.1. \"multipleOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.1).",
"format": "double",
"type": [
"number",
"null"
]
},
"not": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `not` keyword.\n\nSee [JSON Schema 9.2.1.4. \"not\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.4)."
},
"oneOf": {
"description": "The `oneOf` keyword.\n\nSee [JSON Schema 9.2.1.3. \"oneOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.3).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"pattern": {
"description": "The `pattern` keyword.\n\nSee [JSON Schema Validation 6.3.3. \"pattern\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.3).",
"type": [
"string",
"null"
]
},
"patternProperties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `patternProperties` keyword.\n\nSee [JSON Schema 9.3.2.2. \"patternProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.2).",
"type": "object"
},
"properties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `properties` keyword.\n\nSee [JSON Schema 9.3.2.1. \"properties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1).",
"type": "object"
},
"propertyNames": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `propertyNames` keyword.\n\nSee [JSON Schema 9.3.2.5. \"propertyNames\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.5)."
},
"readOnly": {
"description": "The `readOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
},
"required": {
"description": "The `required` keyword.\n\nSee [JSON Schema Validation 6.5.3. \"required\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.3).",
"items": {
"type": "string"
},
"type": "array"
},
"then": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `then` keyword.\n\nSee [JSON Schema 9.2.2.2. \"then\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.2)."
},
"title": {
"description": "The `title` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"type": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_InstanceType"
},
{
"type": "null"
}
],
"description": "The `type` keyword.\n\nSee [JSON Schema Validation 6.1.1. \"type\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.1) and [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1)."
},
"uniqueItems": {
"description": "The `uniqueItems` keyword.\n\nSee [JSON Schema Validation 6.4.3. \"uniqueItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.3).",
"type": [
"boolean",
"null"
]
},
"writeOnly": {
"description": "The `writeOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
}
},
"title": "RootSchema",
"type": "object"
} | MIT | en |
GREsau/schemars | addac6d386d3241fb730e5d3f0826a04f8f61aed | 2021-03-21T14:43:58 | schemars/tests/expected/schema-2019_09.json | 732 | 2024-05-29T15:25:38.354657Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": true,
"definitions": {
"InstanceType": {
"description": "The possible types of values in JSON Schema documents.\n\nSee [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1).",
"enum": [
"null",
"boolean",
"object",
"array",
"number",
"string",
"integer"
],
"type": "string"
},
"Schema": {
"anyOf": [
{
"description": "A trivial boolean JSON Schema.\n\nThe schema `true` matches everything (always passes validation), whereas the schema `false` matches nothing (always fails validation).",
"type": "boolean"
},
{
"$ref": "#/definitions/SchemaObject",
"description": "A JSON Schema object."
}
],
"description": "A JSON Schema."
},
"SchemaObject": {
"additionalProperties": true,
"description": "A JSON Schema object.",
"properties": {
"$id": {
"description": "The `$id` keyword.\n\nSee [JSON Schema 8.2.2. The \"$id\" Keyword](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.2).",
"type": [
"string",
"null"
]
},
"$ref": {
"description": "The `$ref` keyword.\n\nSee [JSON Schema 8.2.4.1. Direct References with \"$ref\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.4.1).",
"type": [
"string",
"null"
]
},
"additionalItems": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalItems` keyword.\n\nSee [JSON Schema 9.3.1.2. \"additionalItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.2)."
},
"additionalProperties": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalProperties` keyword.\n\nSee [JSON Schema 9.3.2.3. \"additionalProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.3)."
},
"allOf": {
"description": "The `allOf` keyword.\n\nSee [JSON Schema 9.2.1.1. \"allOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.1).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"anyOf": {
"description": "The `anyOf` keyword.\n\nSee [JSON Schema 9.2.1.2. \"anyOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.2).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"const": {
"description": "The `const` keyword.\n\nSee [JSON Schema Validation 6.1.3. \"const\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.3)"
},
"contains": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `contains` keyword.\n\nSee [JSON Schema 9.3.1.4. \"contains\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.4)."
},
"default": {
"description": "The `default` keyword.\n\nSee [JSON Schema Validation 9.2. \"default\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.2)."
},
"deprecated": {
"description": "The `deprecated` keyword.\n\nSee [JSON Schema Validation 9.3. \"deprecated\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.3).",
"type": "boolean"
},
"description": {
"description": "The `description` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"else": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `else` keyword.\n\nSee [JSON Schema 9.2.2.3. \"else\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.3)."
},
"enum": {
"description": "The `enum` keyword.\n\nSee [JSON Schema Validation 6.1.2. \"enum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.2)",
"items": true,
"type": [
"array",
"null"
]
},
"examples": {
"description": "The `examples` keyword.\n\nSee [JSON Schema Validation 9.5. \"examples\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.5).",
"items": true,
"type": "array"
},
"exclusiveMaximum": {
"description": "The `exclusiveMaximum` keyword.\n\nSee [JSON Schema Validation 6.2.3. \"exclusiveMaximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.3).",
"format": "double",
"type": [
"number",
"null"
]
},
"exclusiveMinimum": {
"description": "The `exclusiveMinimum` keyword.\n\nSee [JSON Schema Validation 6.2.5. \"exclusiveMinimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.5).",
"format": "double",
"type": [
"number",
"null"
]
},
"format": {
"description": "The `format` keyword.\n\nSee [JSON Schema Validation 7. A Vocabulary for Semantic Content With \"format\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-7).",
"type": [
"string",
"null"
]
},
"if": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `if` keyword.\n\nSee [JSON Schema 9.2.2.1. \"if\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.1)."
},
"items": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_Schema"
},
{
"type": "null"
}
],
"description": "The `items` keyword.\n\nSee [JSON Schema 9.3.1.1. \"items\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.1)."
},
"maxItems": {
"description": "The `maxItems` keyword.\n\nSee [JSON Schema Validation 6.4.1. \"maxItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxLength": {
"description": "The `maxLength` keyword.\n\nSee [JSON Schema Validation 6.3.1. \"maxLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxProperties": {
"description": "The `maxProperties` keyword.\n\nSee [JSON Schema Validation 6.5.1. \"maxProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maximum": {
"description": "The `maximum` keyword.\n\nSee [JSON Schema Validation 6.2.2. \"maximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.2).",
"format": "double",
"type": [
"number",
"null"
]
},
"minItems": {
"description": "The `minItems` keyword.\n\nSee [JSON Schema Validation 6.4.2. \"minItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minLength": {
"description": "The `minLength` keyword.\n\nSee [JSON Schema Validation 6.3.2. \"minLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minProperties": {
"description": "The `minProperties` keyword.\n\nSee [JSON Schema Validation 6.5.2. \"minProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minimum": {
"description": "The `minimum` keyword.\n\nSee [JSON Schema Validation 6.2.4. \"minimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.4).",
"format": "double",
"type": [
"number",
"null"
]
},
"multipleOf": {
"description": "The `multipleOf` keyword.\n\nSee [JSON Schema Validation 6.2.1. \"multipleOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.1).",
"format": "double",
"type": [
"number",
"null"
]
},
"not": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `not` keyword.\n\nSee [JSON Schema 9.2.1.4. \"not\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.4)."
},
"oneOf": {
"description": "The `oneOf` keyword.\n\nSee [JSON Schema 9.2.1.3. \"oneOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.3).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"pattern": {
"description": "The `pattern` keyword.\n\nSee [JSON Schema Validation 6.3.3. \"pattern\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.3).",
"type": [
"string",
"null"
]
},
"patternProperties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `patternProperties` keyword.\n\nSee [JSON Schema 9.3.2.2. \"patternProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.2).",
"type": "object"
},
"properties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `properties` keyword.\n\nSee [JSON Schema 9.3.2.1. \"properties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1).",
"type": "object"
},
"propertyNames": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `propertyNames` keyword.\n\nSee [JSON Schema 9.3.2.5. \"propertyNames\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.5)."
},
"readOnly": {
"description": "The `readOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
},
"required": {
"description": "The `required` keyword.\n\nSee [JSON Schema Validation 6.5.3. \"required\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.3).",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"then": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `then` keyword.\n\nSee [JSON Schema 9.2.2.2. \"then\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.2)."
},
"title": {
"description": "The `title` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"type": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_InstanceType"
},
{
"type": "null"
}
],
"description": "The `type` keyword.\n\nSee [JSON Schema Validation 6.1.1. \"type\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.1) and [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1)."
},
"uniqueItems": {
"description": "The `uniqueItems` keyword.\n\nSee [JSON Schema Validation 6.4.3. \"uniqueItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.3).",
"type": [
"boolean",
"null"
]
},
"writeOnly": {
"description": "The `writeOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
}
},
"type": "object"
},
"SingleOrVec_for_InstanceType": {
"anyOf": [
{
"$ref": "#/definitions/InstanceType"
},
{
"items": {
"$ref": "#/definitions/InstanceType"
},
"type": "array"
}
],
"description": "A type which can be serialized as a single item, or multiple items.\n\nIn some contexts, a `Single` may be semantically distinct from a `Vec` containing only item."
},
"SingleOrVec_for_Schema": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"items": {
"$ref": "#/definitions/Schema"
},
"type": "array"
}
],
"description": "A type which can be serialized as a single item, or multiple items.\n\nIn some contexts, a `Single` may be semantically distinct from a `Vec` containing only item."
}
},
"description": "The root object of a JSON Schema document.",
"properties": {
"$id": {
"description": "The `$id` keyword.\n\nSee [JSON Schema 8.2.2. The \"$id\" Keyword](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.2).",
"type": [
"string",
"null"
]
},
"$ref": {
"description": "The `$ref` keyword.\n\nSee [JSON Schema 8.2.4.1. Direct References with \"$ref\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.4.1).",
"type": [
"string",
"null"
]
},
"$schema": {
"description": "The `$schema` keyword.\n\nSee [JSON Schema 8.1.1. The \"$schema\" Keyword](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.1.1).",
"type": [
"string",
"null"
]
},
"additionalItems": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalItems` keyword.\n\nSee [JSON Schema 9.3.1.2. \"additionalItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.2)."
},
"additionalProperties": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalProperties` keyword.\n\nSee [JSON Schema 9.3.2.3. \"additionalProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.3)."
},
"allOf": {
"description": "The `allOf` keyword.\n\nSee [JSON Schema 9.2.1.1. \"allOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.1).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"anyOf": {
"description": "The `anyOf` keyword.\n\nSee [JSON Schema 9.2.1.2. \"anyOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.2).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"const": {
"description": "The `const` keyword.\n\nSee [JSON Schema Validation 6.1.3. \"const\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.3)"
},
"contains": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `contains` keyword.\n\nSee [JSON Schema 9.3.1.4. \"contains\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.4)."
},
"default": {
"description": "The `default` keyword.\n\nSee [JSON Schema Validation 9.2. \"default\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.2)."
},
"definitions": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `definitions` keyword.\n\nIn JSON Schema draft 2019-09 this was replaced by $defs, but in Schemars this is still serialized as `definitions` for backward-compatibility.\n\nSee [JSON Schema 8.2.5. Schema Re-Use With \"$defs\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.5), and [JSON Schema (draft 07) 9. Schema Re-Use With \"definitions\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-9).",
"type": "object"
},
"deprecated": {
"description": "The `deprecated` keyword.\n\nSee [JSON Schema Validation 9.3. \"deprecated\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.3).",
"type": "boolean"
},
"description": {
"description": "The `description` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"else": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `else` keyword.\n\nSee [JSON Schema 9.2.2.3. \"else\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.3)."
},
"enum": {
"description": "The `enum` keyword.\n\nSee [JSON Schema Validation 6.1.2. \"enum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.2)",
"items": true,
"type": [
"array",
"null"
]
},
"examples": {
"description": "The `examples` keyword.\n\nSee [JSON Schema Validation 9.5. \"examples\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.5).",
"items": true,
"type": "array"
},
"exclusiveMaximum": {
"description": "The `exclusiveMaximum` keyword.\n\nSee [JSON Schema Validation 6.2.3. \"exclusiveMaximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.3).",
"format": "double",
"type": [
"number",
"null"
]
},
"exclusiveMinimum": {
"description": "The `exclusiveMinimum` keyword.\n\nSee [JSON Schema Validation 6.2.5. \"exclusiveMinimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.5).",
"format": "double",
"type": [
"number",
"null"
]
},
"format": {
"description": "The `format` keyword.\n\nSee [JSON Schema Validation 7. A Vocabulary for Semantic Content With \"format\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-7).",
"type": [
"string",
"null"
]
},
"if": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `if` keyword.\n\nSee [JSON Schema 9.2.2.1. \"if\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.1)."
},
"items": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_Schema"
},
{
"type": "null"
}
],
"description": "The `items` keyword.\n\nSee [JSON Schema 9.3.1.1. \"items\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.1)."
},
"maxItems": {
"description": "The `maxItems` keyword.\n\nSee [JSON Schema Validation 6.4.1. \"maxItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxLength": {
"description": "The `maxLength` keyword.\n\nSee [JSON Schema Validation 6.3.1. \"maxLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxProperties": {
"description": "The `maxProperties` keyword.\n\nSee [JSON Schema Validation 6.5.1. \"maxProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maximum": {
"description": "The `maximum` keyword.\n\nSee [JSON Schema Validation 6.2.2. \"maximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.2).",
"format": "double",
"type": [
"number",
"null"
]
},
"minItems": {
"description": "The `minItems` keyword.\n\nSee [JSON Schema Validation 6.4.2. \"minItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minLength": {
"description": "The `minLength` keyword.\n\nSee [JSON Schema Validation 6.3.2. \"minLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minProperties": {
"description": "The `minProperties` keyword.\n\nSee [JSON Schema Validation 6.5.2. \"minProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minimum": {
"description": "The `minimum` keyword.\n\nSee [JSON Schema Validation 6.2.4. \"minimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.4).",
"format": "double",
"type": [
"number",
"null"
]
},
"multipleOf": {
"description": "The `multipleOf` keyword.\n\nSee [JSON Schema Validation 6.2.1. \"multipleOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.1).",
"format": "double",
"type": [
"number",
"null"
]
},
"not": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `not` keyword.\n\nSee [JSON Schema 9.2.1.4. \"not\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.4)."
},
"oneOf": {
"description": "The `oneOf` keyword.\n\nSee [JSON Schema 9.2.1.3. \"oneOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.3).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"pattern": {
"description": "The `pattern` keyword.\n\nSee [JSON Schema Validation 6.3.3. \"pattern\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.3).",
"type": [
"string",
"null"
]
},
"patternProperties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `patternProperties` keyword.\n\nSee [JSON Schema 9.3.2.2. \"patternProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.2).",
"type": "object"
},
"properties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `properties` keyword.\n\nSee [JSON Schema 9.3.2.1. \"properties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1).",
"type": "object"
},
"propertyNames": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `propertyNames` keyword.\n\nSee [JSON Schema 9.3.2.5. \"propertyNames\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.5)."
},
"readOnly": {
"description": "The `readOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
},
"required": {
"description": "The `required` keyword.\n\nSee [JSON Schema Validation 6.5.3. \"required\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.3).",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"then": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `then` keyword.\n\nSee [JSON Schema 9.2.2.2. \"then\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.2)."
},
"title": {
"description": "The `title` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"type": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_InstanceType"
},
{
"type": "null"
}
],
"description": "The `type` keyword.\n\nSee [JSON Schema Validation 6.1.1. \"type\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.1) and [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1)."
},
"uniqueItems": {
"description": "The `uniqueItems` keyword.\n\nSee [JSON Schema Validation 6.4.3. \"uniqueItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.3).",
"type": [
"boolean",
"null"
]
},
"writeOnly": {
"description": "The `writeOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
}
},
"title": "RootSchema",
"type": "object"
} | MIT | en |
GREsau/schemars | ea351f3b422c0b2d49d4b16fcb5ce3ac670ad088 | 2020-05-16T09:41:30 | schemars/tests/expected/schema-2019_09.json | 732 | 2024-05-29T15:25:38.354657Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": true,
"definitions": {
"InstanceType": {
"description": "The possible types of values in JSON Schema documents.\n\nSee [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1).",
"enum": [
"null",
"boolean",
"object",
"array",
"number",
"string",
"integer"
],
"type": "string"
},
"Schema": {
"anyOf": [
{
"description": "A trivial boolean JSON Schema.\n\nThe schema `true` matches everything (always passes validation), whereas the schema `false` matches nothing (always fails validation).",
"type": "boolean"
},
{
"$ref": "#/definitions/SchemaObject",
"description": "A JSON Schema object."
}
],
"description": "A JSON Schema."
},
"SchemaObject": {
"additionalProperties": true,
"description": "A JSON Schema object.",
"properties": {
"$id": {
"description": "The `$id` keyword.\n\nSee [JSON Schema 8.2.2. The \"$id\" Keyword](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.2).",
"type": [
"string",
"null"
]
},
"$ref": {
"description": "The `$ref` keyword.\n\nSee [JSON Schema 8.2.4.1. Direct References with \"$ref\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.4.1).",
"type": [
"string",
"null"
]
},
"additionalItems": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalItems` keyword.\n\nSee [JSON Schema 9.3.1.2. \"additionalItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.2)."
},
"additionalProperties": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalProperties` keyword.\n\nSee [JSON Schema 9.3.2.3. \"additionalProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.3)."
},
"allOf": {
"description": "The `allOf` keyword.\n\nSee [JSON Schema 9.2.1.1. \"allOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.1).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"anyOf": {
"description": "The `anyOf` keyword.\n\nSee [JSON Schema 9.2.1.2. \"anyOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.2).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"const": {
"description": "The `const` keyword.\n\nSee [JSON Schema Validation 6.1.3. \"const\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.3)"
},
"contains": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `contains` keyword.\n\nSee [JSON Schema 9.3.1.4. \"contains\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.4)."
},
"default": {
"description": "The `default` keyword.\n\nSee [JSON Schema Validation 9.2. \"default\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.2)."
},
"deprecated": {
"description": "The `deprecated` keyword.\n\nSee [JSON Schema Validation 9.3. \"deprecated\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.3).",
"type": "boolean"
},
"description": {
"description": "The `description` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"else": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `else` keyword.\n\nSee [JSON Schema 9.2.2.3. \"else\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.3)."
},
"enum": {
"description": "The `enum` keyword.\n\nSee [JSON Schema Validation 6.1.2. \"enum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.2)",
"items": true,
"type": [
"array",
"null"
]
},
"examples": {
"description": "The `examples` keyword.\n\nSee [JSON Schema Validation 9.5. \"examples\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.5).",
"items": true,
"type": "array"
},
"exclusiveMaximum": {
"description": "The `exclusiveMaximum` keyword.\n\nSee [JSON Schema Validation 6.2.3. \"exclusiveMaximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.3).",
"format": "double",
"type": [
"number",
"null"
]
},
"exclusiveMinimum": {
"description": "The `exclusiveMinimum` keyword.\n\nSee [JSON Schema Validation 6.2.5. \"exclusiveMinimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.5).",
"format": "double",
"type": [
"number",
"null"
]
},
"format": {
"description": "The `format` keyword.\n\nSee [JSON Schema Validation 7. A Vocabulary for Semantic Content With \"format\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-7).",
"type": [
"string",
"null"
]
},
"if": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `if` keyword.\n\nSee [JSON Schema 9.2.2.1. \"if\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.1)."
},
"items": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_Schema"
},
{
"type": "null"
}
],
"description": "The `items` keyword.\n\nSee [JSON Schema 9.3.1.1. \"items\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.1)."
},
"maxItems": {
"description": "The `maxItems` keyword.\n\nSee [JSON Schema Validation 6.4.1. \"maxItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxLength": {
"description": "The `maxLength` keyword.\n\nSee [JSON Schema Validation 6.3.1. \"maxLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxProperties": {
"description": "The `maxProperties` keyword.\n\nSee [JSON Schema Validation 6.5.1. \"maxProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maximum": {
"description": "The `maximum` keyword.\n\nSee [JSON Schema Validation 6.2.2. \"maximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.2).",
"format": "double",
"type": [
"number",
"null"
]
},
"minItems": {
"description": "The `minItems` keyword.\n\nSee [JSON Schema Validation 6.4.2. \"minItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minLength": {
"description": "The `minLength` keyword.\n\nSee [JSON Schema Validation 6.3.2. \"minLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minProperties": {
"description": "The `minProperties` keyword.\n\nSee [JSON Schema Validation 6.5.2. \"minProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minimum": {
"description": "The `minimum` keyword.\n\nSee [JSON Schema Validation 6.2.4. \"minimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.4).",
"format": "double",
"type": [
"number",
"null"
]
},
"multipleOf": {
"description": "The `multipleOf` keyword.\n\nSee [JSON Schema Validation 6.2.1. \"multipleOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.1).",
"format": "double",
"type": [
"number",
"null"
]
},
"not": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `not` keyword.\n\nSee [JSON Schema 9.2.1.4. \"not\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.4)."
},
"oneOf": {
"description": "The `oneOf` keyword.\n\nSee [JSON Schema 9.2.1.3. \"oneOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.3).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"pattern": {
"description": "The `pattern` keyword.\n\nSee [JSON Schema Validation 6.3.3. \"pattern\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.3).",
"type": [
"string",
"null"
]
},
"patternProperties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `patternProperties` keyword.\n\nSee [JSON Schema 9.3.2.2. \"patternProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.2).",
"type": "object"
},
"properties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `properties` keyword.\n\nSee [JSON Schema 9.3.2.1. \"properties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1).",
"type": "object"
},
"propertyNames": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `propertyNames` keyword.\n\nSee [JSON Schema 9.3.2.5. \"propertyNames\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.5)."
},
"readOnly": {
"description": "The `readOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
},
"required": {
"description": "The `required` keyword.\n\nSee [JSON Schema Validation 6.5.3. \"required\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.3).",
"items": {
"type": "string"
},
"type": "array"
},
"then": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `then` keyword.\n\nSee [JSON Schema 9.2.2.2. \"then\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.2)."
},
"title": {
"description": "The `title` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"type": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_InstanceType"
},
{
"type": "null"
}
],
"description": "The `type` keyword.\n\nSee [JSON Schema Validation 6.1.1. \"type\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.1) and [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1)."
},
"uniqueItems": {
"description": "The `uniqueItems` keyword.\n\nSee [JSON Schema Validation 6.4.3. \"uniqueItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.3).",
"type": [
"boolean",
"null"
]
},
"writeOnly": {
"description": "The `writeOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
}
},
"type": "object"
},
"SingleOrVec_for_InstanceType": {
"anyOf": [
{
"$ref": "#/definitions/InstanceType"
},
{
"items": {
"$ref": "#/definitions/InstanceType"
},
"type": "array"
}
],
"description": "A type which can be serialized as a single item, or multiple items.\n\nIn some contexts, a `Single` may be semantically distinct from a `Vec` containing only item."
},
"SingleOrVec_for_Schema": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"items": {
"$ref": "#/definitions/Schema"
},
"type": "array"
}
],
"description": "A type which can be serialized as a single item, or multiple items.\n\nIn some contexts, a `Single` may be semantically distinct from a `Vec` containing only item."
}
},
"description": "The root object of a JSON Schema document.",
"properties": {
"$id": {
"description": "The `$id` keyword.\n\nSee [JSON Schema 8.2.2. The \"$id\" Keyword](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.2).",
"type": [
"string",
"null"
]
},
"$ref": {
"description": "The `$ref` keyword.\n\nSee [JSON Schema 8.2.4.1. Direct References with \"$ref\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.4.1).",
"type": [
"string",
"null"
]
},
"$schema": {
"description": "The `$schema` keyword.\n\nSee [JSON Schema 8.1.1. The \"$schema\" Keyword](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.1.1).",
"type": [
"string",
"null"
]
},
"additionalItems": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalItems` keyword.\n\nSee [JSON Schema 9.3.1.2. \"additionalItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.2)."
},
"additionalProperties": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalProperties` keyword.\n\nSee [JSON Schema 9.3.2.3. \"additionalProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.3)."
},
"allOf": {
"description": "The `allOf` keyword.\n\nSee [JSON Schema 9.2.1.1. \"allOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.1).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"anyOf": {
"description": "The `anyOf` keyword.\n\nSee [JSON Schema 9.2.1.2. \"anyOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.2).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"const": {
"description": "The `const` keyword.\n\nSee [JSON Schema Validation 6.1.3. \"const\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.3)"
},
"contains": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `contains` keyword.\n\nSee [JSON Schema 9.3.1.4. \"contains\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.4)."
},
"default": {
"description": "The `default` keyword.\n\nSee [JSON Schema Validation 9.2. \"default\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.2)."
},
"definitions": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `definitions` keyword.\n\nIn JSON Schema draft 2019-09 this was replaced by $defs, but in Schemars this is still serialized as `definitions` for backward-compatibility.\n\nSee [JSON Schema 8.2.5. Schema Re-Use With \"$defs\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.5), and [JSON Schema (draft 07) 9. Schema Re-Use With \"definitions\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-9).",
"type": "object"
},
"deprecated": {
"description": "The `deprecated` keyword.\n\nSee [JSON Schema Validation 9.3. \"deprecated\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.3).",
"type": "boolean"
},
"description": {
"description": "The `description` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"else": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `else` keyword.\n\nSee [JSON Schema 9.2.2.3. \"else\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.3)."
},
"enum": {
"description": "The `enum` keyword.\n\nSee [JSON Schema Validation 6.1.2. \"enum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.2)",
"items": true,
"type": [
"array",
"null"
]
},
"examples": {
"description": "The `examples` keyword.\n\nSee [JSON Schema Validation 9.5. \"examples\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.5).",
"items": true,
"type": "array"
},
"exclusiveMaximum": {
"description": "The `exclusiveMaximum` keyword.\n\nSee [JSON Schema Validation 6.2.3. \"exclusiveMaximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.3).",
"format": "double",
"type": [
"number",
"null"
]
},
"exclusiveMinimum": {
"description": "The `exclusiveMinimum` keyword.\n\nSee [JSON Schema Validation 6.2.5. \"exclusiveMinimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.5).",
"format": "double",
"type": [
"number",
"null"
]
},
"format": {
"description": "The `format` keyword.\n\nSee [JSON Schema Validation 7. A Vocabulary for Semantic Content With \"format\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-7).",
"type": [
"string",
"null"
]
},
"if": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `if` keyword.\n\nSee [JSON Schema 9.2.2.1. \"if\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.1)."
},
"items": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_Schema"
},
{
"type": "null"
}
],
"description": "The `items` keyword.\n\nSee [JSON Schema 9.3.1.1. \"items\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.1)."
},
"maxItems": {
"description": "The `maxItems` keyword.\n\nSee [JSON Schema Validation 6.4.1. \"maxItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxLength": {
"description": "The `maxLength` keyword.\n\nSee [JSON Schema Validation 6.3.1. \"maxLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxProperties": {
"description": "The `maxProperties` keyword.\n\nSee [JSON Schema Validation 6.5.1. \"maxProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maximum": {
"description": "The `maximum` keyword.\n\nSee [JSON Schema Validation 6.2.2. \"maximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.2).",
"format": "double",
"type": [
"number",
"null"
]
},
"minItems": {
"description": "The `minItems` keyword.\n\nSee [JSON Schema Validation 6.4.2. \"minItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minLength": {
"description": "The `minLength` keyword.\n\nSee [JSON Schema Validation 6.3.2. \"minLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minProperties": {
"description": "The `minProperties` keyword.\n\nSee [JSON Schema Validation 6.5.2. \"minProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minimum": {
"description": "The `minimum` keyword.\n\nSee [JSON Schema Validation 6.2.4. \"minimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.4).",
"format": "double",
"type": [
"number",
"null"
]
},
"multipleOf": {
"description": "The `multipleOf` keyword.\n\nSee [JSON Schema Validation 6.2.1. \"multipleOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.1).",
"format": "double",
"type": [
"number",
"null"
]
},
"not": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `not` keyword.\n\nSee [JSON Schema 9.2.1.4. \"not\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.4)."
},
"oneOf": {
"description": "The `oneOf` keyword.\n\nSee [JSON Schema 9.2.1.3. \"oneOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.3).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"pattern": {
"description": "The `pattern` keyword.\n\nSee [JSON Schema Validation 6.3.3. \"pattern\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.3).",
"type": [
"string",
"null"
]
},
"patternProperties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `patternProperties` keyword.\n\nSee [JSON Schema 9.3.2.2. \"patternProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.2).",
"type": "object"
},
"properties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `properties` keyword.\n\nSee [JSON Schema 9.3.2.1. \"properties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1).",
"type": "object"
},
"propertyNames": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `propertyNames` keyword.\n\nSee [JSON Schema 9.3.2.5. \"propertyNames\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.5)."
},
"readOnly": {
"description": "The `readOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
},
"required": {
"description": "The `required` keyword.\n\nSee [JSON Schema Validation 6.5.3. \"required\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.3).",
"items": {
"type": "string"
},
"type": "array"
},
"then": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `then` keyword.\n\nSee [JSON Schema 9.2.2.2. \"then\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.2)."
},
"title": {
"description": "The `title` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"type": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_InstanceType"
},
{
"type": "null"
}
],
"description": "The `type` keyword.\n\nSee [JSON Schema Validation 6.1.1. \"type\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.1) and [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1)."
},
"uniqueItems": {
"description": "The `uniqueItems` keyword.\n\nSee [JSON Schema Validation 6.4.3. \"uniqueItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.3).",
"type": [
"boolean",
"null"
]
},
"writeOnly": {
"description": "The `writeOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
}
},
"title": "RootSchema",
"type": "object"
} | MIT | en |
GREsau/schemars | a8292671114aabe6bce06fbdbeb3c5515c2fa873 | 2020-06-04T18:23:36 | schemars/tests/expected/doc_comments_struct_ref_siblings.json | 732 | 2024-05-29T15:25:38.354657Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"definitions": {
"MyUnitStruct": {
"title": "A Unit",
"type": "null"
}
},
"description": "This is the struct's description.",
"properties": {
"my_int": {
"format": "int32",
"title": "An integer",
"type": "integer"
},
"my_undocumented_bool": {
"type": "boolean"
},
"my_unit": {
"$ref": "#/definitions/MyUnitStruct",
"description": "A unit struct instance"
}
},
"required": [
"my_int",
"my_undocumented_bool",
"my_unit"
],
"title": "This is the struct's title",
"type": "object"
} | MIT | en |
GREsau/schemars | 04996efeb3e0d753569ffe30b4458ae15d754dbb | 2021-03-25T19:47:36 | schemars/tests/expected/from_value_2019_09.json | 732 | 2024-05-29T15:25:38.354657Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"examples": [
{
"myBool": true,
"myInnerStruct": {
"my_empty_map": {},
"my_empty_vec": [],
"my_map": {
"": 0.0
},
"my_tuple": [
"\ud83d\udca9",
42
],
"my_vec": [
"hello",
"world"
]
},
"myInt": 123,
"myNullableEnum": null
}
],
"properties": {
"myBool": {
"type": "boolean"
},
"myInnerStruct": {
"properties": {
"my_empty_map": {
"additionalProperties": true,
"type": "object"
},
"my_empty_vec": {
"items": true,
"type": "array"
},
"my_map": {
"additionalProperties": {
"type": "number"
},
"type": "object"
},
"my_tuple": {
"items": [
{
"maxLength": 1,
"minLength": 1,
"type": "string"
},
{
"type": "integer"
}
],
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"my_vec": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"myInt": {
"type": "integer"
},
"myNullableEnum": true
},
"title": "MyStruct",
"type": "object"
} | MIT | en |
GREsau/schemars | 5ddd44a9e59f238b4c4443f6a3169478665fef9b | 2020-09-24T19:47:46 | schemars/tests/expected/schema-2019_09.json | 732 | 2024-05-29T15:25:38.354657Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": true,
"definitions": {
"InstanceType": {
"description": "The possible types of values in JSON Schema documents.\n\nSee [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1).",
"enum": [
"null",
"boolean",
"object",
"array",
"number",
"string",
"integer"
],
"type": "string"
},
"Schema": {
"anyOf": [
{
"description": "A trivial boolean JSON Schema.\n\nThe schema `true` matches everything (always passes validation), whereas the schema `false` matches nothing (always fails validation).",
"type": "boolean"
},
{
"$ref": "#/definitions/SchemaObject",
"description": "A JSON Schema object."
}
],
"description": "A JSON Schema."
},
"SchemaObject": {
"additionalProperties": true,
"description": "A JSON Schema object.",
"properties": {
"$id": {
"description": "The `$id` keyword.\n\nSee [JSON Schema 8.2.2. The \"$id\" Keyword](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.2).",
"type": [
"string",
"null"
]
},
"$ref": {
"description": "The `$ref` keyword.\n\nSee [JSON Schema 8.2.4.1. Direct References with \"$ref\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.4.1).",
"type": [
"string",
"null"
]
},
"additionalItems": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalItems` keyword.\n\nSee [JSON Schema 9.3.1.2. \"additionalItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.2)."
},
"additionalProperties": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalProperties` keyword.\n\nSee [JSON Schema 9.3.2.3. \"additionalProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.3)."
},
"allOf": {
"description": "The `allOf` keyword.\n\nSee [JSON Schema 9.2.1.1. \"allOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.1).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"anyOf": {
"description": "The `anyOf` keyword.\n\nSee [JSON Schema 9.2.1.2. \"anyOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.2).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"const": {
"description": "The `const` keyword.\n\nSee [JSON Schema Validation 6.1.3. \"const\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.3)"
},
"contains": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `contains` keyword.\n\nSee [JSON Schema 9.3.1.4. \"contains\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.4)."
},
"default": {
"description": "The `default` keyword.\n\nSee [JSON Schema Validation 9.2. \"default\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.2)."
},
"deprecated": {
"description": "The `deprecated` keyword.\n\nSee [JSON Schema Validation 9.3. \"deprecated\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.3).",
"type": "boolean"
},
"description": {
"description": "The `description` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"else": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `else` keyword.\n\nSee [JSON Schema 9.2.2.3. \"else\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.3)."
},
"enum": {
"description": "The `enum` keyword.\n\nSee [JSON Schema Validation 6.1.2. \"enum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.2)",
"items": true,
"type": [
"array",
"null"
]
},
"examples": {
"description": "The `examples` keyword.\n\nSee [JSON Schema Validation 9.5. \"examples\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.5).",
"items": true,
"type": "array"
},
"exclusiveMaximum": {
"description": "The `exclusiveMaximum` keyword.\n\nSee [JSON Schema Validation 6.2.3. \"exclusiveMaximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.3).",
"format": "double",
"type": [
"number",
"null"
]
},
"exclusiveMinimum": {
"description": "The `exclusiveMinimum` keyword.\n\nSee [JSON Schema Validation 6.2.5. \"exclusiveMinimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.5).",
"format": "double",
"type": [
"number",
"null"
]
},
"format": {
"description": "The `format` keyword.\n\nSee [JSON Schema Validation 7. A Vocabulary for Semantic Content With \"format\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-7).",
"type": [
"string",
"null"
]
},
"if": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `if` keyword.\n\nSee [JSON Schema 9.2.2.1. \"if\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.1)."
},
"items": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_Schema"
},
{
"type": "null"
}
],
"description": "The `items` keyword.\n\nSee [JSON Schema 9.3.1.1. \"items\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.1)."
},
"maxItems": {
"description": "The `maxItems` keyword.\n\nSee [JSON Schema Validation 6.4.1. \"maxItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxLength": {
"description": "The `maxLength` keyword.\n\nSee [JSON Schema Validation 6.3.1. \"maxLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxProperties": {
"description": "The `maxProperties` keyword.\n\nSee [JSON Schema Validation 6.5.1. \"maxProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maximum": {
"description": "The `maximum` keyword.\n\nSee [JSON Schema Validation 6.2.2. \"maximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.2).",
"format": "double",
"type": [
"number",
"null"
]
},
"minItems": {
"description": "The `minItems` keyword.\n\nSee [JSON Schema Validation 6.4.2. \"minItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minLength": {
"description": "The `minLength` keyword.\n\nSee [JSON Schema Validation 6.3.2. \"minLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minProperties": {
"description": "The `minProperties` keyword.\n\nSee [JSON Schema Validation 6.5.2. \"minProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minimum": {
"description": "The `minimum` keyword.\n\nSee [JSON Schema Validation 6.2.4. \"minimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.4).",
"format": "double",
"type": [
"number",
"null"
]
},
"multipleOf": {
"description": "The `multipleOf` keyword.\n\nSee [JSON Schema Validation 6.2.1. \"multipleOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.1).",
"format": "double",
"type": [
"number",
"null"
]
},
"not": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `not` keyword.\n\nSee [JSON Schema 9.2.1.4. \"not\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.4)."
},
"oneOf": {
"description": "The `oneOf` keyword.\n\nSee [JSON Schema 9.2.1.3. \"oneOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.3).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"pattern": {
"description": "The `pattern` keyword.\n\nSee [JSON Schema Validation 6.3.3. \"pattern\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.3).",
"type": [
"string",
"null"
]
},
"patternProperties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `patternProperties` keyword.\n\nSee [JSON Schema 9.3.2.2. \"patternProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.2).",
"type": "object"
},
"properties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `properties` keyword.\n\nSee [JSON Schema 9.3.2.1. \"properties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1).",
"type": "object"
},
"propertyNames": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `propertyNames` keyword.\n\nSee [JSON Schema 9.3.2.5. \"propertyNames\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.5)."
},
"readOnly": {
"description": "The `readOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
},
"required": {
"description": "The `required` keyword.\n\nSee [JSON Schema Validation 6.5.3. \"required\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.3).",
"items": {
"type": "string"
},
"type": "array"
},
"then": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `then` keyword.\n\nSee [JSON Schema 9.2.2.2. \"then\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.2)."
},
"title": {
"description": "The `title` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"type": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_InstanceType"
},
{
"type": "null"
}
],
"description": "The `type` keyword.\n\nSee [JSON Schema Validation 6.1.1. \"type\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.1) and [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1)."
},
"uniqueItems": {
"description": "The `uniqueItems` keyword.\n\nSee [JSON Schema Validation 6.4.3. \"uniqueItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.3).",
"type": [
"boolean",
"null"
]
},
"writeOnly": {
"description": "The `writeOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
}
},
"type": "object"
},
"SingleOrVec_for_InstanceType": {
"anyOf": [
{
"$ref": "#/definitions/InstanceType"
},
{
"items": {
"$ref": "#/definitions/InstanceType"
},
"type": "array"
}
],
"description": "A type which can be serialized as a single item, or multiple items.\n\nIn some contexts, a `Single` may be semantically distinct from a `Vec` containing only item."
},
"SingleOrVec_for_Schema": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"items": {
"$ref": "#/definitions/Schema"
},
"type": "array"
}
],
"description": "A type which can be serialized as a single item, or multiple items.\n\nIn some contexts, a `Single` may be semantically distinct from a `Vec` containing only item."
}
},
"description": "The root object of a JSON Schema document.",
"properties": {
"$id": {
"description": "The `$id` keyword.\n\nSee [JSON Schema 8.2.2. The \"$id\" Keyword](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.2).",
"type": [
"string",
"null"
]
},
"$ref": {
"description": "The `$ref` keyword.\n\nSee [JSON Schema 8.2.4.1. Direct References with \"$ref\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.4.1).",
"type": [
"string",
"null"
]
},
"$schema": {
"description": "The `$schema` keyword.\n\nSee [JSON Schema 8.1.1. The \"$schema\" Keyword](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.1.1).",
"type": [
"string",
"null"
]
},
"additionalItems": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalItems` keyword.\n\nSee [JSON Schema 9.3.1.2. \"additionalItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.2)."
},
"additionalProperties": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `additionalProperties` keyword.\n\nSee [JSON Schema 9.3.2.3. \"additionalProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.3)."
},
"allOf": {
"description": "The `allOf` keyword.\n\nSee [JSON Schema 9.2.1.1. \"allOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.1).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"anyOf": {
"description": "The `anyOf` keyword.\n\nSee [JSON Schema 9.2.1.2. \"anyOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.2).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"const": {
"description": "The `const` keyword.\n\nSee [JSON Schema Validation 6.1.3. \"const\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.3)"
},
"contains": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `contains` keyword.\n\nSee [JSON Schema 9.3.1.4. \"contains\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.4)."
},
"default": {
"description": "The `default` keyword.\n\nSee [JSON Schema Validation 9.2. \"default\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.2)."
},
"definitions": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `definitions` keyword.\n\nIn JSON Schema draft 2019-09 this was replaced by $defs, but in Schemars this is still serialized as `definitions` for backward-compatibility.\n\nSee [JSON Schema 8.2.5. Schema Re-Use With \"$defs\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.5), and [JSON Schema (draft 07) 9. Schema Re-Use With \"definitions\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-9).",
"type": "object"
},
"deprecated": {
"description": "The `deprecated` keyword.\n\nSee [JSON Schema Validation 9.3. \"deprecated\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.3).",
"type": "boolean"
},
"description": {
"description": "The `description` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"else": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `else` keyword.\n\nSee [JSON Schema 9.2.2.3. \"else\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.3)."
},
"enum": {
"description": "The `enum` keyword.\n\nSee [JSON Schema Validation 6.1.2. \"enum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.2)",
"items": true,
"type": [
"array",
"null"
]
},
"examples": {
"description": "The `examples` keyword.\n\nSee [JSON Schema Validation 9.5. \"examples\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.5).",
"items": true,
"type": "array"
},
"exclusiveMaximum": {
"description": "The `exclusiveMaximum` keyword.\n\nSee [JSON Schema Validation 6.2.3. \"exclusiveMaximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.3).",
"format": "double",
"type": [
"number",
"null"
]
},
"exclusiveMinimum": {
"description": "The `exclusiveMinimum` keyword.\n\nSee [JSON Schema Validation 6.2.5. \"exclusiveMinimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.5).",
"format": "double",
"type": [
"number",
"null"
]
},
"format": {
"description": "The `format` keyword.\n\nSee [JSON Schema Validation 7. A Vocabulary for Semantic Content With \"format\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-7).",
"type": [
"string",
"null"
]
},
"if": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `if` keyword.\n\nSee [JSON Schema 9.2.2.1. \"if\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.1)."
},
"items": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_Schema"
},
{
"type": "null"
}
],
"description": "The `items` keyword.\n\nSee [JSON Schema 9.3.1.1. \"items\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.1)."
},
"maxItems": {
"description": "The `maxItems` keyword.\n\nSee [JSON Schema Validation 6.4.1. \"maxItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxLength": {
"description": "The `maxLength` keyword.\n\nSee [JSON Schema Validation 6.3.1. \"maxLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maxProperties": {
"description": "The `maxProperties` keyword.\n\nSee [JSON Schema Validation 6.5.1. \"maxProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.1).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"maximum": {
"description": "The `maximum` keyword.\n\nSee [JSON Schema Validation 6.2.2. \"maximum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.2).",
"format": "double",
"type": [
"number",
"null"
]
},
"minItems": {
"description": "The `minItems` keyword.\n\nSee [JSON Schema Validation 6.4.2. \"minItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minLength": {
"description": "The `minLength` keyword.\n\nSee [JSON Schema Validation 6.3.2. \"minLength\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minProperties": {
"description": "The `minProperties` keyword.\n\nSee [JSON Schema Validation 6.5.2. \"minProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.2).",
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"minimum": {
"description": "The `minimum` keyword.\n\nSee [JSON Schema Validation 6.2.4. \"minimum\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.4).",
"format": "double",
"type": [
"number",
"null"
]
},
"multipleOf": {
"description": "The `multipleOf` keyword.\n\nSee [JSON Schema Validation 6.2.1. \"multipleOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.1).",
"format": "double",
"type": [
"number",
"null"
]
},
"not": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `not` keyword.\n\nSee [JSON Schema 9.2.1.4. \"not\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.4)."
},
"oneOf": {
"description": "The `oneOf` keyword.\n\nSee [JSON Schema 9.2.1.3. \"oneOf\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.3).",
"items": {
"$ref": "#/definitions/Schema"
},
"type": [
"array",
"null"
]
},
"pattern": {
"description": "The `pattern` keyword.\n\nSee [JSON Schema Validation 6.3.3. \"pattern\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.3).",
"type": [
"string",
"null"
]
},
"patternProperties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `patternProperties` keyword.\n\nSee [JSON Schema 9.3.2.2. \"patternProperties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.2).",
"type": "object"
},
"properties": {
"additionalProperties": {
"$ref": "#/definitions/Schema"
},
"description": "The `properties` keyword.\n\nSee [JSON Schema 9.3.2.1. \"properties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1).",
"type": "object"
},
"propertyNames": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `propertyNames` keyword.\n\nSee [JSON Schema 9.3.2.5. \"propertyNames\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.5)."
},
"readOnly": {
"description": "The `readOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
},
"required": {
"description": "The `required` keyword.\n\nSee [JSON Schema Validation 6.5.3. \"required\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.3).",
"items": {
"type": "string"
},
"type": "array"
},
"then": {
"anyOf": [
{
"$ref": "#/definitions/Schema"
},
{
"type": "null"
}
],
"description": "The `then` keyword.\n\nSee [JSON Schema 9.2.2.2. \"then\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.2)."
},
"title": {
"description": "The `title` keyword.\n\nSee [JSON Schema Validation 9.1. \"title\" and \"description\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1).",
"type": [
"string",
"null"
]
},
"type": {
"anyOf": [
{
"$ref": "#/definitions/SingleOrVec_for_InstanceType"
},
{
"type": "null"
}
],
"description": "The `type` keyword.\n\nSee [JSON Schema Validation 6.1.1. \"type\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.1) and [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1)."
},
"uniqueItems": {
"description": "The `uniqueItems` keyword.\n\nSee [JSON Schema Validation 6.4.3. \"uniqueItems\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.3).",
"type": [
"boolean",
"null"
]
},
"writeOnly": {
"description": "The `writeOnly` keyword.\n\nSee [JSON Schema Validation 9.4. \"readOnly\" and \"writeOnly\"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4).",
"type": "boolean"
}
},
"title": "RootSchema",
"type": "object"
} | MIT | en |
elixir-europe/biovalidator | 3072b3f59960e7d29b175f98a62c47e1b7849712 | 2022-02-14T13:35:26 | examples/schemas/draft2019-9-support-schema.json | 17 | 2024-05-28T01:41:32.357441Z | {
"$id": "test_schema_X",
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"sample_labels": {
"additionalProperties": false,
"items": {
"additionalProperties": false,
"properties": {
"label": {
"type": "string"
}
},
"required": [
"label"
],
"type": "object"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"sample_labels"
],
"type": "object"
} | Apache-2.0 | en |
chanced/openapi | 420c91b8b547fbb25721357c6c17ebbc6f386a87 | 2022-09-22T05:16:44 | testdata/schemas/tree.json | 25 | 2024-05-27T05:06:04.444394Z | {
"$dynamicAnchor": "node",
"$id": "https://example.com/tree",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"discriminator": {
"propertyName": "type",
"x-extension": true
},
"properties": {
"children": {
"items": {
"$dynamicRef": "#node"
},
"type": "array"
},
"data": true
},
"type": "object"
} | MIT | en |
chanced/openapi | 420c91b8b547fbb25721357c6c17ebbc6f386a87 | 2022-09-22T05:16:44 | testdata/schemas/list-of-strings.json | 25 | 2024-05-27T05:06:04.444394Z | {
"$defs": {
"string-items": {
"$comment": "A string item",
"$dynamicAnchor": "T",
"type": "string"
}
},
"$id": "https://json-schema.blog/list-of-strings",
"$ref": "/list-of-t",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | MIT | en |
chanced/openapi | 420c91b8b547fbb25721357c6c17ebbc6f386a87 | 2022-09-22T05:16:44 | testdata/schemas/list-of-t.json | 25 | 2024-05-27T05:06:04.444394Z | {
"$defs": {
"content": {
"$dynamicAnchor": "T",
"not": true
}
},
"$id": "https://json-schema.blog/list-of-t",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"items": {
"$dynamicRef": "#T"
},
"type": "array"
} | MIT | en |
dbt-labs/dbt-core | 0ab954e1af9bb2be01fa4ebad2df7626249a1fab | 2023-12-06T01:36:43 | schemas/dbt/sources/v3.json | 9,025 | 2024-05-29T16:12:08.170831Z | {
"$id": "https://schemas.getdbt.com/dbt/sources/v3.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"elapsed_time": {
"type": "number"
},
"metadata": {
"additionalProperties": false,
"properties": {
"dbt_schema_version": {
"type": "string"
},
"dbt_version": {
"default": "1.8.0a1",
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"generated_at": {
"type": "string"
},
"invocation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"title": "FreshnessMetadata",
"type": "object"
},
"results": {
"items": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "null"
}
]
},
"status": {
"enum": [
"runtime error"
]
},
"unique_id": {
"type": "string"
}
},
"required": [
"unique_id",
"error",
"status"
],
"title": "SourceFreshnessRuntimeError",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"adapter_response": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"criteria": {
"additionalProperties": false,
"properties": {
"error_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
},
"filter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"warn_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
}
},
"title": "FreshnessThreshold",
"type": "object"
},
"execution_time": {
"type": "number"
},
"max_loaded_at": {
"type": "string"
},
"max_loaded_at_time_ago_in_s": {
"type": "number"
},
"snapshotted_at": {
"type": "string"
},
"status": {
"enum": [
"pass",
"warn",
"error",
"runtime error"
]
},
"thread_id": {
"type": "string"
},
"timing": {
"items": {
"additionalProperties": false,
"properties": {
"completed_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"started_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "TimingInfo",
"type": "object"
},
"type": "array"
},
"unique_id": {
"type": "string"
}
},
"required": [
"unique_id",
"max_loaded_at",
"snapshotted_at",
"max_loaded_at_time_ago_in_s",
"status",
"criteria",
"adapter_response",
"timing",
"thread_id",
"execution_time"
],
"title": "SourceFreshnessOutput",
"type": "object"
}
]
},
"type": "array"
}
},
"required": [
"metadata",
"results",
"elapsed_time"
],
"title": "FreshnessExecutionResultArtifact",
"type": "object"
} | Apache-2.0 | en |
dbt-labs/dbt-core | 0ab954e1af9bb2be01fa4ebad2df7626249a1fab | 2023-12-06T01:36:43 | schemas/dbt/run-results/v6.json | 9,025 | 2024-05-29T16:12:08.170831Z | {
"$id": "https://schemas.getdbt.com/dbt/run-results/v6.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"args": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"elapsed_time": {
"type": "number"
},
"metadata": {
"additionalProperties": false,
"properties": {
"dbt_schema_version": {
"type": "string"
},
"dbt_version": {
"default": "1.8.0a1",
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"generated_at": {
"type": "string"
},
"invocation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"dbt_schema_version"
],
"title": "BaseArtifactMetadata",
"type": "object"
},
"results": {
"items": {
"additionalProperties": false,
"properties": {
"adapter_response": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"execution_time": {
"type": "number"
},
"failures": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"enum": [
"success",
"error",
"skipped"
]
},
{
"enum": [
"pass",
"error",
"fail",
"warn",
"skipped"
]
},
{
"enum": [
"pass",
"warn",
"error",
"runtime error"
]
}
]
},
"thread_id": {
"type": "string"
},
"timing": {
"items": {
"additionalProperties": false,
"properties": {
"completed_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"started_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "TimingInfo",
"type": "object"
},
"type": "array"
},
"unique_id": {
"type": "string"
}
},
"required": [
"status",
"timing",
"thread_id",
"execution_time",
"adapter_response",
"message",
"failures",
"unique_id",
"compiled",
"compiled_code",
"relation_name"
],
"title": "RunResultOutput",
"type": "object"
},
"type": "array"
}
},
"required": [
"metadata",
"results",
"elapsed_time"
],
"title": "RunResultsArtifact",
"type": "object"
} | Apache-2.0 | en |
dbt-labs/dbt-core | a77d325c8ab15c3444de3509617279ee5119f9f6 | 2023-02-09T23:51:42 | schemas/dbt/sources/v3.json | 9,025 | 2024-05-29T16:12:08.170831Z | {
"$id": "https://schemas.getdbt.com/dbt/sources/v3.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"FreshnessMetadata": {
"additionalProperties": false,
"description": "FreshnessMetadata(dbt_schema_version: str = <factory>, dbt_version: str = '1.5.0a1', generated_at: datetime.datetime = <factory>, invocation_id: Optional[str] = <factory>, env: Dict[str, str] = <factory>)",
"properties": {
"dbt_schema_version": {
"default": "https://schemas.getdbt.com/dbt/sources/v3.json",
"type": "string"
},
"dbt_version": {
"default": "1.5.0a1",
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"default": {},
"type": "object"
},
"generated_at": {
"default": "2023-02-09T23:46:55.263337Z",
"format": "date-time",
"type": "string"
},
"invocation_id": {
"default": "e6a9b266-203d-4fec-93af-fb8f55423a6b",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
"FreshnessThreshold": {
"additionalProperties": false,
"description": "FreshnessThreshold(warn_after: Optional[dbt.contracts.graph.unparsed.Time] = <factory>, error_after: Optional[dbt.contracts.graph.unparsed.Time] = <factory>, filter: Optional[str] = None)",
"properties": {
"error_after": {
"default": {
"count": null,
"period": null
},
"oneOf": [
{
"$ref": "#/definitions/Time"
},
{
"type": "null"
}
]
},
"filter": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"warn_after": {
"default": {
"count": null,
"period": null
},
"oneOf": [
{
"$ref": "#/definitions/Time"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
"SourceFreshnessOutput": {
"additionalProperties": false,
"description": "SourceFreshnessOutput(unique_id: str, max_loaded_at: datetime.datetime, snapshotted_at: datetime.datetime, max_loaded_at_time_ago_in_s: float, status: dbt.contracts.results.FreshnessStatus, criteria: dbt.contracts.graph.unparsed.FreshnessThreshold, adapter_response: Dict[str, Any], timing: List[dbt.contracts.results.TimingInfo], thread_id: str, execution_time: float)",
"properties": {
"adapter_response": {
"type": "object"
},
"criteria": {
"$ref": "#/definitions/FreshnessThreshold"
},
"execution_time": {
"type": "number"
},
"max_loaded_at": {
"format": "date-time",
"type": "string"
},
"max_loaded_at_time_ago_in_s": {
"type": "number"
},
"snapshotted_at": {
"format": "date-time",
"type": "string"
},
"status": {
"enum": [
"pass",
"warn",
"error",
"runtime error"
],
"type": "string"
},
"thread_id": {
"type": "string"
},
"timing": {
"items": {
"$ref": "#/definitions/TimingInfo"
},
"type": "array"
},
"unique_id": {
"type": "string"
}
},
"required": [
"unique_id",
"max_loaded_at",
"snapshotted_at",
"max_loaded_at_time_ago_in_s",
"status",
"criteria",
"adapter_response",
"timing",
"thread_id",
"execution_time"
],
"type": "object"
},
"SourceFreshnessRuntimeError": {
"additionalProperties": false,
"description": "SourceFreshnessRuntimeError(unique_id: str, error: Union[str, int, NoneType], status: dbt.contracts.results.FreshnessErrorEnum)",
"properties": {
"error": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "null"
}
]
},
"status": {
"enum": [
"runtime error"
],
"type": "string"
},
"unique_id": {
"type": "string"
}
},
"required": [
"unique_id",
"status"
],
"type": "object"
},
"Time": {
"additionalProperties": false,
"description": "Time(count: Optional[int] = None, period: Optional[dbt.contracts.graph.unparsed.TimePeriod] = None)",
"properties": {
"count": {
"oneOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"period": {
"oneOf": [
{
"enum": [
"minute",
"hour",
"day"
],
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
"TimingInfo": {
"additionalProperties": false,
"description": "TimingInfo(name: str, started_at: Optional[datetime.datetime] = None, completed_at: Optional[datetime.datetime] = None)",
"properties": {
"completed_at": {
"oneOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"started_at": {
"oneOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"name"
],
"type": "object"
}
},
"description": "FreshnessExecutionResultArtifact(metadata: dbt.contracts.results.FreshnessMetadata, results: Sequence[Union[dbt.contracts.results.SourceFreshnessRuntimeError, dbt.contracts.results.SourceFreshnessOutput]], elapsed_time: float)",
"properties": {
"elapsed_time": {
"type": "number"
},
"metadata": {
"$ref": "#/definitions/FreshnessMetadata"
},
"results": {
"items": {
"oneOf": [
{
"$ref": "#/definitions/SourceFreshnessRuntimeError"
},
{
"$ref": "#/definitions/SourceFreshnessOutput"
}
]
},
"type": "array"
}
},
"required": [
"metadata",
"results",
"elapsed_time"
],
"type": "object"
} | Apache-2.0 | en |
dbt-labs/dbt-core | a77d325c8ab15c3444de3509617279ee5119f9f6 | 2023-02-09T23:51:42 | schemas/dbt/catalog/v1.json | 9,025 | 2024-05-29T16:12:08.170831Z | {
"$id": "https://schemas.getdbt.com/dbt/catalog/v1.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"CatalogMetadata": {
"additionalProperties": false,
"description": "CatalogMetadata(dbt_schema_version: str = <factory>, dbt_version: str = '1.5.0a1', generated_at: datetime.datetime = <factory>, invocation_id: Optional[str] = <factory>, env: Dict[str, str] = <factory>)",
"properties": {
"dbt_schema_version": {
"default": "https://schemas.getdbt.com/dbt/catalog/v1.json",
"type": "string"
},
"dbt_version": {
"default": "1.5.0a1",
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"default": {},
"type": "object"
},
"generated_at": {
"default": "2023-02-09T23:46:55.265093Z",
"format": "date-time",
"type": "string"
},
"invocation_id": {
"default": "e6a9b266-203d-4fec-93af-fb8f55423a6b",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
"CatalogTable": {
"additionalProperties": false,
"description": "CatalogTable(metadata: dbt.contracts.results.TableMetadata, columns: Dict[str, dbt.contracts.results.ColumnMetadata], stats: Dict[str, dbt.contracts.results.StatsItem], unique_id: Optional[str] = None)",
"properties": {
"columns": {
"additionalProperties": {
"$ref": "#/definitions/ColumnMetadata"
},
"type": "object"
},
"metadata": {
"$ref": "#/definitions/TableMetadata"
},
"stats": {
"additionalProperties": {
"$ref": "#/definitions/StatsItem"
},
"type": "object"
},
"unique_id": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"metadata",
"columns",
"stats"
],
"type": "object"
},
"ColumnMetadata": {
"additionalProperties": false,
"description": "ColumnMetadata(type: str, index: int, name: str, comment: Optional[str] = None)",
"properties": {
"comment": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"index",
"name"
],
"type": "object"
},
"StatsItem": {
"additionalProperties": false,
"description": "StatsItem(id: str, label: str, value: Union[bool, str, float, NoneType], include: bool, description: Optional[str] = None)",
"properties": {
"description": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"include": {
"type": "boolean"
},
"label": {
"type": "string"
},
"value": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"label",
"include"
],
"type": "object"
},
"TableMetadata": {
"additionalProperties": false,
"description": "TableMetadata(type: str, schema: str, name: str, database: Optional[str] = None, comment: Optional[str] = None, owner: Optional[str] = None)",
"properties": {
"comment": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"database": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"owner": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"schema",
"name"
],
"type": "object"
}
},
"description": "CatalogArtifact(metadata: dbt.contracts.results.CatalogMetadata, nodes: Dict[str, dbt.contracts.results.CatalogTable], sources: Dict[str, dbt.contracts.results.CatalogTable], errors: Optional[List[str]] = None, _compile_results: Optional[Any] = None)",
"properties": {
"errors": {
"oneOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"metadata": {
"$ref": "#/definitions/CatalogMetadata"
},
"nodes": {
"additionalProperties": {
"$ref": "#/definitions/CatalogTable"
},
"type": "object"
},
"sources": {
"additionalProperties": {
"$ref": "#/definitions/CatalogTable"
},
"type": "object"
}
},
"required": [
"metadata",
"nodes",
"sources"
],
"type": "object"
} | Apache-2.0 | en |
dbt-labs/dbt-core | 0ab954e1af9bb2be01fa4ebad2df7626249a1fab | 2023-12-06T01:36:43 | schemas/dbt/manifest/v12.json | 9,025 | 2024-05-29T16:12:08.170831Z | {
"$id": "https://schemas.getdbt.com/dbt/manifest/v12.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"child_map": {
"anyOf": [
{
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "A mapping from parent nodes to their dependents"
},
"disabled": {
"anyOf": [
{
"additionalProperties": {
"items": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "analysis"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "AnalysisNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enabled": {
"default": true,
"type": "boolean"
},
"error_if": {
"default": "!= 0",
"type": "string"
},
"fail_calc": {
"default": "count(*)",
"type": "string"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "test",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "dbt_test__audit"
},
"severity": {
"default": "ERROR",
"pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
"type": "string"
},
"store_failures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"store_failures_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"warn_if": {
"default": "!= 0",
"type": "string"
},
"where": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SingularTestNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "operation"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "HookNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"access": {
"default": "protected",
"enum": [
"private",
"protected",
"public"
]
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"access": {
"default": "protected",
"enum": [
"private",
"protected",
"public"
]
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ModelConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"columns": {
"items": {
"type": "string"
},
"type": "array"
},
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ModelLevelConstraint",
"type": "object"
},
"type": "array"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"deprecation_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"latest_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "model"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "ModelNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "rpc"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "RPCNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "sql_operation"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SqlNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"attached_node": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"column_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enabled": {
"default": true,
"type": "boolean"
},
"error_if": {
"default": "!= 0",
"type": "string"
},
"fail_calc": {
"default": "count(*)",
"type": "string"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "test",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "dbt_test__audit"
},
"severity": {
"default": "ERROR",
"pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
"type": "string"
},
"store_failures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"store_failures_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"warn_if": {
"default": "!= 0",
"type": "string"
},
"where": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"file_key_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"test_metadata": {
"additionalProperties": false,
"properties": {
"kwargs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"namespace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "TestMetadata",
"type": "object"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"test_metadata",
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "GenericTestNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"check_cols": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "snapshot",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"target_database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"target_schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"updated_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SnapshotConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "snapshot"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum",
"config"
],
"title": "SnapshotNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"delimiter": {
"default": ",",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "seed",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quote_columns": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SeedConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "MacroDependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "seed"
},
"root_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SeedNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
}
},
"title": "SourceConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"default": "",
"type": "string"
},
"external": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"file_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"location": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"partitions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"items": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"data_type": {
"default": "",
"type": "string"
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"default": "",
"type": "string"
}
},
"title": "ExternalPartition",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"row_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tbl_properties": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ExternalTable",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"freshness": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"error_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
},
"filter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"warn_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
}
},
"title": "FreshnessThreshold",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"identifier": {
"type": "string"
},
"loaded_at_field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"loader": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"quoting": {
"additionalProperties": false,
"properties": {
"column": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"identifier": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Quoting",
"type": "object"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "source"
},
"schema": {
"type": "string"
},
"source_description": {
"type": "string"
},
"source_meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"source_name": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"source_name",
"source_description",
"loader",
"identifier"
],
"title": "SourceDefinition",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
}
},
"title": "ExposureConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"maturity": {
"anyOf": [
{
"enum": [
"low",
"medium",
"high"
]
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"owner": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Owner",
"type": "object"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"const": "exposure"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"dashboard",
"notebook",
"analysis",
"ml",
"application"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"type",
"owner"
],
"title": "Exposure",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "MetricConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"type": "string"
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"const": "metric"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"simple",
"ratio",
"cumulative",
"derived"
]
},
"type_params": {
"additionalProperties": false,
"properties": {
"denominator": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"grain_to_date": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"input_measures": {
"items": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"type": "array"
},
"measure": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"metrics": {
"anyOf": [
{
"items": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"numerator": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "MetricTypeParams",
"type": "object"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"description",
"label",
"type",
"type_params"
],
"title": "Metric",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"export_as": {
"anyOf": [
{
"enum": [
"table",
"view"
]
},
{
"type": "null"
}
],
"default": null
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SavedQueryConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"exports": {
"items": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"export_as": {
"enum": [
"table",
"view"
]
},
"schema_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"export_as"
],
"title": "ExportConfig",
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"config"
],
"title": "Export",
"type": "object"
},
"type": "array"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"query_params": {
"additionalProperties": false,
"properties": {
"group_by": {
"items": {
"type": "string"
},
"type": "array"
},
"metrics": {
"items": {
"type": "string"
},
"type": "array"
},
"where": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"metrics",
"group_by",
"where"
],
"title": "QueryParams",
"type": "object"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"query_params",
"exports"
],
"title": "SavedQuery",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"title": "SemanticModelConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"defaults": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"agg_time_dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Defaults",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"dimensions": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"is_partition": {
"default": false,
"type": "boolean"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"type": {
"enum": [
"categorical",
"time"
]
},
"type_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"time_granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
"validity_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"is_end": {
"default": false,
"type": "boolean"
},
"is_start": {
"default": false,
"type": "boolean"
}
},
"title": "DimensionValidityParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"time_granularity"
],
"title": "DimensionTypeParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"type"
],
"title": "Dimension",
"type": "object"
},
"type": "array"
},
"entities": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"foreign",
"natural",
"primary",
"unique"
]
}
},
"required": [
"name",
"type"
],
"title": "Entity",
"type": "object"
},
"type": "array"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"measures": {
"items": {
"additionalProperties": false,
"properties": {
"agg": {
"enum": [
"sum",
"min",
"max",
"count_distinct",
"sum_boolean",
"average",
"percentile",
"median",
"count"
]
},
"agg_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"percentile": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"use_approximate_percentile": {
"default": false,
"type": "boolean"
},
"use_discrete_percentile": {
"default": false,
"type": "boolean"
}
},
"title": "MeasureAggregationParameters",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"agg_time_dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"create_metric": {
"default": false,
"type": "boolean"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"non_additive_dimension": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"window_choice": {
"enum": [
"sum",
"min",
"max",
"count_distinct",
"sum_boolean",
"average",
"percentile",
"median",
"count"
]
},
"window_groupings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"window_choice",
"window_groupings"
],
"title": "NonAdditiveDimension",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"agg"
],
"title": "Measure",
"type": "object"
},
"type": "array"
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"model": {
"type": "string"
},
"name": {
"type": "string"
},
"node_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema_name": {
"type": "string"
}
},
"required": [
"alias",
"schema_name"
],
"title": "NodeRelation",
"type": "object"
},
{
"type": "null"
}
]
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"primary_entity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"model",
"node_relation"
],
"title": "SemanticModel",
"type": "object"
}
]
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "A mapping of the disabled nodes in the target"
},
"docs": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"block_contents": {
"type": "string"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"resource_type": {
"const": "doc"
},
"unique_id": {
"type": "string"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"block_contents"
],
"title": "Documentation",
"type": "object"
},
"description": "The docs defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"exposures": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
}
},
"title": "ExposureConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"maturity": {
"anyOf": [
{
"enum": [
"low",
"medium",
"high"
]
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"owner": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Owner",
"type": "object"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"const": "exposure"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"dashboard",
"notebook",
"analysis",
"ml",
"application"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"type",
"owner"
],
"title": "Exposure",
"type": "object"
},
"description": "The exposures defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group_map": {
"anyOf": [
{
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "A mapping from group names to their nodes"
},
"groups": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"owner": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Owner",
"type": "object"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"resource_type": {
"const": "group"
},
"unique_id": {
"type": "string"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"owner"
],
"title": "Group",
"type": "object"
},
"description": "The groups defined in the dbt project",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"macros": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"arguments": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"default": "",
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MacroArgument",
"type": "object"
},
"type": "array"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "MacroDependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"macro_sql": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"resource_type": {
"const": "macro"
},
"supported_languages": {
"anyOf": [
{
"items": {
"enum": [
"python",
"sql"
]
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"unique_id": {
"type": "string"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"macro_sql"
],
"title": "Macro",
"type": "object"
},
"description": "The macros defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metadata": {
"additionalProperties": false,
"description": "Metadata about the manifest",
"properties": {
"adapter_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The type name of the adapter"
},
"dbt_schema_version": {
"type": "string"
},
"dbt_version": {
"default": "1.8.0a1",
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"generated_at": {
"type": "string"
},
"invocation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A unique identifier for the project, hashed from the project name"
},
"project_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Name of the root project"
},
"send_anonymous_usage_stats": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Whether dbt is configured to send anonymous usage statistics"
},
"user_id": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A unique identifier for the user"
}
},
"title": "ManifestMetadata",
"type": "object"
},
"metrics": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "MetricConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"type": "string"
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"const": "metric"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"simple",
"ratio",
"cumulative",
"derived"
]
},
"type_params": {
"additionalProperties": false,
"properties": {
"denominator": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"grain_to_date": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"input_measures": {
"items": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"type": "array"
},
"measure": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"metrics": {
"anyOf": [
{
"items": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"numerator": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "MetricTypeParams",
"type": "object"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"description",
"label",
"type",
"type_params"
],
"title": "Metric",
"type": "object"
},
"description": "The metrics defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"nodes": {
"additionalProperties": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "analysis"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "AnalysisNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enabled": {
"default": true,
"type": "boolean"
},
"error_if": {
"default": "!= 0",
"type": "string"
},
"fail_calc": {
"default": "count(*)",
"type": "string"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "test",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "dbt_test__audit"
},
"severity": {
"default": "ERROR",
"pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
"type": "string"
},
"store_failures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"store_failures_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"warn_if": {
"default": "!= 0",
"type": "string"
},
"where": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SingularTestNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "operation"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "HookNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"access": {
"default": "protected",
"enum": [
"private",
"protected",
"public"
]
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"access": {
"default": "protected",
"enum": [
"private",
"protected",
"public"
]
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ModelConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"columns": {
"items": {
"type": "string"
},
"type": "array"
},
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ModelLevelConstraint",
"type": "object"
},
"type": "array"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"deprecation_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"latest_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "model"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "ModelNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "rpc"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "RPCNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "sql_operation"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SqlNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"attached_node": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"column_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enabled": {
"default": true,
"type": "boolean"
},
"error_if": {
"default": "!= 0",
"type": "string"
},
"fail_calc": {
"default": "count(*)",
"type": "string"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "test",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "dbt_test__audit"
},
"severity": {
"default": "ERROR",
"pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
"type": "string"
},
"store_failures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"store_failures_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"warn_if": {
"default": "!= 0",
"type": "string"
},
"where": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"file_key_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"test_metadata": {
"additionalProperties": false,
"properties": {
"kwargs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"namespace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "TestMetadata",
"type": "object"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"test_metadata",
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "GenericTestNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"check_cols": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "snapshot",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"target_database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"target_schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"updated_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SnapshotConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "snapshot"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum",
"config"
],
"title": "SnapshotNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"delimiter": {
"default": ",",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "seed",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quote_columns": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SeedConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "MacroDependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "seed"
},
"root_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SeedNode",
"type": "object"
}
]
},
"description": "The nodes defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"parent_map": {
"anyOf": [
{
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "A mapping from\u00a0child nodes to their dependencies"
},
"saved_queries": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"export_as": {
"anyOf": [
{
"enum": [
"table",
"view"
]
},
{
"type": "null"
}
],
"default": null
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SavedQueryConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"exports": {
"items": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"export_as": {
"enum": [
"table",
"view"
]
},
"schema_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"export_as"
],
"title": "ExportConfig",
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"config"
],
"title": "Export",
"type": "object"
},
"type": "array"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"query_params": {
"additionalProperties": false,
"properties": {
"group_by": {
"items": {
"type": "string"
},
"type": "array"
},
"metrics": {
"items": {
"type": "string"
},
"type": "array"
},
"where": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"metrics",
"group_by",
"where"
],
"title": "QueryParams",
"type": "object"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"query_params",
"exports"
],
"title": "SavedQuery",
"type": "object"
},
"description": "The saved queries defined in the dbt project",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"selectors": {
"description": "The selectors defined in selectors.yml",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"semantic_models": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"title": "SemanticModelConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"defaults": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"agg_time_dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Defaults",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"dimensions": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"is_partition": {
"default": false,
"type": "boolean"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"type": {
"enum": [
"categorical",
"time"
]
},
"type_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"time_granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
"validity_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"is_end": {
"default": false,
"type": "boolean"
},
"is_start": {
"default": false,
"type": "boolean"
}
},
"title": "DimensionValidityParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"time_granularity"
],
"title": "DimensionTypeParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"type"
],
"title": "Dimension",
"type": "object"
},
"type": "array"
},
"entities": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"foreign",
"natural",
"primary",
"unique"
]
}
},
"required": [
"name",
"type"
],
"title": "Entity",
"type": "object"
},
"type": "array"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"measures": {
"items": {
"additionalProperties": false,
"properties": {
"agg": {
"enum": [
"sum",
"min",
"max",
"count_distinct",
"sum_boolean",
"average",
"percentile",
"median",
"count"
]
},
"agg_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"percentile": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"use_approximate_percentile": {
"default": false,
"type": "boolean"
},
"use_discrete_percentile": {
"default": false,
"type": "boolean"
}
},
"title": "MeasureAggregationParameters",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"agg_time_dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"create_metric": {
"default": false,
"type": "boolean"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"non_additive_dimension": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"window_choice": {
"enum": [
"sum",
"min",
"max",
"count_distinct",
"sum_boolean",
"average",
"percentile",
"median",
"count"
]
},
"window_groupings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"window_choice",
"window_groupings"
],
"title": "NonAdditiveDimension",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"agg"
],
"title": "Measure",
"type": "object"
},
"type": "array"
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"model": {
"type": "string"
},
"name": {
"type": "string"
},
"node_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema_name": {
"type": "string"
}
},
"required": [
"alias",
"schema_name"
],
"title": "NodeRelation",
"type": "object"
},
{
"type": "null"
}
]
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"primary_entity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"model",
"node_relation"
],
"title": "SemanticModel",
"type": "object"
},
"description": "The semantic models defined in the dbt project",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"sources": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
}
},
"title": "SourceConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"default": "",
"type": "string"
},
"external": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"file_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"location": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"partitions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"items": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"data_type": {
"default": "",
"type": "string"
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"default": "",
"type": "string"
}
},
"title": "ExternalPartition",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"row_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tbl_properties": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ExternalTable",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"freshness": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"error_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
},
"filter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"warn_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
}
},
"title": "FreshnessThreshold",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"identifier": {
"type": "string"
},
"loaded_at_field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"loader": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"quoting": {
"additionalProperties": false,
"properties": {
"column": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"identifier": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Quoting",
"type": "object"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "source"
},
"schema": {
"type": "string"
},
"source_description": {
"type": "string"
},
"source_meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"source_name": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"source_name",
"source_description",
"loader",
"identifier"
],
"title": "SourceDefinition",
"type": "object"
},
"description": "The sources defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"metadata",
"nodes",
"sources",
"macros",
"docs",
"exposures",
"metrics",
"groups",
"selectors",
"disabled",
"parent_map",
"child_map",
"group_map",
"saved_queries",
"semantic_models"
],
"title": "WritableManifest",
"type": "object"
} | Apache-2.0 | en |
dbt-labs/dbt-core | 0ab954e1af9bb2be01fa4ebad2df7626249a1fab | 2023-12-06T01:36:43 | schemas/dbt/catalog/v1.json | 9,025 | 2024-05-29T16:12:08.170831Z | {
"$id": "https://schemas.getdbt.com/dbt/catalog/v1.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"_compile_results": {
"anyOf": [
{},
{
"type": "null"
}
],
"default": null
},
"errors": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"additionalProperties": false,
"properties": {
"dbt_schema_version": {
"type": "string"
},
"dbt_version": {
"default": "1.8.0a1",
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"generated_at": {
"type": "string"
},
"invocation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"title": "CatalogMetadata",
"type": "object"
},
"nodes": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"columns": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"comment": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"index": {
"type": "integer"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"index",
"name"
],
"title": "ColumnMetadata",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metadata": {
"additionalProperties": false,
"properties": {
"comment": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"owner": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"schema",
"name"
],
"title": "TableMetadata",
"type": "object"
},
"stats": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"id": {
"type": "string"
},
"include": {
"type": "boolean"
},
"label": {
"type": "string"
},
"value": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"label",
"value",
"include"
],
"title": "StatsItem",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"unique_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"metadata",
"columns",
"stats"
],
"title": "CatalogTable",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"sources": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"columns": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"comment": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"index": {
"type": "integer"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"index",
"name"
],
"title": "ColumnMetadata",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metadata": {
"additionalProperties": false,
"properties": {
"comment": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"owner": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"schema",
"name"
],
"title": "TableMetadata",
"type": "object"
},
"stats": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"id": {
"type": "string"
},
"include": {
"type": "boolean"
},
"label": {
"type": "string"
},
"value": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"label",
"value",
"include"
],
"title": "StatsItem",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"unique_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"metadata",
"columns",
"stats"
],
"title": "CatalogTable",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"metadata",
"nodes",
"sources"
],
"title": "CatalogArtifact",
"type": "object"
} | Apache-2.0 | en |
dbt-labs/dbt-core | 1740df534bae3e0a639eb97df17bbb8f6ba4e704 | 2023-12-07T18:09:20 | schemas/dbt/manifest/v12.json | 9,025 | 2024-05-29T16:12:08.170831Z | {
"$id": "https://schemas.getdbt.com/dbt/manifest/v12.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"child_map": {
"anyOf": [
{
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "A mapping from parent nodes to their dependents"
},
"disabled": {
"anyOf": [
{
"additionalProperties": {
"items": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "analysis"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "AnalysisNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enabled": {
"default": true,
"type": "boolean"
},
"error_if": {
"default": "!= 0",
"type": "string"
},
"fail_calc": {
"default": "count(*)",
"type": "string"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "test",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "dbt_test__audit"
},
"severity": {
"default": "ERROR",
"pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
"type": "string"
},
"store_failures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"store_failures_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"warn_if": {
"default": "!= 0",
"type": "string"
},
"where": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SingularTestNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "operation"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "HookNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"access": {
"default": "protected",
"enum": [
"private",
"protected",
"public"
]
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"access": {
"default": "protected",
"enum": [
"private",
"protected",
"public"
]
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ModelConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"columns": {
"items": {
"type": "string"
},
"type": "array"
},
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ModelLevelConstraint",
"type": "object"
},
"type": "array"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"deprecation_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"latest_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "model"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "ModelNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "rpc"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "RPCNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "sql_operation"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SqlNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"attached_node": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"column_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enabled": {
"default": true,
"type": "boolean"
},
"error_if": {
"default": "!= 0",
"type": "string"
},
"fail_calc": {
"default": "count(*)",
"type": "string"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "test",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "dbt_test__audit"
},
"severity": {
"default": "ERROR",
"pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
"type": "string"
},
"store_failures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"store_failures_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"warn_if": {
"default": "!= 0",
"type": "string"
},
"where": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"file_key_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"test_metadata": {
"additionalProperties": false,
"properties": {
"kwargs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"namespace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "TestMetadata",
"type": "object"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"test_metadata",
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "GenericTestNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"check_cols": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "snapshot",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"target_database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"target_schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"updated_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SnapshotConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "snapshot"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum",
"config"
],
"title": "SnapshotNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"delimiter": {
"default": ",",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "seed",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quote_columns": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SeedConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "MacroDependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "seed"
},
"root_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SeedNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
}
},
"title": "SourceConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"default": "",
"type": "string"
},
"external": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"file_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"location": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"partitions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"items": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"data_type": {
"default": "",
"type": "string"
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"default": "",
"type": "string"
}
},
"title": "ExternalPartition",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"row_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tbl_properties": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ExternalTable",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"freshness": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"error_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
},
"filter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"warn_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
}
},
"title": "FreshnessThreshold",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"identifier": {
"type": "string"
},
"loaded_at_field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"loader": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"quoting": {
"additionalProperties": false,
"properties": {
"column": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"identifier": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Quoting",
"type": "object"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "source"
},
"schema": {
"type": "string"
},
"source_description": {
"type": "string"
},
"source_meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"source_name": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"source_name",
"source_description",
"loader",
"identifier"
],
"title": "SourceDefinition",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
}
},
"title": "ExposureConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"maturity": {
"anyOf": [
{
"enum": [
"low",
"medium",
"high"
]
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"owner": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Owner",
"type": "object"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"const": "exposure"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"dashboard",
"notebook",
"analysis",
"ml",
"application"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"type",
"owner"
],
"title": "Exposure",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "MetricConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"type": "string"
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"const": "metric"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"simple",
"ratio",
"cumulative",
"derived",
"conversion"
]
},
"type_params": {
"additionalProperties": false,
"properties": {
"conversion_type_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"base_measure": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"calculation": {
"default": "conversion_rate",
"enum": [
"conversions",
"conversion_rate"
]
},
"constant_properties": {
"anyOf": [
{
"items": {
"additionalProperties": false,
"properties": {
"base_property": {
"type": "string"
},
"conversion_property": {
"type": "string"
}
},
"required": [
"base_property",
"conversion_property"
],
"title": "ConstantPropertyInput",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"conversion_measure": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"entity": {
"type": "string"
},
"window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"base_measure",
"conversion_measure",
"entity"
],
"title": "ConversionTypeParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"denominator": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"grain_to_date": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"input_measures": {
"items": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"type": "array"
},
"measure": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"metrics": {
"anyOf": [
{
"items": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"numerator": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "MetricTypeParams",
"type": "object"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"description",
"label",
"type",
"type_params"
],
"title": "Metric",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"export_as": {
"anyOf": [
{
"enum": [
"table",
"view"
]
},
{
"type": "null"
}
],
"default": null
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SavedQueryConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"exports": {
"items": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"export_as": {
"enum": [
"table",
"view"
]
},
"schema_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"export_as"
],
"title": "ExportConfig",
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"config"
],
"title": "Export",
"type": "object"
},
"type": "array"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"query_params": {
"additionalProperties": false,
"properties": {
"group_by": {
"items": {
"type": "string"
},
"type": "array"
},
"metrics": {
"items": {
"type": "string"
},
"type": "array"
},
"where": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"metrics",
"group_by",
"where"
],
"title": "QueryParams",
"type": "object"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"query_params",
"exports"
],
"title": "SavedQuery",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"title": "SemanticModelConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"defaults": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"agg_time_dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Defaults",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"dimensions": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"is_partition": {
"default": false,
"type": "boolean"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"type": {
"enum": [
"categorical",
"time"
]
},
"type_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"time_granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
"validity_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"is_end": {
"default": false,
"type": "boolean"
},
"is_start": {
"default": false,
"type": "boolean"
}
},
"title": "DimensionValidityParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"time_granularity"
],
"title": "DimensionTypeParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"type"
],
"title": "Dimension",
"type": "object"
},
"type": "array"
},
"entities": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"foreign",
"natural",
"primary",
"unique"
]
}
},
"required": [
"name",
"type"
],
"title": "Entity",
"type": "object"
},
"type": "array"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"measures": {
"items": {
"additionalProperties": false,
"properties": {
"agg": {
"enum": [
"sum",
"min",
"max",
"count_distinct",
"sum_boolean",
"average",
"percentile",
"median",
"count"
]
},
"agg_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"percentile": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"use_approximate_percentile": {
"default": false,
"type": "boolean"
},
"use_discrete_percentile": {
"default": false,
"type": "boolean"
}
},
"title": "MeasureAggregationParameters",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"agg_time_dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"create_metric": {
"default": false,
"type": "boolean"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"non_additive_dimension": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"window_choice": {
"enum": [
"sum",
"min",
"max",
"count_distinct",
"sum_boolean",
"average",
"percentile",
"median",
"count"
]
},
"window_groupings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"window_choice",
"window_groupings"
],
"title": "NonAdditiveDimension",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"agg"
],
"title": "Measure",
"type": "object"
},
"type": "array"
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"model": {
"type": "string"
},
"name": {
"type": "string"
},
"node_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema_name": {
"type": "string"
}
},
"required": [
"alias",
"schema_name"
],
"title": "NodeRelation",
"type": "object"
},
{
"type": "null"
}
]
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"primary_entity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"model",
"node_relation"
],
"title": "SemanticModel",
"type": "object"
}
]
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "A mapping of the disabled nodes in the target"
},
"docs": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"block_contents": {
"type": "string"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"resource_type": {
"const": "doc"
},
"unique_id": {
"type": "string"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"block_contents"
],
"title": "Documentation",
"type": "object"
},
"description": "The docs defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"exposures": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
}
},
"title": "ExposureConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"maturity": {
"anyOf": [
{
"enum": [
"low",
"medium",
"high"
]
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"owner": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Owner",
"type": "object"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"const": "exposure"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"dashboard",
"notebook",
"analysis",
"ml",
"application"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"type",
"owner"
],
"title": "Exposure",
"type": "object"
},
"description": "The exposures defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group_map": {
"anyOf": [
{
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "A mapping from group names to their nodes"
},
"groups": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"owner": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Owner",
"type": "object"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"resource_type": {
"const": "group"
},
"unique_id": {
"type": "string"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"owner"
],
"title": "Group",
"type": "object"
},
"description": "The groups defined in the dbt project",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"macros": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"arguments": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"default": "",
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MacroArgument",
"type": "object"
},
"type": "array"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "MacroDependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"macro_sql": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"resource_type": {
"const": "macro"
},
"supported_languages": {
"anyOf": [
{
"items": {
"enum": [
"python",
"sql"
]
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"unique_id": {
"type": "string"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"macro_sql"
],
"title": "Macro",
"type": "object"
},
"description": "The macros defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metadata": {
"additionalProperties": false,
"description": "Metadata about the manifest",
"properties": {
"adapter_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The type name of the adapter"
},
"dbt_schema_version": {
"type": "string"
},
"dbt_version": {
"default": "1.8.0a1",
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"generated_at": {
"type": "string"
},
"invocation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A unique identifier for the project, hashed from the project name"
},
"project_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Name of the root project"
},
"send_anonymous_usage_stats": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Whether dbt is configured to send anonymous usage statistics"
},
"user_id": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A unique identifier for the user"
}
},
"title": "ManifestMetadata",
"type": "object"
},
"metrics": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "MetricConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"type": "string"
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"const": "metric"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"simple",
"ratio",
"cumulative",
"derived",
"conversion"
]
},
"type_params": {
"additionalProperties": false,
"properties": {
"conversion_type_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"base_measure": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"calculation": {
"default": "conversion_rate",
"enum": [
"conversions",
"conversion_rate"
]
},
"constant_properties": {
"anyOf": [
{
"items": {
"additionalProperties": false,
"properties": {
"base_property": {
"type": "string"
},
"conversion_property": {
"type": "string"
}
},
"required": [
"base_property",
"conversion_property"
],
"title": "ConstantPropertyInput",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"conversion_measure": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"entity": {
"type": "string"
},
"window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"base_measure",
"conversion_measure",
"entity"
],
"title": "ConversionTypeParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"denominator": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"grain_to_date": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"input_measures": {
"items": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"type": "array"
},
"measure": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"metrics": {
"anyOf": [
{
"items": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"numerator": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "MetricTypeParams",
"type": "object"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"description",
"label",
"type",
"type_params"
],
"title": "Metric",
"type": "object"
},
"description": "The metrics defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"nodes": {
"additionalProperties": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "analysis"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "AnalysisNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enabled": {
"default": true,
"type": "boolean"
},
"error_if": {
"default": "!= 0",
"type": "string"
},
"fail_calc": {
"default": "count(*)",
"type": "string"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "test",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "dbt_test__audit"
},
"severity": {
"default": "ERROR",
"pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
"type": "string"
},
"store_failures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"store_failures_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"warn_if": {
"default": "!= 0",
"type": "string"
},
"where": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SingularTestNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "operation"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "HookNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"access": {
"default": "protected",
"enum": [
"private",
"protected",
"public"
]
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"access": {
"default": "protected",
"enum": [
"private",
"protected",
"public"
]
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ModelConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"columns": {
"items": {
"type": "string"
},
"type": "array"
},
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ModelLevelConstraint",
"type": "object"
},
"type": "array"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"deprecation_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"latest_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "model"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "ModelNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "rpc"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "RPCNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "sql_operation"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SqlNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"attached_node": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"column_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enabled": {
"default": true,
"type": "boolean"
},
"error_if": {
"default": "!= 0",
"type": "string"
},
"fail_calc": {
"default": "count(*)",
"type": "string"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "test",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "dbt_test__audit"
},
"severity": {
"default": "ERROR",
"pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
"type": "string"
},
"store_failures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"store_failures_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"warn_if": {
"default": "!= 0",
"type": "string"
},
"where": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"file_key_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"test_metadata": {
"additionalProperties": false,
"properties": {
"kwargs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"namespace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "TestMetadata",
"type": "object"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"test_metadata",
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "GenericTestNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"check_cols": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "snapshot",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"target_database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"target_schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"updated_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SnapshotConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "snapshot"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum",
"config"
],
"title": "SnapshotNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"delimiter": {
"default": ",",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "seed",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quote_columns": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SeedConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "MacroDependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "seed"
},
"root_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SeedNode",
"type": "object"
}
]
},
"description": "The nodes defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"parent_map": {
"anyOf": [
{
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "A mapping from\u00a0child nodes to their dependencies"
},
"saved_queries": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"export_as": {
"anyOf": [
{
"enum": [
"table",
"view"
]
},
{
"type": "null"
}
],
"default": null
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SavedQueryConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"exports": {
"items": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"export_as": {
"enum": [
"table",
"view"
]
},
"schema_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"export_as"
],
"title": "ExportConfig",
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"config"
],
"title": "Export",
"type": "object"
},
"type": "array"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"query_params": {
"additionalProperties": false,
"properties": {
"group_by": {
"items": {
"type": "string"
},
"type": "array"
},
"metrics": {
"items": {
"type": "string"
},
"type": "array"
},
"where": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"metrics",
"group_by",
"where"
],
"title": "QueryParams",
"type": "object"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"query_params",
"exports"
],
"title": "SavedQuery",
"type": "object"
},
"description": "The saved queries defined in the dbt project",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"selectors": {
"description": "The selectors defined in selectors.yml",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"semantic_models": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"title": "SemanticModelConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"defaults": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"agg_time_dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Defaults",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"dimensions": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"is_partition": {
"default": false,
"type": "boolean"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"type": {
"enum": [
"categorical",
"time"
]
},
"type_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"time_granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
"validity_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"is_end": {
"default": false,
"type": "boolean"
},
"is_start": {
"default": false,
"type": "boolean"
}
},
"title": "DimensionValidityParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"time_granularity"
],
"title": "DimensionTypeParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"type"
],
"title": "Dimension",
"type": "object"
},
"type": "array"
},
"entities": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"foreign",
"natural",
"primary",
"unique"
]
}
},
"required": [
"name",
"type"
],
"title": "Entity",
"type": "object"
},
"type": "array"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"measures": {
"items": {
"additionalProperties": false,
"properties": {
"agg": {
"enum": [
"sum",
"min",
"max",
"count_distinct",
"sum_boolean",
"average",
"percentile",
"median",
"count"
]
},
"agg_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"percentile": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"use_approximate_percentile": {
"default": false,
"type": "boolean"
},
"use_discrete_percentile": {
"default": false,
"type": "boolean"
}
},
"title": "MeasureAggregationParameters",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"agg_time_dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"create_metric": {
"default": false,
"type": "boolean"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"non_additive_dimension": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"window_choice": {
"enum": [
"sum",
"min",
"max",
"count_distinct",
"sum_boolean",
"average",
"percentile",
"median",
"count"
]
},
"window_groupings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"window_choice",
"window_groupings"
],
"title": "NonAdditiveDimension",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"agg"
],
"title": "Measure",
"type": "object"
},
"type": "array"
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"model": {
"type": "string"
},
"name": {
"type": "string"
},
"node_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema_name": {
"type": "string"
}
},
"required": [
"alias",
"schema_name"
],
"title": "NodeRelation",
"type": "object"
},
{
"type": "null"
}
]
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"primary_entity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"model",
"node_relation"
],
"title": "SemanticModel",
"type": "object"
},
"description": "The semantic models defined in the dbt project",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"sources": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
}
},
"title": "SourceConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"default": "",
"type": "string"
},
"external": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"file_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"location": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"partitions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"items": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"data_type": {
"default": "",
"type": "string"
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"default": "",
"type": "string"
}
},
"title": "ExternalPartition",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"row_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tbl_properties": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ExternalTable",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"freshness": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"error_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
},
"filter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"warn_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
}
},
"title": "FreshnessThreshold",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"identifier": {
"type": "string"
},
"loaded_at_field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"loader": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"quoting": {
"additionalProperties": false,
"properties": {
"column": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"identifier": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Quoting",
"type": "object"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "source"
},
"schema": {
"type": "string"
},
"source_description": {
"type": "string"
},
"source_meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"source_name": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"source_name",
"source_description",
"loader",
"identifier"
],
"title": "SourceDefinition",
"type": "object"
},
"description": "The sources defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"metadata",
"nodes",
"sources",
"macros",
"docs",
"exposures",
"metrics",
"groups",
"selectors",
"disabled",
"parent_map",
"child_map",
"group_map",
"saved_queries",
"semantic_models"
],
"title": "WritableManifest",
"type": "object"
} | Apache-2.0 | en |
dbt-labs/dbt-core | 0ef9931d197c996ccd4e3caf641729176eceda99 | 2023-02-24T22:13:09 | schemas/dbt/sources/v3.json | 9,025 | 2024-05-29T16:12:08.170831Z | {
"$id": "https://schemas.getdbt.com/dbt/sources/v3.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"FreshnessMetadata": {
"additionalProperties": false,
"description": "FreshnessMetadata(dbt_schema_version: str = <factory>, dbt_version: str = '1.5.0a1', generated_at: datetime.datetime = <factory>, invocation_id: Optional[str] = <factory>, env: Dict[str, str] = <factory>)",
"properties": {
"dbt_schema_version": {
"default": "https://schemas.getdbt.com/dbt/sources/v3.json",
"type": "string"
},
"dbt_version": {
"default": "1.5.0a1",
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"default": {},
"type": "object"
},
"generated_at": {
"default": "2023-02-18T14:20:00.362449Z",
"format": "date-time",
"type": "string"
},
"invocation_id": {
"default": "b1e277bf-2a2c-4d49-9d37-8d1a72cf26c7",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
"FreshnessThreshold": {
"additionalProperties": false,
"description": "FreshnessThreshold(warn_after: Optional[dbt.contracts.graph.unparsed.Time] = <factory>, error_after: Optional[dbt.contracts.graph.unparsed.Time] = <factory>, filter: Optional[str] = None)",
"properties": {
"error_after": {
"default": {
"count": null,
"period": null
},
"oneOf": [
{
"$ref": "#/definitions/Time"
},
{
"type": "null"
}
]
},
"filter": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"warn_after": {
"default": {
"count": null,
"period": null
},
"oneOf": [
{
"$ref": "#/definitions/Time"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
"SourceFreshnessOutput": {
"additionalProperties": false,
"description": "SourceFreshnessOutput(unique_id: str, max_loaded_at: datetime.datetime, snapshotted_at: datetime.datetime, max_loaded_at_time_ago_in_s: float, status: dbt.contracts.results.FreshnessStatus, criteria: dbt.contracts.graph.unparsed.FreshnessThreshold, adapter_response: Dict[str, Any], timing: List[dbt.contracts.results.TimingInfo], thread_id: str, execution_time: float)",
"properties": {
"adapter_response": {
"type": "object"
},
"criteria": {
"$ref": "#/definitions/FreshnessThreshold"
},
"execution_time": {
"type": "number"
},
"max_loaded_at": {
"format": "date-time",
"type": "string"
},
"max_loaded_at_time_ago_in_s": {
"type": "number"
},
"snapshotted_at": {
"format": "date-time",
"type": "string"
},
"status": {
"enum": [
"pass",
"warn",
"error",
"runtime error"
],
"type": "string"
},
"thread_id": {
"type": "string"
},
"timing": {
"items": {
"$ref": "#/definitions/TimingInfo"
},
"type": "array"
},
"unique_id": {
"type": "string"
}
},
"required": [
"unique_id",
"max_loaded_at",
"snapshotted_at",
"max_loaded_at_time_ago_in_s",
"status",
"criteria",
"adapter_response",
"timing",
"thread_id",
"execution_time"
],
"type": "object"
},
"SourceFreshnessRuntimeError": {
"additionalProperties": false,
"description": "SourceFreshnessRuntimeError(unique_id: str, error: Union[str, int, NoneType], status: dbt.contracts.results.FreshnessErrorEnum)",
"properties": {
"error": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "null"
}
]
},
"status": {
"enum": [
"runtime error"
],
"type": "string"
},
"unique_id": {
"type": "string"
}
},
"required": [
"unique_id",
"status"
],
"type": "object"
},
"Time": {
"additionalProperties": false,
"description": "Time(count: Optional[int] = None, period: Optional[dbt.contracts.graph.unparsed.TimePeriod] = None)",
"properties": {
"count": {
"oneOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"period": {
"oneOf": [
{
"enum": [
"minute",
"hour",
"day"
],
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
"TimingInfo": {
"additionalProperties": false,
"description": "TimingInfo(name: str, started_at: Optional[datetime.datetime] = None, completed_at: Optional[datetime.datetime] = None)",
"properties": {
"completed_at": {
"oneOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"started_at": {
"oneOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"name"
],
"type": "object"
}
},
"description": "FreshnessExecutionResultArtifact(metadata: dbt.contracts.results.FreshnessMetadata, results: Sequence[Union[dbt.contracts.results.SourceFreshnessRuntimeError, dbt.contracts.results.SourceFreshnessOutput]], elapsed_time: float)",
"properties": {
"elapsed_time": {
"type": "number"
},
"metadata": {
"$ref": "#/definitions/FreshnessMetadata"
},
"results": {
"items": {
"oneOf": [
{
"$ref": "#/definitions/SourceFreshnessRuntimeError"
},
{
"$ref": "#/definitions/SourceFreshnessOutput"
}
]
},
"type": "array"
}
},
"required": [
"metadata",
"results",
"elapsed_time"
],
"type": "object"
} | Apache-2.0 | en |
dbt-labs/dbt-core | b5a0c4c2285441e2fadc558c2a5793db9fe5846a | 2024-01-16T22:37:43 | schemas/dbt/manifest/v12.json | 9,025 | 2024-05-29T16:12:08.170831Z | {
"$id": "https://schemas.getdbt.com/dbt/manifest/v12.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"child_map": {
"anyOf": [
{
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "A mapping from parent nodes to their dependents"
},
"disabled": {
"anyOf": [
{
"additionalProperties": {
"items": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "analysis"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "AnalysisNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enabled": {
"default": true,
"type": "boolean"
},
"error_if": {
"default": "!= 0",
"type": "string"
},
"fail_calc": {
"default": "count(*)",
"type": "string"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "test",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "dbt_test__audit"
},
"severity": {
"default": "ERROR",
"pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
"type": "string"
},
"store_failures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"store_failures_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"warn_if": {
"default": "!= 0",
"type": "string"
},
"where": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SingularTestNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "operation"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "HookNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"access": {
"default": "protected",
"enum": [
"private",
"protected",
"public"
]
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"access": {
"default": "protected",
"enum": [
"private",
"protected",
"public"
]
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ModelConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"columns": {
"items": {
"type": "string"
},
"type": "array"
},
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ModelLevelConstraint",
"type": "object"
},
"type": "array"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"deprecation_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"latest_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "model"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "ModelNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "rpc"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "RPCNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "sql_operation"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SqlNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"attached_node": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"column_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enabled": {
"default": true,
"type": "boolean"
},
"error_if": {
"default": "!= 0",
"type": "string"
},
"fail_calc": {
"default": "count(*)",
"type": "string"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "test",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "dbt_test__audit"
},
"severity": {
"default": "ERROR",
"pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
"type": "string"
},
"store_failures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"store_failures_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"warn_if": {
"default": "!= 0",
"type": "string"
},
"where": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"file_key_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"test_metadata": {
"additionalProperties": false,
"properties": {
"kwargs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"namespace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "TestMetadata",
"type": "object"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"test_metadata",
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "GenericTestNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"check_cols": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "snapshot",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"target_database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"target_schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"updated_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SnapshotConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "snapshot"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum",
"config"
],
"title": "SnapshotNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"expected_rows": {
"items": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "UnitTestNodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"overrides": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"env_vars": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"macros": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"vars": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"title": "UnitTestOverrides",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "unit_test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"tested_node_unique_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"this_input_node_unique_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "UnitTestNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"delimiter": {
"default": ",",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "seed",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quote_columns": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SeedConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "MacroDependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "seed"
},
"root_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SeedNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
}
},
"title": "SourceConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"default": "",
"type": "string"
},
"external": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"file_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"location": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"partitions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"items": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"data_type": {
"default": "",
"type": "string"
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"default": "",
"type": "string"
}
},
"title": "ExternalPartition",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"row_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tbl_properties": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ExternalTable",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"freshness": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"error_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
},
"filter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"warn_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
}
},
"title": "FreshnessThreshold",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"identifier": {
"type": "string"
},
"loaded_at_field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"loader": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"quoting": {
"additionalProperties": false,
"properties": {
"column": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"identifier": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Quoting",
"type": "object"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "source"
},
"schema": {
"type": "string"
},
"source_description": {
"type": "string"
},
"source_meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"source_name": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"source_name",
"source_description",
"loader",
"identifier"
],
"title": "SourceDefinition",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
}
},
"title": "ExposureConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"maturity": {
"anyOf": [
{
"enum": [
"low",
"medium",
"high"
]
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"owner": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Owner",
"type": "object"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"const": "exposure"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"dashboard",
"notebook",
"analysis",
"ml",
"application"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"type",
"owner"
],
"title": "Exposure",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "MetricConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"type": "string"
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"const": "metric"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"simple",
"ratio",
"cumulative",
"derived",
"conversion"
]
},
"type_params": {
"additionalProperties": false,
"properties": {
"conversion_type_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"base_measure": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"calculation": {
"default": "conversion_rate",
"enum": [
"conversions",
"conversion_rate"
]
},
"constant_properties": {
"anyOf": [
{
"items": {
"additionalProperties": false,
"properties": {
"base_property": {
"type": "string"
},
"conversion_property": {
"type": "string"
}
},
"required": [
"base_property",
"conversion_property"
],
"title": "ConstantPropertyInput",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"conversion_measure": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"entity": {
"type": "string"
},
"window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"base_measure",
"conversion_measure",
"entity"
],
"title": "ConversionTypeParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"denominator": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"grain_to_date": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"input_measures": {
"items": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"type": "array"
},
"measure": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"metrics": {
"anyOf": [
{
"items": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"numerator": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "MetricTypeParams",
"type": "object"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"description",
"label",
"type",
"type_params"
],
"title": "Metric",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"export_as": {
"anyOf": [
{
"enum": [
"table",
"view"
]
},
{
"type": "null"
}
],
"default": null
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SavedQueryConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"exports": {
"items": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"export_as": {
"enum": [
"table",
"view"
]
},
"schema_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"export_as"
],
"title": "ExportConfig",
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"config"
],
"title": "Export",
"type": "object"
},
"type": "array"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"query_params": {
"additionalProperties": false,
"properties": {
"group_by": {
"items": {
"type": "string"
},
"type": "array"
},
"metrics": {
"items": {
"type": "string"
},
"type": "array"
},
"where": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"metrics",
"group_by",
"where"
],
"title": "QueryParams",
"type": "object"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"query_params",
"exports"
],
"title": "SavedQuery",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"title": "SemanticModelConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"defaults": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"agg_time_dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Defaults",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"dimensions": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"is_partition": {
"default": false,
"type": "boolean"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"type": {
"enum": [
"categorical",
"time"
]
},
"type_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"time_granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
"validity_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"is_end": {
"default": false,
"type": "boolean"
},
"is_start": {
"default": false,
"type": "boolean"
}
},
"title": "DimensionValidityParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"time_granularity"
],
"title": "DimensionTypeParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"type"
],
"title": "Dimension",
"type": "object"
},
"type": "array"
},
"entities": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"foreign",
"natural",
"primary",
"unique"
]
}
},
"required": [
"name",
"type"
],
"title": "Entity",
"type": "object"
},
"type": "array"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"measures": {
"items": {
"additionalProperties": false,
"properties": {
"agg": {
"enum": [
"sum",
"min",
"max",
"count_distinct",
"sum_boolean",
"average",
"percentile",
"median",
"count"
]
},
"agg_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"percentile": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"use_approximate_percentile": {
"default": false,
"type": "boolean"
},
"use_discrete_percentile": {
"default": false,
"type": "boolean"
}
},
"title": "MeasureAggregationParameters",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"agg_time_dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"create_metric": {
"default": false,
"type": "boolean"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"non_additive_dimension": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"window_choice": {
"enum": [
"sum",
"min",
"max",
"count_distinct",
"sum_boolean",
"average",
"percentile",
"median",
"count"
]
},
"window_groupings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"window_choice",
"window_groupings"
],
"title": "NonAdditiveDimension",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"agg"
],
"title": "Measure",
"type": "object"
},
"type": "array"
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"model": {
"type": "string"
},
"name": {
"type": "string"
},
"node_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema_name": {
"type": "string"
}
},
"required": [
"alias",
"schema_name"
],
"title": "NodeRelation",
"type": "object"
},
{
"type": "null"
}
]
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"primary_entity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"model",
"node_relation"
],
"title": "SemanticModel",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"tags": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
}
},
"title": "UnitTestConfig",
"type": "object"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"expect": {
"additionalProperties": false,
"properties": {
"fixture": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"format": {
"default": "dict",
"enum": [
"csv",
"dict"
]
},
"rows": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "UnitTestOutputFixture",
"type": "object"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"given": {
"items": {
"additionalProperties": false,
"properties": {
"fixture": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"format": {
"default": "dict",
"enum": [
"csv",
"dict"
]
},
"input": {
"type": "string"
},
"rows": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"input"
],
"title": "UnitTestInputFixture",
"type": "object"
},
"type": "array"
},
"model": {
"type": "string"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"overrides": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"env_vars": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"macros": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"vars": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"title": "UnitTestOverrides",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"unique_id": {
"type": "string"
}
},
"required": [
"model",
"given",
"expect",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn"
],
"title": "UnitTestDefinition",
"type": "object"
}
]
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "A mapping of the disabled nodes in the target"
},
"docs": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"block_contents": {
"type": "string"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"resource_type": {
"const": "doc"
},
"unique_id": {
"type": "string"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"block_contents"
],
"title": "Documentation",
"type": "object"
},
"description": "The docs defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"exposures": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
}
},
"title": "ExposureConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"maturity": {
"anyOf": [
{
"enum": [
"low",
"medium",
"high"
]
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"owner": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Owner",
"type": "object"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"const": "exposure"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"dashboard",
"notebook",
"analysis",
"ml",
"application"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"type",
"owner"
],
"title": "Exposure",
"type": "object"
},
"description": "The exposures defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group_map": {
"anyOf": [
{
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "A mapping from group names to their nodes"
},
"groups": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"owner": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Owner",
"type": "object"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"resource_type": {
"const": "group"
},
"unique_id": {
"type": "string"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"owner"
],
"title": "Group",
"type": "object"
},
"description": "The groups defined in the dbt project",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"macros": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"arguments": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"default": "",
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MacroArgument",
"type": "object"
},
"type": "array"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "MacroDependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"macro_sql": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"resource_type": {
"const": "macro"
},
"supported_languages": {
"anyOf": [
{
"items": {
"enum": [
"python",
"sql"
]
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"unique_id": {
"type": "string"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"macro_sql"
],
"title": "Macro",
"type": "object"
},
"description": "The macros defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metadata": {
"additionalProperties": false,
"description": "Metadata about the manifest",
"properties": {
"adapter_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The type name of the adapter"
},
"dbt_schema_version": {
"type": "string"
},
"dbt_version": {
"default": "1.8.0a1",
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"generated_at": {
"type": "string"
},
"invocation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A unique identifier for the project, hashed from the project name"
},
"project_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Name of the root project"
},
"send_anonymous_usage_stats": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Whether dbt is configured to send anonymous usage statistics"
},
"user_id": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A unique identifier for the user"
}
},
"title": "ManifestMetadata",
"type": "object"
},
"metrics": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "MetricConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"type": "string"
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"const": "metric"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"simple",
"ratio",
"cumulative",
"derived",
"conversion"
]
},
"type_params": {
"additionalProperties": false,
"properties": {
"conversion_type_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"base_measure": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"calculation": {
"default": "conversion_rate",
"enum": [
"conversions",
"conversion_rate"
]
},
"constant_properties": {
"anyOf": [
{
"items": {
"additionalProperties": false,
"properties": {
"base_property": {
"type": "string"
},
"conversion_property": {
"type": "string"
}
},
"required": [
"base_property",
"conversion_property"
],
"title": "ConstantPropertyInput",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"conversion_measure": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"entity": {
"type": "string"
},
"window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"base_measure",
"conversion_measure",
"entity"
],
"title": "ConversionTypeParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"denominator": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"grain_to_date": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"input_measures": {
"items": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"type": "array"
},
"measure": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"metrics": {
"anyOf": [
{
"items": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"numerator": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "MetricTypeParams",
"type": "object"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"description",
"label",
"type",
"type_params"
],
"title": "Metric",
"type": "object"
},
"description": "The metrics defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"nodes": {
"additionalProperties": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "analysis"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "AnalysisNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enabled": {
"default": true,
"type": "boolean"
},
"error_if": {
"default": "!= 0",
"type": "string"
},
"fail_calc": {
"default": "count(*)",
"type": "string"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "test",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "dbt_test__audit"
},
"severity": {
"default": "ERROR",
"pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
"type": "string"
},
"store_failures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"store_failures_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"warn_if": {
"default": "!= 0",
"type": "string"
},
"where": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SingularTestNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "operation"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "HookNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"access": {
"default": "protected",
"enum": [
"private",
"protected",
"public"
]
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"access": {
"default": "protected",
"enum": [
"private",
"protected",
"public"
]
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ModelConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"columns": {
"items": {
"type": "string"
},
"type": "array"
},
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ModelLevelConstraint",
"type": "object"
},
"type": "array"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"deprecation_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"latest_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "model"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "ModelNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "rpc"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "RPCNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "sql_operation"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SqlNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"attached_node": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"column_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enabled": {
"default": true,
"type": "boolean"
},
"error_if": {
"default": "!= 0",
"type": "string"
},
"fail_calc": {
"default": "count(*)",
"type": "string"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "test",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "dbt_test__audit"
},
"severity": {
"default": "ERROR",
"pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
"type": "string"
},
"store_failures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"store_failures_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"warn_if": {
"default": "!= 0",
"type": "string"
},
"where": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"file_key_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"test_metadata": {
"additionalProperties": false,
"properties": {
"kwargs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"namespace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "TestMetadata",
"type": "object"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"test_metadata",
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "GenericTestNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"check_cols": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "snapshot",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"target_database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"target_schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"updated_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SnapshotConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "snapshot"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum",
"config"
],
"title": "SnapshotNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"expected_rows": {
"items": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "UnitTestNodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"overrides": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"env_vars": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"macros": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"vars": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"title": "UnitTestOverrides",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "unit_test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"tested_node_unique_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"this_input_node_unique_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "UnitTestNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"delimiter": {
"default": ",",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "seed",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quote_columns": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SeedConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"deferred": {
"default": false,
"type": "boolean"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "MacroDependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "seed"
},
"root_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SeedNode",
"type": "object"
}
]
},
"description": "The nodes defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"parent_map": {
"anyOf": [
{
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "A mapping from\u00a0child nodes to their dependencies"
},
"saved_queries": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"export_as": {
"anyOf": [
{
"enum": [
"table",
"view"
]
},
{
"type": "null"
}
],
"default": null
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SavedQueryConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"exports": {
"items": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"export_as": {
"enum": [
"table",
"view"
]
},
"schema_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"export_as"
],
"title": "ExportConfig",
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"config"
],
"title": "Export",
"type": "object"
},
"type": "array"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"query_params": {
"additionalProperties": false,
"properties": {
"group_by": {
"items": {
"type": "string"
},
"type": "array"
},
"metrics": {
"items": {
"type": "string"
},
"type": "array"
},
"where": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"metrics",
"group_by",
"where"
],
"title": "QueryParams",
"type": "object"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"query_params",
"exports"
],
"title": "SavedQuery",
"type": "object"
},
"description": "The saved queries defined in the dbt project",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"selectors": {
"description": "The selectors defined in selectors.yml",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"semantic_models": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"title": "SemanticModelConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"defaults": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"agg_time_dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Defaults",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"dimensions": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"is_partition": {
"default": false,
"type": "boolean"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"type": {
"enum": [
"categorical",
"time"
]
},
"type_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"time_granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
"validity_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"is_end": {
"default": false,
"type": "boolean"
},
"is_start": {
"default": false,
"type": "boolean"
}
},
"title": "DimensionValidityParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"time_granularity"
],
"title": "DimensionTypeParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"type"
],
"title": "Dimension",
"type": "object"
},
"type": "array"
},
"entities": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"foreign",
"natural",
"primary",
"unique"
]
}
},
"required": [
"name",
"type"
],
"title": "Entity",
"type": "object"
},
"type": "array"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"measures": {
"items": {
"additionalProperties": false,
"properties": {
"agg": {
"enum": [
"sum",
"min",
"max",
"count_distinct",
"sum_boolean",
"average",
"percentile",
"median",
"count"
]
},
"agg_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"percentile": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"use_approximate_percentile": {
"default": false,
"type": "boolean"
},
"use_discrete_percentile": {
"default": false,
"type": "boolean"
}
},
"title": "MeasureAggregationParameters",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"agg_time_dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"create_metric": {
"default": false,
"type": "boolean"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"non_additive_dimension": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"window_choice": {
"enum": [
"sum",
"min",
"max",
"count_distinct",
"sum_boolean",
"average",
"percentile",
"median",
"count"
]
},
"window_groupings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"window_choice",
"window_groupings"
],
"title": "NonAdditiveDimension",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"agg"
],
"title": "Measure",
"type": "object"
},
"type": "array"
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"model": {
"type": "string"
},
"name": {
"type": "string"
},
"node_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema_name": {
"type": "string"
}
},
"required": [
"alias",
"schema_name"
],
"title": "NodeRelation",
"type": "object"
},
{
"type": "null"
}
]
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"primary_entity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"model",
"node_relation"
],
"title": "SemanticModel",
"type": "object"
},
"description": "The semantic models defined in the dbt project",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"sources": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
}
},
"title": "SourceConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"default": "",
"type": "string"
},
"external": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"file_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"location": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"partitions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"items": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"data_type": {
"default": "",
"type": "string"
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"default": "",
"type": "string"
}
},
"title": "ExternalPartition",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"row_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tbl_properties": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ExternalTable",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"freshness": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"error_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
},
"filter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"warn_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
}
},
"title": "FreshnessThreshold",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"identifier": {
"type": "string"
},
"loaded_at_field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"loader": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"quoting": {
"additionalProperties": false,
"properties": {
"column": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"identifier": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Quoting",
"type": "object"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "source"
},
"schema": {
"type": "string"
},
"source_description": {
"type": "string"
},
"source_meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"source_name": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"source_name",
"source_description",
"loader",
"identifier"
],
"title": "SourceDefinition",
"type": "object"
},
"description": "The sources defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"unit_tests": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"_event_status": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"tags": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
}
},
"title": "UnitTestConfig",
"type": "object"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"expect": {
"additionalProperties": false,
"properties": {
"fixture": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"format": {
"default": "dict",
"enum": [
"csv",
"dict"
]
},
"rows": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "UnitTestOutputFixture",
"type": "object"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"given": {
"items": {
"additionalProperties": false,
"properties": {
"fixture": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"format": {
"default": "dict",
"enum": [
"csv",
"dict"
]
},
"input": {
"type": "string"
},
"rows": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"input"
],
"title": "UnitTestInputFixture",
"type": "object"
},
"type": "array"
},
"model": {
"type": "string"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"overrides": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"env_vars": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"macros": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"vars": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"title": "UnitTestOverrides",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"unique_id": {
"type": "string"
}
},
"required": [
"model",
"given",
"expect",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn"
],
"title": "UnitTestDefinition",
"type": "object"
},
"description": "The unit tests defined in the project",
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"metadata",
"nodes",
"sources",
"macros",
"docs",
"exposures",
"metrics",
"groups",
"selectors",
"disabled",
"parent_map",
"child_map",
"group_map",
"saved_queries",
"semantic_models",
"unit_tests"
],
"title": "WritableManifest",
"type": "object"
} | Apache-2.0 | en |
dbt-labs/dbt-core | f063e4e01c3faeba9ba559fcf153c2dd6148c8dd | 2023-08-30T18:06:59 | schemas/dbt/sources/v3.json | 9,025 | 2024-05-29T16:12:08.170831Z | {
"$defs": {
"FreshnessExecutionResultArtifact": {
"additionalProperties": false,
"properties": {
"elapsed_time": {
"type": "number"
},
"metadata": {
"$ref": "#/$defs/FreshnessMetadata"
},
"results": {
"items": {
"anyOf": [
{
"$ref": "#/$defs/SourceFreshnessRuntimeError"
},
{
"$ref": "#/$defs/SourceFreshnessOutput"
}
]
},
"type": "array"
}
},
"required": [
"metadata",
"results",
"elapsed_time"
],
"title": "FreshnessExecutionResultArtifact",
"type": "object"
},
"FreshnessMetadata": {
"additionalProperties": false,
"properties": {
"dbt_schema_version": {
"type": "string"
},
"dbt_version": {
"default": "1.7.0b1",
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"generated_at": {
"type": "string"
},
"invocation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"title": "FreshnessMetadata",
"type": "object"
},
"FreshnessThreshold": {
"additionalProperties": false,
"properties": {
"error_after": {
"anyOf": [
{
"$ref": "#/$defs/Time"
},
{
"type": "null"
}
]
},
"filter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"warn_after": {
"anyOf": [
{
"$ref": "#/$defs/Time"
},
{
"type": "null"
}
]
}
},
"title": "FreshnessThreshold",
"type": "object"
},
"SourceFreshnessOutput": {
"additionalProperties": false,
"properties": {
"adapter_response": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"criteria": {
"$ref": "#/$defs/FreshnessThreshold"
},
"execution_time": {
"type": "number"
},
"max_loaded_at": {
"type": "string"
},
"max_loaded_at_time_ago_in_s": {
"type": "number"
},
"snapshotted_at": {
"type": "string"
},
"status": {
"enum": [
"pass",
"warn",
"error",
"runtime error"
]
},
"thread_id": {
"type": "string"
},
"timing": {
"items": {
"$ref": "#/$defs/TimingInfo"
},
"type": "array"
},
"unique_id": {
"type": "string"
}
},
"required": [
"unique_id",
"max_loaded_at",
"snapshotted_at",
"max_loaded_at_time_ago_in_s",
"status",
"criteria",
"adapter_response",
"timing",
"thread_id",
"execution_time"
],
"title": "SourceFreshnessOutput",
"type": "object"
},
"SourceFreshnessRuntimeError": {
"additionalProperties": false,
"properties": {
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "null"
}
]
},
"status": {
"enum": [
"runtime error"
]
},
"unique_id": {
"type": "string"
}
},
"required": [
"unique_id",
"error",
"status"
],
"title": "SourceFreshnessRuntimeError",
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
"TimingInfo": {
"additionalProperties": false,
"properties": {
"completed_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "TimingInfo",
"type": "object"
}
},
"$id": "https://schemas.getdbt.com/dbt/sources/v3.json",
"$ref": "#/$defs/FreshnessExecutionResultArtifact"
} | Apache-2.0 | en |
dbt-labs/dbt-core | 8fe7d652ab60990c564d4acc7aa80ae96d8be6f0 | 2024-05-10T19:14:20 | schemas/dbt/manifest/v12.json | 9,025 | 2024-05-29T16:12:08.170831Z | {
"$id": "https://schemas.getdbt.com/dbt/manifest/v12.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"child_map": {
"anyOf": [
{
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "A mapping from parent nodes to their dependents"
},
"disabled": {
"anyOf": [
{
"additionalProperties": {
"items": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"delimiter": {
"default": ",",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "seed",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quote_columns": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SeedConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"config": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
{
"type": "null"
}
]
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"schema": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name",
"resource_type",
"name",
"description",
"compiled_code",
"meta",
"tags",
"config"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "MacroDependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "seed"
},
"root_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "Seed",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "analysis"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "Analysis",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enabled": {
"default": true,
"type": "boolean"
},
"error_if": {
"default": "!= 0",
"type": "string"
},
"fail_calc": {
"default": "count(*)",
"type": "string"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "test",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "dbt_test__audit"
},
"severity": {
"default": "ERROR",
"pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
"type": "string"
},
"store_failures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"store_failures_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"warn_if": {
"default": "!= 0",
"type": "string"
},
"where": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SingularTest",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "operation"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "HookNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"access": {
"default": "protected",
"enum": [
"private",
"protected",
"public"
]
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"access": {
"default": "protected",
"enum": [
"private",
"protected",
"public"
]
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ModelConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"columns": {
"items": {
"type": "string"
},
"type": "array"
},
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ModelLevelConstraint",
"type": "object"
},
"type": "array"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"config": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
{
"type": "null"
}
]
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"schema": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name",
"resource_type",
"name",
"description",
"compiled_code",
"meta",
"tags",
"config"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"deprecation_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"latest_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"primary_key": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "model"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "Model",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "sql_operation"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SqlOperation",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"attached_node": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"column_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enabled": {
"default": true,
"type": "boolean"
},
"error_if": {
"default": "!= 0",
"type": "string"
},
"fail_calc": {
"default": "count(*)",
"type": "string"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "test",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "dbt_test__audit"
},
"severity": {
"default": "ERROR",
"pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
"type": "string"
},
"store_failures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"store_failures_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"warn_if": {
"default": "!= 0",
"type": "string"
},
"where": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"file_key_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"test_metadata": {
"additionalProperties": false,
"properties": {
"kwargs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"default": "test",
"type": "string"
},
"namespace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestMetadata",
"type": "object"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "GenericTest",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"check_cols": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "snapshot",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"target_database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"target_schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"updated_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SnapshotConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"config": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
{
"type": "null"
}
]
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"schema": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name",
"resource_type",
"name",
"description",
"compiled_code",
"meta",
"tags",
"config"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "snapshot"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum",
"config"
],
"title": "Snapshot",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
}
},
"title": "SourceConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"default": "",
"type": "string"
},
"external": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"file_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"location": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"partitions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"items": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"data_type": {
"default": "",
"type": "string"
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"default": "",
"type": "string"
}
},
"title": "ExternalPartition",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"row_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tbl_properties": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ExternalTable",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"freshness": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"error_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
},
"filter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"warn_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
}
},
"title": "FreshnessThreshold",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"identifier": {
"type": "string"
},
"loaded_at_field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"loader": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"quoting": {
"additionalProperties": false,
"properties": {
"column": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"identifier": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Quoting",
"type": "object"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "source"
},
"schema": {
"type": "string"
},
"source_description": {
"type": "string"
},
"source_meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"source_name": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"source_name",
"source_description",
"loader",
"identifier"
],
"title": "SourceDefinition",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
}
},
"title": "ExposureConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"maturity": {
"anyOf": [
{
"enum": [
"low",
"medium",
"high"
]
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"owner": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Owner",
"type": "object"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"const": "exposure"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"dashboard",
"notebook",
"analysis",
"ml",
"application"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"type",
"owner"
],
"title": "Exposure",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"title": "MetricConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"type": "string"
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"const": "metric"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"simple",
"ratio",
"cumulative",
"derived",
"conversion"
]
},
"type_params": {
"additionalProperties": false,
"properties": {
"conversion_type_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"base_measure": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"calculation": {
"default": "conversion_rate",
"enum": [
"conversions",
"conversion_rate"
]
},
"constant_properties": {
"anyOf": [
{
"items": {
"additionalProperties": false,
"properties": {
"base_property": {
"type": "string"
},
"conversion_property": {
"type": "string"
}
},
"required": [
"base_property",
"conversion_property"
],
"title": "ConstantPropertyInput",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"conversion_measure": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"entity": {
"type": "string"
},
"window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"base_measure",
"conversion_measure",
"entity"
],
"title": "ConversionTypeParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"denominator": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"grain_to_date": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"input_measures": {
"items": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"type": "array"
},
"measure": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"metrics": {
"anyOf": [
{
"items": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"numerator": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "MetricTypeParams",
"type": "object"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"description",
"label",
"type",
"type_params"
],
"title": "Metric",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"cache": {
"additionalProperties": false,
"properties": {
"enabled": {
"default": false,
"type": "boolean"
}
},
"title": "SavedQueryCache",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"export_as": {
"anyOf": [
{
"enum": [
"table",
"view"
]
},
{
"type": "null"
}
],
"default": null
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SavedQueryConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"exports": {
"items": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"export_as": {
"enum": [
"table",
"view"
]
},
"schema_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"export_as"
],
"title": "ExportConfig",
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"config"
],
"title": "Export",
"type": "object"
},
"type": "array"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"query_params": {
"additionalProperties": false,
"properties": {
"group_by": {
"items": {
"type": "string"
},
"type": "array"
},
"metrics": {
"items": {
"type": "string"
},
"type": "array"
},
"where": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"metrics",
"group_by",
"where"
],
"title": "QueryParams",
"type": "object"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"query_params",
"exports"
],
"title": "SavedQuery",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"title": "SemanticModelConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"defaults": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"agg_time_dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Defaults",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"dimensions": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"is_partition": {
"default": false,
"type": "boolean"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"type": {
"enum": [
"categorical",
"time"
]
},
"type_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"time_granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
"validity_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"is_end": {
"default": false,
"type": "boolean"
},
"is_start": {
"default": false,
"type": "boolean"
}
},
"title": "DimensionValidityParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"time_granularity"
],
"title": "DimensionTypeParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"type"
],
"title": "Dimension",
"type": "object"
},
"type": "array"
},
"entities": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"foreign",
"natural",
"primary",
"unique"
]
}
},
"required": [
"name",
"type"
],
"title": "Entity",
"type": "object"
},
"type": "array"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"measures": {
"items": {
"additionalProperties": false,
"properties": {
"agg": {
"enum": [
"sum",
"min",
"max",
"count_distinct",
"sum_boolean",
"average",
"percentile",
"median",
"count"
]
},
"agg_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"percentile": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"use_approximate_percentile": {
"default": false,
"type": "boolean"
},
"use_discrete_percentile": {
"default": false,
"type": "boolean"
}
},
"title": "MeasureAggregationParameters",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"agg_time_dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"create_metric": {
"default": false,
"type": "boolean"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"non_additive_dimension": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"window_choice": {
"enum": [
"sum",
"min",
"max",
"count_distinct",
"sum_boolean",
"average",
"percentile",
"median",
"count"
]
},
"window_groupings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"window_choice",
"window_groupings"
],
"title": "NonAdditiveDimension",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"agg"
],
"title": "Measure",
"type": "object"
},
"type": "array"
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"model": {
"type": "string"
},
"name": {
"type": "string"
},
"node_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": ""
},
"schema_name": {
"type": "string"
}
},
"required": [
"alias",
"schema_name"
],
"title": "NodeRelation",
"type": "object"
},
{
"type": "null"
}
]
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"primary_entity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"model",
"node_relation"
],
"title": "SemanticModel",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"tags": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
}
},
"title": "UnitTestConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"expect": {
"additionalProperties": false,
"properties": {
"fixture": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"format": {
"default": "dict",
"enum": [
"csv",
"dict",
"sql"
]
},
"rows": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "UnitTestOutputFixture",
"type": "object"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"given": {
"items": {
"additionalProperties": false,
"properties": {
"fixture": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"format": {
"default": "dict",
"enum": [
"csv",
"dict",
"sql"
]
},
"input": {
"type": "string"
},
"rows": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"input"
],
"title": "UnitTestInputFixture",
"type": "object"
},
"type": "array"
},
"model": {
"type": "string"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"overrides": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"env_vars": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"macros": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"vars": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"title": "UnitTestOverrides",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"unique_id": {
"type": "string"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"versions": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"exclude": {
"anyOf": [
{
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"include": {
"anyOf": [
{
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "UnitTestNodeVersions",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"model",
"given",
"expect",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn"
],
"title": "UnitTestDefinition",
"type": "object"
}
]
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "A mapping of the disabled nodes in the target"
},
"docs": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"block_contents": {
"type": "string"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"resource_type": {
"const": "doc"
},
"unique_id": {
"type": "string"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"block_contents"
],
"title": "Documentation",
"type": "object"
},
"description": "The docs defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"exposures": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
}
},
"title": "ExposureConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"maturity": {
"anyOf": [
{
"enum": [
"low",
"medium",
"high"
]
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"owner": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Owner",
"type": "object"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"const": "exposure"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"dashboard",
"notebook",
"analysis",
"ml",
"application"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"type",
"owner"
],
"title": "Exposure",
"type": "object"
},
"description": "The exposures defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group_map": {
"anyOf": [
{
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "A mapping from group names to their nodes"
},
"groups": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"owner": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Owner",
"type": "object"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"resource_type": {
"const": "group"
},
"unique_id": {
"type": "string"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"owner"
],
"title": "Group",
"type": "object"
},
"description": "The groups defined in the dbt project",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"macros": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"arguments": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"default": "",
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MacroArgument",
"type": "object"
},
"type": "array"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "MacroDependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"macro_sql": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"resource_type": {
"const": "macro"
},
"supported_languages": {
"anyOf": [
{
"items": {
"enum": [
"python",
"sql"
]
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"unique_id": {
"type": "string"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"macro_sql"
],
"title": "Macro",
"type": "object"
},
"description": "The macros defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metadata": {
"additionalProperties": false,
"description": "Metadata about the manifest",
"properties": {
"adapter_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The type name of the adapter"
},
"dbt_schema_version": {
"type": "string"
},
"dbt_version": {
"default": "1.8.0b3",
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"generated_at": {
"type": "string"
},
"invocation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A unique identifier for the project, hashed from the project name"
},
"project_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Name of the root project"
},
"send_anonymous_usage_stats": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Whether dbt is configured to send anonymous usage statistics"
},
"user_id": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A unique identifier for the user"
}
},
"title": "ManifestMetadata",
"type": "object"
},
"metrics": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"title": "MetricConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"type": "string"
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"const": "metric"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"simple",
"ratio",
"cumulative",
"derived",
"conversion"
]
},
"type_params": {
"additionalProperties": false,
"properties": {
"conversion_type_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"base_measure": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"calculation": {
"default": "conversion_rate",
"enum": [
"conversions",
"conversion_rate"
]
},
"constant_properties": {
"anyOf": [
{
"items": {
"additionalProperties": false,
"properties": {
"base_property": {
"type": "string"
},
"conversion_property": {
"type": "string"
}
},
"required": [
"base_property",
"conversion_property"
],
"title": "ConstantPropertyInput",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"conversion_measure": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"entity": {
"type": "string"
},
"window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"base_measure",
"conversion_measure",
"entity"
],
"title": "ConversionTypeParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"denominator": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"grain_to_date": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"input_measures": {
"items": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
"type": "array"
},
"measure": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fill_nulls_with": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"join_to_timespine": {
"default": false,
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"title": "MetricInputMeasure",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"metrics": {
"anyOf": [
{
"items": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"numerator": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"filter": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"offset_to_grain": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
{
"type": "null"
}
],
"default": null
},
"offset_window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "MetricInput",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"window": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
}
},
"required": [
"count",
"granularity"
],
"title": "MetricTimeWindow",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "MetricTypeParams",
"type": "object"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"description",
"label",
"type",
"type_params"
],
"title": "Metric",
"type": "object"
},
"description": "The metrics defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"nodes": {
"additionalProperties": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"delimiter": {
"default": ",",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "seed",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quote_columns": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SeedConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"config": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
{
"type": "null"
}
]
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"schema": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name",
"resource_type",
"name",
"description",
"compiled_code",
"meta",
"tags",
"config"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "MacroDependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "seed"
},
"root_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "Seed",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "analysis"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "Analysis",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enabled": {
"default": true,
"type": "boolean"
},
"error_if": {
"default": "!= 0",
"type": "string"
},
"fail_calc": {
"default": "count(*)",
"type": "string"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "test",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "dbt_test__audit"
},
"severity": {
"default": "ERROR",
"pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
"type": "string"
},
"store_failures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"store_failures_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"warn_if": {
"default": "!= 0",
"type": "string"
},
"where": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SingularTest",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "operation"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "HookNode",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"access": {
"default": "protected",
"enum": [
"private",
"protected",
"public"
]
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"access": {
"default": "protected",
"enum": [
"private",
"protected",
"public"
]
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ModelConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"columns": {
"items": {
"type": "string"
},
"type": "array"
},
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ModelLevelConstraint",
"type": "object"
},
"type": "array"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"config": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
{
"type": "null"
}
]
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"schema": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name",
"resource_type",
"name",
"description",
"compiled_code",
"meta",
"tags",
"config"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"deprecation_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"latest_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"primary_key": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "model"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "Model",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "sql_operation"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "SqlOperation",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"attached_node": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"column_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enabled": {
"default": true,
"type": "boolean"
},
"error_if": {
"default": "!= 0",
"type": "string"
},
"fail_calc": {
"default": "count(*)",
"type": "string"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "test",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "dbt_test__audit"
},
"severity": {
"default": "ERROR",
"pattern": "^([Ww][Aa][Rr][Nn]|[Ee][Rr][Rr][Oo][Rr])$",
"type": "string"
},
"store_failures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"store_failures_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"warn_if": {
"default": "!= 0",
"type": "string"
},
"where": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"file_key_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "test"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"test_metadata": {
"additionalProperties": false,
"properties": {
"kwargs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"default": "test",
"type": "string"
},
"namespace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "TestMetadata",
"type": "object"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum"
],
"title": "GenericTest",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"_pre_injected_sql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"alias": {
"type": "string"
},
"build_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"checksum": {
"additionalProperties": false,
"properties": {
"checksum": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"checksum"
],
"title": "FileHash",
"type": "object"
},
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"compiled": {
"default": false,
"type": "boolean"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"compiled_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"check_cols": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "snapshot",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"target_database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"target_schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"updated_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SnapshotConfig",
"type": "object"
},
"config_call_dict": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "Contract",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"defer_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"compiled_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"config": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"column_types": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"contract": {
"additionalProperties": false,
"properties": {
"alias_types": {
"default": true,
"type": "boolean"
},
"enforced": {
"default": false,
"type": "boolean"
}
},
"title": "ContractConfig",
"type": "object"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"full_refresh": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"grants": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"incremental_strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"materialized": {
"default": "view",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"on_configuration_change": {
"enum": [
"apply",
"continue",
"fail"
]
},
"on_schema_change": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "ignore"
},
"packages": {
"items": {
"type": "string"
},
"type": "array"
},
"persist_docs": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"post-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"pre-hook": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sql": {
"type": "string"
},
"transaction": {
"default": true,
"type": "boolean"
}
},
"required": [
"sql"
],
"title": "Hook",
"type": "object"
},
"type": "array"
},
"quoting": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"unique_key": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "NodeConfig",
"type": "object"
},
{
"type": "null"
}
]
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"schema": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"database",
"schema",
"alias",
"relation_name",
"resource_type",
"name",
"description",
"compiled_code",
"meta",
"tags",
"config"
],
"title": "DeferRelation",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"docs": {
"additionalProperties": false,
"properties": {
"node_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"show": {
"default": true,
"type": "boolean"
}
},
"title": "Docs",
"type": "object"
},
"extra_ctes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"id",
"sql"
],
"title": "InjectedCTE",
"type": "object"
},
"type": "array"
},
"extra_ctes_injected": {
"default": false,
"type": "boolean"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"language": {
"default": "sql",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metrics": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"raw_code": {
"default": "",
"type": "string"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "snapshot"
},
"schema": {
"type": "string"
},
"sources": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"alias",
"checksum",
"config"
],
"title": "Snapshot",
"type": "object"
}
]
},
"description": "The nodes defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"parent_map": {
"anyOf": [
{
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "A mapping from\u00a0child nodes to their dependencies"
},
"saved_queries": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"cache": {
"additionalProperties": false,
"properties": {
"enabled": {
"default": false,
"type": "boolean"
}
},
"title": "SavedQueryCache",
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"export_as": {
"anyOf": [
{
"enum": [
"table",
"view"
]
},
{
"type": "null"
}
],
"default": null
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "SavedQueryConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"exports": {
"items": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"export_as": {
"enum": [
"table",
"view"
]
},
"schema_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"export_as"
],
"title": "ExportConfig",
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"config"
],
"title": "Export",
"type": "object"
},
"type": "array"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"query_params": {
"additionalProperties": false,
"properties": {
"group_by": {
"items": {
"type": "string"
},
"type": "array"
},
"metrics": {
"items": {
"type": "string"
},
"type": "array"
},
"where": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"where_filters": {
"items": {
"additionalProperties": false,
"properties": {
"where_sql_template": {
"type": "string"
}
},
"required": [
"where_sql_template"
],
"title": "WhereFilter",
"type": "object"
},
"type": "array"
}
},
"required": [
"where_filters"
],
"title": "WhereFilterIntersection",
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"metrics",
"group_by",
"where"
],
"title": "QueryParams",
"type": "object"
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"query_params",
"exports"
],
"title": "SavedQuery",
"type": "object"
},
"description": "The saved queries defined in the dbt project",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"selectors": {
"description": "The selectors defined in selectors.yml",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"semantic_models": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"title": "SemanticModelConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"defaults": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"agg_time_dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Defaults",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"dimensions": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"is_partition": {
"default": false,
"type": "boolean"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"type": {
"enum": [
"categorical",
"time"
]
},
"type_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"time_granularity": {
"enum": [
"day",
"week",
"month",
"quarter",
"year"
]
},
"validity_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"is_end": {
"default": false,
"type": "boolean"
},
"is_start": {
"default": false,
"type": "boolean"
}
},
"title": "DimensionValidityParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"time_granularity"
],
"title": "DimensionTypeParams",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"type"
],
"title": "Dimension",
"type": "object"
},
"type": "array"
},
"entities": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"foreign",
"natural",
"primary",
"unique"
]
}
},
"required": [
"name",
"type"
],
"title": "Entity",
"type": "object"
},
"type": "array"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"group": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"measures": {
"items": {
"additionalProperties": false,
"properties": {
"agg": {
"enum": [
"sum",
"min",
"max",
"count_distinct",
"sum_boolean",
"average",
"percentile",
"median",
"count"
]
},
"agg_params": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"percentile": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"use_approximate_percentile": {
"default": false,
"type": "boolean"
},
"use_discrete_percentile": {
"default": false,
"type": "boolean"
}
},
"title": "MeasureAggregationParameters",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"agg_time_dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"create_metric": {
"default": false,
"type": "boolean"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"non_additive_dimension": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"window_choice": {
"enum": [
"sum",
"min",
"max",
"count_distinct",
"sum_boolean",
"average",
"percentile",
"median",
"count"
]
},
"window_groupings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"window_choice",
"window_groupings"
],
"title": "NonAdditiveDimension",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name",
"agg"
],
"title": "Measure",
"type": "object"
},
"type": "array"
},
"metadata": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"file_slice": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"end_line_number": {
"type": "integer"
},
"filename": {
"type": "string"
},
"start_line_number": {
"type": "integer"
}
},
"required": [
"filename",
"content",
"start_line_number",
"end_line_number"
],
"title": "FileSlice",
"type": "object"
},
"repo_file_path": {
"type": "string"
}
},
"required": [
"repo_file_path",
"file_slice"
],
"title": "SourceFileMetadata",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"model": {
"type": "string"
},
"name": {
"type": "string"
},
"node_relation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": ""
},
"schema_name": {
"type": "string"
}
},
"required": [
"alias",
"schema_name"
],
"title": "NodeRelation",
"type": "object"
},
{
"type": "null"
}
]
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"primary_entity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"refs": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"package": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"name"
],
"title": "RefArgs",
"type": "object"
},
"type": "array"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"model",
"node_relation"
],
"title": "SemanticModel",
"type": "object"
},
"description": "The semantic models defined in the dbt project",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"sources": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"columns": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"constraints": {
"items": {
"additionalProperties": false,
"properties": {
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"type": {
"enum": [
"check",
"not_null",
"unique",
"primary_key",
"foreign_key",
"custom"
]
},
"warn_unenforced": {
"default": true,
"type": "boolean"
},
"warn_unsupported": {
"default": true,
"type": "boolean"
}
},
"required": [
"type"
],
"title": "ColumnLevelConstraint",
"type": "object"
},
"type": "array"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"quote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ColumnInfo",
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"enabled": {
"default": true,
"type": "boolean"
}
},
"title": "SourceConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"default": "",
"type": "string"
},
"external": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"file_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"location": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"partitions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"items": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"data_type": {
"default": "",
"type": "string"
},
"description": {
"default": "",
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"default": "",
"type": "string"
}
},
"title": "ExternalPartition",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"row_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tbl_properties": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ExternalTable",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"freshness": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"error_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
},
"filter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"warn_after": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"period": {
"anyOf": [
{
"enum": [
"minute",
"hour",
"day"
]
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Time",
"type": "object"
},
{
"type": "null"
}
]
}
},
"title": "FreshnessThreshold",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"identifier": {
"type": "string"
},
"loaded_at_field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"loader": {
"type": "string"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"package_name": {
"type": "string"
},
"patch_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"path": {
"type": "string"
},
"quoting": {
"additionalProperties": false,
"properties": {
"column": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"identifier": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "Quoting",
"type": "object"
},
"relation_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"resource_type": {
"const": "source"
},
"schema": {
"type": "string"
},
"source_description": {
"type": "string"
},
"source_meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"source_name": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"unique_id": {
"type": "string"
},
"unrendered_config": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"database",
"schema",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn",
"source_name",
"source_description",
"loader",
"identifier"
],
"title": "SourceDefinition",
"type": "object"
},
"description": "The sources defined in the dbt project and its dependencies",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"unit_tests": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"checksum": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"config": {
"additionalProperties": true,
"properties": {
"_extra": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"meta": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"tags": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
}
},
"title": "UnitTestConfig",
"type": "object"
},
"created_at": {
"type": "number"
},
"depends_on": {
"additionalProperties": false,
"properties": {
"macros": {
"items": {
"type": "string"
},
"type": "array"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "DependsOn",
"type": "object"
},
"description": {
"default": "",
"type": "string"
},
"expect": {
"additionalProperties": false,
"properties": {
"fixture": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"format": {
"default": "dict",
"enum": [
"csv",
"dict",
"sql"
]
},
"rows": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "UnitTestOutputFixture",
"type": "object"
},
"fqn": {
"items": {
"type": "string"
},
"type": "array"
},
"given": {
"items": {
"additionalProperties": false,
"properties": {
"fixture": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"format": {
"default": "dict",
"enum": [
"csv",
"dict",
"sql"
]
},
"input": {
"type": "string"
},
"rows": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"input"
],
"title": "UnitTestInputFixture",
"type": "object"
},
"type": "array"
},
"model": {
"type": "string"
},
"name": {
"type": "string"
},
"original_file_path": {
"type": "string"
},
"overrides": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"env_vars": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"macros": {
"propertyNames": {
"type": "string"
},
"type": "object"
},
"vars": {
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"title": "UnitTestOverrides",
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"package_name": {
"type": "string"
},
"path": {
"type": "string"
},
"resource_type": {
"enum": [
"model",
"analysis",
"test",
"snapshot",
"operation",
"seed",
"rpc",
"sql_operation",
"doc",
"source",
"macro",
"exposure",
"metric",
"group",
"saved_query",
"semantic_model",
"unit_test",
"fixture"
]
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"unique_id": {
"type": "string"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"versions": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"exclude": {
"anyOf": [
{
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"include": {
"anyOf": [
{
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "UnitTestNodeVersions",
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"model",
"given",
"expect",
"name",
"resource_type",
"package_name",
"path",
"original_file_path",
"unique_id",
"fqn"
],
"title": "UnitTestDefinition",
"type": "object"
},
"description": "The unit tests defined in the project",
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"metadata",
"nodes",
"sources",
"macros",
"docs",
"exposures",
"metrics",
"groups",
"selectors",
"disabled",
"parent_map",
"child_map",
"group_map",
"saved_queries",
"semantic_models",
"unit_tests"
],
"title": "WritableManifest",
"type": "object"
} | Apache-2.0 | en |
dbt-labs/dbt-core | f063e4e01c3faeba9ba559fcf153c2dd6148c8dd | 2023-08-30T18:06:59 | schemas/dbt/catalog/v1.json | 9,025 | 2024-05-29T16:12:08.170831Z | {
"$defs": {
"CatalogArtifact": {
"additionalProperties": false,
"properties": {
"_compile_results": {
"anyOf": [
{},
{
"type": "null"
}
],
"default": null
},
"errors": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"metadata": {
"$ref": "#/$defs/CatalogMetadata"
},
"nodes": {
"additionalProperties": {
"$ref": "#/$defs/CatalogTable"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"sources": {
"additionalProperties": {
"$ref": "#/$defs/CatalogTable"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"metadata",
"nodes",
"sources"
],
"title": "CatalogArtifact",
"type": "object"
},
"CatalogMetadata": {
"additionalProperties": false,
"properties": {
"dbt_schema_version": {
"type": "string"
},
"dbt_version": {
"default": "1.7.0b1",
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"generated_at": {
"type": "string"
},
"invocation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"title": "CatalogMetadata",
"type": "object"
},
"CatalogTable": {
"additionalProperties": false,
"properties": {
"columns": {
"additionalProperties": {
"$ref": "#/$defs/ColumnMetadata"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metadata": {
"$ref": "#/$defs/TableMetadata"
},
"stats": {
"additionalProperties": {
"$ref": "#/$defs/StatsItem"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"unique_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"metadata",
"columns",
"stats"
],
"title": "CatalogTable",
"type": "object"
},
"ColumnMetadata": {
"additionalProperties": false,
"properties": {
"comment": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"index": {
"type": "integer"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"index",
"name"
],
"title": "ColumnMetadata",
"type": "object"
},
"StatsItem": {
"additionalProperties": false,
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"id": {
"type": "string"
},
"include": {
"type": "boolean"
},
"label": {
"type": "string"
},
"value": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"label",
"value",
"include"
],
"title": "StatsItem",
"type": "object"
},
"TableMetadata": {
"additionalProperties": false,
"properties": {
"comment": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"name": {
"type": "string"
},
"owner": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"schema": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"schema",
"name"
],
"title": "TableMetadata",
"type": "object"
}
},
"$id": "https://schemas.getdbt.com/dbt/catalog/v1.json",
"$ref": "#/$defs/CatalogArtifact"
} | Apache-2.0 | en |
dbt-labs/dbt-core | 7d0fccd63f0a50e6f8b1130206118d1fcc19b2ae | 2022-04-20T15:30:34 | schemas/dbt/sources/v3.json | 9,025 | 2024-05-29T16:12:08.170831Z | {
"$id": "https://schemas.getdbt.com/dbt/sources/v3.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"FreshnessMetadata": {
"additionalProperties": false,
"description": "FreshnessMetadata(dbt_schema_version: str = <factory>, dbt_version: str = '1.2.0a1', generated_at: datetime.datetime = <factory>, invocation_id: Union[str, NoneType] = <factory>, env: Dict[str, str] = <factory>)",
"properties": {
"dbt_schema_version": {
"default": "https://schemas.getdbt.com/dbt/sources/v3.json",
"type": "string"
},
"dbt_version": {
"default": "1.2.0a1",
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"default": {},
"type": "object"
},
"generated_at": {
"default": "2022-04-15T20:38:22.697740Z",
"format": "date-time",
"type": "string"
},
"invocation_id": {
"default": "34abf75e-59d3-442f-920c-fa3843d98014",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
"FreshnessThreshold": {
"additionalProperties": false,
"description": "FreshnessThreshold(warn_after: Union[dbt.contracts.graph.unparsed.Time, NoneType] = <factory>, error_after: Union[dbt.contracts.graph.unparsed.Time, NoneType] = <factory>, filter: Union[str, NoneType] = None)",
"properties": {
"error_after": {
"default": {
"count": null,
"period": null
},
"oneOf": [
{
"$ref": "#/definitions/Time"
},
{
"type": "null"
}
]
},
"filter": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"warn_after": {
"default": {
"count": null,
"period": null
},
"oneOf": [
{
"$ref": "#/definitions/Time"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
"SourceFreshnessOutput": {
"additionalProperties": false,
"description": "SourceFreshnessOutput(unique_id: str, max_loaded_at: datetime.datetime, snapshotted_at: datetime.datetime, max_loaded_at_time_ago_in_s: float, status: dbt.contracts.results.FreshnessStatus, criteria: dbt.contracts.graph.unparsed.FreshnessThreshold, adapter_response: Dict[str, Any], timing: List[dbt.contracts.results.TimingInfo], thread_id: str, execution_time: float)",
"properties": {
"adapter_response": {
"type": "object"
},
"criteria": {
"$ref": "#/definitions/FreshnessThreshold"
},
"execution_time": {
"type": "number"
},
"max_loaded_at": {
"format": "date-time",
"type": "string"
},
"max_loaded_at_time_ago_in_s": {
"type": "number"
},
"snapshotted_at": {
"format": "date-time",
"type": "string"
},
"status": {
"enum": [
"pass",
"warn",
"error",
"runtime error"
],
"type": "string"
},
"thread_id": {
"type": "string"
},
"timing": {
"items": {
"$ref": "#/definitions/TimingInfo"
},
"type": "array"
},
"unique_id": {
"type": "string"
}
},
"required": [
"unique_id",
"max_loaded_at",
"snapshotted_at",
"max_loaded_at_time_ago_in_s",
"status",
"criteria",
"adapter_response",
"timing",
"thread_id",
"execution_time"
],
"type": "object"
},
"SourceFreshnessRuntimeError": {
"additionalProperties": false,
"description": "SourceFreshnessRuntimeError(unique_id: str, error: Union[str, int, NoneType], status: dbt.contracts.results.FreshnessErrorEnum)",
"properties": {
"error": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "null"
}
]
},
"status": {
"enum": [
"runtime error"
],
"type": "string"
},
"unique_id": {
"type": "string"
}
},
"required": [
"unique_id",
"status"
],
"type": "object"
},
"Time": {
"additionalProperties": false,
"description": "Time(count: Union[int, NoneType] = None, period: Union[dbt.contracts.graph.unparsed.TimePeriod, NoneType] = None)",
"properties": {
"count": {
"oneOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"period": {
"oneOf": [
{
"enum": [
"minute",
"hour",
"day"
],
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
"TimingInfo": {
"additionalProperties": false,
"description": "TimingInfo(name: str, started_at: Union[datetime.datetime, NoneType] = None, completed_at: Union[datetime.datetime, NoneType] = None)",
"properties": {
"completed_at": {
"oneOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"started_at": {
"oneOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"name"
],
"type": "object"
}
},
"description": "FreshnessExecutionResultArtifact(metadata: dbt.contracts.results.FreshnessMetadata, results: Sequence[Union[dbt.contracts.results.SourceFreshnessRuntimeError, dbt.contracts.results.SourceFreshnessOutput]], elapsed_time: float)",
"properties": {
"elapsed_time": {
"type": "number"
},
"metadata": {
"$ref": "#/definitions/FreshnessMetadata"
},
"results": {
"items": {
"oneOf": [
{
"$ref": "#/definitions/SourceFreshnessRuntimeError"
},
{
"$ref": "#/definitions/SourceFreshnessOutput"
}
]
},
"type": "array"
}
},
"required": [
"metadata",
"results",
"elapsed_time"
],
"type": "object"
} | Apache-2.0 | en |
dbt-labs/dbt-core | 7d0fccd63f0a50e6f8b1130206118d1fcc19b2ae | 2022-04-20T15:30:34 | schemas/dbt/catalog/v1.json | 9,025 | 2024-05-29T16:12:08.170831Z | {
"$id": "https://schemas.getdbt.com/dbt/catalog/v1.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"CatalogMetadata": {
"additionalProperties": false,
"description": "CatalogMetadata(dbt_schema_version: str = <factory>, dbt_version: str = '1.2.0a1', generated_at: datetime.datetime = <factory>, invocation_id: Union[str, NoneType] = <factory>, env: Dict[str, str] = <factory>)",
"properties": {
"dbt_schema_version": {
"default": "https://schemas.getdbt.com/dbt/catalog/v1.json",
"type": "string"
},
"dbt_version": {
"default": "1.2.0a1",
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"default": {},
"type": "object"
},
"generated_at": {
"default": "2022-04-15T20:38:22.701177Z",
"format": "date-time",
"type": "string"
},
"invocation_id": {
"default": "34abf75e-59d3-442f-920c-fa3843d98014",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"type": "object"
},
"CatalogTable": {
"additionalProperties": false,
"description": "CatalogTable(metadata: dbt.contracts.results.TableMetadata, columns: Dict[str, dbt.contracts.results.ColumnMetadata], stats: Dict[str, dbt.contracts.results.StatsItem], unique_id: Union[str, NoneType] = None)",
"properties": {
"columns": {
"additionalProperties": {
"$ref": "#/definitions/ColumnMetadata"
},
"type": "object"
},
"metadata": {
"$ref": "#/definitions/TableMetadata"
},
"stats": {
"additionalProperties": {
"$ref": "#/definitions/StatsItem"
},
"type": "object"
},
"unique_id": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"metadata",
"columns",
"stats"
],
"type": "object"
},
"ColumnMetadata": {
"additionalProperties": false,
"description": "ColumnMetadata(type: str, index: int, name: str, comment: Union[str, NoneType] = None)",
"properties": {
"comment": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"index",
"name"
],
"type": "object"
},
"StatsItem": {
"additionalProperties": false,
"description": "StatsItem(id: str, label: str, value: Union[bool, str, float, NoneType], include: bool, description: Union[str, NoneType] = None)",
"properties": {
"description": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"include": {
"type": "boolean"
},
"label": {
"type": "string"
},
"value": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"label",
"include"
],
"type": "object"
},
"TableMetadata": {
"additionalProperties": false,
"description": "TableMetadata(type: str, schema: str, name: str, database: Union[str, NoneType] = None, comment: Union[str, NoneType] = None, owner: Union[str, NoneType] = None)",
"properties": {
"comment": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"database": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"owner": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"schema",
"name"
],
"type": "object"
}
},
"description": "CatalogArtifact(metadata: dbt.contracts.results.CatalogMetadata, nodes: Dict[str, dbt.contracts.results.CatalogTable], sources: Dict[str, dbt.contracts.results.CatalogTable], errors: Union[List[str], NoneType] = None, _compile_results: Union[Any, NoneType] = None)",
"properties": {
"errors": {
"oneOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"metadata": {
"$ref": "#/definitions/CatalogMetadata"
},
"nodes": {
"additionalProperties": {
"$ref": "#/definitions/CatalogTable"
},
"type": "object"
},
"sources": {
"additionalProperties": {
"$ref": "#/definitions/CatalogTable"
},
"type": "object"
}
},
"required": [
"metadata",
"nodes",
"sources"
],
"type": "object"
} | Apache-2.0 | en |
cosmos/chain-registry | 39813e22339661e78141b1d646452ce7024f5bd3 | 2024-01-22T18:13:43 | ibc_data.schema.json | 488 | 2024-05-28T06:06:03.344641Z | {
"$defs": {
"chain_info": {
"additionalProperties": false,
"description": "Top level IBC data pertaining to the chain. `chain_1` and `chain_2` should be in alphabetical order.",
"properties": {
"chain_name": {
"type": "string"
},
"client_id": {
"description": "The client ID on the corresponding chain representing the other chain's light client.",
"type": "string"
},
"connection_id": {
"description": "The connection ID on the corresponding chain representing a connection to the other chain.",
"type": "string"
}
},
"required": [
"chain_name",
"client_id",
"connection_id"
],
"type": "object"
},
"chain_operator_info": {
"description": "Operator information on a specific chain.",
"properties": {
"address": {
"type": "string"
}
},
"type": "object"
},
"channel_info": {
"additionalProperties": false,
"properties": {
"channel_id": {
"description": "The channel ID on the corresponding chain's connection representing a channel on the other chain.",
"type": "string"
},
"client_id": {
"description": "Optional. The client ID on the corresponding chain representing the other chain's light client.",
"type": "string"
},
"connection_id": {
"description": "Optional. The connection ID on the corresponding chain representing a connection to the other chain.",
"type": "string"
},
"port_id": {
"description": "The IBC port ID which a relevant module binds to on the corresponding chain.",
"type": "string"
}
},
"required": [
"channel_id",
"port_id"
],
"type": "object"
}
},
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"properties": {
"$schema": {
"pattern": "^(\\.\\./)+ibc_data\\.schema\\.json$",
"type": "string"
},
"chain_1": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"channels": {
"items": {
"additionalProperties": false,
"properties": {
"chain_1": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"description": {
"description": "Human readable description of the channel.",
"type": "string"
},
"ordering": {
"description": "Determines if packets from a sending module must be 'ordered' or 'unordered'.",
"enum": [
"ordered",
"unordered"
]
},
"tags": {
"additionalProperties": true,
"description": "Human readable key:value pairs that help describe and distinguish channels.",
"properties": {
"dex": {
"type": "string"
},
"preferred": {
"type": "boolean"
},
"properties": {
"description": "String that helps describe non-dex use cases ex: interchain accounts(ICA).",
"type": "string"
},
"status": {
"enum": [
"live",
"upcoming",
"killed"
]
}
},
"type": "object"
},
"version": {
"description": "IBC Version",
"type": "string"
}
},
"required": [
"chain_1",
"chain_2",
"ordering",
"version"
],
"type": "object"
},
"type": "array"
},
"operators": {
"description": "ibc connection operator information.",
"items": {
"properties": {
"chain_1": {
"$ref": "#/$defs/chain_operator_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/chain_operator_info",
"type": "object"
},
"discord_handle": {
"type": "string"
},
"memo": {
"type": "string"
},
"name": {
"description": "Operator display name",
"type": "string"
}
},
"required": [
"chain_1",
"chain_2",
"memo",
"name"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"chain_1",
"chain_2",
"channels"
],
"type": "object"
} | CC-BY-4.0 | null |
cosmos/chain-registry | 90d8870528b34c8a74a6702ff2dceaeafa61fa89 | 2023-04-24T19:03:51 | memo_keys.schema.json | 488 | 2024-05-28T06:06:03.344641Z | {
"$schema": "http://json-schema.org/draft-07/schema",
"additionalProperties": false,
"properties": {
"$schema": {
"pattern": "^(\\.\\./)+memo_keys\\.schema\\.json$",
"type": "string"
},
"memo_keys": {
"items": {
"additionalProperties": true,
"properties": {
"description": {
"type": "string"
},
"git_repo": {
"format": "uri",
"type": "string"
},
"key": {
"type": "string"
},
"memo": {
"type": "object"
}
},
"required": [
"key",
"description",
"git_repo",
"memo"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"memo_keys"
],
"type": "object"
} | CC-BY-4.0 | null |
cosmos/chain-registry | 8e73fc57f02318e75730e36be60cb6063ae229a4 | 2024-04-23T06:47:53 | ibc_data.schema.json | 488 | 2024-05-28T06:06:03.344641Z | {
"$defs": {
"chain_info": {
"additionalProperties": false,
"description": "Top level IBC data pertaining to the chain. `chain_1` and `chain_2` should be in alphabetical order.",
"properties": {
"chain_name": {
"type": "string"
},
"client_id": {
"description": "The client ID on the corresponding chain representing the other chain's light client.",
"type": "string"
},
"connection_id": {
"description": "The connection ID on the corresponding chain representing a connection to the other chain.",
"type": "string"
}
},
"required": [
"chain_name",
"client_id",
"connection_id"
],
"type": "object"
},
"chain_operator_info": {
"description": "Operator information on a specific chain.",
"properties": {
"address": {
"type": "string"
}
},
"type": "object"
},
"channel_info": {
"additionalProperties": false,
"properties": {
"channel_id": {
"description": "The channel ID on the corresponding chain's connection representing a channel on the other chain.",
"type": "string"
},
"client_id": {
"description": "Optional. The client ID on the corresponding chain representing the other chain's light client.",
"type": "string"
},
"connection_id": {
"description": "Optional. The connection ID on the corresponding chain representing a connection to the other chain.",
"type": "string"
},
"port_id": {
"description": "The IBC port ID which a relevant module binds to on the corresponding chain.",
"type": "string"
}
},
"required": [
"channel_id",
"port_id"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft-07/schema",
"additionalProperties": false,
"properties": {
"$schema": {
"pattern": "^(\\.\\./)+ibc_data\\.schema\\.json$",
"type": "string"
},
"chain_1": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"channels": {
"items": {
"additionalProperties": false,
"properties": {
"chain_1": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"description": {
"description": "Human readable description of the channel.",
"type": "string"
},
"fee_version": {
"description": "Fee Version",
"type": "string"
},
"ordering": {
"description": "Determines if packets from a sending module must be 'ordered' or 'unordered'.",
"enum": [
"ordered",
"unordered"
]
},
"tags": {
"additionalProperties": true,
"description": "Human readable key:value pairs that help describe and distinguish channels.",
"properties": {
"dex": {
"type": "string"
},
"preferred": {
"type": "boolean"
},
"properties": {
"description": "String that helps describe non-dex use cases ex: interchain accounts(ICA).",
"type": "string"
},
"status": {
"enum": [
"live",
"upcoming",
"killed"
]
}
},
"type": "object"
},
"version": {
"description": "IBC Version",
"type": "string"
}
},
"required": [
"chain_1",
"chain_2",
"ordering",
"version"
],
"type": "object"
},
"type": "array"
},
"operators": {
"description": "ibc connection operator information.",
"items": {
"properties": {
"chain_1": {
"$ref": "#/$defs/chain_operator_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/chain_operator_info",
"type": "object"
},
"discord_handle": {
"type": "string"
},
"memo": {
"type": "string"
},
"name": {
"description": "Operator display name",
"type": "string"
}
},
"required": [
"chain_1",
"chain_2",
"memo",
"name"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"chain_1",
"chain_2",
"channels"
],
"title": "IBCData",
"type": "object"
} | CC-BY-4.0 | null |
cosmos/chain-registry | a57932e85d14303424f9bacd7c58c39ce735b488 | 2022-07-29T21:02:19 | ibc_data.schema.json | 488 | 2024-05-28T06:06:03.344641Z | {
"$defs": {
"chain_info": {
"description": "Top level IBC data pertaining to the chain. `chain-1` and `chain-2` should be in alphabetical order.",
"properties": {
"chain-name": {
"type": "string"
},
"client-id": {
"description": "The client ID on the corresponding chain representing the other chain's light client.",
"type": "string"
},
"connection-id": {
"description": "The connection ID on the corresponding chain representing a connection to the other chain.",
"type": "string"
}
},
"required": [
"chain-name",
"client-id",
"connection-id"
],
"type": "object"
},
"channel_info": {
"properties": {
"channel-id": {
"description": "The channel ID on the corresponding chain's connection representing a channel on the other chain.",
"type": "string"
},
"port-id": {
"description": "The IBC port ID which a relevant module binds to on the corresponding chain.",
"type": "string"
}
},
"required": [
"channel-id",
"port-id"
],
"type": "object"
}
},
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
"chain-1": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"chain-2": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"channels": {
"items": {
"properties": {
"chain-1": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"chain-2": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"description": {
"description": "Human readable description of the channel.",
"type": "string"
},
"ordering": {
"description": "Determines if packets from a sending module must be 'ordered' or 'unordered'.",
"enum": [
"ordered",
"unordered"
]
},
"tags": {
"additionalProperties": true,
"description": "Human readable key:value pairs that help describe and distinguish channels.",
"properties": {
"dex": {
"type": "string"
},
"preferred": {
"type": "boolean"
},
"properties": {
"description": "String that helps describe non-dex use cases ex: interchain accounts(ICA).",
"type": "string"
},
"status": {
"enum": [
"live",
"upcoming",
"killed"
]
}
},
"type": "object"
},
"version": {
"description": "IBC Version",
"type": "string"
}
},
"required": [
"chain-1",
"chain-2",
"ordering",
"version"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"chain-1",
"chain-2",
"channels"
],
"type": "object"
} | CC-BY-4.0 | null |
cosmos/chain-registry | c3c7cec02efc053e9c68b4dbaea8d0418e5116cb | 2024-04-22T15:28:32 | ibc_data.schema.json | 488 | 2024-05-28T06:06:03.344641Z | {
"$defs": {
"chain_info": {
"additionalProperties": false,
"description": "Top level IBC data pertaining to the chain. `chain_1` and `chain_2` should be in alphabetical order.",
"properties": {
"chain_name": {
"type": "string"
},
"client_id": {
"description": "The client ID on the corresponding chain representing the other chain's light client.",
"type": "string"
},
"connection_id": {
"description": "The connection ID on the corresponding chain representing a connection to the other chain.",
"type": "string"
}
},
"required": [
"chain_name",
"client_id",
"connection_id"
],
"type": "object"
},
"chain_operator_info": {
"description": "Operator information on a specific chain.",
"properties": {
"address": {
"type": "string"
}
},
"type": "object"
},
"channel_info": {
"additionalProperties": false,
"properties": {
"channel_id": {
"description": "The channel ID on the corresponding chain's connection representing a channel on the other chain.",
"type": "string"
},
"client_id": {
"description": "Optional. The client ID on the corresponding chain representing the other chain's light client.",
"type": "string"
},
"connection_id": {
"description": "Optional. The connection ID on the corresponding chain representing a connection to the other chain.",
"type": "string"
},
"port_id": {
"description": "The IBC port ID which a relevant module binds to on the corresponding chain.",
"type": "string"
}
},
"required": [
"channel_id",
"port_id"
],
"type": "object"
}
},
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"properties": {
"$schema": {
"pattern": "^(\\.\\./)+ibc_data\\.schema\\.json$",
"type": "string"
},
"chain_1": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"channels": {
"items": {
"additionalProperties": false,
"properties": {
"chain_1": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"description": {
"description": "Human readable description of the channel.",
"type": "string"
},
"fee_version": {
"description": "Fee Version",
"type": "string"
},
"ordering": {
"description": "Determines if packets from a sending module must be 'ordered' or 'unordered'.",
"enum": [
"ordered",
"unordered"
]
},
"tags": {
"additionalProperties": true,
"description": "Human readable key:value pairs that help describe and distinguish channels.",
"properties": {
"dex": {
"type": "string"
},
"preferred": {
"type": "boolean"
},
"properties": {
"description": "String that helps describe non-dex use cases ex: interchain accounts(ICA).",
"type": "string"
},
"status": {
"enum": [
"live",
"upcoming",
"killed"
]
}
},
"type": "object"
},
"version": {
"description": "IBC Version",
"type": "string"
}
},
"required": [
"chain_1",
"chain_2",
"ordering",
"version"
],
"type": "object"
},
"type": "array"
},
"operators": {
"description": "ibc connection operator information.",
"items": {
"properties": {
"chain_1": {
"$ref": "#/$defs/chain_operator_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/chain_operator_info",
"type": "object"
},
"discord_handle": {
"type": "string"
},
"memo": {
"type": "string"
},
"name": {
"description": "Operator display name",
"type": "string"
}
},
"required": [
"chain_1",
"chain_2",
"memo",
"name"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"chain_1",
"chain_2",
"channels"
],
"title": "IBCData",
"type": "object"
} | CC-BY-4.0 | null |
cosmos/chain-registry | 55ed57109f7fb1aa2c298cc685d6e8934c754620 | 2022-09-02T21:39:16 | ibc_data.schema.json | 488 | 2024-05-28T06:06:03.344641Z | {
"$defs": {
"chain_info": {
"description": "Top level IBC data pertaining to the chain. `chain_1` and `chain_2` should be in alphabetical order.",
"properties": {
"chain_name": {
"type": "string"
},
"client_id": {
"description": "The client ID on the corresponding chain representing the other chain's light client.",
"type": "string"
},
"connection_id": {
"description": "The connection ID on the corresponding chain representing a connection to the other chain.",
"type": "string"
}
},
"required": [
"chain_name",
"client_id",
"connection_id"
],
"type": "object"
},
"channel_info": {
"properties": {
"channel_id": {
"description": "The channel ID on the corresponding chain's connection representing a channel on the other chain.",
"type": "string"
},
"port_id": {
"description": "The IBC port ID which a relevant module binds to on the corresponding chain.",
"type": "string"
}
},
"required": [
"channel_id",
"port_id"
],
"type": "object"
}
},
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
"chain_1": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"channels": {
"items": {
"properties": {
"chain_1": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"description": {
"description": "Human readable description of the channel.",
"type": "string"
},
"ordering": {
"description": "Determines if packets from a sending module must be 'ordered' or 'unordered'.",
"enum": [
"ordered",
"unordered"
]
},
"tags": {
"additionalProperties": true,
"description": "Human readable key:value pairs that help describe and distinguish channels.",
"properties": {
"dex": {
"type": "string"
},
"preferred": {
"type": "boolean"
},
"properties": {
"description": "String that helps describe non-dex use cases ex: interchain accounts(ICA).",
"type": "string"
},
"status": {
"enum": [
"live",
"upcoming",
"killed"
]
}
},
"type": "object"
},
"version": {
"description": "IBC Version",
"type": "string"
}
},
"required": [
"chain_1",
"chain_2",
"ordering",
"version"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"chain_1",
"chain_2",
"channels"
],
"type": "object"
} | CC-BY-4.0 | null |
cosmos/chain-registry | 16d58b8f11e028910267a05f5f52fc9e297a182d | 2022-12-27T19:43:54 | ibc_data.schema.json | 488 | 2024-05-28T06:06:03.344641Z | {
"$defs": {
"chain_info": {
"additionalProperties": false,
"description": "Top level IBC data pertaining to the chain. `chain_1` and `chain_2` should be in alphabetical order.",
"properties": {
"chain_name": {
"type": "string"
},
"client_id": {
"description": "The client ID on the corresponding chain representing the other chain's light client.",
"type": "string"
},
"connection_id": {
"description": "The connection ID on the corresponding chain representing a connection to the other chain.",
"type": "string"
}
},
"required": [
"chain_name",
"client_id",
"connection_id"
],
"type": "object"
},
"channel_info": {
"additionalProperties": false,
"properties": {
"channel_id": {
"description": "The channel ID on the corresponding chain's connection representing a channel on the other chain.",
"type": "string"
},
"port_id": {
"description": "The IBC port ID which a relevant module binds to on the corresponding chain.",
"type": "string"
}
},
"required": [
"channel_id",
"port_id"
],
"type": "object"
}
},
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"properties": {
"chain_1": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"channels": {
"items": {
"additionalProperties": false,
"properties": {
"chain_1": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"description": {
"description": "Human readable description of the channel.",
"type": "string"
},
"ordering": {
"description": "Determines if packets from a sending module must be 'ordered' or 'unordered'.",
"enum": [
"ordered",
"unordered"
]
},
"tags": {
"additionalProperties": true,
"description": "Human readable key:value pairs that help describe and distinguish channels.",
"properties": {
"dex": {
"type": "string"
},
"preferred": {
"type": "boolean"
},
"properties": {
"description": "String that helps describe non-dex use cases ex: interchain accounts(ICA).",
"type": "string"
},
"status": {
"enum": [
"live",
"upcoming",
"killed"
]
}
},
"type": "object"
},
"version": {
"description": "IBC Version",
"type": "string"
}
},
"required": [
"chain_1",
"chain_2",
"ordering",
"version"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"chain_1",
"chain_2",
"channels"
],
"type": "object"
} | CC-BY-4.0 | null |
cosmos/chain-registry | 100b04e113138c4583122a12725e0d6098e6317c | 2023-01-06T21:26:07 | ibc_data.schema.json | 488 | 2024-05-28T06:06:03.344641Z | {
"$defs": {
"chain_info": {
"additionalProperties": false,
"description": "Top level IBC data pertaining to the chain. `chain_1` and `chain_2` should be in alphabetical order.",
"properties": {
"chain_name": {
"type": "string"
},
"client_id": {
"description": "The client ID on the corresponding chain representing the other chain's light client.",
"type": "string"
},
"connection_id": {
"description": "The connection ID on the corresponding chain representing a connection to the other chain.",
"type": "string"
}
},
"required": [
"chain_name",
"client_id",
"connection_id"
],
"type": "object"
},
"channel_info": {
"additionalProperties": false,
"properties": {
"channel_id": {
"description": "The channel ID on the corresponding chain's connection representing a channel on the other chain.",
"type": "string"
},
"port_id": {
"description": "The IBC port ID which a relevant module binds to on the corresponding chain.",
"type": "string"
}
},
"required": [
"channel_id",
"port_id"
],
"type": "object"
}
},
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"properties": {
"$schema": {
"pattern": "^(\\.\\./)+ibc_data\\.schema\\.json$",
"type": "string"
},
"chain_1": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"channels": {
"items": {
"additionalProperties": false,
"properties": {
"chain_1": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"description": {
"description": "Human readable description of the channel.",
"type": "string"
},
"ordering": {
"description": "Determines if packets from a sending module must be 'ordered' or 'unordered'.",
"enum": [
"ordered",
"unordered"
]
},
"tags": {
"additionalProperties": true,
"description": "Human readable key:value pairs that help describe and distinguish channels.",
"properties": {
"dex": {
"type": "string"
},
"preferred": {
"type": "boolean"
},
"properties": {
"description": "String that helps describe non-dex use cases ex: interchain accounts(ICA).",
"type": "string"
},
"status": {
"enum": [
"live",
"upcoming",
"killed"
]
}
},
"type": "object"
},
"version": {
"description": "IBC Version",
"type": "string"
}
},
"required": [
"chain_1",
"chain_2",
"ordering",
"version"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"chain_1",
"chain_2",
"channels"
],
"type": "object"
} | CC-BY-4.0 | null |
cosmos/chain-registry | c3c7cec02efc053e9c68b4dbaea8d0418e5116cb | 2024-04-22T15:28:32 | memo_keys.schema.json | 488 | 2024-05-28T06:06:03.344641Z | {
"$schema": "http://json-schema.org/draft-07/schema",
"additionalProperties": false,
"properties": {
"$schema": {
"pattern": "^(\\.\\./)+memo_keys\\.schema\\.json$",
"type": "string"
},
"memo_keys": {
"items": {
"additionalProperties": true,
"properties": {
"description": {
"type": "string"
},
"git_repo": {
"format": "uri",
"type": "string"
},
"key": {
"type": "string"
},
"memo": {
"type": "object"
}
},
"required": [
"key",
"description",
"git_repo",
"memo"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"memo_keys"
],
"title": "MemoKeys",
"type": "object"
} | CC-BY-4.0 | null |
cosmos/chain-registry | f0701cc96c48a90fccaae15d03381d5d581bda8c | 2024-03-23T18:11:51 | ibc_data.schema.json | 488 | 2024-05-28T06:06:03.344641Z | {
"$defs": {
"chain_info": {
"additionalProperties": false,
"description": "Top level IBC data pertaining to the chain. `chain_1` and `chain_2` should be in alphabetical order.",
"properties": {
"chain_name": {
"type": "string"
},
"client_id": {
"description": "The client ID on the corresponding chain representing the other chain's light client.",
"type": "string"
},
"connection_id": {
"description": "The connection ID on the corresponding chain representing a connection to the other chain.",
"type": "string"
}
},
"required": [
"chain_name",
"client_id",
"connection_id"
],
"type": "object"
},
"chain_operator_info": {
"description": "Operator information on a specific chain.",
"properties": {
"address": {
"type": "string"
}
},
"type": "object"
},
"channel_info": {
"additionalProperties": false,
"properties": {
"channel_id": {
"description": "The channel ID on the corresponding chain's connection representing a channel on the other chain.",
"type": "string"
},
"client_id": {
"description": "Optional. The client ID on the corresponding chain representing the other chain's light client.",
"type": "string"
},
"connection_id": {
"description": "Optional. The connection ID on the corresponding chain representing a connection to the other chain.",
"type": "string"
},
"port_id": {
"description": "The IBC port ID which a relevant module binds to on the corresponding chain.",
"type": "string"
}
},
"required": [
"channel_id",
"port_id"
],
"type": "object"
}
},
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"properties": {
"$schema": {
"pattern": "^(\\.\\./)+ibc_data\\.schema\\.json$",
"type": "string"
},
"chain_1": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"channels": {
"items": {
"additionalProperties": false,
"properties": {
"chain_1": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"description": {
"description": "Human readable description of the channel.",
"type": "string"
},
"fee_version": {
"description": "Fee Version",
"type": "string"
},
"ordering": {
"description": "Determines if packets from a sending module must be 'ordered' or 'unordered'.",
"enum": [
"ordered",
"unordered"
]
},
"tags": {
"additionalProperties": true,
"description": "Human readable key:value pairs that help describe and distinguish channels.",
"properties": {
"dex": {
"type": "string"
},
"preferred": {
"type": "boolean"
},
"properties": {
"description": "String that helps describe non-dex use cases ex: interchain accounts(ICA).",
"type": "string"
},
"status": {
"enum": [
"live",
"upcoming",
"killed"
]
}
},
"type": "object"
},
"version": {
"description": "IBC Version",
"type": "string"
}
},
"required": [
"chain_1",
"chain_2",
"ordering",
"version"
],
"type": "object"
},
"type": "array"
},
"operators": {
"description": "ibc connection operator information.",
"items": {
"properties": {
"chain_1": {
"$ref": "#/$defs/chain_operator_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/chain_operator_info",
"type": "object"
},
"discord_handle": {
"type": "string"
},
"memo": {
"type": "string"
},
"name": {
"description": "Operator display name",
"type": "string"
}
},
"required": [
"chain_1",
"chain_2",
"memo",
"name"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"chain_1",
"chain_2",
"channels"
],
"type": "object"
} | CC-BY-4.0 | null |
cosmos/chain-registry | cfd65eaa48ec6db79cd4e8dea9692f782f08de29 | 2022-05-06T01:18:20 | ibc_data.schema.json | 488 | 2024-05-28T06:06:03.344641Z | {
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
"$defs": {
"chain_info": {
"properties": {
"chain-name": {
"type": "string"
},
"client-id": {
"description": "The client ID on the corresponding chain representing the other chain's light client.",
"type": "string"
},
"connection-id": {
"description": "The connection ID on the corresponding chain representing a connection to the other chain.",
"type": "string"
}
},
"required": [
"chain-name",
"client-id",
"connection-id"
],
"type": "object"
},
"channel_info": {
"properties": {
"channel-id": {
"description": "The channel ID on the corresponding chain's connection representing a channel on the other chain.",
"type": "string"
},
"port-id": {
"description": "The IBC port ID which a relevant module binds to on the corresponding chain.",
"type": "string"
}
},
"required": [
"channel-id",
"port-id"
],
"type": "object"
}
},
"chain-1": {
"description": "Top level IBC data pertaining to the chain. `chain-1` and `chain-2` should be in alphabetical order.",
"items": {
"$refs": "#/$defs/chain_info"
},
"type": "object"
},
"chain-2": {
"description": "Top level IBC data pertaining to the chain. `chain-1` and `chain-2` should be in alphabetical order.",
"items": {
"$refs": "#/$defs/chain_info"
},
"type": "object"
},
"channels": {
"items": [
{
"properties": {
"chain-1": {
"items": {
"$refs": "#/$defs/channel_info"
},
"type": "object"
},
"chain-2": {
"items": {
"$refs": "#/$defs/channel_info"
},
"type": "object"
},
"description": {
"description": "Human readable description of the channel.",
"type": "string"
},
"ordering": {
"description": "Determines if packets from a sending module must be 'ordered' or 'unordered'.",
"enum": [
"ordered",
"unordered"
]
},
"tags": {
"description": "Human readable key:value pairs that help describe and distinguish channels.",
"properties": {
"dex": {
"type": "string"
},
"preferred": {
"type": "boolean"
},
"properties": {
"description": "String that helps describe non-dex use cases ex: interchain accounts(ICA).",
"type": "string"
},
"status": {
"enum": [
"live",
"upcoming",
"killed"
]
}
},
"type": "object"
},
"version": {
"description": "IBC Version",
"type": "string"
}
},
"required": [
"chain-1",
"chain-2",
"ordering",
"version"
],
"type": "object"
}
],
"type": "array"
}
},
"required": [
"chain-1",
"chain-2",
"channels"
],
"type": "object"
} | CC-BY-4.0 | null |
cosmos/chain-registry | a0c12dd4dcc3118b7edcf8159208cbd9a33e5c71 | 2023-10-23T17:24:40 | ibc_data.schema.json | 488 | 2024-05-28T06:06:03.344641Z | {
"$defs": {
"chain_info": {
"additionalProperties": false,
"description": "Top level IBC data pertaining to the chain. `chain_1` and `chain_2` should be in alphabetical order.",
"properties": {
"chain_name": {
"type": "string"
},
"client_id": {
"description": "The client ID on the corresponding chain representing the other chain's light client.",
"type": "string"
},
"connection_id": {
"description": "The connection ID on the corresponding chain representing a connection to the other chain.",
"type": "string"
}
},
"required": [
"chain_name",
"client_id",
"connection_id"
],
"type": "object"
},
"channel_info": {
"additionalProperties": false,
"properties": {
"channel_id": {
"description": "The channel ID on the corresponding chain's connection representing a channel on the other chain.",
"type": "string"
},
"client_id": {
"description": "Optional. The client ID on the corresponding chain representing the other chain's light client.",
"type": "string"
},
"connection_id": {
"description": "Optional. The connection ID on the corresponding chain representing a connection to the other chain.",
"type": "string"
},
"port_id": {
"description": "The IBC port ID which a relevant module binds to on the corresponding chain.",
"type": "string"
}
},
"required": [
"channel_id",
"port_id"
],
"type": "object"
}
},
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"properties": {
"$schema": {
"pattern": "^(\\.\\./)+ibc_data\\.schema\\.json$",
"type": "string"
},
"chain_1": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/chain_info",
"type": "object"
},
"channels": {
"items": {
"additionalProperties": false,
"properties": {
"chain_1": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"chain_2": {
"$ref": "#/$defs/channel_info",
"type": "object"
},
"description": {
"description": "Human readable description of the channel.",
"type": "string"
},
"ordering": {
"description": "Determines if packets from a sending module must be 'ordered' or 'unordered'.",
"enum": [
"ordered",
"unordered"
]
},
"tags": {
"additionalProperties": true,
"description": "Human readable key:value pairs that help describe and distinguish channels.",
"properties": {
"dex": {
"type": "string"
},
"preferred": {
"type": "boolean"
},
"properties": {
"description": "String that helps describe non-dex use cases ex: interchain accounts(ICA).",
"type": "string"
},
"status": {
"enum": [
"live",
"upcoming",
"killed"
]
}
},
"type": "object"
},
"version": {
"description": "IBC Version",
"type": "string"
}
},
"required": [
"chain_1",
"chain_2",
"ordering",
"version"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"chain_1",
"chain_2",
"channels"
],
"type": "object"
} | CC-BY-4.0 | null |
cosmos/chain-registry | d84231bc0e803e2072276c89cd27a2671ca248b0 | 2024-04-23T07:01:55 | memo_keys.schema.json | 488 | 2024-05-28T06:06:03.344641Z | {
"$schema": "https://json-schema.org/draft-07/schema",
"additionalProperties": false,
"properties": {
"$schema": {
"pattern": "^(\\.\\./)+memo_keys\\.schema\\.json$",
"type": "string"
},
"memo_keys": {
"items": {
"additionalProperties": true,
"properties": {
"description": {
"type": "string"
},
"git_repo": {
"format": "uri",
"type": "string"
},
"key": {
"type": "string"
},
"memo": {
"type": "object"
}
},
"required": [
"key",
"description",
"git_repo",
"memo"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"memo_keys"
],
"title": "MemoKeys",
"type": "object"
} | CC-BY-4.0 | null |
heroiclabs/hiro | ae6f4be47a00a79a806cea054783e5635d94770c | 2024-05-16T22:07:07 | schemas/09-Hiro-Economy.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"donations": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"type": "string"
}
},
"type": "object"
},
"contributor_reward": {
"$ref": "Hiro-Rewards"
},
"cost": {
"properties": {
"currencies": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"items": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"count": {
"minimum": 0,
"type": "number"
},
"description": {
"pattern": ".{1,}",
"type": "string"
},
"max_count": {
"minimum": 0,
"type": "number"
},
"name": {
"pattern": ".{1,}",
"type": "string"
},
"recipient_reward": {
"$ref": "Hiro-Rewards"
},
"user_contribution_max_count": {
"minimum": 0,
"type": "number"
}
},
"required": [
"name",
"max_count"
],
"type": "object"
}
},
"type": "object"
},
"initialize_user": {
"properties": {
"currencies": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"items": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"placements": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"type": "string"
}
},
"type": "object"
},
"reward": {
"$ref": "Hiro-Rewards"
}
},
"type": "object"
}
},
"type": "object"
},
"store_items": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"type": "string"
}
},
"type": "object"
},
"category": {
"pattern": ".{1,}",
"type": "string"
},
"cost": {
"properties": {
"currencies": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"sku": {
"pattern": ".{1,}",
"type": "string"
}
},
"type": "object"
},
"description": {
"pattern": ".{1,}",
"type": "string"
},
"name": {
"pattern": ".{1,}",
"type": "string"
},
"reward": {
"$ref": "Hiro-Rewards"
}
},
"required": [
"name",
"category"
],
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | ae6f4be47a00a79a806cea054783e5635d94770c | 2024-05-16T22:07:07 | schemas/02-Hiro-Rewards.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"guaranteed": {
"$ref": "Hiro-Reward"
},
"max_repeat_rolls": {
"minimum": 0,
"type": "number"
},
"max_rolls": {
"minimum": 0,
"type": "number"
},
"total_weight": {
"minimum": 0,
"type": "number"
},
"weighted": {
"items": {
"$ref": "Hiro-Reward"
},
"type": "array"
}
},
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | d3dbe198614ad83f63b21c7b63d83a34682f5762 | 2023-07-10T10:49:48 | schemas/03-Hiro-Base.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"rate_app_smtp_addr": {
"pattern": ".{1,}",
"title": "rate_app_smtp_addr",
"type": "string"
},
"rate_app_smtp_email_from": {
"format": "email",
"title": "rate_app_smtp_email_from",
"type": "string"
},
"rate_app_smtp_email_from_name": {
"pattern": ".{1,}",
"title": "rate_app_smtp_email_from_name",
"type": "string"
},
"rate_app_smtp_email_subject": {
"pattern": ".{1,}",
"title": "rate_app_smtp_email_subject",
"type": "string"
},
"rate_app_smtp_email_to": {
"format": "email",
"title": "rate_app_smtp_email_to",
"type": "string"
},
"rate_app_smtp_password": {
"pattern": ".{1,}",
"title": "rate_app_smtp_password",
"type": "string"
},
"rate_app_smtp_port": {
"maximum": 65535,
"minimum": 1,
"title": "rate_app_smtp_port",
"type": "number"
},
"rate_app_smtp_username": {
"pattern": ".{1,}",
"title": "rate_app_smtp_username",
"type": "string"
},
"rate_app_template": {
"pattern": ".{1,}",
"title": "rate_app_template",
"type": "string"
}
},
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | d3dbe198614ad83f63b21c7b63d83a34682f5762 | 2023-07-10T10:49:48 | schemas/09-Hiro-Economy.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"donations": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"title": "key",
"type": "string"
}
},
"title": "additional_properties",
"type": "object"
},
"contributor_reward": {
"$ref": "Hiro-Rewards"
},
"cost": {
"properties": {
"currencies": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"title": "currencies",
"type": "object"
},
"items": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"title": "items",
"type": "object"
}
},
"title": "cost",
"type": "object"
},
"count": {
"minimum": 0,
"title": "count",
"type": "number"
},
"description": {
"pattern": ".{1,}",
"title": "description",
"type": "string"
},
"name": {
"pattern": ".{1,}",
"title": "name",
"type": "string"
},
"recipient_reward": {
"$ref": "Hiro-Rewards"
},
"user_contribution_max_count": {
"minimum": 0,
"title": "user_contribution_max_count",
"type": "number"
}
},
"required": [
"name",
"max_count"
],
"type": "object"
}
},
"title": "donations",
"type": "object"
},
"initialize_user": {
"properties": {
"currencies": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"title": "currencies",
"type": "object"
},
"items": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"title": "items",
"type": "object"
}
},
"title": "initialize_user",
"type": "object"
},
"placements": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"title": "key",
"type": "string"
}
},
"title": "additional_properties",
"type": "object"
},
"reward": {
"$ref": "Hiro-Rewards"
}
},
"type": "object"
}
},
"title": "placements",
"type": "object"
},
"store_items": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"title": "key",
"type": "string"
}
},
"title": "additional_properties",
"type": "object"
},
"category": {
"pattern": ".{1,}",
"title": "category",
"type": "string"
},
"cost": {
"properties": {
"currencies": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"title": "currencies",
"type": "object"
},
"sku": {
"pattern": ".{1,}",
"title": "sku",
"type": "string"
}
},
"title": "cost",
"type": "object"
},
"description": {
"pattern": ".{1,}",
"title": "description",
"type": "string"
},
"name": {
"pattern": ".{1,}",
"title": "name",
"type": "string"
},
"reward": {
"$ref": "Hiro-Rewards"
}
},
"required": [
"name",
"category"
],
"type": "object"
}
},
"title": "store_items",
"type": "object"
}
},
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | ae6f4be47a00a79a806cea054783e5635d94770c | 2024-05-16T22:07:07 | schemas/04-Hiro-Tutorials.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"tutorials": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"type": "string"
}
},
"type": "object"
},
"max_step": {
"minimum": 0,
"type": "number"
},
"start_step": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
}
},
"required": [
"tutorials"
],
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | f1fd0aa0baabb9bfc15cff657dd7aea7b7188b1b | 2024-04-24T12:48:51 | schemas/01-Hiro-Reward.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"currencies": {
"patternProperties": {
".{1,}": {
"properties": {
"max": {
"minimum": 0,
"title": "max",
"type": "number"
},
"min": {
"minimum": 0,
"title": "min",
"type": "number"
},
"multiple": {
"minimum": 0,
"title": "multiple",
"type": "number"
}
},
"required": [
"min",
"max"
],
"title": "id",
"type": "object"
}
},
"title": "currencies",
"type": "object"
},
"energies": {
"patternProperties": {
".{1,}": {
"properties": {
"max": {
"minimum": 0,
"title": "max",
"type": "number"
},
"min": {
"minimum": 0,
"title": "min",
"type": "number"
},
"multiple": {
"minimum": 0,
"title": "multiple",
"type": "number"
}
},
"required": [
"min",
"max"
],
"title": "id",
"type": "object"
}
},
"title": "energies",
"type": "object"
},
"energy_modifiers": {
"items": {
"properties": {
"duration_sec": {
"properties": {
"max": {
"minimum": 0,
"title": "max",
"type": "number"
},
"min": {
"minimum": 0,
"title": "min",
"type": "number"
},
"multiple": {
"minimum": 0,
"title": "multiple",
"type": "number"
}
},
"required": [
"min",
"max"
],
"type": "object"
},
"id": {
"pattern": ".{1,}",
"title": "id",
"type": "string"
},
"operator": {
"enum": [
"infinite"
],
"title": "operator",
"type": "string"
}
},
"required": [
"id",
"operator",
"duration_sec"
],
"type": "object"
},
"title": "energy_modifiers",
"type": "array"
},
"item_sets": {
"items": {
"properties": {
"max": {
"minimum": 0,
"title": "max",
"type": "number"
},
"max_repeats": {
"minimum": 0,
"title": "max_repeats",
"type": "number"
},
"min": {
"minimum": 0,
"title": "min",
"type": "number"
},
"multiple": {
"minimum": 0,
"title": "multiple",
"type": "number"
},
"set": {
"items": {
"pattern": ".{1,}",
"type": "string"
},
"title": "set",
"type": "array"
}
},
"required": [
"min",
"max",
"set"
],
"type": "object"
},
"title": "item_sets",
"type": "array"
},
"items": {
"patternProperties": {
".{1,}": {
"properties": {
"max": {
"minimum": 0,
"title": "max",
"type": "number"
},
"min": {
"minimum": 0,
"title": "min",
"type": "number"
},
"multiple": {
"minimum": 0,
"title": "multiple",
"type": "number"
},
"numeric_properties": {
"patternProperties": {
".{1,}": {
"properties": {
"max": {
"title": "max",
"type": "number"
},
"min": {
"title": "min",
"type": "number"
},
"multiple": {
"minimum": 0,
"title": "multiple",
"type": "number"
}
},
"required": [
"min",
"max"
]
}
},
"title": "numeric_properties",
"type": "object"
},
"string_properties": {
"patternProperties": {
".{1,}": {
"properties": {
"options": {
"patternProperties": {
".{1,}": {
"properties": {
"weight": {
"minimum": 0,
"title": "weight",
"type": "number"
}
}
}
},
"title": "options",
"type": "object"
},
"total_weight": {
"minimum": 0,
"title": "total_weight",
"type": "number"
}
}
}
},
"title": "string_properties",
"type": "object"
}
},
"required": [
"min",
"max"
],
"title": "id",
"type": "object"
}
},
"title": "items",
"type": "object"
},
"reward_modifiers": {
"items": {
"properties": {
"duration_sec": {
"properties": {
"max": {
"minimum": 0,
"title": "max",
"type": "number"
},
"min": {
"minimum": 0,
"title": "min",
"type": "number"
},
"multiple": {
"minimum": 0,
"title": "multiple",
"type": "number"
}
},
"required": [
"min",
"max"
],
"title": "duration_sec",
"type": "object"
},
"id": {
"pattern": ".{1,}",
"title": "id",
"type": "string"
},
"operator": {
"enum": [
"multiplier",
"addition"
],
"title": "operator",
"type": "string"
},
"type": {
"enum": [
"currency",
"item"
],
"title": "type",
"type": "string"
},
"value": {
"properties": {
"max": {
"minimum": 0,
"title": "max",
"type": "number"
},
"min": {
"minimum": 0,
"title": "min",
"type": "number"
},
"multiple": {
"minimum": 0,
"title": "multiple",
"type": "number"
}
},
"required": [
"min",
"max"
],
"title": "value",
"type": "object"
}
},
"required": [
"id",
"type",
"operator",
"value",
"duration_sec"
],
"type": "object"
},
"title": "reward_modifiers",
"type": "array"
},
"weight": {
"minimum": 0,
"title": "weight",
"type": "number"
}
},
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | 4609191e0c11a9525859430936d2acd9b48f6825 | 2024-04-11T16:13:45 | schemas/01-Hiro-Reward.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"currencies": {
"patternProperties": {
".{1,}": {
"properties": {
"max": {
"minimum": 0,
"title": "max",
"type": "number"
},
"min": {
"minimum": 0,
"title": "min",
"type": "number"
},
"multiple": {
"minimum": 0,
"title": "multiple",
"type": "number"
}
},
"required": [
"min",
"max"
],
"title": "id",
"type": "object"
}
},
"title": "currencies",
"type": "object"
},
"energies": {
"patternProperties": {
".{1,}": {
"properties": {
"max": {
"minimum": 0,
"title": "max",
"type": "number"
},
"min": {
"minimum": 0,
"title": "min",
"type": "number"
},
"multiple": {
"minimum": 0,
"title": "multiple",
"type": "number"
}
},
"required": [
"min",
"max"
],
"title": "id",
"type": "object"
}
},
"title": "energies",
"type": "object"
},
"energy_modifiers": {
"items": {
"properties": {
"duration_sec": {
"properties": {
"max": {
"minimum": 0,
"title": "max",
"type": "number"
},
"min": {
"minimum": 0,
"title": "min",
"type": "number"
},
"multiple": {
"minimum": 0,
"title": "multiple",
"type": "number"
}
},
"required": [
"min",
"max"
],
"type": "object"
},
"id": {
"pattern": ".{1,}",
"title": "id",
"type": "string"
},
"operator": {
"enum": [
"infinite"
],
"title": "operator",
"type": "string"
}
},
"required": [
"id",
"operator",
"duration_sec"
],
"type": "object"
},
"title": "energy_modifiers",
"type": "array"
},
"item_sets": {
"items": {
"properties": {
"max": {
"minimum": 0,
"title": "max",
"type": "number"
},
"max_repeats": {
"minimum": 0,
"title": "max_repeats",
"type": "number"
},
"min": {
"minimum": 0,
"title": "min",
"type": "number"
},
"multiple": {
"minimum": 0,
"title": "multiple",
"type": "number"
},
"set": {
"items": {
"pattern": ".{1,}",
"type": "string"
},
"title": "set",
"type": "array"
}
},
"required": [
"min",
"max",
"set"
],
"type": "object"
},
"title": "item_sets",
"type": "array"
},
"items": {
"patternProperties": {
".{1,}": {
"properties": {
"max": {
"minimum": 0,
"title": "max",
"type": "number"
},
"min": {
"minimum": 0,
"title": "min",
"type": "number"
},
"multiple": {
"minimum": 0,
"title": "multiple",
"type": "number"
},
"numeric_properties": {
"patternProperties": {
".{1,}": {
"properties": {
"max": {
"title": "max",
"type": "number"
},
"min": {
"title": "min",
"type": "number"
},
"multiple": {
"minimum": 0,
"title": "multiple",
"type": "number"
}
},
"required": [
"min",
"max"
]
}
}
},
"string_properties": {
"patternProperties": {
".{1,}": {
"properties": {
"options": {
"patternProperties": {
".{1,}": {
"properties": {
"weight": {
"minimum": 0,
"title": "weight",
"type": "number"
}
}
}
}
},
"total_weight": {
"minimum": 0,
"title": "total_weight",
"type": "number"
}
}
}
}
}
},
"required": [
"min",
"max"
],
"title": "id",
"type": "object"
}
},
"title": "items",
"type": "object"
},
"reward_modifiers": {
"items": {
"properties": {
"duration_sec": {
"properties": {
"max": {
"minimum": 0,
"title": "max",
"type": "number"
},
"min": {
"minimum": 0,
"title": "min",
"type": "number"
},
"multiple": {
"minimum": 0,
"title": "multiple",
"type": "number"
}
},
"required": [
"min",
"max"
],
"title": "duration_sec",
"type": "object"
},
"id": {
"pattern": ".{1,}",
"title": "id",
"type": "string"
},
"operator": {
"enum": [
"multiplier",
"addition"
],
"title": "operator",
"type": "string"
},
"type": {
"enum": [
"currency",
"item"
],
"title": "type",
"type": "string"
},
"value": {
"properties": {
"max": {
"minimum": 0,
"title": "max",
"type": "number"
},
"min": {
"minimum": 0,
"title": "min",
"type": "number"
},
"multiple": {
"minimum": 0,
"title": "multiple",
"type": "number"
}
},
"required": [
"min",
"max"
],
"title": "value",
"type": "object"
}
},
"required": [
"id",
"type",
"operator",
"value",
"duration_sec"
],
"type": "object"
},
"title": "reward_modifiers",
"type": "array"
},
"weight": {
"minimum": 0,
"title": "weight",
"type": "number"
}
},
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | 9351391b1624eec11f969de79d7130c0305b2796 | 2024-02-01T17:36:09 | schemas/02-Hiro-Rewards.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"guaranteed": {
"$ref": "Hiro-Reward",
"title": "guaranteed"
},
"max_repeat_rolls": {
"minimum": 0,
"title": "max_repeat_rolls",
"type": "number"
},
"max_rolls": {
"minimum": 0,
"title": "max_rolls",
"type": "number"
},
"total_weight": {
"minimum": 0,
"title": "total_weight",
"type": "number"
},
"weighted": {
"items": {
"$ref": "Hiro-Reward"
},
"title": "weighted",
"type": "array"
}
},
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | d3dbe198614ad83f63b21c7b63d83a34682f5762 | 2023-07-10T10:49:48 | schemas/10-Hiro-Achievements.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"achievements": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"title": "key",
"type": "string"
}
},
"title": "additional_properties",
"type": "object"
},
"auto_claim": {
"title": "auto_claim",
"type": "boolean"
},
"auto_claim_total": {
"title": "auto_claim_total",
"type": "boolean"
},
"auto_reset": {
"title": "auto_reset",
"type": "boolean"
},
"category": {
"pattern": ".{1,}",
"title": "category",
"type": "string"
},
"count": {
"minimum": 0,
"title": "count",
"type": "number"
},
"description": {
"pattern": ".{1,}",
"title": "description",
"type": "string"
},
"duration_sec": {
"minimum": 0,
"title": "duration_sec",
"type": "number"
},
"max_count": {
"minimum": 0,
"title": "max_count",
"type": "number"
},
"name": {
"pattern": ".{1,}",
"title": "name",
"type": "string"
},
"precondition_ids": {
"items": {
"pattern": ".{1,}",
"type": "string"
},
"title": "precondition_ids",
"type": "array"
},
"reset_cronexpr": {
"pattern": ".{1,}",
"title": "reset_cronexpr",
"type": "string"
},
"reward": {
"$ref": "Hiro-Rewards"
},
"sub_achievements": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"title": "key",
"type": "string"
}
},
"title": "additional_properties",
"type": "object"
},
"auto_claim": {
"title": "auto_claim",
"type": "boolean"
},
"auto_reset": {
"title": "auto_reset",
"type": "boolean"
},
"category": {
"pattern": ".{1,}",
"title": "category",
"type": "string"
},
"count": {
"minimum": 0,
"title": "count",
"type": "number"
},
"description": {
"pattern": ".{1,}",
"title": "description",
"type": "string"
},
"duration_sec": {
"minimum": 0,
"title": "duration_sec",
"type": "number"
},
"max_count": {
"minimum": 0,
"title": "max_count",
"type": "number"
},
"name": {
"pattern": ".{1,}",
"title": "name",
"type": "string"
},
"precondition_ids": {
"items": {
"pattern": ".{1,}",
"type": "string"
},
"title": "precondition_ids",
"type": "array"
},
"reset_cronexpr": {
"pattern": ".{1,}",
"title": "reset_cronexpr",
"type": "string"
},
"reward": {
"$ref": "Hiro-Rewards"
}
},
"required": [
"name",
"category",
"max_count"
],
"type": "object"
}
},
"title": "sub_achievements",
"type": "object"
},
"total_reward": {
"$ref": "Hiro-Rewards"
}
},
"required": [
"name",
"category",
"max_count"
],
"type": "object"
}
},
"title": "achievements",
"type": "object"
}
},
"required": [
"achievements"
],
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | 2f4efb9704c183fcadf632ae38824bfe3a310cdc | 2024-05-17T13:03:18 | schemas/12-Hiro-Event-Leaderboards.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"event_leaderboards": {
"patternProperties": {
".+": {
"properties": {
"additional_properties": {
"patternProperties": {
".+": {
"type": "string"
}
},
"type": "object"
},
"ascending": {
"type": "boolean"
},
"category": {
"pattern": ".+",
"type": "string"
},
"change_zones": {
"patternProperties": {
"[0-9]+": {
"properties": {
"demote_idle": {
"type": "boolean"
},
"demotion": {
"minimum": 0,
"type": "number"
},
"promotion": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"cohort_size": {
"minimum": 1,
"type": "number"
},
"description": {
"pattern": ".*",
"type": "string"
},
"duration": {
"minimum": 0,
"type": "number"
},
"end_time_sec": {
"minimum": 0,
"type": "number"
},
"max_idle_tier_drop": {
"minimum": 0,
"type": "number"
},
"max_num_score": {
"minimum": 0,
"type": "number"
},
"name": {
"pattern": ".+",
"type": "string"
},
"operator": {
"enum": [
"best",
"set",
"incr",
"decr",
"increment",
"decrement"
],
"type": "string"
},
"reset_schedule": {
"type": "string"
},
"reward_tiers": {
"patternProperties": {
"[0-9]+": {
"items": {
"properties": {
"name": {
"type": "string"
},
"rank_max": {
"minimum": 0,
"type": "number"
},
"rank_min": {
"minimum": 0,
"type": "number"
},
"reward": {
"$ref": "Hiro-Rewards"
},
"tier_change": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"start_time_sec": {
"minimum": 0,
"type": "number"
},
"tiers": {
"minimum": 1,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
}
},
"required": [
"event_leaderboards"
],
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | 2f4efb9704c183fcadf632ae38824bfe3a310cdc | 2024-05-17T13:03:18 | schemas/10-Hiro-Achievements.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"achievements": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"type": "string"
}
},
"type": "object"
},
"auto_claim": {
"type": "boolean"
},
"auto_claim_total": {
"type": "boolean"
},
"auto_reset": {
"type": "boolean"
},
"category": {
"pattern": ".{1,}",
"type": "string"
},
"count": {
"minimum": 0,
"type": "number"
},
"description": {
"pattern": ".*",
"type": "string"
},
"duration_sec": {
"minimum": 0,
"type": "number"
},
"max_count": {
"minimum": 0,
"type": "number"
},
"name": {
"pattern": ".{1,}",
"type": "string"
},
"precondition_ids": {
"items": {
"pattern": ".{1,}",
"type": "string"
},
"type": "array"
},
"reset_cronexpr": {
"pattern": ".{1,}",
"type": "string"
},
"reward": {
"$ref": "Hiro-Rewards"
},
"sub_achievements": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"type": "string"
}
},
"type": "object"
},
"auto_claim": {
"type": "boolean"
},
"auto_reset": {
"type": "boolean"
},
"category": {
"pattern": ".{1,}",
"type": "string"
},
"count": {
"minimum": 0,
"type": "number"
},
"description": {
"pattern": ".*",
"type": "string"
},
"duration_sec": {
"minimum": 0,
"type": "number"
},
"max_count": {
"minimum": 0,
"type": "number"
},
"name": {
"pattern": ".{1,}",
"type": "string"
},
"precondition_ids": {
"items": {
"pattern": ".{1,}",
"type": "string"
},
"type": "array"
},
"reset_cronexpr": {
"pattern": ".{1,}",
"type": "string"
},
"reward": {
"$ref": "Hiro-Rewards"
}
},
"required": [
"name",
"category",
"max_count"
],
"type": "object"
}
},
"type": "object"
},
"total_reward": {
"$ref": "Hiro-Rewards"
}
},
"required": [
"name",
"category",
"max_count"
],
"type": "object"
}
},
"type": "object"
}
},
"required": [
"achievements"
],
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | d3dbe198614ad83f63b21c7b63d83a34682f5762 | 2023-07-10T10:49:48 | schemas/05-Hiro-Teams.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"max_team_size": {
"minimum": 1,
"title": "max_team_size",
"type": "number"
}
},
"required": [
"max_team_size"
],
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | d7b50b0be46c97fddf61bde671486233c34f7b69 | 2023-12-21T15:04:37 | schemas/14-Hiro-Progressions.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"definitions": {
"ProgressionPreconditionsBlock": {
"properties": {
"direct": {
"properties": {
"achievements": {
"items": {
"type": "string"
},
"type": "array"
},
"cost": {
"properties": {
"currencies": {
"patternProperties": {
".{1,}": {
"type": "integer"
}
},
"type": "object"
},
"items": {
"patternProperties": {
".{1,}": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"counts": {
"patternProperties": {
".{1,}": {
"type": "integer"
}
},
"type": "object"
},
"currency_max": {
"patternProperties": {
".{1,}": {
"type": "integer"
}
},
"type": "object"
},
"currency_min": {
"patternProperties": {
".{1,}": {
"type": "integer"
}
},
"type": "object"
},
"energy_max": {
"patternProperties": {
".{1,}": {
"type": "integer"
}
},
"type": "object"
},
"energy_min": {
"patternProperties": {
".{1,}": {
"type": "integer"
}
},
"type": "object"
},
"items_max": {
"patternProperties": {
".{1,}": {
"type": "integer"
}
},
"type": "object"
},
"items_min": {
"patternProperties": {
".{1,}": {
"type": "integer"
}
},
"type": "object"
},
"progressions": {
"items": {
"type": "string"
},
"type": "array"
},
"stats_max": {
"patternProperties": {
".{1,}": {
"type": "integer"
}
},
"type": "object"
},
"stats_min": {
"patternProperties": {
".{1,}": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"nested": {
"$ref": "#/definitions/ProgressionPreconditionsBlock"
},
"operator": {
"minimum": 0,
"type": "integer"
}
},
"type": "object"
}
},
"properties": {
"progressions": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"type": "string"
}
},
"type": "object"
},
"category": {
"type": "string"
},
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"preconditions": {
"$ref": "#/definitions/ProgressionPreconditionsBlock"
}
},
"required": [],
"type": "object"
}
},
"type": "object"
}
},
"required": [
"progressions"
]
} | Apache-2.0 | en |
heroiclabs/hiro | b3ab457ad424e688381eebb41abaf7d50234582f | 2024-05-15T15:56:10 | schemas/09-Hiro-Economy.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"donations": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"title": "key",
"type": "string"
}
},
"title": "additional_properties",
"type": "object"
},
"contributor_reward": {
"$ref": "Hiro-Rewards"
},
"cost": {
"properties": {
"currencies": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"title": "currencies",
"type": "object"
},
"items": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"title": "items",
"type": "object"
}
},
"title": "cost",
"type": "object"
},
"count": {
"minimum": 0,
"title": "count",
"type": "number"
},
"description": {
"pattern": ".{1,}",
"title": "description",
"type": "string"
},
"max_count": {
"minimum": 0,
"title": "max_count",
"type": "number"
},
"name": {
"pattern": ".{1,}",
"title": "name",
"type": "string"
},
"recipient_reward": {
"$ref": "Hiro-Rewards"
},
"user_contribution_max_count": {
"minimum": 0,
"title": "user_contribution_max_count",
"type": "number"
}
},
"required": [
"name",
"max_count"
],
"type": "object"
}
},
"title": "donations",
"type": "object"
},
"initialize_user": {
"properties": {
"currencies": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"title": "currencies",
"type": "object"
},
"items": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"title": "items",
"type": "object"
}
},
"title": "initialize_user",
"type": "object"
},
"placements": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"title": "key",
"type": "string"
}
},
"title": "additional_properties",
"type": "object"
},
"reward": {
"$ref": "Hiro-Rewards"
}
},
"type": "object"
}
},
"title": "placements",
"type": "object"
},
"store_items": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"title": "key",
"type": "string"
}
},
"title": "additional_properties",
"type": "object"
},
"category": {
"pattern": ".{1,}",
"title": "category",
"type": "string"
},
"cost": {
"properties": {
"currencies": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"title": "currencies",
"type": "object"
},
"sku": {
"pattern": ".{1,}",
"title": "sku",
"type": "string"
}
},
"title": "cost",
"type": "object"
},
"description": {
"pattern": ".{1,}",
"title": "description",
"type": "string"
},
"name": {
"pattern": ".{1,}",
"title": "name",
"type": "string"
},
"reward": {
"$ref": "Hiro-Rewards"
}
},
"required": [
"name",
"category"
],
"type": "object"
}
},
"title": "store_items",
"type": "object"
}
},
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | ae6f4be47a00a79a806cea054783e5635d94770c | 2024-05-16T22:07:07 | schemas/12-Hiro-Event-Leaderboards.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"event_leaderboards": {
"patternProperties": {
".+": {
"properties": {
"additional_properties": {
"patternProperties": {
".+": {
"type": "string"
}
},
"type": "object"
},
"ascending": {
"type": "boolean"
},
"category": {
"pattern": ".+",
"type": "string"
},
"change_zones": {
"patternProperties": {
"[0-9]+": {
"properties": {
"demote_idle": {
"type": "boolean"
},
"demotion": {
"minimum": 0,
"type": "number"
},
"promotion": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"cohort_size": {
"minimum": 1,
"type": "number"
},
"description": {
"pattern": ".+",
"type": "string"
},
"duration": {
"minimum": 0,
"type": "number"
},
"end_time_sec": {
"minimum": 0,
"type": "number"
},
"max_idle_tier_drop": {
"minimum": 0,
"type": "number"
},
"max_num_score": {
"minimum": 0,
"type": "number"
},
"name": {
"pattern": ".+",
"type": "string"
},
"operator": {
"enum": [
"best",
"set",
"incr",
"decr",
"increment",
"decrement"
],
"type": "string"
},
"reset_schedule": {
"type": "string"
},
"reward_tiers": {
"patternProperties": {
"[0-9]+": {
"items": {
"properties": {
"name": {
"type": "string"
},
"rank_max": {
"minimum": 0,
"type": "number"
},
"rank_min": {
"minimum": 0,
"type": "number"
},
"reward": {
"$ref": "Hiro-Rewards"
},
"tier_change": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"start_time_sec": {
"minimum": 0,
"type": "number"
},
"tiers": {
"minimum": 1,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
}
},
"required": [
"event_leaderboards"
],
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | ae6f4be47a00a79a806cea054783e5635d94770c | 2024-05-16T22:07:07 | schemas/11-Hiro-Unlockables.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"active_slots": {
"minimum": 0,
"type": "number"
},
"max_active_slots": {
"minimum": 0,
"type": "number"
},
"slot_cost": {
"properties": {
"currencies": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"items": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"slots": {
"minimum": 0,
"type": "number"
},
"unlockables": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"type": "string"
}
},
"type": "object"
},
"category": {
"pattern": ".{1,}",
"type": "string"
},
"cost": {
"properties": {
"currencies": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"items": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"cost_unit_time_sec": {
"minimum": 0,
"type": "number"
},
"description": {
"pattern": ".{1,}",
"type": "string"
},
"name": {
"pattern": ".{1,}",
"type": "string"
},
"probability": {
"minimum": 0,
"type": "number"
},
"reward": {
"$ref": "Hiro-Rewards"
},
"start_cost": {
"properties": {
"currencies": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"items": {
"patternProperties": {
".{1,}": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"wait_time_sec": {
"minimum": 0,
"type": "number"
}
},
"required": [
"probability",
"category",
"name"
],
"type": "object"
}
},
"type": "object"
}
},
"required": [
"active_slots",
"max_active_slots",
"slots",
"unlockables"
],
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | 76bc464279edfb5a730f51164ae3d40bc9ad3e5e | 2023-08-29T14:05:22 | schemas/12-Hiro-Event-Leaderboards.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"event_leaderboards": {
"patternProperties": {
".+": {
"properties": {
"additional_properties": {
"patternProperties": {
".+": {
"type": "string"
}
},
"title": "additional_properties",
"type": "object"
},
"ascending": {
"title": "ascending",
"type": "boolean"
},
"category": {
"pattern": ".+",
"title": "category",
"type": "string"
},
"cohort_size": {
"minimum": 1,
"title": "cohort_size",
"type": "number"
},
"description": {
"pattern": ".+",
"title": "description",
"type": "string"
},
"duration": {
"minimum": 0,
"title": "duration",
"type": "number"
},
"end_time_sec": {
"minimum": 0,
"title": "end_time_sec",
"type": "number"
},
"max_idle_tier_drop": {
"minimum": 0,
"title": "max_idle_tier_drop",
"type": "number"
},
"max_num_score": {
"minimum": 0,
"title": "max_num_score",
"type": "number"
},
"name": {
"pattern": ".+",
"title": "name",
"type": "string"
},
"operator": {
"enum": [
"best",
"set",
"incr",
"decr",
"increment",
"decrement"
],
"title": "operator",
"type": "string"
},
"reset_schedule": {
"title": "reset_schedule",
"type": "string"
},
"reward_tiers": {
"patternProperties": {
"[0-9]+": {
"items": {
"properties": {
"rank_max": {
"minimum": 0,
"title": "rank_max",
"type": "number"
},
"rank_min": {
"minimum": 0,
"title": "rank_min",
"type": "number"
},
"reward": {
"$ref": "Hiro-Rewards",
"title": "reward"
},
"tier_change": {
"minimum": 0,
"title": "tier_change",
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"title": "reward_tiers",
"type": "object"
},
"start_time_sec": {
"minimum": 0,
"title": "start_time_sec",
"type": "number"
},
"tiers": {
"minimum": 1,
"title": "tiers",
"type": "number"
}
},
"type": "object"
}
},
"title": "event_leaderboards",
"type": "object"
}
},
"required": [
"event_leaderboards"
],
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | 94beb25f5456804d172c600bff91e20fff02ab8b | 2024-05-21T14:32:26 | schemas/12-Hiro-Event-Leaderboards.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"event_leaderboards": {
"patternProperties": {
".+": {
"properties": {
"additional_properties": {
"patternProperties": {
".+": {
"type": "string"
}
},
"type": "object"
},
"ascending": {
"type": "boolean"
},
"category": {
"pattern": ".+",
"type": "string"
},
"change_zones": {
"patternProperties": {
"[0-9]+": {
"properties": {
"demote_idle": {
"type": "boolean"
},
"demotion": {
"minimum": 0,
"type": "number"
},
"promotion": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"cohort_size": {
"minimum": 1,
"type": "number"
},
"description": {
"pattern": ".*",
"type": "string"
},
"duration": {
"minimum": 0,
"type": "number"
},
"end_time_sec": {
"minimum": 0,
"type": "number"
},
"max_idle_tier_drop": {
"minimum": 0,
"type": "number"
},
"max_num_score": {
"minimum": 0,
"type": "number"
},
"name": {
"pattern": ".+",
"type": "string"
},
"operator": {
"enum": [
"best",
"set",
"incr",
"decr",
"increment",
"decrement"
],
"type": "string"
},
"reset_schedule": {
"type": "string"
},
"reward_tiers": {
"patternProperties": {
"[0-9]+": {
"items": {
"properties": {
"name": {
"type": "string"
},
"rank_max": {
"minimum": 0,
"type": "number"
},
"rank_min": {
"minimum": 0,
"type": "number"
},
"reward": {
"$ref": "Hiro-Rewards"
},
"tier_change": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"start_time_sec": {
"minimum": 0,
"type": "number"
},
"tiers": {
"minimum": 1,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
}
},
"required": [
"event_leaderboards"
],
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | 2f4efb9704c183fcadf632ae38824bfe3a310cdc | 2024-05-17T13:03:18 | schemas/01-Hiro-Reward.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"currencies": {
"patternProperties": {
".{1,}": {
"properties": {
"max": {
"minimum": 0,
"type": "number"
},
"min": {
"minimum": 0,
"type": "number"
},
"multiple": {
"minimum": 0,
"type": "number"
}
},
"required": [
"min"
],
"type": "object"
}
},
"type": "object"
},
"energies": {
"patternProperties": {
".{1,}": {
"properties": {
"max": {
"minimum": 0,
"type": "number"
},
"min": {
"minimum": 0,
"type": "number"
},
"multiple": {
"minimum": 0,
"type": "number"
}
},
"required": [
"min"
],
"type": "object"
}
},
"type": "object"
},
"energy_modifiers": {
"items": {
"properties": {
"duration_sec": {
"properties": {
"max": {
"minimum": 0,
"type": "number"
},
"min": {
"minimum": 0,
"type": "number"
},
"multiple": {
"minimum": 0,
"type": "number"
}
},
"required": [
"min"
],
"type": "object"
},
"id": {
"pattern": ".{1,}",
"type": "string"
},
"operator": {
"enum": [
"infinite"
],
"type": "string"
}
},
"required": [
"id",
"operator",
"duration_sec"
],
"type": "object"
},
"type": "array"
},
"item_sets": {
"items": {
"properties": {
"max": {
"minimum": 0,
"type": "number"
},
"max_repeats": {
"minimum": 0,
"type": "number"
},
"min": {
"minimum": 0,
"type": "number"
},
"multiple": {
"minimum": 0,
"type": "number"
},
"set": {
"items": {
"pattern": ".{1,}",
"type": "string"
},
"type": "array"
}
},
"required": [
"min",
"set"
],
"type": "object"
},
"type": "array"
},
"items": {
"patternProperties": {
".{1,}": {
"properties": {
"max": {
"minimum": 0,
"type": "number"
},
"min": {
"minimum": 0,
"type": "number"
},
"multiple": {
"minimum": 0,
"type": "number"
},
"numeric_properties": {
"patternProperties": {
".{1,}": {
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
},
"multiple": {
"minimum": 0,
"type": "number"
}
},
"required": [
"min"
]
}
},
"type": "object"
},
"string_properties": {
"patternProperties": {
".{1,}": {
"properties": {
"options": {
"patternProperties": {
".{1,}": {
"properties": {
"weight": {
"minimum": 0,
"type": "number"
}
}
}
},
"type": "object"
},
"total_weight": {
"minimum": 0,
"type": "number"
}
}
}
},
"type": "object"
}
},
"required": [
"min"
],
"type": "object"
}
},
"type": "object"
},
"reward_modifiers": {
"items": {
"properties": {
"duration_sec": {
"properties": {
"max": {
"minimum": 0,
"type": "number"
},
"min": {
"minimum": 0,
"type": "number"
},
"multiple": {
"minimum": 0,
"type": "number"
}
},
"required": [
"min"
],
"type": "object"
},
"id": {
"pattern": ".{1,}",
"type": "string"
},
"operator": {
"enum": [
"multiplier",
"addition"
],
"type": "string"
},
"type": {
"enum": [
"currency",
"item"
],
"type": "string"
},
"value": {
"properties": {
"max": {
"minimum": 0,
"type": "number"
},
"min": {
"minimum": 0,
"type": "number"
},
"multiple": {
"minimum": 0,
"type": "number"
}
},
"required": [
"min"
],
"type": "object"
}
},
"required": [
"id",
"type",
"operator",
"value",
"duration_sec"
],
"type": "object"
},
"type": "array"
},
"weight": {
"minimum": 0,
"type": "number"
}
},
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | ae6f4be47a00a79a806cea054783e5635d94770c | 2024-05-16T22:07:07 | schemas/06-Hiro-Leaderboards.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"leaderboards": {
"items": {
"properties": {
"authoritative": {
"type": "boolean"
},
"id": {
"pattern": ".{1,}",
"type": "string"
},
"operator": {
"enum": [
"best",
"set",
"incr",
"decr",
"increment",
"decrement"
],
"type": "string"
},
"regions": {
"items": {
"pattern": ".{1,}",
"type": "string"
},
"type": "array"
},
"reset_schedule": {
"type": "string"
},
"sort_order": {
"enum": [
"asc",
"desc",
"ascending",
"descending"
],
"type": "string"
}
},
"required": [
"id",
"sort_order",
"operator",
"authoritative"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"leaderboards"
],
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | d3dbe198614ad83f63b21c7b63d83a34682f5762 | 2023-07-10T10:49:48 | schemas/06-Hiro-Leaderboards.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"leaderboards": {
"items": {
"properties": {
"authoritative": {
"title": "authoritative",
"type": "boolean"
},
"id": {
"pattern": ".{1,}",
"title": "id",
"type": "string"
},
"operator": {
"enum": [
"best",
"set",
"incr",
"decr",
"increment",
"decrement"
],
"title": "operator",
"type": "string"
},
"regions": {
"items": {
"pattern": ".{1,}",
"type": "string"
},
"title": "regions",
"type": "array"
},
"reset_schedule": {
"title": "reset_schedule",
"type": "string"
},
"sort_order": {
"enum": [
"asc",
"desc",
"ascending",
"descending"
],
"title": "sort_order",
"type": "string"
}
},
"required": [
"id",
"sort_order",
"operator",
"authoritative"
],
"type": "object"
},
"title": "leaderboards",
"type": "array"
}
},
"required": [
"leaderboards"
],
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | ae6f4be47a00a79a806cea054783e5635d94770c | 2024-05-16T22:07:07 | schemas/08-Hiro-Energy.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"energies": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"type": "string"
}
},
"type": "object"
},
"implicit": {
"type": "boolean"
},
"max_count": {
"minimum": 0,
"type": "number"
},
"max_overfill": {
"minimum": 0,
"type": "number"
},
"refill_count": {
"minimum": 0,
"type": "number"
},
"refill_time_sec": {
"minimum": 0,
"type": "number"
},
"reward": {
"$ref": "Hiro-Rewards"
},
"start_count": {
"minimum": 0,
"type": "number"
}
},
"required": [
"max_count",
"refill_count",
"refill_time_sec"
],
"type": "object"
}
},
"type": "object"
}
},
"required": [
"energies"
],
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | ae6f4be47a00a79a806cea054783e5635d94770c | 2024-05-16T22:07:07 | schemas/05-Hiro-Teams.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"max_team_size": {
"minimum": 1,
"type": "number"
}
},
"required": [
"max_team_size"
],
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | 2f4efb9704c183fcadf632ae38824bfe3a310cdc | 2024-05-17T13:03:18 | schemas/07-Hiro-Inventory.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"items": {
"patternProperties": {
".{1,}": {
"properties": {
"category": {
"pattern": ".{1,}",
"type": "string"
},
"consumable": {
"type": "boolean"
},
"consume_reward": {
"$ref": "Hiro-Rewards"
},
"description": {
"pattern": ".*",
"type": "string"
},
"item_sets": {
"items": {
"pattern": ".{1,}",
"type": "string"
},
"type": "array"
},
"max_count": {
"minimum": 0,
"type": "number"
},
"name": {
"pattern": ".{1,}",
"type": "string"
},
"numeric_properties": {
"patternProperties": {
".{1,}": {
"type": "number"
}
},
"type": "object"
},
"stackable": {
"type": "boolean"
},
"string_properties": {
"patternProperties": {
".{1,}": {
"pattern": ".{1,}",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"category"
],
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | d3dbe198614ad83f63b21c7b63d83a34682f5762 | 2023-07-10T10:49:48 | schemas/08-Hiro-Energy.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"energies": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"title": "key",
"type": "string"
}
},
"title": "additional_properties",
"type": "object"
},
"implicit": {
"title": "implicit",
"type": "boolean"
},
"max_count": {
"minimum": 0,
"title": "max_count",
"type": "number"
},
"refill_count": {
"minimum": 0,
"title": "refill_count",
"type": "number"
},
"refill_time_sec": {
"minimum": 0,
"title": "refill_time_sec",
"type": "number"
},
"reward": {
"$ref": "Hiro-Rewards"
},
"start_count": {
"minimum": 0,
"title": "start_count",
"type": "number"
}
},
"required": [
"max_count",
"refill_count",
"refill_time_sec"
],
"title": "id",
"type": "object"
}
},
"title": "energies",
"type": "object"
}
},
"required": [
"energies"
],
"type": "object"
} | Apache-2.0 | en |
heroiclabs/hiro | abc0a3b3732b5908d0f73ed36bcb7d543e07e523 | 2023-08-23T14:16:11 | schemas/12-Hiro-Event-Leaderboards.json | 16 | 2024-05-27T08:54:23.844076Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"event_leaderboards": {
"patternProperties": {
".{1,}": {
"properties": {
"additional_properties": {
"patternProperties": {
".{1,}": {
"type": "string"
}
},
"title": "additional_properties",
"type": "object"
},
"ascending": {
"title": "ascending",
"type": "boolean"
},
"category": {
"pattern": ".{1,}",
"title": "category",
"type": "string"
},
"cohort_size": {
"minimum": 1,
"title": "cohort_size",
"type": "number"
},
"description": {
"pattern": ".{1,}",
"title": "description",
"type": "string"
},
"duration": {
"minimum": 0,
"title": "duration",
"type": "number"
},
"end_time_sec": {
"minimum": 0,
"title": "end_time_sec",
"type": "number"
},
"max_idle_tier_drop": {
"minimum": 0,
"title": "max_idle_tier_drop",
"type": "number"
},
"max_num_score": {
"minimum": 0,
"title": "max_num_score",
"type": "number"
},
"name": {
"pattern": ".{1,}",
"title": "name",
"type": "string"
},
"operator": {
"enum": [
"best",
"set",
"incr",
"decr",
"increment",
"decrement"
],
"title": "operator",
"type": "string"
},
"reset_schedule": {
"title": "reset_schedule",
"type": "string"
},
"reward_tiers": {
"items": {
"properties": {
"rank_max": {
"minimum": 0,
"title": "rank_max",
"type": "number"
},
"rank_min": {
"minimum": 0,
"title": "rank_min",
"type": "number"
},
"reward": {
"$ref": "Hiro-Rewards",
"title": "reward"
},
"tier_change": {
"minimum": 0,
"title": "tier_change",
"type": "number"
}
},
"type": "object"
},
"title": "reward_tiers",
"type": "array"
},
"start_time_sec": {
"minimum": 0,
"title": "start_time_sec",
"type": "number"
},
"tiers": {
"minimum": 1,
"title": "tiers",
"type": "number"
}
},
"type": "object"
}
},
"title": "event_leaderboards",
"type": "object"
}
},
"required": [
"event_leaderboards"
],
"type": "object"
} | Apache-2.0 | en |
Subsets and Splits