Disallow other $ keys

pull/2099/head
Paul Pfeister 1 month ago
parent 0446779a3c
commit d118c1c43c

@ -3,6 +3,9 @@
"title": "Sherlock Targets", "title": "Sherlock Targets",
"description": "Social media target to probe for existence of usernames", "description": "Social media target to probe for existence of usernames",
"type": "object", "type": "object",
"properties": {
"$schema": { "type": "string" }
},
"patternProperties": { "patternProperties": {
"^(?!\\$).*?$": { "^(?!\\$).*?$": {
"type": "object", "type": "object",
@ -70,6 +73,7 @@
"additionalProperties": false "additionalProperties": false
} }
}, },
"additionalProperties": false,
"$defs": { "$defs": {
"tag": { "type": "string", "enum": [ "adult", "gaming" ] } "tag": { "type": "string", "enum": [ "adult", "gaming" ] }
} }

Loading…
Cancel
Save