Skip to content

Instantly share code, notes, and snippets.

@ctavan
Created July 13, 2013 14:58
Show Gist options
  • Save ctavan/5991002 to your computer and use it in GitHub Desktop.
Save ctavan/5991002 to your computer and use it in GitHub Desktop.
{
- title: "openrtb-v2_0-schema-bid_request"
+ title: "openrtb-v2_1-schema-bid_request"
- description: "json schema for an openrtb v2.0 bid request (http://www.iab.net/media/file/OpenRTB_API_Specification_Version2.0_FINAL.PDF)"
+ description: "json schema for an openrtb v2.1 bid request (http://www.iab.net/media/file/OpenRTB-API-Specification-Version-2-1-FINAL.pdf)"
definitions: {
+ vast_companion_type: {
+ type: "integer"
+ minimum: 1
+ maximum: 3
+ }
+ qag_media_rating: {
+ type: "integer"
+ minimum: 1
+ maximum: 3
+ }
banner: {
properties: {
+ ext: {
+ type: "object"
+ }
}
}
video: {
properties: {
+ companiontype: {
+ type: "array"
+ $ref: "#/definitions/vast_companion_type"
+ }
+ ext: {
+ type: "object"
+ }
}
}
site: {
properties: {
+ ext: {
+ type: "object"
+ }
}
}
app: {
properties: {
+ storeurl: {
+ type: "string"
+ }
+ ext: {
+ type: "object"
+ }
}
}
content: {
properties: {
+ qagmediarating: {
+ $ref: "#/definitions/qag_media_rating"
+ }
+ embeddable: {
+ $ref: "#/definitions/boolean_int"
+ }
+ language: {
+ $ref: "#/definitions/language"
+ }
+ ext: {
+ type: "object"
+ }
}
}
publisher: {
properties: {
+ ext: {
+ type: "object"
+ }
}
}
producer: {
properties: {
+ ext: {
+ type: "object"
+ }
}
}
device: {
properties: {
+ ext: {
+ type: "object"
+ }
}
}
geo: {
properties: {
+ ext: {
+ type: "object"
+ }
}
}
user: {
properties: {
+ ext: {
+ type: "object"
+ }
}
}
data: {
properties: {
+ ext: {
+ type: "object"
+ }
}
}
segment: {
properties: {
+ ext: {
+ type: "object"
+ }
}
}
ad_position: {
- maximum: 3
+ maximum: 7
}
expandable_direction: {
- maximum: 4
+ maximum: 5
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment