{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/highlevel/json-schema/highlevel-get-installer-details-response-dto-schema.json",
  "title": "GetInstallerDetailsResponseDTO",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/highlevel-app-management-api-openapi.yml#/components/schemas/GetInstallerDetailsResponseDTO",
  "type": "object",
  "properties": {
    "installationDetails": {
      "description": "Installation details",
      "allOf": [
        {
          "$ref": "#/$defs/InstallerDetailsDTO"
        }
      ]
    }
  },
  "required": [
    "installationDetails"
  ],
  "$defs": {
    "InstallerDetailsDTO": {
      "type": "object",
      "properties": {
        "companyId": {
          "type": "string",
          "description": "Company ID"
        },
        "locationId": {
          "type": "string",
          "description": "Location ID (if applicable)"
        },
        "companyName": {
          "type": "string",
          "description": "Company name"
        },
        "relationshipNumber": {
          "type": "string",
          "description": "Company relationship number"
        },
        "companyEmail": {
          "type": [
            "string",
            "null"
          ],
          "description": "Company email. Will be null for sub-account installations due to PII concerns."
        },
        "companyOwnerFullName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Company owner full name. Will be null for sub-account installations due to PII concerns."
        },
        "userId": {
          "type": "string",
          "description": "User ID who installed the app"
        },
        "isWhitelabelCompany": {
          "type": "boolean",
          "description": "Whether the company is a whitelabel company"
        },
        "companyPlan": {
          "type": [
            "string",
            "null"
          ],
          "description": "Company plan. Will be null for sub-account installations due to business sensitivity."
        },
        "companyHighLevelPlan": {
          "type": [
            "string",
            "null"
          ],
          "description": "Company plan. Will be null for sub-account installations due to business sensitivity.",
          "deprecated": true
        },
        "marketplaceAppPlanId": {
          "type": "string",
          "description": "Marketplace app plan ID for paid apps"
        },
        "whitelabelDetails": {
          "description": "Whitelabel details (only present if isWhitelabelCompany is true)",
          "allOf": [
            {
              "$ref": "#/$defs/WhitelabelDetailsDTO"
            }
          ]
        }
      },
      "required": [
        "companyId",
        "companyName",
        "relationshipNumber",
        "userId",
        "isWhitelabelCompany"
      ]
    },
    "WhitelabelDetailsDTO": {
      "type": "object",
      "properties": {
        "domain": {
          "type": "string",
          "description": "Domain of the whitelabel company"
        },
        "logoUrl": {
          "type": "string",
          "description": "Logo URL of the whitelabel company"
        }
      },
      "required": [
        "domain",
        "logoUrl"
      ]
    }
  }
}