TransparentCars · Schema

LeadIn

A lead submission. `consent` must be `true`, and at least one of `phone` / `email` must be present. The `phone` field is smart-routed (email / messenger handle / phone number).

Company

Properties

Name Type Description
kind string Lead type. `contact` = message/enquiry, `call` = callback request.
name stringnull
phone stringnull Phone number, or a single free-text contact field (email / @handle) that is routed server-side.
email stringnull
message stringnull
item_id integernull Id of the car the lead is about (from CarDetail.id).
lang stringnull Visitor language (pt|en|ru|ua).
source stringnull Originating form/context (e.g. car_page, contact).
value_eur integernull Optional deal-value anchor, EUR.
consent boolean Explicit opt-in to store the contact. Must be true or the request is rejected (422).
View JSON Schema on GitHub

JSON Schema

transparent-pt-lead-in-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/transparent-pt/json-schema/transparent-pt-lead-in-schema.json",
  "title": "LeadIn",
  "description": "A lead submission. `consent` must be `true`, and at least one of `phone` / `email` must be\npresent. The `phone` field is smart-routed (email / messenger handle / phone number).\n",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/transparent-pt-openapi.yml#/components/schemas/LeadIn",
  "type": "object",
  "required": [
    "kind",
    "consent"
  ],
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "contact",
        "call"
      ],
      "description": "Lead type. `contact` = message/enquiry, `call` = callback request."
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 200
    },
    "phone": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 50,
      "description": "Phone number, or a single free-text contact field (email / @handle) that is routed server-side."
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 200,
      "format": "email"
    },
    "message": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 2000
    },
    "item_id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Id of the car the lead is about (from CarDetail.id)."
    },
    "lang": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 5,
      "description": "Visitor language (pt|en|ru|ua)."
    },
    "source": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 60,
      "description": "Originating form/context (e.g. car_page, contact)."
    },
    "value_eur": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "description": "Optional deal-value anchor, EUR."
    },
    "consent": {
      "type": "boolean",
      "default": false,
      "description": "Explicit opt-in to store the contact. Must be true or the request is rejected (422)."
    }
  }
}

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/transparent-pt-lead-in"
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.