Skip to content

Commit

Permalink
Add new type: Web-Crawler
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Staab committed Aug 26, 2022
1 parent b58df4e commit 72700b4
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions schemas/development/webcrawler.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/xarf/schema-discussion/master/schemas/development/webcrawler.schema.json",
"title": "XARF WEBCRAWLER",
"description": "A format to report Web-Crawling events.",
"allOf": [
{
"$ref": "xarf_shared.schema.json#/properties/XarfBase"
},
{
"type": "object",
"properties": {
"Report": {
"allOf": [
{
"$ref": "xarf_shared.schema.json#/properties/IpAndUrlBasedReport"
},
{
"type": "object",
"properties": {
"ReportClass": {
"type": "string",
"enum": ["Activity"]
},
"ReportType": {
"type": "string",
"enum": ["WebCrawler"]
}
}
},
{
"$ref": "xarf_shared.schema.json#/properties/CommonProps"
}
]
}
}
}
]
}

0 comments on commit 72700b4

Please sign in to comment.