parthp2107 a07bc411dc
updated json schema and schema docs (#3219)
* updated json schema and schema docs

* added glossay to readme
2022-03-08 09:23:53 +05:30

3.9 KiB

DbtModel

This schema defines the DbtModel entity. A DbtModel organizes data modeling details , sql and columns.

$id:https://open-metadata.org/schema/entity/data/dbtmodel.json

Type: object

This schema does not accept additional properties.

Properties

Type definitions in this schema

dbtNodeType

  • This schema defines the type used for describing different types of Nodes in DBT.
  • Type: string
  • The value is restricted to the following:
    1. "Seed"
    2. "Model"

dbtCatalogType

  • This schema defines the type used for describing different catalog type.
  • Type: string
  • The value is restricted to the following:
    1. "BaseTable"

dbtMaterializationType

  • This schema defines the type used for describing different materialization type.
  • Type: string
  • The value is restricted to the following:
    1. "Table"
    2. "Seed"

dbtModelName

  • Local name (not fully qualified name) of a table.
  • Type: string
  • The value must match this pattern: ^[^.]*$
  • Length: between 1 and 128

fullyQualifiedColumnName

  • Fully qualified name of the column that includes serviceName.databaseName.tableName.columnName[.nestedColumnName]. When columnName is null for dataType struct fields, field_# where # is field index is used. For map dataType, for key the field name key is used and for the value field value is used.
  • Type: string
  • Length: between 1 and 256

This document was updated on: Monday, March 7, 2022