Skip to content

Commit cc57469

Browse files
committed
Return schema to manifest
1 parent 501cb3d commit cc57469

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

sherlock/resources/data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "data.schema.json",
23
"1337x": {
34
"errorMsg": [
45
"<title>Error something went wrong.</title>",

sherlock/resources/data.schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"title": "Sherlock Targets",
4-
"description": "Social media target to probe for existence of usernames",
3+
"title": "Sherlock Target Manifest",
4+
"description": "Social media targets to probe for the existence of known usernames",
55
"type": "object",
66
"properties": {
77
"$schema": { "type": "string" }
88
},
99
"patternProperties": {
1010
"^(?!\\$).*?$": {
1111
"type": "object",
12-
"description": "User-friendly target name",
12+
"description": "Target name and associated information (key should be human readable name)",
1313
"required": [ "url", "urlMain", "errorType", "username_claimed" ],
1414
"properties": {
1515
"url": { "type": "string" },

0 commit comments

Comments
 (0)