Skip to content

Commit

Permalink
Restoring config schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dmendelowitz committed Nov 13, 2023
1 parent 0580cac commit 6a2c6cc
Showing 1 changed file with 6 additions and 59 deletions.
65 changes: 6 additions & 59 deletions src/helpers/schemas/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
"notificationInfo": {
"$ref": "#/$defs/notificationInfo"
},
"postExtraction": {
"$ref": "#/$defs/postExtraction"
},
"extractors": {
"title": "Extractors",
"type": "array",
Expand Down Expand Up @@ -44,7 +41,7 @@
"title": "Request Headers",
"type": "object"
},
"csvParse": {
"csvParse" : {
"title": "CSV Parse",
"type": "object",
"properties": {
Expand Down Expand Up @@ -99,61 +96,11 @@
}
},
"dependencies": {
"host": {
"required": [
"to"
]
},
"to": {
"required": [
"host"
]
},
"from": {
"required": [
"host",
"to"
]
},
"port": {
"required": [
"host",
"to"
]
},
"tlsRejectUnauthorized": {
"required": [
"host",
"to"
]
}
}
},
"postExtraction": {
"title": "Post Extraction Processes",
"type": "object",
"properties": {
"dateFilter": {
"$ref": "#/$defs/postExtraction"
}
}
},
"dateFilter": {
"title": "Date Filter",
"type": "object",
"properties": {
"resourceTypes": {
"title": "Resource Types",
"type": "string"
},
"startDate": {
"title": "Start Date",
"type": "string"
},
"endDate": {
"title": "End Date",
"type": "string"
}
"host": { "required": ["to"] },
"to": { "required": ["host"] },
"from": { "required": ["host", "to"] },
"port": { "required": ["host", "to"] },
"tlsRejectUnauthorized": { "required": ["host", "to"] }
}
},
"extractor": {
Expand Down

0 comments on commit 6a2c6cc

Please sign in to comment.