{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/prisma-cloud-mssp-api-tenant-license-usage-structure.json",
  "name": "TenantLicenseUsage",
  "description": "TenantLicenseUsage schema from Prisma Cloud: Managed Security Service Provider (MSSP)",
  "type": "object",
  "properties": {
    "tenantName": {
      "type": "string"
    },
    "prismaId": {
      "type": "string"
    },
    "createdOn": {
      "type": "int64"
    },
    "expiringOn": {
      "type": "int64"
    },
    "status": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "PROVISIONING",
        "UPDATING",
        "DELETING",
        "DELETED",
        "OFFBOARDING",
        "ERRORED"
      ]
    },
    "creditsAllocated": {
      "type": "int32"
    },
    "avgConsumption": {
      "type": "int32"
    },
    "lastUpdated": {
      "type": "int64"
    },
    "externalTenantId": {
      "type": "string"
    }
  }
}
