{
  "info": {
    "_postman_id": "b1f4e9d2-PII-TEST-0001",
    "name": "PII Test Collection",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": "Collection containing requests with simulated PII for testing detection and validation tools. All data is fictional and for test purposes only."
  },
  "item": [
    {
      "name": "Create User (Body PII)",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"firstName\": \"John\",\n  \"lastName\": \"Doe\",\n  \"email\": \"john.doe@example.test\",\n  \"phone\": \"+91-9876543210\",\n  \"ssn\": \"111-22-3333\",\n  \"address\": {\n    \"street\": \"123 Test Lane\",\n    \"city\": \"Mumbai\",\n    \"postalCode\": \"400001\"\n  }\n}"
        },
        "url": {
          "raw": "https://api.example.test/users",
          "protocol": "https",
          "host": [
            "api",
            "example",
            "test"
          ],
          "path": [
            "users"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Upload Document (File & Form PII)",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "multipart/form-data"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "file",
              "type": "file",
              "src": "<path-to-test-file>.txt",
              "description": "Test document that may contain names and emails"
            },
            {
              "key": "ownerName",
              "value": "Jane Smith",
              "type": "text"
            },
            {
              "key": "ownerEmail",
              "value": "jane.smith+test@example.test",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "https://api.example.test/documents/upload",
          "protocol": "https",
          "host": [
            "api",
            "example",
            "test"
          ],
          "path": [
            "documents",
            "upload"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Get User By Email (Query PII & Header PII)",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "X-Requestor-Email",
            "value": "auditor.team@example.test",
            "description": "Custom header containing an email address (PII)"
          }
        ],
        "url": {
          "raw": "https://api.example.test/users/search?email=john.doe@example.test&phone=9876543210",
          "protocol": "https",
          "host": [
            "api",
            "example",
            "test"
          ],
          "path": [
            "users",
            "search"
          ],
          "query": [
            {
              "key": "email",
              "value": "john.doe@example.test"
            },
            {
              "key": "phone",
              "value": "9876543210"
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "Update User (Header PII & URL Path)",
      "request": {
        "method": "PUT",
        "header": [
          {
            "key": "X-User-Email",
            "value": "john.doe@example.test",
            "description": "Header carrying user email (PII)"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"address\": \"456 New Address Lane\",\n  \"contactPhone\": \"+91-9123456789\"\n}"
        },
        "url": {
          "raw": "https://api.example.test/users/12345",
          "protocol": "https",
          "host": [
            "api",
            "example",
            "test"
          ],
          "path": [
            "users",
            "12345"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Login (Sensitive Credentials)",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username\": \"john.doe@example.test\",\n  \"password\": \"P@ssw0rd!Test\"\n}"
        },
        "url": {
          "raw": "https://auth.example.test/login",
          "protocol": "https",
          "host": [
            "auth",
            "example",
            "test"
          ],
          "path": [
            "login"
          ]
        }
      },
      "response": []
    }
  ],
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "exec": [
          "// Pre-request script placeholder for auth or test setup"
        ]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "exec": [
          "// Test script placeholder"
        ]
      }
    }
  ]
}
