About this template
File location: | /_templates/integrations |
Used in: | |
Repo link: | Click to view in the Stitch Docs repo |
Instructions: |
This template is used to create individual tables in SaaS integrations.
Each integration has a folder in /_integration-schemas
that corresponds with its name
, or ID. This folder contains the files that create the individual tables in the integration’s documentation.
Template sections
Each template is grouped into sections to make parameters easier to find. These sections and the parameters they contain are described below.
Tap details
The integration’s name and the applicable version for the table.
Parameter | Description |
tap STRING |
The name of the integration, corresponding to the value of |
version STRING |
The applicable version of the integration that contains the table. Example values:
|
Table details
Details about the table, including links to documentation and Singer, its replication method, etc.
Parameter | Description |
name STRING |
The name of the table as it appears in the tap. This is, generally, how the table name will appear in the user’s destination. Example values:
|
doc-link STRING |
If applicable, the URL of the provider’s API documentation that’s associated with the table. |
singer-schema STRING |
If applicable, the URL of the table’s schema in its Singer repository. |
description STRING |
A description of the table. The description should contain helpful info about what data the user can expect to find in the table. If applicable, include additional notes about how the table replicates, or anything that might be helpful. For example: How to identify deleted records, if the table is Append-Only, etc. |
replication-method STRING |
The Replication Method Stitch uses to replicate data for the table. Must be one of the following:
|
replication-key.name STRING |
Only used if a Replication Key is not a column in the table itself. The name of the parameter used as a Replication Key for Incremental Replication. The majority of the time, Stitch will use a column in the table itself (ex: In these situations, the integation may use a query parameter in the API request used to extract data for the table. If this is the case for the table, enter the name of the parameter used. Example values:
|
api-method.name STRING |
The name of the API method used to request and extract data for the table. The value of this parameter should match what’s in the provider’s API documentation, if documentation exists. Example values:
|
api-method.doc-link STRING |
The URL of the provider’s API documentation for the API method used for the table, if available. |
Table attributes
A list of the attributes the table contains.
Parameter | Description |
name STRING |
The name of the attribute as it appears in the tap. Note: Case must be retained. This means that if the attribute’s name contains upper- and lower-case characters in the tap, the value of this parameter should match. Example values:
|
type STRING |
The attribute’s data type. Note: If the data type is Must be one of the following:
|
primary-key BOOLEAN |
If |
replication-key BOOLEAN |
If |
description STRING |
A description of the attribute, which can be written in Markdown or HTML.
When appropriate, include potential values in list format. For example:
|
doc-link STRING |
If applicable, a link to documentation that’s relevant to the attribute. |
array-attributes MAP |
Applicable only if the attribute is an array ( Sub-attributes follow the same structure as a top-level attribute, meaning they each nave a For example:
|
object-attributes MAP |
Applicable only if the attribute is an object ( Sub-attributes follow the same structure as a top-level attribute, meaning they each nave a For example:
|
Back to top
Last updated: 28 July 2021