Samesake · Schema

RecordInput

A record as your system holds it. Every field except `sourceRecordId` is optional, and each request sends the whole record: a field left out or sent as null is cleared. Values aren't rejected for being badly formed: a date, phone number or postcode Samesake can't read is kept as sent, but not used for matching.

CompanyIdentity ResolutionCustomer DataRecord MatchingMaster Data ManagementData QualityODataUnited Kingdom

Properties

Name Type Description
sourceRecordId string Your ID for the record in this source, such as a contact ID. Required, and not blank. Sending a record with the same ID again updates it. Spaces at either end are ignored.
title nullstring Title, such as Mr, Mrs, Ms or Dr.
firstName nullstring First name.
lastName nullstring Last name.
email nullstring Email address.
dateOfBirth nullstring Date of birth, best as yyyy-mm-dd. Day-first forms such as dd/mm/yyyy, dd-mm-yyyy and dd.mm.yyyy are read too: 03/04/1986 is 3 April.
addressLine1 nullstring First line of the address, such as the house number and street.
addressLine2 nullstring Second line of the address, such as the town.
postcode nullstring UK postcode, with or without the space.
phones nullarray Phone numbers, mobile or landline, in any usual format: 07700 900123, +44 7700 900123, (0161) 496 0123, +49 30 1234567. A number without a country code is read as belonging to the country chosen when
View JSON Schema on GitHub

JSON Schema

samesake-co-uk-record-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/samesake-co-uk/json-schema/samesake-co-uk-record-input-schema.json",
  "title": "RecordInput",
  "description": "A record as your system holds it. Every field except `sourceRecordId` is optional, and each request sends the whole record: a field left out or sent as null is cleared. Values aren't rejected for being badly formed: a date, phone number or postcode Samesake can't read is kept as sent, but not used for matching.",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/samesake-co-uk-openapi.yml#/components/schemas/RecordInput",
  "required": [
    "sourceRecordId"
  ],
  "type": "object",
  "properties": {
    "sourceRecordId": {
      "maxLength": 100,
      "minLength": 1,
      "type": "string",
      "description": "Your ID for the record in this source, such as a contact ID. Required, and not blank. Sending a record with the same ID again updates it. Spaces at either end are ignored."
    },
    "title": {
      "maxLength": 200,
      "type": [
        "null",
        "string"
      ],
      "description": "Title, such as Mr, Mrs, Ms or Dr."
    },
    "firstName": {
      "maxLength": 200,
      "type": [
        "null",
        "string"
      ],
      "description": "First name."
    },
    "lastName": {
      "maxLength": 200,
      "type": [
        "null",
        "string"
      ],
      "description": "Last name."
    },
    "email": {
      "maxLength": 200,
      "type": [
        "null",
        "string"
      ],
      "description": "Email address."
    },
    "dateOfBirth": {
      "maxLength": 200,
      "type": [
        "null",
        "string"
      ],
      "description": "Date of birth, best as yyyy-mm-dd. Day-first forms such as dd/mm/yyyy, dd-mm-yyyy and dd.mm.yyyy are read too: 03/04/1986 is 3 April."
    },
    "addressLine1": {
      "maxLength": 200,
      "type": [
        "null",
        "string"
      ],
      "description": "First line of the address, such as the house number and street."
    },
    "addressLine2": {
      "maxLength": 200,
      "type": [
        "null",
        "string"
      ],
      "description": "Second line of the address, such as the town."
    },
    "postcode": {
      "maxLength": 200,
      "type": [
        "null",
        "string"
      ],
      "description": "UK postcode, with or without the space."
    },
    "phones": {
      "maxItems": 10,
      "type": [
        "null",
        "array"
      ],
      "items": {
        "maxLength": 200,
        "type": "string"
      },
      "description": "Phone numbers, mobile or landline, in any usual format: 07700 900123, +44 7700 900123, (0161) 496 0123, +49 30 1234567. A number without a country code is read as belonging to the country chosen when your Samesake account was set up (usually the United Kingdom), so the same digits under two different country codes are two different numbers."
    }
  },
  "additionalProperties": {
    "maxLength": 200,
    "type": [
      "null",
      "string"
    ],
    "description": "Your organisation's custom fields, each under the API name set in Samesake (Admin, Custom fields). A property that names no custom field is ignored."
  }
}

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/samesake-co-uk-record-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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