{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Company",
  "title": "Company",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "name": {
      "type": "string"
    },
    "assignee_id": {
      "type": "integer",
      "nullable": true
    },
    "contact_type_id": {
      "type": "integer"
    },
    "details": {
      "type": "string",
      "nullable": true
    },
    "email_domain": {
      "type": "string"
    },
    "phone_numbers": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "socials": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "websites": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "address": {
      "$ref": "#/components/schemas/Address"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "custom_fields": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CustomFieldValue"
      }
    },
    "date_created": {
      "type": "integer"
    },
    "date_modified": {
      "type": "integer"
    }
  }
}