{
  "components": {
    "schemas": {
      "Abandonment": {
        "properties": {
          "components": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Components"
          },
          "evaluated_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Evaluated At"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          },
          "score": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Score"
          },
          "state": {
            "enum": [
              "crossed",
              "below",
              "unknown"
            ],
            "title": "State",
            "type": "string"
          }
        },
        "required": [
          "state",
          "score",
          "components",
          "evaluated_at",
          "reason"
        ],
        "title": "Abandonment",
        "type": "object"
      },
      "AppCard": {
        "properties": {
          "abandonment_score": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Abandonment Score"
          },
          "abandonment_state": {
            "enum": [
              "crossed",
              "below",
              "unknown"
            ],
            "title": "Abandonment State",
            "type": "string"
          },
          "app_category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "App Category"
          },
          "app_id": {
            "title": "App Id",
            "type": "string"
          },
          "bundle_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bundle Id"
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Currency"
          },
          "delisted_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Delisted At"
          },
          "developer_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Developer Id"
          },
          "first_seen_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Seen At"
          },
          "has_iap": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Has Iap"
          },
          "is_delisted": {
            "title": "Is Delisted",
            "type": "boolean"
          },
          "last_observed_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Observed At"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "name_truncated": {
            "title": "Name Truncated",
            "type": "boolean"
          },
          "price_band": {
            "anyOf": [
              {
                "enum": [
                  "free",
                  "lt_1",
                  "1_5",
                  "5_20",
                  "20_plus"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Price Band"
          },
          "price_cents": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Price Cents"
          },
          "rating_average": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rating Average"
          },
          "rating_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rating Count"
          },
          "version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Version"
          }
        },
        "required": [
          "app_id",
          "name",
          "name_truncated",
          "bundle_id",
          "developer_id",
          "app_category",
          "price_cents",
          "currency",
          "price_band",
          "has_iap",
          "rating_average",
          "rating_count",
          "version",
          "first_seen_at",
          "last_observed_at",
          "is_delisted",
          "delisted_at",
          "abandonment_state",
          "abandonment_score"
        ],
        "title": "AppCard",
        "type": "object"
      },
      "AppDetail": {
        "properties": {
          "abandonment": {
            "$ref": "#/components/schemas/Abandonment"
          },
          "abandonment_score": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Abandonment Score"
          },
          "abandonment_state": {
            "enum": [
              "crossed",
              "below",
              "unknown"
            ],
            "title": "Abandonment State",
            "type": "string"
          },
          "app_category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "App Category"
          },
          "app_id": {
            "title": "App Id",
            "type": "string"
          },
          "bundle_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bundle Id"
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Currency"
          },
          "delisted_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Delisted At"
          },
          "developer_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Developer Id"
          },
          "first_seen_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Seen At"
          },
          "has_iap": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Has Iap"
          },
          "is_delisted": {
            "title": "Is Delisted",
            "type": "boolean"
          },
          "last_observed_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Observed At"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "name_truncated": {
            "title": "Name Truncated",
            "type": "boolean"
          },
          "pending_fetch": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PendingFetch"
              },
              {
                "type": "null"
              }
            ]
          },
          "price_band": {
            "anyOf": [
              {
                "enum": [
                  "free",
                  "lt_1",
                  "1_5",
                  "5_20",
                  "20_plus"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Price Band"
          },
          "price_cents": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Price Cents"
          },
          "rating_average": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rating Average"
          },
          "rating_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rating Count"
          },
          "review_velocity": {
            "$ref": "#/components/schemas/ReviewVelocity"
          },
          "tier": {
            "anyOf": [
              {
                "enum": [
                  "hot",
                  "warm",
                  "cold"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tier"
          },
          "version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Version"
          }
        },
        "required": [
          "app_id",
          "name",
          "name_truncated",
          "bundle_id",
          "developer_id",
          "app_category",
          "price_cents",
          "currency",
          "price_band",
          "has_iap",
          "rating_average",
          "rating_count",
          "version",
          "first_seen_at",
          "last_observed_at",
          "is_delisted",
          "delisted_at",
          "abandonment_state",
          "abandonment_score",
          "tier",
          "abandonment",
          "review_velocity",
          "pending_fetch"
        ],
        "title": "AppDetail",
        "type": "object"
      },
      "AppDetailResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AppDetail"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "AppDetailResponse",
        "type": "object"
      },
      "ChangeFeedData": {
        "properties": {
          "events": {
            "items": {
              "discriminator": {
                "mapping": {
                  "ok": "#/components/schemas/OkEvent",
                  "withheld": "#/components/schemas/WithheldEvent"
                },
                "propertyName": "served"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/OkEvent"
                },
                {
                  "$ref": "#/components/schemas/WithheldEvent"
                }
              ]
            },
            "title": "Events",
            "type": "array"
          },
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "scope": {
            "additionalProperties": true,
            "title": "Scope",
            "type": "object"
          }
        },
        "required": [
          "scope",
          "events",
          "has_more"
        ],
        "title": "ChangeFeedData",
        "type": "object"
      },
      "ChangeFeedDataResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ChangeFeedData"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "ChangeFeedDataResponse",
        "type": "object"
      },
      "DeveloperData": {
        "properties": {
          "developer_id": {
            "title": "Developer Id",
            "type": "string"
          },
          "first_seen_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Seen At"
          },
          "last_observed_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Observed At"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "portfolio": {
            "items": {
              "$ref": "#/components/schemas/AppCard"
            },
            "title": "Portfolio",
            "type": "array"
          },
          "stats": {
            "$ref": "#/components/schemas/DeveloperStats"
          }
        },
        "required": [
          "developer_id",
          "name",
          "first_seen_at",
          "last_observed_at",
          "stats",
          "portfolio"
        ],
        "title": "DeveloperData",
        "type": "object"
      },
      "DeveloperDataResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DeveloperData"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "DeveloperDataResponse",
        "type": "object"
      },
      "DeveloperStats": {
        "properties": {
          "abandoned_count": {
            "title": "Abandoned Count",
            "type": "integer"
          },
          "app_count": {
            "title": "App Count",
            "type": "integer"
          },
          "delisted_count": {
            "title": "Delisted Count",
            "type": "integer"
          },
          "unknown_count": {
            "title": "Unknown Count",
            "type": "integer"
          }
        },
        "required": [
          "app_count",
          "delisted_count",
          "abandoned_count",
          "unknown_count"
        ],
        "title": "DeveloperStats",
        "type": "object"
      },
      "ErrorBody": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "detail": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Detail"
          },
          "message": {
            "title": "Message",
            "type": "string"
          },
          "remediation": {
            "title": "Remediation",
            "type": "string"
          },
          "retryable": {
            "title": "Retryable",
            "type": "boolean"
          }
        },
        "required": [
          "code",
          "message",
          "remediation",
          "retryable"
        ],
        "title": "ErrorBody",
        "type": "object"
      },
      "ErrorEnvelope": {
        "properties": {
          "error": {
            "$ref": "#/components/schemas/ErrorBody"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "error",
          "meta"
        ],
        "title": "ErrorEnvelope",
        "type": "object"
      },
      "FetchReceipt": {
        "properties": {
          "mode": {
            "enum": [
              "dry",
              "live"
            ],
            "title": "Mode",
            "type": "string"
          },
          "note": {
            "title": "Note",
            "type": "string"
          },
          "poll_after_s": {
            "title": "Poll After S",
            "type": "integer"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          },
          "status": {
            "const": "accepted",
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "mode",
          "status",
          "poll_after_s",
          "note"
        ],
        "title": "FetchReceipt",
        "type": "object"
      },
      "FetchReceiptResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/FetchReceipt"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "FetchReceiptResponse",
        "type": "object"
      },
      "Filter": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "maxLength": 64,
            "minLength": 1,
            "title": "Field",
            "type": "string"
          },
          "op": {
            "enum": [
              "eq",
              "in",
              "gte",
              "lte",
              "between",
              "prefix"
            ],
            "title": "Op",
            "type": "string"
          },
          "value": {
            "title": "Value"
          }
        },
        "required": [
          "field",
          "op",
          "value"
        ],
        "title": "Filter",
        "type": "object"
      },
      "Meta": {
        "properties": {
          "attribution": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Attribution"
          },
          "call_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Call Id"
          },
          "charged_units": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Charged Units"
          },
          "coverage": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Coverage"
          },
          "evaluated_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Evaluated At"
          },
          "execution_epoch": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Execution Epoch"
          },
          "list_price_units": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "List Price Units"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "observed_window": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Observed Window"
          },
          "outcome": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Outcome"
          },
          "plan_class": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Plan Class"
          },
          "price_table_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Price Table Version"
          },
          "rail": {
            "title": "Rail",
            "type": "string"
          },
          "replay_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Replay Of"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          },
          "snapshot": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Snapshot"
          },
          "tool": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tool"
          },
          "truncated": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Truncated"
          },
          "vocab_version": {
            "title": "Vocab Version",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "tool",
          "vocab_version",
          "price_table_version",
          "execution_epoch",
          "plan_class",
          "list_price_units",
          "charged_units",
          "rail",
          "evaluated_at",
          "snapshot",
          "observed_window",
          "coverage"
        ],
        "title": "Meta",
        "type": "object"
      },
      "OkEvent": {
        "additionalProperties": false,
        "properties": {
          "bounded_after": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bounded After"
          },
          "detector": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Detector"
          },
          "entity_id": {
            "title": "Entity Id",
            "type": "string"
          },
          "entity_type": {
            "title": "Entity Type",
            "type": "string"
          },
          "event_id": {
            "title": "Event Id",
            "type": "string"
          },
          "event_type": {
            "title": "Event Type",
            "type": "string"
          },
          "observed_at": {
            "title": "Observed At",
            "type": "string"
          },
          "payload": {
            "additionalProperties": true,
            "description": "projected: allowlisted members only",
            "title": "Payload",
            "type": "object"
          },
          "schema_version": {
            "title": "Schema Version",
            "type": "integer"
          },
          "served": {
            "const": "ok",
            "title": "Served",
            "type": "string"
          }
        },
        "required": [
          "event_id",
          "entity_type",
          "entity_id",
          "event_type",
          "observed_at",
          "bounded_after",
          "detector",
          "schema_version",
          "served",
          "payload"
        ],
        "title": "OkEvent",
        "type": "object"
      },
      "PendingFetch": {
        "properties": {
          "mode": {
            "enum": [
              "dry",
              "live"
            ],
            "title": "Mode",
            "type": "string"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          },
          "requested_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Requested At"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "status",
          "mode",
          "requested_at"
        ],
        "title": "PendingFetch",
        "type": "object"
      },
      "QueryCorpusData": {
        "properties": {
          "dataset": {
            "title": "Dataset",
            "type": "string"
          },
          "dimensions": {
            "items": {
              "type": "string"
            },
            "title": "Dimensions",
            "type": "array"
          },
          "metrics": {
            "items": {
              "type": "string"
            },
            "title": "Metrics",
            "type": "array"
          },
          "row_count": {
            "title": "Row Count",
            "type": "integer"
          },
          "rows": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Rows",
            "type": "array"
          },
          "truncated_remediation": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Truncated Remediation"
          },
          "vocab_version": {
            "title": "Vocab Version",
            "type": "string"
          }
        },
        "required": [
          "dataset",
          "metrics",
          "dimensions",
          "vocab_version",
          "rows",
          "row_count"
        ],
        "title": "QueryCorpusData",
        "type": "object"
      },
      "QueryCorpusDataResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/QueryCorpusData"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "QueryCorpusDataResponse",
        "type": "object"
      },
      "RankHistoryData": {
        "properties": {
          "app_id": {
            "title": "App Id",
            "type": "string"
          },
          "note": {
            "title": "Note",
            "type": "string"
          },
          "points": {
            "items": {
              "$ref": "#/components/schemas/RankPoint"
            },
            "title": "Points",
            "type": "array"
          },
          "range": {
            "enum": [
              "7d",
              "30d",
              "90d",
              "all"
            ],
            "title": "Range",
            "type": "string"
          },
          "series": {
            "additionalProperties": true,
            "title": "Series",
            "type": "object"
          }
        },
        "required": [
          "app_id",
          "series",
          "range",
          "note",
          "points"
        ],
        "title": "RankHistoryData",
        "type": "object"
      },
      "RankHistoryDataResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/RankHistoryData"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "RankHistoryDataResponse",
        "type": "object"
      },
      "RankPoint": {
        "properties": {
          "observation_id": {
            "title": "Observation Id",
            "type": "integer"
          },
          "observed_at": {
            "title": "Observed At",
            "type": "string"
          },
          "value": {
            "description": "the chart rank or the SERP position at that observation",
            "title": "Value",
            "type": "integer"
          }
        },
        "required": [
          "observation_id",
          "observed_at",
          "value"
        ],
        "title": "RankPoint",
        "type": "object"
      },
      "ReviewVelocity": {
        "properties": {
          "rate": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "the page-1 new-review ratio in [0,1], a signal",
            "title": "Rate"
          },
          "samples": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Samples"
          },
          "updated_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          }
        },
        "required": [
          "rate",
          "samples",
          "updated_at"
        ],
        "title": "ReviewVelocity",
        "type": "object"
      },
      "SearchAppsData": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/AppCard"
            },
            "title": "Items",
            "type": "array"
          },
          "sort": {
            "title": "Sort",
            "type": "string"
          }
        },
        "required": [
          "sort",
          "items"
        ],
        "title": "SearchAppsData",
        "type": "object"
      },
      "SearchAppsDataResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SearchAppsData"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "SearchAppsDataResponse",
        "type": "object"
      },
      "TimeRange": {
        "additionalProperties": false,
        "properties": {
          "from": {
            "maxLength": 32,
            "minLength": 10,
            "title": "From",
            "type": "string"
          },
          "to": {
            "maxLength": 32,
            "minLength": 10,
            "title": "To",
            "type": "string"
          }
        },
        "required": [
          "from",
          "to"
        ],
        "title": "TimeRange",
        "type": "object"
      },
      "WithheldEvent": {
        "additionalProperties": false,
        "properties": {
          "bounded_after": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bounded After"
          },
          "detector": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Detector"
          },
          "entity_id": {
            "title": "Entity Id",
            "type": "string"
          },
          "entity_type": {
            "title": "Entity Type",
            "type": "string"
          },
          "event_id": {
            "title": "Event Id",
            "type": "string"
          },
          "event_type": {
            "title": "Event Type",
            "type": "string"
          },
          "observed_at": {
            "title": "Observed At",
            "type": "string"
          },
          "schema_version": {
            "title": "Schema Version",
            "type": "integer"
          },
          "served": {
            "const": "withheld",
            "title": "Served",
            "type": "string"
          },
          "withheld_reason": {
            "description": "<event_type>@<version>/<member>:<reason>",
            "title": "Withheld Reason",
            "type": "string"
          }
        },
        "required": [
          "event_id",
          "entity_type",
          "entity_id",
          "event_type",
          "observed_at",
          "bounded_after",
          "detector",
          "schema_version",
          "served",
          "withheld_reason"
        ],
        "title": "WithheldEvent",
        "type": "object"
      }
    }
  },
  "info": {
    "title": "Butlrs API",
    "version": "v1"
  },
  "openapi": "3.1.0",
  "paths": {
    "/ping": {
      "get": {
        "operationId": "ping_ping_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Ping Ping Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Ping"
      }
    },
    "/v1/apps": {
      "get": {
        "operationId": "search_apps",
        "parameters": [
          {
            "in": "query",
            "name": "storefront",
            "required": false,
            "schema": {
              "default": "us",
              "maxLength": 8,
              "minLength": 2,
              "pattern": "^[a-z]{2,8}$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "app_category",
            "required": false,
            "schema": {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "price_band",
            "required": false,
            "schema": {
              "enum": [
                "free",
                "lt_1",
                "1_5",
                "5_20",
                "20_plus"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "has_iap",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "min_rating",
            "required": false,
            "schema": {
              "maximum": 5,
              "minimum": 0,
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "min_rating_count",
            "required": false,
            "schema": {
              "maximum": 2000000000,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "abandonment_state",
            "required": false,
            "schema": {
              "enum": [
                "crossed",
                "below",
                "unknown"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "is_delisted",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "default": "rating_count",
              "enum": [
                "rating_count",
                "rating",
                "last_observed",
                "abandonment_score"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchAppsDataResponse"
                }
              }
            },
            "description": "search_apps: data + meta (brief \u00a73.5)"
          },
          "4XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "the error envelope"
          }
        },
        "summary": "search_apps"
      }
    },
    "/v1/apps/{app_id}": {
      "get": {
        "operationId": "get_app",
        "parameters": [
          {
            "in": "path",
            "name": "app_id",
            "required": true,
            "schema": {
              "title": "App Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "app_id",
            "required": true,
            "schema": {
              "maxLength": 64,
              "minLength": 1,
              "pattern": "^[ !#-\\[\\]-~]+$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storefront",
            "required": false,
            "schema": {
              "default": "us",
              "maxLength": 8,
              "minLength": 2,
              "pattern": "^[a-z]{2,8}$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppDetailResponse"
                }
              }
            },
            "description": "get_app: data + meta (brief \u00a73.5)"
          },
          "4XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "the error envelope"
          }
        },
        "summary": "get_app"
      }
    },
    "/v1/apps/{app_id}/fetch": {
      "post": {
        "operationId": "fetch_now",
        "parameters": [
          {
            "in": "path",
            "name": "app_id",
            "required": true,
            "schema": {
              "title": "App Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "app_id",
            "required": true,
            "schema": {
              "maxLength": 64,
              "minLength": 1,
              "pattern": "^[ !#-\\[\\]-~]+$",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "storefront": {
                    "default": "us",
                    "maxLength": 8,
                    "minLength": 2,
                    "pattern": "^[a-z]{2,8}$",
                    "title": "Storefront",
                    "type": "string"
                  }
                },
                "required": [],
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FetchReceiptResponse"
                }
              }
            },
            "description": "fetch_now: data + meta (brief \u00a73.5)"
          },
          "4XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "the error envelope"
          }
        },
        "summary": "fetch_now"
      }
    },
    "/v1/apps/{app_id}/ranks": {
      "get": {
        "operationId": "get_rank_history",
        "parameters": [
          {
            "in": "path",
            "name": "app_id",
            "required": true,
            "schema": {
              "title": "App Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "app_id",
            "required": true,
            "schema": {
              "maxLength": 64,
              "minLength": 1,
              "pattern": "^[ !#-\\[\\]-~]+$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storefront",
            "required": false,
            "schema": {
              "default": "us",
              "maxLength": 8,
              "minLength": 2,
              "pattern": "^[a-z]{2,8}$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "keyword",
            "required": false,
            "schema": {
              "maxLength": 128,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "range",
            "required": false,
            "schema": {
              "default": "30d",
              "enum": [
                "7d",
                "30d",
                "90d",
                "all"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 200,
              "maximum": 1000,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "chart_type",
            "required": false,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "chart_category",
            "required": false,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RankHistoryDataResponse"
                }
              }
            },
            "description": "get_rank_history: data + meta (brief \u00a73.5)"
          },
          "4XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "the error envelope"
          }
        },
        "summary": "get_rank_history"
      }
    },
    "/v1/changes": {
      "get": {
        "operationId": "get_change_feed",
        "parameters": [
          {
            "in": "query",
            "name": "storefront",
            "required": false,
            "schema": {
              "default": "us",
              "maxLength": 8,
              "minLength": 2,
              "pattern": "^[a-z]{2,8}$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "app_id",
            "required": false,
            "schema": {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "developer_id",
            "required": false,
            "schema": {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "comma-separated",
            "explode": false,
            "in": "query",
            "name": "event_types",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "maxItems": 20,
              "minItems": 1,
              "type": "array"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "app_category",
            "required": false,
            "schema": {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "since_cursor",
            "required": false,
            "schema": {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeFeedDataResponse"
                }
              }
            },
            "description": "get_change_feed: data + meta (brief \u00a73.5)"
          },
          "4XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "the error envelope"
          }
        },
        "summary": "get_change_feed"
      }
    },
    "/v1/coverage": {
      "get": {
        "operationId": "coverage_v1_coverage_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Coverage"
      }
    },
    "/v1/developers/{developer_id}": {
      "get": {
        "operationId": "get_developer",
        "parameters": [
          {
            "in": "path",
            "name": "developer_id",
            "required": true,
            "schema": {
              "title": "Developer Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "developer_id",
            "required": true,
            "schema": {
              "maxLength": 64,
              "minLength": 1,
              "pattern": "^[ !#-\\[\\]-~]+$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storefront",
            "required": false,
            "schema": {
              "default": "us",
              "maxLength": 8,
              "minLength": 2,
              "pattern": "^[a-z]{2,8}$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "portfolio_limit",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "portfolio_cursor",
            "required": false,
            "schema": {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeveloperDataResponse"
                }
              }
            },
            "description": "get_developer: data + meta (brief \u00a73.5)"
          },
          "4XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "the error envelope"
          }
        },
        "summary": "get_developer"
      }
    },
    "/v1/keys/free": {
      "post": {
        "operationId": "keys_free_v1_keys_free_post",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Keys Free"
      }
    },
    "/v1/price": {
      "get": {
        "operationId": "price_v1_price_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Price"
      }
    },
    "/v1/query": {
      "post": {
        "operationId": "query_corpus",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "dataset": {
                    "maxLength": 64,
                    "minLength": 1,
                    "title": "Dataset",
                    "type": "string"
                  },
                  "dimensions": {
                    "anyOf": [
                      {
                        "items": {
                          "type": "string"
                        },
                        "maxItems": 6,
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Dimensions"
                  },
                  "filters": {
                    "anyOf": [
                      {
                        "items": {
                          "$ref": "#/components/schemas/Filter"
                        },
                        "maxItems": 12,
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Filters"
                  },
                  "limit": {
                    "default": 100,
                    "maximum": 1000.0,
                    "minimum": 1.0,
                    "title": "Limit",
                    "type": "integer"
                  },
                  "metrics": {
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 8,
                    "minItems": 1,
                    "title": "Metrics",
                    "type": "array"
                  },
                  "params": {
                    "anyOf": [
                      {
                        "additionalProperties": {
                          "type": "number"
                        },
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Params"
                  },
                  "sort": {
                    "anyOf": [
                      {
                        "maxLength": 65,
                        "minLength": 1,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sort"
                  },
                  "time_range": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/TimeRange"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "vocab_version": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Vocab Version"
                  }
                },
                "required": [
                  "dataset",
                  "metrics"
                ],
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueryCorpusDataResponse"
                }
              }
            },
            "description": "query_corpus: data + meta (brief \u00a73.5)"
          },
          "4XX": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "the error envelope"
          }
        },
        "summary": "query_corpus"
      }
    }
  }
}
