{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Yieldlab Adapter Params",
    "description": "A schema which validates params accepted by the Yieldlab adapter",
    "type": "object",
    "properties": {
        "adslotId": {
            "type": "string",
            "description": "Yieldlab ID of the ad slot"
        },
        "supplyId": {
            "type": "string",
            "description": "Yieldlab ID of the supply"
        },
        "adSize": {
            "type": "string",
            "description": "Size of the adslot in pixel, e.g. 200x50"
        },
        "extId": {
            "type": "string",
            "description": "External ID used for reporting"
        },
        "targeting": {
            "type": "object",
            "description": "Targeting information in key value pairs"
        }
    },
    "required": [
        "adslotId",
        "supplyId",
        "adSize"
    ]
}