{
  "$defs": {
    "Period": {
      "additionalProperties": false,
      "description": "Calendar dates, half-open ``[start, end)`` (spec \u00a74).",
      "properties": {
        "end": {
          "format": "date",
          "title": "End",
          "type": "string"
        },
        "start": {
          "format": "date",
          "title": "Start",
          "type": "string"
        }
      },
      "title": "Period",
      "type": "object"
    }
  },
  "$id": "https://schemas.ump.dev/v1/applies-to.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "Scope beside the estimand: compared by ``G-EST-02`` like the seven fields.",
  "properties": {
    "client_id": {
      "title": "Client Id",
      "type": "string"
    },
    "geo_ids": {
      "items": {
        "type": "string"
      },
      "title": "Geo Ids",
      "type": "array"
    },
    "kpi": {
      "title": "Kpi",
      "type": "string"
    },
    "media_ids": {
      "items": {
        "type": "string"
      },
      "title": "Media Ids",
      "type": "array"
    },
    "period": {
      "$ref": "#/$defs/Period"
    },
    "time_id": {
      "description": "Spec \u00a74 time registry entry ID.",
      "title": "Time Id",
      "type": "string"
    }
  },
  "title": "AppliesTo",
  "type": "object"
}
