{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "AccessPolicyRequest", "description": "AccessPolicyRequest 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-access-policy-request-schema.json", "type": "object", "properties": { "principal_id": { "type": "string", "description": "ID of the service account or user to grant access to." }, "principal_type": { "type": "string", "enum": [ "service_account", "user" ], "description": "Type of principal." }, "role_id": { "type": "string", "description": "ID of the role to assign." }, "tsg_id": { "type": "string", "description": "TSG scope for this policy." } }, "required": [ "principal_id", "principal_type", "role_id", "tsg_id" ] }