EntityIndex.ai · Schema

Entity

Common record for any business (full schema at /api/schema/entity.json).

HotelsRestaurantOpenAPI

Properties

Name Type Description
id string {country_code}-{vertical}-{slug}
entity_type string
vertical string
sector string Legacy alias of vertical
subtype string
schema_type string schema.org type
country string ISO 3166-1 alpha-2
country_slug string
name string
location object
official_url string
action_url string Official website or booking engine with src=entityindex
action_type string
booking_engine_detected array
contact object
attributes object Vertical-specific attributes
verified object Verified facts keyed by field name (e.g. spa, pool, parking, ski_in_out).
verification object
url string
api string
pages object Record page per language
i18n object Translated labels and notes per language
license object
View JSON Schema on GitHub

JSON Schema

entityindex-ai-entity-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/entityindex-ai/json-schema/entityindex-ai-entity-schema.json",
  "title": "Entity",
  "description": "Common record for any business (full schema at /api/schema/entity.json).",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/entityindex-ai-openapi.json#/components/schemas/Entity",
  "type": "object",
  "required": [
    "id",
    "entity_type",
    "vertical",
    "country",
    "name",
    "official_url"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "{country_code}-{vertical}-{slug}"
    },
    "entity_type": {
      "type": "string",
      "const": "business"
    },
    "vertical": {
      "type": "string"
    },
    "sector": {
      "type": "string",
      "description": "Legacy alias of vertical"
    },
    "subtype": {
      "type": "string"
    },
    "schema_type": {
      "type": "string",
      "description": "schema.org type"
    },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2"
    },
    "country_slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "location": {
      "$ref": "#/$defs/Location"
    },
    "official_url": {
      "type": "string",
      "format": "uri"
    },
    "action_url": {
      "type": "string",
      "format": "uri",
      "description": "Official website or booking engine with src=entityindex"
    },
    "action_type": {
      "type": "string"
    },
    "booking_engine_detected": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "contact": {
      "type": "object",
      "properties": {
        "email": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "phone": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "attributes": {
      "type": "object",
      "description": "Vertical-specific attributes",
      "additionalProperties": true
    },
    "verified": {
      "type": "object",
      "description": "Verified facts keyed by field name (e.g. spa, pool, parking, ski_in_out).",
      "additionalProperties": {
        "$ref": "#/$defs/VerifiedFact"
      }
    },
    "verification": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "auto",
            "manual",
            "owner"
          ]
        },
        "method": {
          "type": "string"
        },
        "checked": {
          "type": "string",
          "format": "date"
        },
        "note": {
          "type": "string"
        }
      }
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "api": {
      "type": "string"
    },
    "pages": {
      "type": "object",
      "description": "Record page per language",
      "additionalProperties": {
        "type": "string",
        "format": "uri"
      }
    },
    "i18n": {
      "type": "object",
      "description": "Translated labels and notes per language",
      "additionalProperties": true
    },
    "license": {
      "$ref": "#/$defs/License"
    }
  },
  "$defs": {
    "License": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "attribution": {
          "type": "string"
        }
      }
    },
    "Location": {
      "type": "object",
      "properties": {
        "locality": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "country": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2"
        }
      }
    },
    "VerifiedFact": {
      "type": "object",
      "required": [
        "value",
        "source",
        "checked"
      ],
      "properties": {
        "value": {
          "description": "Fact value (boolean, number or string)"
        },
        "source": {
          "type": "string",
          "format": "uri",
          "description": "Official page where the fact was read"
        },
        "evidence": {
          "type": "string",
          "description": "Literal excerpt from the source"
        },
        "checked": {
          "type": "string",
          "format": "date"
        },
        "status": {
          "type": "string"
        }
      }
    }
  }
}

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/entityindex-ai-entity"
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. See our Privacy Policy and Terms.

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