{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Registers a customer Worker as a validator. An account may own at most 100 validators across\nall kinds.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string"}},"required":["account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/dlp_WorkerValidatorWrite"}},"required":["path","body"],"additionalProperties":false,"definitions":{"dlp_WorkerValidatorWrite":{"description":"The attributes of a worker validator.","type":"object","properties":{"default":{"allOf":[{"$ref":"#/definitions/dlp_WorkerDefault"}]},"name":{"description":"A name for this validator, at most 50 characters.","type":"string","examples":["Invoice scorer"]},"script_tag":{"description":"The public script tag of the customer's Worker that scores matches.","type":"string","examples":["0123456789abcdef0123456789abcdef"]}},"required":["name","script_tag"]},"dlp_WorkerDefault":{"oneOf":[{"type":"number"},{"enum":["veto"],"type":"string"}]}}},"name":"Create a worker validator","id":"cloudflare.dlp-validators-create-worker-validator","example":{"path":{"account_id":"example"},"body":{"name":"Invoice scorer","script_tag":"0123456789abcdef0123456789abcdef"}},"maxRequests":1,"summary":false}}