{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/OAuth2GetAuthorizationResponse", "title": "OAuth2GetAuthorizationResponse", "type": "object", "properties": { "application": { "$ref": "#/components/schemas/ApplicationResponse" }, "expires": { "type": "string", "format": "date-time" }, "scopes": { "type": "array", "items": { "$ref": "#/components/schemas/OAuth2Scopes" }, "uniqueItems": true }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserResponse" } ] } }, "required": [ "application", "expires", "scopes" ] }