Skip to content

Commit

Permalink
Merge branch '2207-specify-schema' into release/0.15.0-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
ppfeister committed Jul 8, 2024
2 parents 3864bea + cc57469 commit 05a157a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions sherlock_project/resources/data.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "data.schema.json",
"1337x": {
"errorMsg": [
"<title>Error something went wrong.</title>",
Expand Down
6 changes: 3 additions & 3 deletions sherlock_project/resources/data.schema.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Sherlock Targets",
"description": "Social media target to probe for existence of usernames",
"title": "Sherlock Target Manifest",
"description": "Social media targets to probe for the existence of known usernames",
"type": "object",
"properties": {
"$schema": { "type": "string" }
},
"patternProperties": {
"^(?!\\$).*?$": {
"type": "object",
"description": "User-friendly target name",
"description": "Target name and associated information (key should be human readable name)",
"required": [ "url", "urlMain", "errorType", "username_claimed" ],
"properties": {
"url": { "type": "string" },
Expand Down

0 comments on commit 05a157a

Please sign in to comment.