Codat · Schema

Custom data type configuration

Client's configuration details for a specific custom data type and platform pair.

Unified-API

Properties

Name Type Description
dataSource string Underlying endpoint of the source platform that will serve as a data source for the custom data type. This value is not validated by Codat.
requiredData object Properties required to be fetched from the underlying platform for the custom data type that is being configured. This value is not validated by Codat.
keyBy array An array of properties from the source system that can be used to uniquely identify the records returned for the custom data type. This value is not validated by Codat.
sourceModifiedDate array Property in the source platform nominated by the client that defines the date when a record was last modified there. This value is not validated by Codat.
View JSON Schema on GitHub

JSON Schema

codat-customdatatypeconfiguration-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CustomDataTypeConfiguration",
  "title": "Custom data type configuration",
  "type": "object",
  "description": "Client's configuration details for a specific custom data type and platform pair.",
  "properties": {
    "dataSource": {
      "type": "string",
      "description": "Underlying endpoint of the source platform that will serve as a data source for the custom data type. This value is not validated by Codat."
    },
    "requiredData": {
      "type": "object",
      "description": "Properties required to be fetched from the underlying platform for the custom data type that is being configured. This value is not validated by Codat.",
      "additionalProperties": {
        "type": "string",
        "description": "The client's defined name for the property with the value being the source system's property name which the mapping is targeting."
      }
    },
    "keyBy": {
      "type": "array",
      "description": "An array of properties from the source system that can be used to uniquely identify the records returned for the custom data type. This value is not validated by Codat.",
      "items": {
        "type": "string"
      },
      "minLength": 1
    },
    "sourceModifiedDate": {
      "type": "array",
      "nullable": true,
      "items": {
        "type": "string"
      },
      "description": "Property in the source platform nominated by the client that defines the date when a record was last modified there. This value is not validated by Codat."
    }
  },
  "examples": [
    {
      "dataSource": "api/purchaseOrders?$filter=currencyCode eq 'NOK'",
      "requiredData": {
        "currencyCode": "$[*].currencyCode",
        "id": "$[*].id",
        "number": "$[*].number",
        "orderDate": "$[*].orderDate",
        "totalAmountExcludingTax": "$[*].totalAmountExcludingTax",
        "totalTaxAmount": "$[*].totalTaxAmount",
        "vendorName": "$[*].number"
      },
      "keyBy": [
        "$[*].id"
      ],
      "sourceModifiedDate": [
        "$[*].lastModifiedDateTime"
      ]
    }
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/codat-customdatatypeconfiguration"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.