{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/orbisearch-com/json-schema/orbisearch-com-company-enrichment-response-schema.json",
  "title": "CompanyEnrichmentResponse",
  "description": "Enriched public record for a company, by LinkedIn URL or website domain.",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/orbisearch-com-openapi.json#/components/schemas/CompanyEnrichmentResponse",
  "properties": {
    "result": {
      "type": "string",
      "enum": [
        "found",
        "not_found"
      ],
      "title": "Result",
      "description": "found (a company record is returned) or not_found (no company matches the URL or the domain; all data fields are null)."
    },
    "input": {
      "type": "string",
      "title": "Input",
      "description": "The linkedin_url or domain you sent, verbatim."
    },
    "linkedin_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Linkedin Url",
      "description": "The company's LinkedIn URL, normalized. Null when a search by domain finds no company."
    },
    "linkedin_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Linkedin Id",
      "description": "Stable numeric company ID. Null for not_found."
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "description": "Company name."
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description",
      "description": "Full company description (not truncated)."
    },
    "website": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Website",
      "description": "Website the company lists."
    },
    "domain": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Domain",
      "description": "The company's website domain. Null when the company has no website of its own."
    },
    "email_domain": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Email Domain",
      "description": "The domain the company hosts its email on. Null when there's no domain."
    },
    "industry": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Industry",
      "description": "Industry label."
    },
    "company_size": {
      "anyOf": [
        {
          "$ref": "#/$defs/CompanySizeBucket"
        },
        {
          "type": "null"
        }
      ],
      "description": "The company's self-reported headcount range."
    },
    "employee_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Employee Count",
      "description": "Estimated headcount."
    },
    "company_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Company Type",
      "description": "Company type (Privately held, Public company, …)."
    },
    "headquarters": {
      "anyOf": [
        {
          "$ref": "#/$defs/CompanyHeadquarters"
        },
        {
          "type": "null"
        }
      ],
      "description": "Headquarters location."
    },
    "founded_year": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Founded Year",
      "description": "Year founded."
    },
    "specialties": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Specialties",
      "description": "Specialties the company lists. Empty when unknown."
    },
    "follower_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Follower Count",
      "description": "Exact follower count."
    },
    "similar_companies": {
      "items": {
        "$ref": "#/$defs/SimilarCompany"
      },
      "type": "array",
      "title": "Similar Companies",
      "description": "Companies similar to this one. Empty when unknown."
    },
    "is_redirect": {
      "type": "boolean",
      "title": "Is Redirect",
      "description": "Searches by domain: true when the domain you sent redirects to another website. Always false for a search by LinkedIn URL.",
      "default": false
    },
    "redirected_to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Redirected To",
      "description": "Searches by domain: the website domain your domain redirects to, or null. Always null for a search by LinkedIn URL."
    },
    "credits_consumed": {
      "type": "number",
      "title": "Credits Consumed",
      "description": "Credits charged for this attempt (1)."
    }
  },
  "type": "object",
  "required": [
    "result",
    "input",
    "credits_consumed"
  ],
  "$defs": {
    "CompanyHeadquarters": {
      "properties": {
        "text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Text",
          "description": "Display form of the location."
        },
        "city": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "City",
          "description": "City."
        },
        "region": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Region",
          "description": "State or region."
        },
        "country": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Country",
          "description": "ISO 3166-1 alpha-2 country code."
        }
      },
      "type": "object",
      "title": "CompanyHeadquarters",
      "description": "A company's headquarters location."
    },
    "CompanySizeBucket": {
      "properties": {
        "label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Label",
          "description": "Headcount range label."
        },
        "min": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Min",
          "description": "Lower bound of the bucket, inclusive."
        },
        "max": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Max",
          "description": "Upper bound of the bucket, inclusive."
        }
      },
      "type": "object",
      "title": "CompanySizeBucket",
      "description": "The company's self-reported headcount range."
    },
    "SimilarCompany": {
      "properties": {
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Name",
          "description": "Company name."
        },
        "linkedin_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Linkedin Url",
          "description": "The company's LinkedIn URL."
        },
        "industry": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Industry",
          "description": "Industry label."
        },
        "location": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Location",
          "description": "Display location, when given."
        }
      },
      "type": "object",
      "title": "SimilarCompany",
      "description": "A company similar to this one."
    }
  }
}