{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Replaces the name and word list of a `proximity_words` validator. Attachments to detection\nentries are owned from the entry side and are not affected.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string"},"validator_id":{"type":"string","format":"uuid"}},"required":["account_id","validator_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/dlp_ProximityWordValidatorWrite"}},"required":["path","body"],"additionalProperties":false,"definitions":{"dlp_ProximityWordValidatorWrite":{"description":"The attributes of a proximity word validator.\n\nA write replaces both fields in full, so `PUT` must send the complete word list, not just the\nwords that changed. The computed fields a `GET` returns (`id`, `kind`, `referenced_by`,\n`created_at`, `updated_at`) are ignored if sent, so a response can be edited and submitted back\nas-is.","type":"object","properties":{"name":{"description":"A name for this validator, at most 50 characters.","type":"string","examples":["HIPAA context words"]},"words":{"description":"The words that raise confidence when found near a match, at most 100 per validator. Matching\nignores case, so the list may not contain the same word twice with different capitalisation.\nWords are stored as sent.\n\nFor example, a validator for medical record numbers might use\n`[{\"word\": \"patient\", \"weight\": \"strong\"}, {\"word\": \"diagnosis\", \"weight\": \"moderate\"},\n{\"word\": \"mrn\", \"weight\": \"weak\"}]`.","type":"array","items":{"$ref":"#/definitions/dlp_ProximityWord"}}},"required":["name","words"]},"dlp_ProximityWord":{"description":"A word that raises a match's confidence when it appears near the match.","type":"object","properties":{"weight":{"$ref":"#/definitions/dlp_ProximityWeight"},"word":{"description":"The word or phrase to look for. Must contain 1–128 characters and is matched\ncase-insensitively.","type":"string","examples":["social security number"]}},"required":["word","weight"]},"dlp_ProximityWeight":{"description":"How much a word contributes to a match's confidence when it is found nearby.\n\nSeparate from a profile's high/medium/low confidence threshold: this describes how telling the\nword is, not how confident the resulting match is.","type":"string","enum":["strong","moderate","weak"]}}},"name":"Update a proximity word validator","id":"cloudflare.dlp-validators-update-proximity-words-validator","example":{"path":{"account_id":"example","validator_id":"00000000-0000-4000-8000-000000000000"},"body":{"name":"HIPAA context words","words":[]}},"maxRequests":1,"summary":false}}