Docs

Schema

The logical data model of a contract: objects such as tables, views, or topics and the properties, types, and constraints they expose.

Schema Object  

type: SchemaObject

PropertyTypeRequiredDescription
dataGranularityDescriptionstringNoGranular level of the data in the object. Examples: Aggregation by country.
Granular level of the data in the object. Examples: Aggregation by country.
logicalTypestringNoThe logical element data type. Valid value is: object.
The logical element data type. Valid value is: object.
physicalNamestringNoPhysical name. Examples: table_1_2_0.
Physical name. Examples: table_1_2_0.
propertiesSchemaProperty []NoA list of properties for the object.
A list of properties for the object.
qualityArrayNo

Schema Element  

type: SchemaElement

PropertyTypeRequiredDescription
authoritativeDefinitionsArrayNo
businessNamestringNoThe business name of the element.
The business name of the element.
customPropertiesArrayNo
descriptionstringNoDescription of the element.
Description of the element.
namestringNoName of the element.
Name of the element.
physicalTypestringNoThe physical element data type in the data source. Examples: table, view, topic, file.
The physical element data type in the data source. Examples: table, view, topic, file.
tagsTagsNo

Schema Base Property  

type: SchemaBaseProperty

PropertyTypeRequiredDescription
classificationstringNoCan be anything, like confidential, restricted, and public to more advanced categorization. Some companies like PayPal, use data classification indicating the class of data in the element; expected values are 1, 2, 3, 4, or 5. Examples: confidential, restricted, public.
Can be anything, like confidential, restricted, and public to more advanced categorization. Some companies like PayPal, use data classification indicating the class of data in the element; expected values are 1, 2, 3, 4, or 5. Examples: confidential, restricted, public.
criticalDataElementbooleanNoTrue or false indicator; If element is considered a critical data element (CDE) then true else false.
True or false indicator; If element is considered a critical data element (CDE) then true else false.
encryptedNamestringNoThe element name within the dataset that contains the encrypted element value. For example, unencrypted element email_address might have an encryptedName of email_address_encrypt.
The element name within the dataset that contains the encrypted element value. For example, unencrypted element email_address might have an encryptedName of email_address_encrypt.
examplesAnyType []NoList of sample element values.
List of sample element values.
logicalTypestringNoThe logical element data type. Valid values are: string, date, number, integer, object, array, boolean.
The logical element data type. Valid values are: string, date, number, integer, object, array, boolean.
logicalTypeOptionsobjectNoAdditional optional metadata to describe the logical type.
Additional optional metadata to describe the logical type.
partitionKeyPositionintegerNoIf element is used for partitioning, the position of the partition element. Starts from 1. Example of country, year being partition columns, country has partitionKeyPosition 1 and year partitionKeyPosition 2. Default to -1. Default value is: -1.
If element is used for partitioning, the position of the partition element. Starts from 1. Example of country, year being partition columns, country has partitionKeyPosition 1 and year partitionKeyPosition 2. Default to -1. Default value is: -1.
partitionedbooleanNoIndicates if the element is partitioned; possible values are true and false.
Indicates if the element is partitioned; possible values are true and false.
physicalTypestringNoThe physical element data type in the data source. For example, VARCHAR(2), DOUBLE, INT.
The physical element data type in the data source. For example, VARCHAR(2), DOUBLE, INT.
primaryKeybooleanNoBoolean value specifying whether the element is primary or not. Default is false.
Boolean value specifying whether the element is primary or not. Default is false.
primaryKeyPositionintegerNoIf element is a primary key, the position of the primary key element. Starts from 1. Example of account_id, name being primary key columns, account_id has primaryKeyPosition 1 and name primaryKeyPosition 2. Default to -1. Default value is: -1.
If element is a primary key, the position of the primary key element. Starts from 1. Example of account_id, name being primary key columns, account_id has primaryKeyPosition 1 and name primaryKeyPosition 2. Default to -1. Default value is: -1.
qualityArrayNo
requiredbooleanNoIndicates if the element may contain Null values; possible values are true and false. Default is false.
Indicates if the element may contain Null values; possible values are true and false. Default is false.
transformDescriptionstringNoDescribes the transform logic in very simple terms.
Describes the transform logic in very simple terms.
transformLogicstringNoLogic used in the element transformation.
Logic used in the element transformation.
transformSourceObjectsstring[]NoList of objects in the data source used in the transformation.
List of objects in the data source used in the transformation.
uniquebooleanNoIndicates if the element contains unique values; possible values are true and false. Default is false.
Indicates if the element contains unique values; possible values are true and false. Default is false.

Specific LogicalType Properties & Types  

Schema Property  

type: SchemaProperty

Schema Item Property  

type: SchemaItemProperty

PropertyTypeRequiredDescription
propertiesSchemaProperty []NoA list of properties for the object.
A list of properties for the object.


Last updated on November 1, 2026