{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "pixel_bundle_base",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "minimum": 1,
      "format": "int32",
      "example": 32,
      "readOnly": true
    },
    "provider_id": {
      "type": "integer",
      "nullable": true,
      "minimum": 1,
      "format": "int32",
      "example": 15
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "cost_pct_cpm": {
      "type": "number",
      "nullable": true
    },
    "eligible": {
      "type": "boolean"
    },
    "tags": {
      "type": "string",
      "nullable": true,
      "readOnly": true
    },
    "cost_cpm": {
      "type": "number",
      "nullable": true
    },
    "external_identifier": {
      "type": "string",
      "readOnly": true
    },
    "tag_type": {
      "type": "string",
      "enum": [
        "dfa",
        "uat",
        "image",
        "iframe",
        "js"
      ]
    },
    "pricing": {
      "type": "string",
      "enum": [
        "CPM",
        "CPTS"
      ],
      "nullable": true
    },
    "cost_cpts": {
      "type": "number",
      "nullable": true
    },
    "segment_op": {
      "type": "string",
      "nullable": true,
      "enum": [
        "AND",
        "OR"
      ]
    },
    "rmx_friendly": {
      "type": "boolean",
      "deprecated": true
    },
    "rmx_merit": {
      "type": "boolean",
      "deprecated": true
    },
    "rmx_pc_window_minutes": {
      "type": "integer",
      "nullable": true,
      "format": "int32",
      "example": 34,
      "deprecated": true
    },
    "rmx_pv_window_minutes": {
      "type": "integer",
      "nullable": true,
      "format": "int32",
      "example": 44,
      "deprecated": true
    },
    "rmx_conversion_type": {
      "type": "string",
      "enum": [
        "one",
        "variable"
      ],
      "deprecated": true
    },
    "rmx_conversion_minutes": {
      "type": "integer",
      "format": "int32",
      "example": 24,
      "deprecated": true
    },
    "currency": {
      "type": "string",
      "nullable": true,
      "enum": [
        "S1",
        "S2",
        "V1",
        "V2"
      ]
    },
    "revenue": {
      "type": "string",
      "nullable": true,
      "enum": [
        "S1",
        "S2",
        "V1",
        "V2"
      ]
    },
    "currency_fixed": {
      "type": "string",
      "nullable": true
    },
    "status": {
      "type": "boolean"
    },
    "event_urls": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "nullable": true
    },
    "contianer_tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "nullable": true
    }
  }
}