-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Criteo: Update Json validation schema and maintainer email (#1337)
- Loading branch information
1 parent
c5f461a
commit b64ac2d
Showing
4 changed files
with
47 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,50 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Criteo Adapter Params", | ||
"description": "A schema which validates params accepted by the Criteo adapter", | ||
|
||
"title": "Criteo adapter params", | ||
"description": "The schema to validate Criteo specific params accepted by Criteo adapter", | ||
"type": "object", | ||
"properties": { | ||
"zoneid": { | ||
"type": "integer", | ||
"description": "Impression's zone ID.", | ||
"minimum": 0 | ||
}, | ||
"zoneId": { | ||
"type": "number", | ||
"description": "The zone ID from Criteo", | ||
"pattern": "^[0-9]+$" | ||
"type": "integer", | ||
"description": "Impression's zone ID, preferred.", | ||
"minimum": 0 | ||
}, | ||
"networkid": { | ||
"type": "integer", | ||
"description": "Impression's network ID.", | ||
"minimum": 0 | ||
}, | ||
"networkId": { | ||
"type": "number", | ||
"description": "The network ID from Criteo", | ||
"pattern": "^[0-9]+$" | ||
"type": "integer", | ||
"description": "Impression's network ID, preferred.", | ||
"minimum": 0 | ||
} | ||
}, | ||
"required": ["zoneId", "networkId"] | ||
} | ||
"anyOf": [ | ||
{ | ||
"required": [ | ||
"zoneid" | ||
] | ||
}, | ||
{ | ||
"required": [ | ||
"zoneId" | ||
] | ||
}, | ||
{ | ||
"required": [ | ||
"networkid" | ||
] | ||
}, | ||
{ | ||
"required": [ | ||
"networkId" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters