{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/access_policy_check_response", "title": "access_policy_check_response", "allOf": [ { "$ref": "#/components/schemas/access_api-response-single" }, { "properties": { "result": { "properties": { "app_state": { "properties": { "app_uid": { "$ref": "#/components/schemas/access_uuid" }, "aud": { "example": "737646a56ab1df6ec9bddc7e5ca84eaf3b0768850f3ffb5d74f1534911fe389", "type": "string" }, "hostname": { "example": "test.com", "type": "string" }, "name": { "example": "Test App", "type": "string" }, "policies": { "example": [ { "decision": "allow", "exclude": [], "include": [ { "_type": "email", "email": "testuser@gmail.com" } ], "precedence": 0, "require": [], "status": "Success" } ], "items": { "type": "object" }, "type": "array" }, "status": { "example": "Success", "type": "string" } }, "type": "object" }, "user_identity": { "properties": { "account_id": { "example": "41ecfbb341f033e52b46742756aabb8b", "type": "string" }, "device_sessions": { "example": {}, "type": "object" }, "email": { "example": "testuser@gmail.com", "type": "string" }, "geo": { "properties": { "country": { "example": "US", "type": "string" } }, "type": "object" }, "iat": { "type": "integer" }, "id": { "example": "1164449231815010287495", "type": "string" }, "is_gateway": { "example": false, "type": "boolean" }, "is_warp": { "example": false, "type": "boolean" }, "name": { "example": "Test User", "type": "string" }, "user_uuid": { "$ref": "#/components/schemas/access_uuid" }, "version": { "type": "integer" } }, "type": "object" } }, "type": "object" } } } ] }