{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gainsight/main/json-schema/gainsight-company-record-schema.json",
  "title": "CompanyRecord",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gainsight-companies-api-openapi.yml#/components/schemas/CompanyRecord",
  "type": "object",
  "properties": {
    "Gsid": {
      "type": "string",
      "description": "Gainsight unique identifier"
    },
    "Name": {
      "type": "string",
      "description": "Company name"
    },
    "Industry": {
      "type": "string",
      "description": "Industry classification"
    },
    "ARR": {
      "type": "number",
      "description": "Annual recurring revenue"
    },
    "MRR": {
      "type": "number",
      "description": "Monthly recurring revenue"
    },
    "LifecycleStage": {
      "type": "string",
      "description": "Current customer lifecycle stage"
    },
    "Stage": {
      "type": "string",
      "description": "Company stage"
    },
    "Status": {
      "type": "string",
      "description": "Company status"
    },
    "CSMName": {
      "type": "string",
      "description": "Assigned CSM name"
    },
    "Employees": {
      "type": "integer",
      "description": "Number of employees"
    },
    "OriginalContractDate": {
      "type": "string",
      "format": "date",
      "description": "Original contract date"
    },
    "RenewalDate": {
      "type": "string",
      "format": "date",
      "description": "Next renewal date"
    },
    "CurrScoreId": {
      "type": "string",
      "description": "Current health score ID"
    },
    "OverallScore": {
      "type": "number",
      "description": "Overall health score value"
    },
    "SfdcAccountId": {
      "type": "string",
      "description": "Salesforce account ID"
    },
    "ParentCompanyId": {
      "type": "string",
      "description": "Parent company Gsid"
    },
    "CreatedDate": {
      "type": "string",
      "format": "date-time",
      "description": "Record creation timestamp"
    },
    "ModifiedDate": {
      "type": "string",
      "format": "date-time",
      "description": "Last modification timestamp"
    }
  }
}