{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SaaSActivity",
  "description": "SaaSActivity schema from Incident Security Service Posture Management API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/identity-security-posture-management-api-saa-s-activity-schema.json",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "userId": {
      "type": "string"
    },
    "tenant": {
      "type": "string"
    },
    "saasInstanceId": {
      "type": "string"
    },
    "appType": {
      "type": "string"
    },
    "resourceType": {
      "type": "string"
    },
    "resourceName": {
      "type": "string"
    },
    "activityType": {
      "type": "string"
    },
    "clientIP": {
      "type": "string"
    },
    "location": {
      "type": "string"
    },
    "userAgent": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "rawData": {
      "type": "string"
    },
    "activityDateTime": {
      "format": "date-time",
      "type": "string",
      "example": "2022-03-10T16:15:50+00:00"
    },
    "createdAt": {
      "format": "date-time",
      "type": "string",
      "example": "2022-03-10T16:15:50+00:00"
    }
  }
}
