{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/appfigures-com/json-schema/appfigures-com-get-reports-revenue-response-schema.json",
  "title": "GetReportsRevenueResponse",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/appfigures-com-openapi-generated.yml#/components/schemas/GetReportsRevenueResponse",
  "type": "object",
  "properties": {
    "sales": {
      "type": "string",
      "description": "Revenue from app downloads, after the store’s fee."
    },
    "iap": {
      "type": "string",
      "description": "Revenue from in-app purchases, after the store’s fee."
    },
    "subscriptions": {
      "type": "string",
      "description": "Revenue from recurring in-app purchases, after the store’s fee."
    },
    "ads": {
      "type": "string",
      "description": "Revenue from ad publishing, after the store’s fee."
    },
    "edu": {
      "type": "string",
      "description": "Revenue from purchases through the Volume Purchase for Education program, after the store’s fee."
    },
    "business": {
      "type": "string",
      "description": "Revenue from purchases through the Volume Purchase for Business program, after the store’s fee."
    },
    "returns": {
      "type": "string",
      "description": "Money refunded to users, after the store’s fee."
    },
    "total": {
      "type": "string",
      "description": "The total revenue for the period, after the store’s fee, where total = sales + iap + subscriptions + ads + edu - returns."
    },
    "gross_sales": {
      "type": "string",
      "description": "Revenue from app downloads, before the store’s fee."
    },
    "gross_iap": {
      "type": "string",
      "description": "Revenue from in-app purchases, before the store’s fee."
    },
    "gross_subscriptions": {
      "type": "string",
      "description": "Revenue from recurring in-app purchases, before the store’s fee."
    },
    "gross_edu": {
      "type": "string",
      "description": "Revenue from purchases through the Volume Purchase for Education program, before the store’s fee."
    },
    "gross_business": {
      "type": "string",
      "description": "Revenue from purchases through the Volume Purchase for Business program, before the store’s fee."
    },
    "gross_returns": {
      "type": "string",
      "description": "Money refunded to users, before the store’s fee."
    },
    "gross_total": {
      "type": "string",
      "description": "The total revenue for the period, before the store’s fee, where gross_total = gross_sales + gross_iap + gross_subscriptions + ads + gross_edu - gross_returns."
    }
  }
}