Skip to content

Commit c5b25fa

Browse files
committed
Merge branch '2207-specify-schema' into release/0.15.0-rc2
2 parents e1c4db4 + cc57469 commit c5b25fa

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

sherlock_project/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_project/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)