UNPKG

openrtb

Version:

A Javascript library which builds and validates OpenRTB objects

53 lines (51 loc) 880 B
const videoSchema = require('./video'); const bannerSchema = require('./banner'); const nativeSchema = require('./native'); module.exports = { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "banner": bannerSchema, "video": videoSchema, "native": nativeSchema, "displaymanager": { "type": "string" }, "displaymanagerver": { "type": "string" }, "instl": { "type": "integer" }, "tagid": { "type": "string" }, "bidfloor": { "type": "number" }, "bidfloorcur": { "type": "string" }, "secure": { "type": "integer" }, "iframebuster": { "type": "array", "items": { "type": "string" } }, "pmp": { "type": "object" }, "ext": { "type": "object" } }, }, "required": ["id"] };