{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ServiceAccount",
  "description": "ServiceAccount schema from Palo Alto Networks SASE IAM Service API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/sase-iam-api-service-account-schema.json",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the service account."
    },
    "name": {
      "type": "string",
      "description": "Unique name of the service account within the TSG."
    },
    "display_name": {
      "type": "string",
      "description": "Human-readable display name."
    },
    "description": {
      "type": "string",
      "description": "Description of the service account's purpose."
    },
    "tsg_id": {
      "type": "string",
      "description": "Tenant Service Group ID this service account belongs to."
    },
    "key_count": {
      "type": "integer",
      "description": "Number of active credential keys for this service account."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}
