{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gainsight/main/json-schema/gainsight-success-plan-schema.json",
  "title": "SuccessPlan",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gainsight-success-plans-api-openapi.yml#/components/schemas/SuccessPlan",
  "type": "object",
  "properties": {
    "Gsid": {
      "type": "string",
      "description": "Success plan unique identifier"
    },
    "Name": {
      "type": "string",
      "description": "Plan name"
    },
    "CompanyId": {
      "type": "string",
      "description": "Associated company Gsid"
    },
    "CompanyName": {
      "type": "string",
      "description": "Associated company name"
    },
    "TypeId": {
      "type": "string",
      "description": "Success plan type identifier"
    },
    "TypeName": {
      "type": "string",
      "description": "Type name"
    },
    "Status": {
      "type": "string",
      "enum": [
        "Active",
        "Completed",
        "Archived"
      ],
      "description": "Plan status"
    },
    "OwnerId": {
      "type": "string",
      "description": "Plan owner user ID"
    },
    "OwnerName": {
      "type": "string",
      "description": "Plan owner name"
    },
    "StartDate": {
      "type": "string",
      "format": "date",
      "description": "Plan start date"
    },
    "EndDate": {
      "type": "string",
      "format": "date",
      "description": "Plan end date"
    },
    "Comments": {
      "type": "string",
      "description": "Plan comments"
    },
    "CreatedDate": {
      "type": "string",
      "format": "date-time",
      "description": "Record creation timestamp"
    },
    "ModifiedDate": {
      "type": "string",
      "format": "date-time",
      "description": "Last modification timestamp"
    }
  }
}