{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/delinea/main/json-schema/delinea-secret-access-model-schema.json", "title": "SecretAccessModel", "description": "The Secret Access model object", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/delinea-secretaccessrequests-api-openapi.yml#/components/schemas/SecretAccessModel", "properties": { "accessRequestWorkflowMapId": { "description": "The Id of the Access Request Workflow Map.", "type": "integer", "format": "int32" }, "approverDisplayName": { "description": "The Display Name of the Approver of the request", "type": "string" }, "completed": { "description": "Indicating if request has been completed", "type": "boolean" }, "currentUserRestrictedFromReviewing": { "description": "Indicating if current user is restricted from viewing the request", "type": [ "boolean", "null" ] }, "expirationDate": { "description": "The Expiration Date of the request", "type": "string", "format": "date-time" }, "folderId": { "description": "The Folder Id of the Secret associated to the access request.", "type": "integer", "format": "int32" }, "hasWorkflow": { "description": "Indicating if request is associated to a Work Flow", "type": "boolean" }, "requestComment": { "description": "The Comment of the request.", "type": "string" }, "requestDate": { "description": "The Date of the request.", "type": "string", "format": "date-time" }, "requestingUserId": { "description": "The Id of the User requesting access.", "type": "integer", "format": "int32" }, "requestUsername": { "description": "The Username of the User requesting access.", "type": "string" }, "responseComment": { "description": "The Comment of the response to the request", "type": "string" }, "responseDate": { "description": "The Date of the response to the request", "type": "string", "format": "date-time" }, "reviewStatusMessage": { "description": "The Review Status Message of the request", "type": "string" }, "secretAccessRequestId": { "description": "The Id of the Secret Access Request.", "type": "integer", "format": "int32" }, "secretId": { "description": "The Id of the Secret associated to the access request.", "type": "integer", "format": "int32" }, "secretName": { "description": "The Name of the Secret associated to the access request.", "type": "string" }, "startDate": { "description": "The Start Date of the request.", "type": "string", "format": "date-time" }, "status": { "$ref": "#/$defs/AccessRequestState" }, "statusDescription": { "description": "The Status Description of the request", "type": "string" }, "ticketNumber": { "description": "The Ticket Number of the request", "type": "string" }, "ticketSystemId": { "description": "The Ticket System Id of the request", "type": [ "integer", "null" ], "format": "int32" } }, "type": "object", "$defs": { "AccessRequestState": { "description": "The Status of the request", "properties": {}, "type": "string", "enum": [ "WaitingForRequest", "Pending", "Approved", "Denied", "Canceled", "Expired" ] } } }