Skip to content

Commit

Permalink
Patch Schema
Browse files Browse the repository at this point in the history
  • Loading branch information
slord399 authored Dec 5, 2024
1 parent eaa7d82 commit ecb83d1
Showing 1 changed file with 195 additions and 163 deletions.
358 changes: 195 additions & 163 deletions Script/schema.json
Original file line number Diff line number Diff line change
@@ -1,167 +1,199 @@
{
"definitions": {
"BlockRule": {
"type": ["object"],
"properties": {
"shopId": {
"type": "array",
"items": {
"type": [
"string"
]
}
}
},
"required": ["shopId"]
},
"ChannelRule": {
"type": [
"object"
],
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
},
"useAvatarRelevanceEvaluation": {
"type": "boolean"
},
"categories": {
"type": "array",
"items": {
"type": [
"string"
]
}
},
"excludeKeywords": {
"type": "array",
"items": {
"type": [
"string"
]
}
},
"titleKeywords": {
"type": "array",
"items": {
"type": [
"string"
]
}
},
"keywords": {
"type": "array",
"items": {
"type": [
"string"
]
}
},
"productNames": {
"type": "array",
"items": {
"type": [
"string"
]
}
},
"minPrice": {
"type": "integer"
},
"minLike": {
"type": "integer"
},
"channelId": {
"type": "integer"
},
"useModifyService": {
"type": "boolean"
}
},
"required": ["id", "sql", "useAvatarRelevanceEvaluation", "categories", "excludeKeywords", "titleKeywords", "keywords", "productNames", "minPrice", "minLike", "channelId", "useModifyService"]
}
},
"type": "object",
"properties": {
"keyword": {
"type": "string"
},
"fetchIntervalMilliSeconds": {
"type": "integer"
},
"updateIntervalMilliSeconds": {
"type": "integer"
},
"modifyIntervalMilliSeconds": {
"type": "integer"
},
"saleCheckIntervalMilliSeconds": {
"type": "integer"
},
"guildId": {
"type": "integer"
},
"exceptionChannelId": {
"type": "integer"
},
"reminderModifyDays": {
"type": "integer"
},
"modifyStartPage": {
"type": "integer"
},
"modifyEndPage": {
"type": "integer"
},
"notifyStartPage": {
"type": "integer"
},
"notifyEndPage": {
"type": "integer"
},
"footerText": {
"type": "string"
},
"gameStatues": {
"type": "array",
"items1": {
"type": [
"string"
"definitions": {
"BlockRule": {
"type": [
"object"
],
"properties": {
"shopId": {
"type": "string"
}
},
"required": [
"shopId"
]
},
"ChannelRule": {
"type": [
"object"
],
"properties": {
"id": {
"type": "string"
},
"sql": {
"type": "string"
},
"useAvatarRelevanceEvaluation": {
"type": "boolean"
},
"categories": {
"type": "array",
"items": {
"type": [
"string"
]
}
},
"excludeKeywords": {
"type": "array",
"items": {
"type": [
"string"
]
}
},
"titleKeywords": {
"type": "array",
"items": {
"type": [
"string"
]
}
},
"keywords": {
"type": "array",
"items": {
"type": [
"string"
]
}
},
"productNames": {
"type": "array",
"items": {
"type": [
"string"
]
}
},
"minPrice": {
"type": "integer"
},
"minLike": {
"type": "integer"
},
"channelId": {
"type": "integer"
},
"useModifyService": {
"type": "boolean"
}
},
"required": [
"id",
"sql",
"useAvatarRelevanceEvaluation",
"categories",
"excludeKeywords",
"titleKeywords",
"keywords",
"productNames",
"minPrice",
"minLike",
"channelId",
"useModifyService"
]
}
},
"type": "object",
"properties": {
"keyword": {
"type": "string"
},
"fetchIntervalMilliSeconds": {
"type": "integer"
},
"updateIntervalMilliSeconds": {
"type": "integer"
},
"modifyIntervalMilliSeconds": {
"type": "integer"
},
"saleCheckIntervalMilliSeconds": {
"type": "integer"
},
"guildId": {
"type": "integer"
},
"exceptionChannelId": {
"type": "integer"
},
"reminderModifyDays": {
"type": "integer"
},
"modifyStartPage": {
"type": "integer"
},
"modifyEndPage": {
"type": "integer"
},
"notifyStartPage": {
"type": "integer"
},
"notifyEndPage": {
"type": "integer"
},
"footerText": {
"type": "string"
},
"gameStatues": {
"type": "array",
"items1": {
"type": [
"string"
]
},
"items2": {
"type": [
"string"
]
}
},
"notifiedDataKeepDays": {
"type": "integer"
},
"relevanceEvaluationKeywords": {
"type": "array",
"items": {
"type": [
"string"
]
}
},
"adultWarningImageUrl": {
"type": "string"
},
"blockRules": {
"type": "object",
},
"items2": {
"type": [
"string"
]
}
},
"notifiedDataKeepDays": {
"type": "integer"
},
"relevanceEvaluationKeywords": {
"type": "array",
"items": {
"type": [
"string"
]
}
},
"adultWarningImageUrl": {
"type": "string"
},
"blockRules": {
"type": "array",
"$ref": "#/definitions/BlockRule"
},
"channelRules": {
"type": "array",
"items": {
"$ref": "#/definitions/ChannelRule"
}
}
},
"required" : ["keyword", "fetchIntervalMilliSeconds", "updateIntervalMilliSeconds", "modifyIntervalMilliSeconds", "saleCheckIntervalMilliSeconds", "guildId", "exceptionChannelId", "reminderModifyDays", "modifyStartPage", "modifyEndPage", "notifyStartPage", "notifyEndPage", "footerText", "gameStatues", "notifiedDataKeepDays", "relevanceEvaluationKeywords", "adultWarningImageUrl", "blockRules", "channelRules"]
},
"channelRules": {
"type": "array",
"items": {
"$ref": "#/definitions/ChannelRule"
}
}
},
"required": [
"keyword",
"fetchIntervalMilliSeconds",
"updateIntervalMilliSeconds",
"modifyIntervalMilliSeconds",
"saleCheckIntervalMilliSeconds",
"guildId",
"exceptionChannelId",
"reminderModifyDays",
"modifyStartPage",
"modifyEndPage",
"notifyStartPage",
"notifyEndPage",
"footerText",
"gameStatues",
"notifiedDataKeepDays",
"relevanceEvaluationKeywords",
"adultWarningImageUrl",
"blockRules",
"channelRules"
]
}

0 comments on commit ecb83d1

Please sign in to comment.