Skip to content

Commit

Permalink
Update bidmachine properties to type string (prebid#1809)
Browse files Browse the repository at this point in the history
Remove definitions object from schema and define types and other parameters directly in properties objects to ensure compatibility with more downstream systems that use this schema.
  • Loading branch information
agilfix authored and Dan Barnett committed May 11, 2021
1 parent a34bfa9 commit fe46d64
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions static/bidder-params/bidmachine.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,24 @@
"type": "object",
"properties": {
"host": {
"$ref": "#/definitions/non-empty-string",
"type": "string",
"minLength": 1,
"description": "Host"
},
"path": {
"$ref": "#/definitions/non-empty-string",
"type": "string",
"minLength": 1,
"description": "URL path"
},
"seller_id": {
"$ref": "#/definitions/non-empty-string",
"description": "Seller Identifier"
}
},
"definitions": {
"non-empty-string": {
"type": "string",
"minLength": 1
"minLength": 1,
"description": "Seller Identifier"
}
},
"required": [
"host",
"path",
"seller_id"
]
}
}

0 comments on commit fe46d64

Please sign in to comment.