Skip to content

Commit

Permalink
Add com.snowplowanalytics.snowplow/javascript_script_config/jsonschem…
Browse files Browse the repository at this point in the history
…a/1-0-1 (close #1370)
  • Loading branch information
spenes committed Feb 9, 2024
1 parent 1be7a2c commit 0dfbc38
Showing 1 changed file with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
"description": "Schema for configuration of a JavaScript dynamic scripting enrichment",
"self": {
"vendor": "com.snowplowanalytics.snowplow",
"name": "javascript_script_config",
"format": "jsonschema",
"version": "1-0-1"
},

"type": "object",
"properties": {
"vendor": {
"type": "string"
},
"name": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"parameters": {
"type": "object",
"properties": {
"script": {
"type": "string"
},
"config": {
"type": "object"
}
},
"required": ["script"],
"additionalProperties": false
}
},
"required": ["name", "vendor", "enabled", "parameters"],
"additionalProperties": false
}

0 comments on commit 0dfbc38

Please sign in to comment.