Rewalto · Schema

Report schedule answer

One schedule.

DataIndiaCommerceRetail

Properties

Name Type Description
data object A scheduled report: what it reads, when, at what confirmed cost, and what happened.
View JSON Schema on GitHub

JSON Schema

rewalto-com-report-schedule-answer-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rewalto-com/json-schema/rewalto-com-report-schedule-answer-schema.json",
  "title": "Report schedule answer",
  "description": "One schedule.",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rewalto-com-openapi.json#/components/schemas/ReportScheduleAnswer",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "type": "object",
      "title": "Report schedule",
      "description": "A scheduled report: what it reads, when, at what confirmed cost, and what happened.",
      "additionalProperties": false,
      "required": [
        "id",
        "state",
        "pauseReason",
        "name",
        "data",
        "window",
        "frequency",
        "timezone",
        "renderer",
        "title",
        "subject",
        "delivery",
        "spendingLimit",
        "cost",
        "confirmed",
        "nextDeliveryAt",
        "lastRun",
        "failuresInRow",
        "editions",
        "createdAt",
        "updatedAt"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id",
          "description": "The schedule id.",
          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
        },
        "state": {
          "type": "string",
          "enum": [
            "draft",
            "needs_confirmation",
            "active",
            "paused",
            "cancelled"
          ],
          "title": "State",
          "description": "draft, needs_confirmation, active, paused or cancelled."
        },
        "pauseReason": {
          "type": [
            "null",
            "string"
          ],
          "enum": [
            "by_user",
            "insufficient_credits",
            "spending_limit",
            "renderer_failed",
            null
          ],
          "title": "Pause reason",
          "description": "Why it is paused; null otherwise."
        },
        "name": {
          "type": "string",
          "title": "Name",
          "description": "A name for the schedule.",
          "minLength": 1,
          "maxLength": 200
        },
        "data": {
          "type": "object",
          "title": "Data",
          "description": "What each delivery reads: the report data request without its period (the window rule gives it).",
          "additionalProperties": false,
          "required": [
            "datasets"
          ],
          "properties": {
            "datasets": {
              "type": "array",
              "items": {
                "type": "object",
                "title": "Dataset request",
                "description": "One dataset, narrowed.",
                "additionalProperties": false,
                "required": [
                  "dataset"
                ],
                "properties": {
                  "dataset": {
                    "type": "string",
                    "enum": [
                      "listings",
                      "observations",
                      "rating_changes",
                      "banner_placements",
                      "brand_mentions",
                      "promo_emails",
                      "storefront_promos",
                      "ad_creatives",
                      "brands",
                      "retailers"
                    ],
                    "title": "Dataset",
                    "description": "Which dataset."
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,60}$"
                    },
                    "title": "Fields",
                    "description": "Only these fields of each record (the record id and its source fields are always included). Default: all.",
                    "maxItems": 100,
                    "uniqueItems": true
                  },
                  "filters": {
                    "type": "object",
                    "title": "Report data filters",
                    "description": "Narrow a dataset. Values are exact (brands as retailers write them). Each dataset supports only some filters.",
                    "additionalProperties": false,
                    "required": [],
                    "properties": {
                      "retailers": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200,
                          "pattern": "^[a-z0-9_]{1,40}$"
                        },
                        "title": "Retailers",
                        "description": "Retailer ids.",
                        "minItems": 1,
                        "maxItems": 200,
                        "uniqueItems": true
                      },
                      "brands": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "title": "Brands",
                        "description": "Brands, exactly as written.",
                        "minItems": 1,
                        "maxItems": 200,
                        "uniqueItems": true
                      },
                      "pincodes": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200,
                          "pattern": "^[1-9][0-9]{5}$"
                        },
                        "title": "Pin codes",
                        "description": "Six-digit pin codes.",
                        "minItems": 1,
                        "maxItems": 200,
                        "uniqueItems": true
                      },
                      "productIds": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200,
                          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
                        },
                        "title": "Products",
                        "description": "Core product ids.",
                        "minItems": 1,
                        "maxItems": 200,
                        "uniqueItems": true
                      },
                      "retailerSkus": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "title": "Retailer SKUs",
                        "description": "Retailers' own product ids.",
                        "minItems": 1,
                        "maxItems": 200,
                        "uniqueItems": true
                      },
                      "searchTerms": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "title": "Search terms",
                        "description": "Search terms, as typed in the app.",
                        "minItems": 1,
                        "maxItems": 200,
                        "uniqueItems": true
                      },
                      "advertisers": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "title": "Advertisers",
                        "description": "Advertiser names, as the ad library shows them.",
                        "minItems": 1,
                        "maxItems": 200,
                        "uniqueItems": true
                      },
                      "domains": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "title": "Domains",
                        "description": "Brands' own store domains.",
                        "minItems": 1,
                        "maxItems": 200,
                        "uniqueItems": true
                      }
                    }
                  }
                }
              },
              "title": "Datasets",
              "description": "One entry per dataset; each dataset at most once.",
              "minItems": 1,
              "maxItems": 10
            }
          }
        },
        "window": {
          "title": "Reporting window",
          "description": "Which days each delivery covers, in the schedule time zone: the last N complete days before the run, or the previous calendar week or month.",
          "oneOf": [
            {
              "type": "object",
              "title": "Rolling days",
              "description": "The last N complete days.",
              "additionalProperties": false,
              "required": [
                "kind",
                "days"
              ],
              "properties": {
                "kind": {
                  "type": "string",
                  "const": "rolling_days",
                  "title": "Kind",
                  "description": "rolling_days."
                },
                "days": {
                  "type": "integer",
                  "minimum": 1,
                  "title": "Days",
                  "description": "1 to 366.",
                  "maximum": 366
                }
              }
            },
            {
              "type": "object",
              "title": "Previous calendar period",
              "description": "The previous complete week (Monday to Sunday) or month.",
              "additionalProperties": false,
              "required": [
                "kind",
                "period"
              ],
              "properties": {
                "kind": {
                  "type": "string",
                  "const": "previous_period",
                  "title": "Kind",
                  "description": "previous_period."
                },
                "period": {
                  "type": "string",
                  "enum": [
                    "week",
                    "month"
                  ],
                  "title": "Period",
                  "description": "week or month."
                }
              }
            }
          ]
        },
        "frequency": {
          "title": "Frequency",
          "description": "When deliveries run, in the schedule time zone.",
          "oneOf": [
            {
              "type": "object",
              "title": "Daily",
              "description": "Every day.",
              "additionalProperties": false,
              "required": [
                "kind",
                "time"
              ],
              "properties": {
                "kind": {
                  "type": "string",
                  "const": "daily",
                  "title": "Kind",
                  "description": "daily."
                },
                "time": {
                  "type": "string",
                  "title": "Time",
                  "description": "Local time, HH:MM, 24-hour.",
                  "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                }
              }
            },
            {
              "type": "object",
              "title": "Weekly",
              "description": "Once a week.",
              "additionalProperties": false,
              "required": [
                "kind",
                "weekday",
                "time"
              ],
              "properties": {
                "kind": {
                  "type": "string",
                  "const": "weekly",
                  "title": "Kind",
                  "description": "weekly."
                },
                "weekday": {
                  "type": "string",
                  "enum": [
                    "monday",
                    "tuesday",
                    "wednesday",
                    "thursday",
                    "friday",
                    "saturday",
                    "sunday"
                  ],
                  "title": "Weekday",
                  "description": "The day."
                },
                "time": {
                  "type": "string",
                  "title": "Time",
                  "description": "Local time, HH:MM, 24-hour.",
                  "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                }
              }
            },
            {
              "type": "object",
              "title": "Monthly",
              "description": "Once a month.",
              "additionalProperties": false,
              "required": [
                "kind",
                "dayOfMonth",
                "time"
              ],
              "properties": {
                "kind": {
                  "type": "string",
                  "const": "monthly",
                  "title": "Kind",
                  "description": "monthly."
                },
                "dayOfMonth": {
                  "type": "integer",
                  "minimum": 1,
                  "title": "Day",
                  "description": "1 to 28, so every month has it.",
                  "maximum": 28
                },
                "time": {
                  "type": "string",
                  "title": "Time",
                  "description": "Local time, HH:MM, 24-hour.",
                  "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                }
              }
            }
          ]
        },
        "timezone": {
          "type": "string",
          "enum": [
            "Asia/Kolkata"
          ],
          "title": "Time zone",
          "description": "Asia/Kolkata for now."
        },
        "renderer": {
          "type": "object",
          "title": "Renderer",
          "description": "The frontend's renderer the worker runs (D-1777): an allow-listed package, an exact version and a template.",
          "additionalProperties": false,
          "required": [
            "package",
            "version",
            "template"
          ],
          "properties": {
            "package": {
              "type": "string",
              "title": "Package",
              "description": "The npm package the frontend published.",
              "pattern": "^(@[a-z0-9-]+/)?[a-z0-9][a-z0-9._-]*$"
            },
            "version": {
              "type": "string",
              "title": "Version",
              "description": "An exact version on Core's allow-list (no ranges).",
              "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+(-[0-9A-Za-z.-]+)?$"
            },
            "template": {
              "type": "string",
              "title": "Template",
              "description": "A template the package declares.",
              "pattern": "^[a-z0-9][a-z0-9-]{0,60}$"
            }
          }
        },
        "title": {
          "type": "string",
          "title": "Report title",
          "description": "Each edition's title; {from} and {to} are replaced by the window dates.",
          "minLength": 1,
          "maxLength": 300
        },
        "subject": {
          "type": "object",
          "title": "Subject",
          "description": "What the report is about.",
          "additionalProperties": false,
          "required": [
            "kind",
            "name",
            "slug"
          ],
          "properties": {
            "kind": {
              "type": "string",
              "enum": [
                "brand",
                "category",
                "retailer",
                "dataset"
              ],
              "title": "Kind",
              "description": "brand, category, retailer or dataset."
            },
            "name": {
              "type": "string",
              "title": "Name",
              "description": "As the report names it.",
              "minLength": 1,
              "maxLength": 200
            },
            "slug": {
              "type": "string",
              "title": "Slug",
              "description": "Lowercase words joined by hyphens.",
              "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
              "maxLength": 80
            }
          }
        },
        "delivery": {
          "type": "object",
          "title": "Delivery",
          "description": "Every edition is saved to the organisation's report history; optionally, named members are told when it is ready (a link to the report, never the file).",
          "additionalProperties": false,
          "required": [
            "saveToHistory"
          ],
          "properties": {
            "saveToHistory": {
              "type": "boolean",
              "const": true,
              "title": "Save to history",
              "description": "Always true."
            },
            "notifyUserIds": {
              "type": "array",
              "items": {
                "type": "string",
                "title": "Member",
                "description": "A member of the organisation (Clerk user id)."
              },
              "title": "Notify",
              "description": "Members told when an edition is saved or a run fails.",
              "maxItems": 20,
              "uniqueItems": true
            }
          }
        },
        "spendingLimit": {
          "type": "object",
          "title": "Spending limit",
          "description": "A run that would exceed either limit is skipped (spending_limit) and the schedule pauses.",
          "additionalProperties": false,
          "required": [
            "perDeliveryCredits",
            "perMonthCredits"
          ],
          "properties": {
            "perDeliveryCredits": {
              "type": "integer",
              "minimum": 1,
              "title": "Per delivery",
              "description": "At most this many credits per delivery."
            },
            "perMonthCredits": {
              "type": "integer",
              "minimum": 1,
              "title": "Per month",
              "description": "At most this many credits per calendar month (IST)."
            }
          }
        },
        "cost": {
          "type": "object",
          "title": "Cost",
          "description": "Estimated at the published rates from what the data request matches now (C-012; no report fee, D-1760).",
          "additionalProperties": false,
          "required": [
            "perDeliveryCredits",
            "deliveriesPerMonth",
            "perMonthCredits",
            "rateVersion",
            "estimatedAt",
            "fitsBalance"
          ],
          "properties": {
            "perDeliveryCredits": {
              "type": "integer",
              "minimum": 0,
              "title": "Per delivery",
              "description": "Estimated credits per delivery."
            },
            "deliveriesPerMonth": {
              "type": "integer",
              "minimum": 0,
              "title": "Deliveries per month",
              "description": "At most this many in a month."
            },
            "perMonthCredits": {
              "type": "integer",
              "minimum": 0,
              "title": "Per month",
              "description": "Estimated credits per month."
            },
            "rateVersion": {
              "type": "string",
              "title": "Rate version",
              "description": "The rate card used."
            },
            "estimatedAt": {
              "type": "string",
              "title": "Estimated at",
              "description": "When it was estimated.",
              "format": "date-time"
            },
            "fitsBalance": {
              "type": "boolean",
              "title": "Fits balance",
              "description": "The month fits the credits the organisation has left (always true under unlimited credits)."
            }
          }
        },
        "confirmed": {
          "type": [
            "null",
            "object"
          ],
          "title": "Confirmed",
          "description": "The cost the user confirmed; null until confirmed.",
          "additionalProperties": false,
          "required": [
            "perDeliveryCredits",
            "perMonthCredits",
            "confirmedBy",
            "confirmedAt"
          ],
          "properties": {
            "perDeliveryCredits": {
              "type": "integer",
              "minimum": 0,
              "title": "Per delivery",
              "description": "Confirmed per delivery."
            },
            "perMonthCredits": {
              "type": "integer",
              "minimum": 0,
              "title": "Per month",
              "description": "Confirmed per month."
            },
            "confirmedBy": {
              "type": "string",
              "title": "By",
              "description": "Who confirmed."
            },
            "confirmedAt": {
              "type": "string",
              "title": "At",
              "description": "When.",
              "format": "date-time"
            }
          }
        },
        "nextDeliveryAt": {
          "type": [
            "null",
            "string"
          ],
          "title": "Next delivery",
          "description": "The next run; null unless active.",
          "format": "date-time"
        },
        "lastRun": {
          "type": [
            "null",
            "object"
          ],
          "title": "Last run",
          "description": "The most recent run.",
          "additionalProperties": false,
          "required": [
            "id",
            "state",
            "editionId",
            "finishedAt"
          ],
          "properties": {
            "id": {
              "type": "string",
              "title": "Run",
              "description": "The run id.",
              "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
            },
            "state": {
              "type": "string",
              "enum": [
                "queued",
                "quoting",
                "building_data",
                "rendering",
                "saving",
                "saved",
                "failed",
                "skipped"
              ],
              "title": "State",
              "description": "Its state."
            },
            "editionId": {
              "type": [
                "null",
                "string"
              ],
              "title": "Edition",
              "description": "The saved report; null unless saved.",
              "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
            },
            "finishedAt": {
              "type": [
                "null",
                "string"
              ],
              "title": "Finished at",
              "description": "When it ended.",
              "format": "date-time"
            }
          }
        },
        "failuresInRow": {
          "type": "integer",
          "minimum": 0,
          "title": "Failures in a row",
          "description": "Runs that failed since the last saved one."
        },
        "editions": {
          "type": "integer",
          "minimum": 0,
          "title": "Editions",
          "description": "Editions saved so far."
        },
        "createdAt": {
          "type": "string",
          "title": "Created at",
          "description": "When it was created.",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "title": "Updated at",
          "description": "Last change.",
          "format": "date-time"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/rewalto-com-report-schedule-answer"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.