{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Ix Adapter Params",
  "description": "A schema which validates params accepted by the Ix adapter",
  "type": "object",
  "properties": {
    "siteid": {
      "type": "string",
      "minLength": 1,
      "description": "An ID which identifies the site selling the impression, preferred."
    },
    "siteId": {
      "type": "string",
      "minLength": 1,
      "description": "An ID which identifies the site selling the impression."
    },
    "siteID": {
      "type": "string",
      "minLength": 1,
      "description": "An ID which identifies the site selling the impression."
    },
    "size": {
      "type": "array",
      "items": {
        "type": "integer"
      },
      "minItems": 2,
      "maxItems": 2,
      "description": "An array of two integer containing the dimension"
    },
    "sid": {
      "type": "string",
      "minLength": 1,
      "description": "Slot ID"
    }
  },
  "oneOf": [
    {"required": ["siteid"]},
    {"required": ["siteId"]},
    {"required": ["siteID"]}
  ]
}
