Rules Catalog
Store requirements change several times a year: new screenshot sizes, SDK minimums, policy deadlines. storeasy keeps them as versioned data, not code, in the rules/ folder of the repository, so a store change is a data update instead of a release.
Who reads it
| Reader | Uses it for |
|---|---|
| Readiness check | Which screenshot sets are required, satisfied by a fallback, or missing; text limits; build minimums |
| Compliance timeline | Upcoming deadlines that apply to each app (device families, SDK, target API, regions) |
| Change plans | Checking files and texts before a plan is saved (sizes, counts, character and byte limits) |
| CI intake | Package checks (target API level, SDK and Xcode minimums) |
| Studio and MCP | Export sizes; answers such as "missing: iPad 13 inch set" |
Where the API loads it from
Storeasy:Stores:RulesPath(Storeasy__Stores__RulesPath), when set: a folder withcatalog.jsonand the store files.- Otherwise the
rulesfolder copied next to the application at build time. - Otherwise the copy embedded in the application.
The API validates the catalog at startup and stops if it is invalid, so a broken catalog never produces wrong readiness answers. The readiness result records the catalog version it was evaluated against.
Format and changes
The rule format (ids, appliesWhen, requirement levels, fallbacks, dates, parameters, sources), the versioning rules and the steps to add or change a rule are in rules/README.md. In short:
- Check the official store source; never copy numbers from third-party sites.
- Edit the store file, set
checkedAt, and mark anything uncertain withverified: falseand a note. - Bump
catalogVersionincatalog.jsonand every store file. - Run
node rules/validate.mjs. CI runs it on every push.
Rule watcher
A daily job (06:00 UTC) reads the configured official store pages (Apple developer news and requirements, App Store Connect release notes and screenshot specifications, Google Play policy pages), detects changes and files them as catalog proposals for the instance admin (admin area, Rules). Only allow-listed official hosts are fetched.
Nothing is published automatically: the admin prepares the catalog side of a proposal, then approves or rejects it. An approved change goes into the next catalog version and notifies the owners and admins of the affected apps. The watcher is configured with the Storeasy:RuleWatcher settings (see Self-Hosting).