{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/postman/main/json-schema/postman-secret-location-schema.json", "title": "SecretLocation", "description": "A location where a secret was detected.", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/postman-secret-scanner-api-openapi.yml#/components/schemas/SecretLocation", "type": "object", "properties": { "resourceType": { "type": "string", "enum": [ "collection", "environment", "api", "request", "example", "folder" ], "description": "The type of resource containing the secret" }, "resourceId": { "type": "string", "description": "The resource's unique ID" }, "resourceName": { "type": "string", "description": "The resource name" }, "workspaceId": { "type": "string" }, "parentResourceId": { "type": "string", "description": "The parent resource ID (e.g., collection ID for a request)" }, "isActive": { "type": "boolean", "description": "Whether the secret is still present at this location" }, "detectedAt": { "type": "string", "format": "date-time" }, "url": { "type": "string", "format": "uri", "description": "A link to the resource in Postman" } } }