Skip to content

Commit 4b2f8ad

Browse files
committed
Bring comments into compliance with schema
1 parent 2da7195 commit 4b2f8ad

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

sherlock/resources/data.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@
977977
"username_claimed": "naveennamani877"
978978
},
979979
"HackerNews": {
980-
"::::README::::": "First errMsg invalid, second errMsg rate limited. Not ideal. Adjust for better rate limit filtering.",
980+
"__comment__": "First errMsg invalid, second errMsg rate limited. Not ideal. Adjust for better rate limit filtering.",
981981
"errorMsg": [
982982
"No such user.",
983983
"Sorry."
@@ -2265,7 +2265,7 @@
22652265
"username_claimed": "blue"
22662266
},
22672267
"YandexMusic": {
2268-
"::::README::::": "The first and third errorMsg relate to geo-restrictions and bot detection/captchas.",
2268+
"__comment__": "The first and third errorMsg relate to geo-restrictions and bot detection/captchas.",
22692269
"errorMsg": [
22702270
"\u041e\u0448\u0438\u0431\u043a\u0430 404",
22712271
"<meta name=\"description\" content=\"\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0439\u0442\u0435 \u043d\u043e\u0432\u0443\u044e \u043c\u0443\u0437\u044b\u043a\u0443 \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c.",

sherlock/resources/data.schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
"isNSFW": { "type": "boolean" },
1717
"headers": { "type": "object" },
1818
"request_payload": { "type": "object" },
19+
"__comment__": {
20+
"type": "string",
21+
"description": "Used to clarify important target information if (and only if) a commit message would not suffice.\nThis key should not be parsed anywhere within Sherlock.",
22+
},
1923
"tags": {
2024
"oneOf": [
2125
{

0 commit comments

Comments
 (0)