{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/postman/main/json-schema/postman-get-all-pan-add-element-requests-schema.json", "title": "getAllPanAddElementRequests", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/postman-private-api-network-api-openapi.yml#/components/schemas/getAllPanAddElementRequests", "type": "object", "properties": { "requests": { "type": "array", "items": { "$ref": "#/$defs/GetAllPanAddElementRequestsRequestsItems" }, "description": "A list of requests to add elements to the Private API Network." }, "meta": { "$ref": "#/$defs/panMetadata" } }, "$defs": { "GetAllPanAddElementRequestsRequestsItems": { "type": "object", "properties": { "id": { "type": "integer", "description": "The request's ID." }, "createdAt": { "type": "string", "format": "date-time", "description": "The date and time at which the request was created." }, "createdBy": { "type": "integer", "description": "The ID of the user who created the request." }, "message": { "type": "string", "description": "The user's optional message included in the request." }, "status": { "$ref": "#/$defs/GetAllPanAddElementRequestsRequestsItemsStatus", "description": "The request's status." }, "element": { "$ref": "#/$defs/panRequestElement" }, "response": { "$ref": "#/$defs/panRequestResponse" } }, "description": "Information about the request.", "title": "GetAllPanAddElementRequestsRequestsItems" }, "GetAllPanAddElementRequestsRequestsItemsStatus": { "type": "string", "enum": [ "pending", "denied" ], "description": "The request's status.", "title": "GetAllPanAddElementRequestsRequestsItemsStatus" }, "PanRequestElementType": { "type": "string", "enum": [ "workspace" ], "description": "The `workspace` element type.", "title": "PanRequestElementType" }, "panMetadata": { "type": "object", "properties": { "limit": { "type": "integer", "description": "The maximum number of elements returned. If the value exceeds the maximum value of `1000`, then the system uses the `1000` value." }, "offset": { "type": "integer", "description": "The zero-based offset of the first item returned." }, "totalCount": { "type": "integer", "description": "The total number of elements." } }, "description": "The response's non-standard meta information.", "title": "panMetadata" }, "panRequestElement": { "type": "object", "properties": { "id": { "type": "string", "description": "The element's ID." }, "type": { "$ref": "#/$defs/PanRequestElementType", "description": "The `workspace` element type." }, "name": { "type": "string", "description": "The element's name." }, "summary": { "type": [ "string", "null" ], "description": "The element's short summary." }, "description": { "type": [ "string", "null" ], "description": "The element's description." } }, "description": "Information about the requested element.", "title": "panRequestElement" }, "panRequestResponse": { "type": "object", "properties": { "createdAt": { "type": "string", "format": "date-time", "description": "The date and time at which request was denied." }, "createdBy": { "type": "integer", "description": "The ID of the user who denied the request." }, "message": { "type": "string", "description": "The request's response message." } }, "description": "Information about the response to the element's request. This object only returns when the request is denied with a message.", "title": "panRequestResponse" } } }