{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/identity-security-posture-management-api-saa-s-account-structure.json",
  "name": "SaaSAccount",
  "description": "SaaSAccount schema from Incident Security Service Posture Management API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "saasProviderId": {
      "type": "string"
    },
    "tenant": {
      "type": "string"
    },
    "saasInstanceId": {
      "type": "string"
    },
    "jobId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "appType": {
      "type": "string"
    },
    "accountType": {
      "type": "string"
    },
    "accountName": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "isLocal": {
      "type": "boolean"
    },
    "isOrphaned": {
      "type": "boolean"
    },
    "isElevated": {
      "type": "boolean"
    },
    "ticketKey": {
      "type": "string"
    },
    "ticketUrl": {
      "type": "string"
    },
    "roles": {
      "type": "string"
    },
    "creator": {
      "type": "string"
    },
    "linkedHumanAccounts": {
      "type": "string"
    },
    "saasProviderNhiName": {
      "type": "string"
    },
    "lastModifiedTime": {
      "type": "datetime"
    },
    "lastLoginTime": {
      "type": "datetime"
    },
    "isNonHuman": {
      "type": "boolean"
    },
    "createdTime": {
      "type": "datetime"
    },
    "latestScanTime": {
      "type": "datetime"
    },
    "lastCredentialsRotated": {
      "type": "datetime"
    },
    "rotatedBy": {
      "type": "string"
    },
    "githubOrgName": {
      "type": "string"
    },
    "credentialsExpiresAt": {
      "type": "datetime"
    }
  }
}
