{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apphud/main/json-schema/apphud-post-api-public-v1-overview-widgets0123456789-ab-cdef0123456789-abcd-schema.json",
  "title": "PostApiPublicV1OverviewWidgets0123456789AbCdef0123456789Abcd",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/apphud-openapi-generated.yml#/components/schemas/PostApiPublicV1OverviewWidgets0123456789AbCdef0123456789Abcd",
  "type": "object",
  "properties": {
    "app_id": {
      "type": "string"
    },
    "chart_id": {
      "type": "string"
    },
    "time_range": {
      "type": "object",
      "properties": {
        "from": {
          "type": "string",
          "format": "date-time"
        },
        "to": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "additional": {
      "type": "object",
      "properties": {
        "view_by": {
          "type": "string"
        }
      }
    },
    "segments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        }
      }
    },
    "filters": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "condition": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}