{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/freehire-me/json-schema/freehire-me-company-detail-schema.json",
  "title": "CompanyDetail",
  "description": "The company summary plus the profile fields served only on the detail endpoint.",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/freehire-me-api-openapi.yml#/components/schemas/CompanyDetail",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "slug",
    "name"
  ],
  "properties": {
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "job_count": {
      "type": "integer"
    },
    "tagline": {
      "type": [
        "string",
        "null"
      ]
    },
    "company_info": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": true,
      "description": "Homepage, description, and other profile fields where known."
    },
    "industries": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "domains": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "collections": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "regions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "countries": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "remote_regions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Regions the company hires remotely in, derived from its open postings."
    },
    "company_types": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "company_sizes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "hq_country": {
      "type": [
        "string",
        "null"
      ]
    },
    "year_founded": {
      "type": [
        "integer",
        "null"
      ]
    },
    "employee_count": {
      "type": [
        "integer",
        "null"
      ]
    },
    "organization_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "maturity": {
      "type": [
        "string",
        "null"
      ]
    },
    "yc_batch": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "yc_status": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "yc_stage": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "yc_flags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "feedback_count": {
      "type": "integer"
    },
    "feedback_rating_avg": {
      "type": [
        "number",
        "null"
      ]
    },
    "upvote_count": {
      "type": "integer"
    },
    "downvote_count": {
      "type": "integer"
    },
    "my_vote": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The calling user's vote. Always null on this unauthenticated schema."
    }
  }
}