Skip to content

Commit

Permalink
fix: schema validation
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshkutty committed Feb 25, 2025
1 parent 07d25a5 commit 2bb01d6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/configurations/destinations/moengage/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"configSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": ["apiKey", "apiId", "region"],
"properties": {
"useObjectData": {
"type": "boolean",
Expand Down
9 changes: 9 additions & 0 deletions test/data/validation/destinations/moengage.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[
{
"config": {
"apiKey": "testkey",
"apiId": "testid",
"region": "US",
"oneTrustCookieCategories": {
"android": [
{
Expand Down Expand Up @@ -128,6 +131,9 @@
},
{
"config": {
"apiKey": "testkey",
"apiId": "testid",
"region": "US",
"oneTrustCookieCategories": [
{
"oneTrustCookieCategory": "C0001"
Expand All @@ -150,6 +156,9 @@
},
{
"config": {
"apiKey": "testkey",
"apiId": "testid",
"region": "US",
"oneTrustCookieCategories": {
"android": [
{
Expand Down

0 comments on commit 2bb01d6

Please sign in to comment.