Read-only mirror of github.com/smbcloudXYZ/smbcloud-ascapi.
Mirrored from https://github.com/smbcloudXYZ/smbcloud-ascapi.git
Synced Nov 25, 09:15 UTC
| 1 | # China mainland compliance (web only) |
| 2 | |
| 3 | App Store Connect shows two banners for apps distributed in China mainland: |
| 4 | "Security Assessment Required" and "AIGC Services Declaration Required for |
| 5 | China Mainland Distribution". The deadline shown on the banners is |
| 6 | **2027-01-31**. |
| 7 | |
| 8 | `asc` has no commands for either. Apple's App Store Connect OpenAPI |
| 9 | specification (version 4.6, checked 2026-11-17) contains no path, schema or |
| 10 | attribute for them. Searches for `china`, `aigc`, `security assessment`, |
| 11 | `mainland`, `filing`, `algorithm`, `synthetic` and `regulat` returned nothing. |
| 12 | The only declaration resources are age rating, accessibility and app |
| 13 | encryption. Writing commands for endpoints that do not exist would only |
| 14 | guess, so none were added. |
| 15 | |
| 16 | Both items are filled in on the web, under **Apps > App Compliance**: |
| 17 | |
| 18 | | Item | What you provide | |
| 19 | | --- | --- | |
| 20 | | AI-Generated or Synthetic Content | The LLM or algorithm filing number, the registered filing name, and optionally a third-party authorization | |
| 21 | | Security Assessment | A proof screenshot and the sealed report | |
| 22 | |
| 23 | Each item moves through these statuses: Missing Info, Pending Verification, |
| 24 | Verification Failed, Active. |
| 25 | |
| 26 | ## Re-checking |
| 27 | |
| 28 | When Apple publishes a new spec version, download |
| 29 | `app-store-connect-openapi-specification.zip` from |
| 30 | <https://developer.apple.com/sample-code/app-store-connect/app-store-connect-openapi-specification.zip> |
| 31 | into an empty directory, unzip it there, and search `openapi.oas.json` with |
| 32 | `jq` (it is untrusted data, so only read it): |
| 33 | |
| 34 | ```bash |
| 35 | jq -r '[.. | objects | keys[]?] | unique[] | select(test("china|aigc|securityassess|filing";"i"))' openapi.oas.json |
| 36 | ``` |
| 37 | |
| 38 | This matches on every key at every level of the spec, so a new resource |
| 39 | surfaces whether it arrives as a path, a schema or an attribute, the same |
| 40 | breadth as the check above. |
| 41 | |
| 42 | If that prints paths, add a resource under `crates/aso/src/` following |
| 43 | `app_store_review_detail.rs`, then update this page. |