{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/entityreach-com/json-schema/entityreach-com-search-match-schema.json",
  "title": "SearchMatch",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/entityreach-com-api-openapi.json#/components/schemas/SearchMatch",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "id": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[0-9]{1,20}$"
        },
        {
          "type": "integer"
        }
      ]
    },
    "name": {
      "type": "string"
    },
    "registration_number": {
      "type": "string"
    },
    "country_code": {
      "type": "string"
    },
    "vat_number": {
      "type": [
        "string",
        "null"
      ]
    },
    "state": {
      "type": [
        "string",
        "null"
      ]
    },
    "jurisdiction": {
      "type": [
        "string",
        "null"
      ]
    },
    "source": {
      "$ref": "#/$defs/Source"
    }
  },
  "$defs": {
    "Source": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^[0-9]{1,20}$"
            },
            {
              "type": "integer"
            }
          ]
        },
        "name": {
          "type": "string"
        },
        "category": {
          "type": "string"
        },
        "url": {
          "type": [
            "string",
            "null"
          ]
        },
        "comment": {
          "type": "string"
        }
      }
    }
  }
}