Search or ask Docker

TimespanData

TimespanData schema in Publisher analytics API 1.0.0.

View Markdown

Schema

Exactly one alternative must match

Schema: MonthData

Schema: WeekData

All schema constraints and annotations
{
  "examples": [
    {
      "months": [
        {
          "month": 5
        },
        {
          "month": 7
        }
      ]
    },
    {
      "weeks": [
        {
          "week": 31
        },
        {
          "week": 32
        }
      ]
    }
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/MonthData"
    },
    {
      "$ref": "#/components/schemas/WeekData"
    }
  ]
}