{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/datahyena-com/json-schema/datahyena-com-public-acquisition-event-response-item-schema.json",
  "title": "PublicAcquisitionEventResponseItem",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/datahyena-com-openapi.json#/components/schemas/PublicAcquisitionEventResponseItem",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "dealAmountUsdCents": {
      "type": [
        "object",
        "null"
      ]
    },
    "dealAmountUsd": {
      "type": [
        "object",
        "null"
      ]
    },
    "dealAmountOriginalCurrency": {
      "type": [
        "object",
        "null"
      ]
    },
    "dealAmountOriginalCents": {
      "type": [
        "object",
        "null"
      ]
    },
    "paymentType": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "cash",
        "stock",
        "mixed",
        "undisclosed"
      ]
    },
    "isMerger": {
      "type": "boolean"
    },
    "announcedAt": {
      "type": [
        "object",
        "null"
      ]
    },
    "closingAt": {
      "type": [
        "object",
        "null"
      ]
    },
    "discoveredAt": {
      "type": "string"
    },
    "acquirer": {
      "$ref": "#/$defs/PublicCompanyDto"
    },
    "target": {
      "$ref": "#/$defs/PublicCompanyDto"
    }
  },
  "required": [
    "id",
    "dealAmountUsdCents",
    "dealAmountUsd",
    "dealAmountOriginalCurrency",
    "dealAmountOriginalCents",
    "paymentType",
    "isMerger",
    "announcedAt",
    "closingAt",
    "discoveredAt",
    "acquirer",
    "target"
  ],
  "$defs": {
    "CountryDto": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2 country code."
        },
        "name": {
          "type": "string",
          "description": "Human-readable country name."
        }
      },
      "required": [
        "code",
        "name"
      ]
    },
    "PublicCompanyDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": [
            "object",
            "null"
          ]
        },
        "name": {
          "type": "string"
        },
        "domain": {
          "type": [
            "object",
            "null"
          ]
        },
        "website": {
          "type": [
            "object",
            "null"
          ],
          "description": "The address the company website loads at, which can differ from domain (for example a www host). Null when no working site is known."
        },
        "description": {
          "type": [
            "object",
            "null"
          ]
        },
        "linkedinHandle": {
          "type": [
            "object",
            "null"
          ]
        },
        "linkedinUrl": {
          "type": [
            "object",
            "null"
          ]
        },
        "linkedinGeoId": {
          "type": [
            "object",
            "null"
          ]
        },
        "linkedinIndustryId": {
          "type": [
            "object",
            "null"
          ]
        },
        "naicsCode": {
          "type": [
            "object",
            "null"
          ],
          "description": "NAICS 2022 code derived from the industry classification. Null when no honest mapping exists."
        },
        "naicsLevel": {
          "type": [
            "number",
            "null"
          ],
          "enum": [
            2,
            3,
            4
          ],
          "description": "Depth of naicsCode: 2 = sector, 3 = subsector, 4 = industry group."
        },
        "hqCity": {
          "type": [
            "object",
            "null"
          ]
        },
        "hqCountry": {
          "type": [
            "object",
            "null"
          ],
          "allOf": [
            {
              "$ref": "#/$defs/CountryDto"
            }
          ]
        },
        "industryGroup": {
          "type": [
            "object",
            "null"
          ]
        },
        "industrySubTags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "verticals": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "employeeCountBucket": {
          "type": [
            "object",
            "null"
          ]
        },
        "foundedYear": {
          "type": [
            "object",
            "null"
          ]
        },
        "businessModel": {
          "type": [
            "object",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "name",
        "domain",
        "website",
        "description",
        "linkedinHandle",
        "linkedinUrl",
        "linkedinGeoId",
        "linkedinIndustryId",
        "naicsCode",
        "naicsLevel",
        "hqCity",
        "hqCountry",
        "industryGroup",
        "industrySubTags",
        "verticals",
        "employeeCountBucket",
        "foundedYear",
        "businessModel"
      ]
    }
  }
}