CloudCrane
Server Details
Ask your assistant for an app and it lands on your phone: offline, data on the phone.
The last two health checks of this connector failed. If this server requires authentication, missing or expired test credentials may be the cause. A test profile lets Glama authenticate for health checks and discover tools; it is separate from your personal connections.
If you are the author, claim ownership, then add or update a test profile under Admin → Test Profile.
- Status
- Unhealthy
- Uptime
- 84.1% over 36 days
- OAuth
- Works in Glama
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- cloudcrane-dev/cloudcrane-mcp
- GitHub Stars
- 0
- Server Listing
- CloudCrane MCP
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 16 tools
Most tools target a clearly distinct resource+action, and descriptions explicitly disambiguate the tricky pairs (get_app includes code vs get_spec without it; publish_app for code vs publish_spec for a spec; update_app vs update_spec). The remaining overlap is check_publish versus publish_app, since publish already runs the same checks and the dry-run distinction is only implicit, but the descriptions make it recoverable.
Every tool follows the same snake_case verb-first pattern: get_*, list_*, publish_*, update_*, plus delete_app, rename_app, rollback_app, find_in_app, check_publish. The noun vocabulary (app, spec, remix, version, publish) is reused consistently across verbs, so the naming predicts behavior well.
At 16 tools it is slightly above the comfortable 3-15 band, but the surface is symmetric and each tool maps to a real operation in the app lifecycle. The spec/code duality means two parallel pipelines, which justifies most of the extra tools rather than padding.
The lifecycle is well covered: publish, read, update, rename, rollback, delete, list apps/versions, search code, plus the full spec pipeline and remix read/publish path. Minor gaps remain: no way to delete or prune an individual version, no way to dismiss or remove an unused remix entry, and no tool for managing instalments beyond the link returned at publish.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
- Changed
check_publish1 field changed- added
Input schema / properties / nameAdded value: +{ + "description": "Optional: the name it would have, to hear if it would be confused with another app on the home screen.", + "type": "string" +}
5 tool updates
- Added
check_publish - Added
get_spec_guide - Changed
publish_app2 fields changed- changed
Input schema / properties / blueprint / properties / uses / items / properties / what / enumPrevious value: -[ - "camera", - "microphone", - "location", - "motion", - "screen-awake", - "gamepad", - "voice" -]New value: +[ + "camera", + "microphone", + "location", + "motion", + "screen-awake", + "gamepad", + "voice", + "contacts", + "nfc" +] - changed
Input schema / properties / tests / items / anyOfPrevious value: -[ - { - "additionalProperties": false, - "description": "Runs its steps on the app, opened fresh.", - "properties": { - "clock": { - "description": "An ISO date-time: time starts here and moves only on advance steps.", - "type": "string" - }, - "id": { - "description": "T-1, T-2, …", - "type": "string" - }, - "kind": { - "const": "behaviour", - "type": "string" - }, - "proves": { - "description": "The journey step and promise ids this test proves.", - "items": { - "type": "string" - }, - "type": "array" - }, - "responses": { - "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", - "items": { - "additionalProperties": false, - "properties": { - "body": { - "description": "A string is sent as text; anything else as JSON. At most 16 KB." - }, - "path": { - "description": "Answers requests whose path starts with this; every path when left out.", - "type": "string" - }, - "site": { - "description": "A site the blueprint's network lists.", - "type": "string" - }, - "status": { - "description": "200 when left out.", - "type": "integer" - } - }, - "required": [ - "site" - ], - "type": "object" - }, - "type": "array" - }, - "seed": { - "description": "Makes Math.random give the same numbers every run.", - "type": "integer" - }, - "steps": { - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Puts a file in the file field with this label, as if the person picked it.", - "properties": { - "do": { - "const": "choose", - "type": "string" - }, - "file": { - "additionalProperties": false, - "description": "The file, as text or base64 (one of them), at most 64 KB.", - "properties": { - "base64": { - "type": "string" - }, - "name": { - "type": "string" - }, - "text": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "label": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "file" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", - "properties": { - "do": { - "const": "advance", - "type": "string" - }, - "ms": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", - "properties": { - "beta": { - "type": "number" - }, - "do": { - "const": "tilt", - "type": "string" - }, - "gamma": { - "type": "number" - } - }, - "required": [ - "do", - "beta", - "gamma" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Shakes the phone. Needs motion in uses.", - "properties": { - "do": { - "const": "shake", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", - "properties": { - "expect": { - "const": "vibrated", - "type": "string" - } - }, - "required": [ - "expect" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", - "properties": { - "expect": { - "const": "spoke", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", - "properties": { - "expect": { - "const": "calendar", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", - "properties": { - "do": { - "const": "say", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", - "properties": { - "equals": { - "description": "Any JSON value, compared as JSON." - }, - "expect": { - "const": "state", - "type": "string" - }, - "path": { - "type": "string" - } - }, - "required": [ - "expect", - "path" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "title": { - "type": "string" - } - }, - "required": [ - "id", - "title", - "proves", - "steps" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Proves saved data survives: setup, then check.", - "properties": { - "check": { - "description": "After a reload, checks the data still shows. On an update these run in the new version.", - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Puts a file in the file field with this label, as if the person picked it.", - "properties": { - "do": { - "const": "choose", - "type": "string" - }, - "file": { - "additionalProperties": false, - "description": "The file, as text or base64 (one of them), at most 64 KB.", - "properties": { - "base64": { - "type": "string" - }, - "name": { - "type": "string" - }, - "text": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "label": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "file" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", - "properties": { - "do": { - "const": "advance", - "type": "string" - }, - "ms": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", - "properties": { - "beta": { - "type": "number" - }, - "do": { - "const": "tilt", - "type": "string" - }, - "gamma": { - "type": "number" - } - }, - "required": [ - "do", - "beta", - "gamma" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Shakes the phone. Needs motion in uses.", - "properties": { - "do": { - "const": "shake", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", - "properties": { - "expect": { - "const": "vibrated", - "type": "string" - } - }, - "required": [ - "expect" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", - "properties": { - "expect": { - "const": "spoke", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", - "properties": { - "expect": { - "const": "calendar", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", - "properties": { - "do": { - "const": "say", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", - "properties": { - "equals": { - "description": "Any JSON value, compared as JSON." - }, - "expect": { - "const": "state", - "type": "string" - }, - "path": { - "type": "string" - } - }, - "required": [ - "expect", - "path" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "clock": { - "description": "An ISO date-time: time starts here and moves only on advance steps.", - "type": "string" - }, - "id": { - "description": "T-1, T-2, …", - "type": "string" - }, - "kind": { - "const": "data", - "type": "string" - }, - "proves": { - "description": "The promise ids about saved data this test proves.", - "items": { - "type": "string" - }, - "type": "array" - }, - "responses": { - "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", - "items": { - "additionalProperties": false, - "properties": { - "body": { - "description": "A string is sent as text; anything else as JSON. At most 16 KB." - }, - "path": { - "description": "Answers requests whose path starts with this; every path when left out.", - "type": "string" - }, - "site": { - "description": "A site the blueprint's network lists.", - "type": "string" - }, - "status": { - "description": "200 when left out.", - "type": "integer" - } - }, - "required": [ - "site" - ], - "type": "object" - }, - "type": "array" - }, - "seed": { - "description": "Makes Math.random give the same numbers every run.", - "type": "integer" - }, - "setup": { - "description": "Saves data. On an update these run in the version before.", - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Puts a file in the file field with this label, as if the person picked it.", - "properties": { - "do": { - "const": "choose", - "type": "string" - }, - "file": { - "additionalProperties": false, - "description": "The file, as text or base64 (one of them), at most 64 KB.", - "properties": { - "base64": { - "type": "string" - }, - "name": { - "type": "string" - }, - "text": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "label": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "file" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", - "properties": { - "do": { - "const": "advance", - "type": "string" - }, - "ms": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", - "properties": { - "beta": { - "type": "number" - }, - "do": { - "const": "tilt", - "type": "string" - }, - "gamma": { - "type": "number" - } - }, - "required": [ - "do", - "beta", - "gamma" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Shakes the phone. Needs motion in uses.", - "properties": { - "do": { - "const": "shake", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", - "properties": { - "expect": { - "const": "vibrated", - "type": "string" - } - }, - "required": [ - "expect" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", - "properties": { - "expect": { - "const": "spoke", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", - "properties": { - "expect": { - "const": "calendar", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", - "properties": { - "do": { - "const": "say", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", - "properties": { - "equals": { - "description": "Any JSON value, compared as JSON." - }, - "expect": { - "const": "state", - "type": "string" - }, - "path": { - "type": "string" - } - }, - "required": [ - "expect", - "path" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "title": { - "type": "string" - } - }, - "required": [ - "id", - "title", - "proves", - "kind", - "setup", - "check" - ], - "type": "object" - } -]New value: +[ + { + "additionalProperties": false, + "description": "Runs its steps on the app, opened fresh.", + "properties": { + "clock": { + "description": "An ISO date-time: time starts here and moves only on advance steps.", + "type": "string" + }, + "id": { + "description": "T-1, T-2, …", + "type": "string" + }, + "kind": { + "const": "behaviour", + "type": "string" + }, + "proves": { + "description": "The journey step and promise ids this test proves.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responses": { + "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", + "items": { + "additionalProperties": false, + "properties": { + "body": { + "description": "A string is sent as text; anything else as JSON. At most 16 KB." + }, + "path": { + "description": "Answers requests whose path starts with this; every path when left out.", + "type": "string" + }, + "site": { + "description": "A site the blueprint's network lists.", + "type": "string" + }, + "status": { + "description": "200 when left out.", + "type": "integer" + } + }, + "required": [ + "site" + ], + "type": "object" + }, + "type": "array" + }, + "seed": { + "description": "Makes Math.random give the same numbers every run.", + "type": "integer" + }, + "steps": { + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Holds an NFC tag with this text to the phone: the app's scanning NDEFReader reads it. Needs nfc in uses.", + "properties": { + "do": { + "const": "tapTag", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has written an NFC tag containing this text (NDEFReader.write). Needs nfc in uses.", + "properties": { + "expect": { + "const": "wroteTag", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the lock screen shows as now playing (navigator.mediaSession.metadata): its title, artist or album includes this.", + "properties": { + "expect": { + "const": "nowPlaying", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Presses a lock-screen media button: runs the handler the app set with navigator.mediaSession.setActionHandler.", + "properties": { + "action": { + "enum": [ + "play", + "pause", + "stop", + "nexttrack", + "previoustrack", + "seekforward", + "seekbackward" + ], + "type": "string" + }, + "do": { + "const": "mediaKey", + "type": "string" + } + }, + "required": [ + "do", + "action" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", + "properties": { + "expect": { + "const": "vibrated", + "type": "string" + } + }, + "required": [ + "expect" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", + "properties": { + "expect": { + "const": "spoke", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", + "properties": { + "expect": { + "const": "calendar", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", + "properties": { + "do": { + "const": "say", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "proves", + "steps" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Proves saved data survives: setup, then check.", + "properties": { + "check": { + "description": "After a reload, checks the data still shows. On an update these run in the new version.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Holds an NFC tag with this text to the phone: the app's scanning NDEFReader reads it. Needs nfc in uses.", + "properties": { + "do": { + "const": "tapTag", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has written an NFC tag containing this text (NDEFReader.write). Needs nfc in uses.", + "properties": { + "expect": { + "const": "wroteTag", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the lock screen shows as now playing (navigator.mediaSession.metadata): its title, artist or album includes this.", + "properties": { + "expect": { + "const": "nowPlaying", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Presses a lock-screen media button: runs the handler the app set with navigator.mediaSession.setActionHandler.", + "properties": { + "action": { + "enum": [ + "play", + "pause", + "stop", + "nexttrack", + "previoustrack", + "seekforward", + "seekbackward" + ], + "type": "string" + }, + "do": { + "const": "mediaKey", + "type": "string" + } + }, + "required": [ + "do", + "action" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", + "properties": { + "expect": { + "const": "vibrated", + "type": "string" + } + }, + "required": [ + "expect" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", + "properties": { + "expect": { + "const": "spoke", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", + "properties": { + "expect": { + "const": "calendar", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", + "properties": { + "do": { + "const": "say", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "clock": { + "description": "An ISO date-time: time starts here and moves only on advance steps.", + "type": "string" + }, + "id": { + "description": "T-1, T-2, …", + "type": "string" + }, + "kind": { + "const": "data", + "type": "string" + }, + "proves": { + "description": "The promise ids about saved data this test proves.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responses": { + "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", + "items": { + "additionalProperties": false, + "properties": { + "body": { + "description": "A string is sent as text; anything else as JSON. At most 16 KB." + }, + "path": { + "description": "Answers requests whose path starts with this; every path when left out.", + "type": "string" + }, + "site": { + "description": "A site the blueprint's network lists.", + "type": "string" + }, + "status": { + "description": "200 when left out.", + "type": "integer" + } + }, + "required": [ + "site" + ], + "type": "object" + }, + "type": "array" + }, + "seed": { + "description": "Makes Math.random give the same numbers every run.", + "type": "integer" + }, + "setup": { + "description": "Saves data. On an update these run in the version before.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Holds an NFC tag with this text to the phone: the app's scanning NDEFReader reads it. Needs nfc in uses.", + "properties": { + "do": { + "const": "tapTag", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has written an NFC tag containing this text (NDEFReader.write). Needs nfc in uses.", + "properties": { + "expect": { + "const": "wroteTag", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the lock screen shows as now playing (navigator.mediaSession.metadata): its title, artist or album includes this.", + "properties": { + "expect": { + "const": "nowPlaying", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Presses a lock-screen media button: runs the handler the app set with navigator.mediaSession.setActionHandler.", + "properties": { + "action": { + "enum": [ + "play", + "pause", + "stop", + "nexttrack", + "previoustrack", + "seekforward", + "seekbackward" + ], + "type": "string" + }, + "do": { + "const": "mediaKey", + "type": "string" + } + }, + "required": [ + "do", + "action" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", + "properties": { + "expect": { + "const": "vibrated", + "type": "string" + } + }, + "required": [ + "expect" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", + "properties": { + "expect": { + "const": "spoke", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", + "properties": { + "expect": { + "const": "calendar", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", + "properties": { + "do": { + "const": "say", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "proves", + "kind", + "setup", + "check" + ], + "type": "object" + } +]
- Changed
update_app3 fields changed- changed
Input schema / properties / blueprint / properties / uses / items / properties / what / enumPrevious value: -[ - "camera", - "microphone", - "location", - "motion", - "screen-awake", - "gamepad", - "voice" -]New value: +[ + "camera", + "microphone", + "location", + "motion", + "screen-awake", + "gamepad", + "voice", + "contacts", + "nfc" +] - added
Input schema / properties / previewAdded value: +{ + "description": "Optional: keep it as a preview, at its own address, for the user to try before phones get it. It goes live when they tap Make this current, or with rollback_app.", + "type": "boolean" +} - changed
Input schema / properties / tests / items / anyOfPrevious value: -[ - { - "additionalProperties": false, - "description": "Runs its steps on the app, opened fresh.", - "properties": { - "clock": { - "description": "An ISO date-time: time starts here and moves only on advance steps.", - "type": "string" - }, - "id": { - "description": "T-1, T-2, …", - "type": "string" - }, - "kind": { - "const": "behaviour", - "type": "string" - }, - "proves": { - "description": "The journey step and promise ids this test proves.", - "items": { - "type": "string" - }, - "type": "array" - }, - "responses": { - "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", - "items": { - "additionalProperties": false, - "properties": { - "body": { - "description": "A string is sent as text; anything else as JSON. At most 16 KB." - }, - "path": { - "description": "Answers requests whose path starts with this; every path when left out.", - "type": "string" - }, - "site": { - "description": "A site the blueprint's network lists.", - "type": "string" - }, - "status": { - "description": "200 when left out.", - "type": "integer" - } - }, - "required": [ - "site" - ], - "type": "object" - }, - "type": "array" - }, - "seed": { - "description": "Makes Math.random give the same numbers every run.", - "type": "integer" - }, - "steps": { - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Puts a file in the file field with this label, as if the person picked it.", - "properties": { - "do": { - "const": "choose", - "type": "string" - }, - "file": { - "additionalProperties": false, - "description": "The file, as text or base64 (one of them), at most 64 KB.", - "properties": { - "base64": { - "type": "string" - }, - "name": { - "type": "string" - }, - "text": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "label": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "file" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", - "properties": { - "do": { - "const": "advance", - "type": "string" - }, - "ms": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", - "properties": { - "beta": { - "type": "number" - }, - "do": { - "const": "tilt", - "type": "string" - }, - "gamma": { - "type": "number" - } - }, - "required": [ - "do", - "beta", - "gamma" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Shakes the phone. Needs motion in uses.", - "properties": { - "do": { - "const": "shake", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", - "properties": { - "expect": { - "const": "vibrated", - "type": "string" - } - }, - "required": [ - "expect" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", - "properties": { - "expect": { - "const": "spoke", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", - "properties": { - "expect": { - "const": "calendar", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", - "properties": { - "do": { - "const": "say", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", - "properties": { - "equals": { - "description": "Any JSON value, compared as JSON." - }, - "expect": { - "const": "state", - "type": "string" - }, - "path": { - "type": "string" - } - }, - "required": [ - "expect", - "path" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "title": { - "type": "string" - } - }, - "required": [ - "id", - "title", - "proves", - "steps" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Proves saved data survives: setup, then check.", - "properties": { - "check": { - "description": "After a reload, checks the data still shows. On an update these run in the new version.", - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Puts a file in the file field with this label, as if the person picked it.", - "properties": { - "do": { - "const": "choose", - "type": "string" - }, - "file": { - "additionalProperties": false, - "description": "The file, as text or base64 (one of them), at most 64 KB.", - "properties": { - "base64": { - "type": "string" - }, - "name": { - "type": "string" - }, - "text": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "label": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "file" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", - "properties": { - "do": { - "const": "advance", - "type": "string" - }, - "ms": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", - "properties": { - "beta": { - "type": "number" - }, - "do": { - "const": "tilt", - "type": "string" - }, - "gamma": { - "type": "number" - } - }, - "required": [ - "do", - "beta", - "gamma" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Shakes the phone. Needs motion in uses.", - "properties": { - "do": { - "const": "shake", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", - "properties": { - "expect": { - "const": "vibrated", - "type": "string" - } - }, - "required": [ - "expect" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", - "properties": { - "expect": { - "const": "spoke", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", - "properties": { - "expect": { - "const": "calendar", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", - "properties": { - "do": { - "const": "say", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", - "properties": { - "equals": { - "description": "Any JSON value, compared as JSON." - }, - "expect": { - "const": "state", - "type": "string" - }, - "path": { - "type": "string" - } - }, - "required": [ - "expect", - "path" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "clock": { - "description": "An ISO date-time: time starts here and moves only on advance steps.", - "type": "string" - }, - "id": { - "description": "T-1, T-2, …", - "type": "string" - }, - "kind": { - "const": "data", - "type": "string" - }, - "proves": { - "description": "The promise ids about saved data this test proves.", - "items": { - "type": "string" - }, - "type": "array" - }, - "responses": { - "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", - "items": { - "additionalProperties": false, - "properties": { - "body": { - "description": "A string is sent as text; anything else as JSON. At most 16 KB." - }, - "path": { - "description": "Answers requests whose path starts with this; every path when left out.", - "type": "string" - }, - "site": { - "description": "A site the blueprint's network lists.", - "type": "string" - }, - "status": { - "description": "200 when left out.", - "type": "integer" - } - }, - "required": [ - "site" - ], - "type": "object" - }, - "type": "array" - }, - "seed": { - "description": "Makes Math.random give the same numbers every run.", - "type": "integer" - }, - "setup": { - "description": "Saves data. On an update these run in the version before.", - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Puts a file in the file field with this label, as if the person picked it.", - "properties": { - "do": { - "const": "choose", - "type": "string" - }, - "file": { - "additionalProperties": false, - "description": "The file, as text or base64 (one of them), at most 64 KB.", - "properties": { - "base64": { - "type": "string" - }, - "name": { - "type": "string" - }, - "text": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "label": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "file" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", - "properties": { - "do": { - "const": "advance", - "type": "string" - }, - "ms": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", - "properties": { - "beta": { - "type": "number" - }, - "do": { - "const": "tilt", - "type": "string" - }, - "gamma": { - "type": "number" - } - }, - "required": [ - "do", - "beta", - "gamma" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Shakes the phone. Needs motion in uses.", - "properties": { - "do": { - "const": "shake", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", - "properties": { - "expect": { - "const": "vibrated", - "type": "string" - } - }, - "required": [ - "expect" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", - "properties": { - "expect": { - "const": "spoke", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", - "properties": { - "expect": { - "const": "calendar", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", - "properties": { - "do": { - "const": "say", - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", - "properties": { - "equals": { - "description": "Any JSON value, compared as JSON." - }, - "expect": { - "const": "state", - "type": "string" - }, - "path": { - "type": "string" - } - }, - "required": [ - "expect", - "path" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "title": { - "type": "string" - } - }, - "required": [ - "id", - "title", - "proves", - "kind", - "setup", - "check" - ], - "type": "object" - } -]New value: +[ + { + "additionalProperties": false, + "description": "Runs its steps on the app, opened fresh.", + "properties": { + "clock": { + "description": "An ISO date-time: time starts here and moves only on advance steps.", + "type": "string" + }, + "id": { + "description": "T-1, T-2, …", + "type": "string" + }, + "kind": { + "const": "behaviour", + "type": "string" + }, + "proves": { + "description": "The journey step and promise ids this test proves.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responses": { + "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", + "items": { + "additionalProperties": false, + "properties": { + "body": { + "description": "A string is sent as text; anything else as JSON. At most 16 KB." + }, + "path": { + "description": "Answers requests whose path starts with this; every path when left out.", + "type": "string" + }, + "site": { + "description": "A site the blueprint's network lists.", + "type": "string" + }, + "status": { + "description": "200 when left out.", + "type": "integer" + } + }, + "required": [ + "site" + ], + "type": "object" + }, + "type": "array" + }, + "seed": { + "description": "Makes Math.random give the same numbers every run.", + "type": "integer" + }, + "steps": { + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Holds an NFC tag with this text to the phone: the app's scanning NDEFReader reads it. Needs nfc in uses.", + "properties": { + "do": { + "const": "tapTag", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has written an NFC tag containing this text (NDEFReader.write). Needs nfc in uses.", + "properties": { + "expect": { + "const": "wroteTag", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the lock screen shows as now playing (navigator.mediaSession.metadata): its title, artist or album includes this.", + "properties": { + "expect": { + "const": "nowPlaying", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Presses a lock-screen media button: runs the handler the app set with navigator.mediaSession.setActionHandler.", + "properties": { + "action": { + "enum": [ + "play", + "pause", + "stop", + "nexttrack", + "previoustrack", + "seekforward", + "seekbackward" + ], + "type": "string" + }, + "do": { + "const": "mediaKey", + "type": "string" + } + }, + "required": [ + "do", + "action" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", + "properties": { + "expect": { + "const": "vibrated", + "type": "string" + } + }, + "required": [ + "expect" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", + "properties": { + "expect": { + "const": "spoke", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", + "properties": { + "expect": { + "const": "calendar", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", + "properties": { + "do": { + "const": "say", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "proves", + "steps" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Proves saved data survives: setup, then check.", + "properties": { + "check": { + "description": "After a reload, checks the data still shows. On an update these run in the new version.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Holds an NFC tag with this text to the phone: the app's scanning NDEFReader reads it. Needs nfc in uses.", + "properties": { + "do": { + "const": "tapTag", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has written an NFC tag containing this text (NDEFReader.write). Needs nfc in uses.", + "properties": { + "expect": { + "const": "wroteTag", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the lock screen shows as now playing (navigator.mediaSession.metadata): its title, artist or album includes this.", + "properties": { + "expect": { + "const": "nowPlaying", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Presses a lock-screen media button: runs the handler the app set with navigator.mediaSession.setActionHandler.", + "properties": { + "action": { + "enum": [ + "play", + "pause", + "stop", + "nexttrack", + "previoustrack", + "seekforward", + "seekbackward" + ], + "type": "string" + }, + "do": { + "const": "mediaKey", + "type": "string" + } + }, + "required": [ + "do", + "action" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", + "properties": { + "expect": { + "const": "vibrated", + "type": "string" + } + }, + "required": [ + "expect" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", + "properties": { + "expect": { + "const": "spoke", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", + "properties": { + "expect": { + "const": "calendar", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", + "properties": { + "do": { + "const": "say", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "clock": { + "description": "An ISO date-time: time starts here and moves only on advance steps.", + "type": "string" + }, + "id": { + "description": "T-1, T-2, …", + "type": "string" + }, + "kind": { + "const": "data", + "type": "string" + }, + "proves": { + "description": "The promise ids about saved data this test proves.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responses": { + "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", + "items": { + "additionalProperties": false, + "properties": { + "body": { + "description": "A string is sent as text; anything else as JSON. At most 16 KB." + }, + "path": { + "description": "Answers requests whose path starts with this; every path when left out.", + "type": "string" + }, + "site": { + "description": "A site the blueprint's network lists.", + "type": "string" + }, + "status": { + "description": "200 when left out.", + "type": "integer" + } + }, + "required": [ + "site" + ], + "type": "object" + }, + "type": "array" + }, + "seed": { + "description": "Makes Math.random give the same numbers every run.", + "type": "integer" + }, + "setup": { + "description": "Saves data. On an update these run in the version before.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Holds an NFC tag with this text to the phone: the app's scanning NDEFReader reads it. Needs nfc in uses.", + "properties": { + "do": { + "const": "tapTag", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has written an NFC tag containing this text (NDEFReader.write). Needs nfc in uses.", + "properties": { + "expect": { + "const": "wroteTag", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the lock screen shows as now playing (navigator.mediaSession.metadata): its title, artist or album includes this.", + "properties": { + "expect": { + "const": "nowPlaying", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Presses a lock-screen media button: runs the handler the app set with navigator.mediaSession.setActionHandler.", + "properties": { + "action": { + "enum": [ + "play", + "pause", + "stop", + "nexttrack", + "previoustrack", + "seekforward", + "seekbackward" + ], + "type": "string" + }, + "do": { + "const": "mediaKey", + "type": "string" + } + }, + "required": [ + "do", + "action" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", + "properties": { + "expect": { + "const": "vibrated", + "type": "string" + } + }, + "required": [ + "expect" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", + "properties": { + "expect": { + "const": "spoke", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", + "properties": { + "expect": { + "const": "calendar", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", + "properties": { + "do": { + "const": "say", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "proves", + "kind", + "setup", + "check" + ], + "type": "object" + } +]
- Changed
update_spec1 field changed- added
Input schema / properties / previewAdded value: +{ + "description": "Optional: keep it as a preview, at its own address, for the user to try before phones get it. It goes live when they tap Make this current, or with rollback_app.", + "type": "boolean" +}
2 tool updates
- Changed
publish_app2 fields changed- changed
Input schema / properties / blueprint / properties / uses / items / properties / what / enumPrevious value: -[ - "camera", - "microphone", - "location", - "motion", - "screen-awake", - "gamepad" -]New value: +[ + "camera", + "microphone", + "location", + "motion", + "screen-awake", + "gamepad", + "voice" +] - changed
Input schema / properties / tests / items / anyOfPrevious value: -[ - { - "additionalProperties": false, - "description": "Runs its steps on the app, opened fresh.", - "properties": { - "clock": { - "description": "An ISO date-time: time starts here and moves only on advance steps.", - "type": "string" - }, - "id": { - "description": "T-1, T-2, …", - "type": "string" - }, - "kind": { - "const": "behaviour", - "type": "string" - }, - "proves": { - "description": "The journey step and promise ids this test proves.", - "items": { - "type": "string" - }, - "type": "array" - }, - "responses": { - "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", - "items": { - "additionalProperties": false, - "properties": { - "body": { - "description": "A string is sent as text; anything else as JSON. At most 16 KB." - }, - "path": { - "description": "Answers requests whose path starts with this; every path when left out.", - "type": "string" - }, - "site": { - "description": "A site the blueprint's network lists.", - "type": "string" - }, - "status": { - "description": "200 when left out.", - "type": "integer" - } - }, - "required": [ - "site" - ], - "type": "object" - }, - "type": "array" - }, - "seed": { - "description": "Makes Math.random give the same numbers every run.", - "type": "integer" - }, - "steps": { - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Puts a file in the file field with this label, as if the person picked it.", - "properties": { - "do": { - "const": "choose", - "type": "string" - }, - "file": { - "additionalProperties": false, - "description": "The file, as text or base64 (one of them), at most 64 KB.", - "properties": { - "base64": { - "type": "string" - }, - "name": { - "type": "string" - }, - "text": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "label": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "file" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", - "properties": { - "do": { - "const": "advance", - "type": "string" - }, - "ms": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", - "properties": { - "beta": { - "type": "number" - }, - "do": { - "const": "tilt", - "type": "string" - }, - "gamma": { - "type": "number" - } - }, - "required": [ - "do", - "beta", - "gamma" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Shakes the phone. Needs motion in uses.", - "properties": { - "do": { - "const": "shake", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", - "properties": { - "equals": { - "description": "Any JSON value, compared as JSON." - }, - "expect": { - "const": "state", - "type": "string" - }, - "path": { - "type": "string" - } - }, - "required": [ - "expect", - "path" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "title": { - "type": "string" - } - }, - "required": [ - "id", - "title", - "proves", - "steps" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Proves saved data survives: setup, then check.", - "properties": { - "check": { - "description": "After a reload, checks the data still shows. On an update these run in the new version.", - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Puts a file in the file field with this label, as if the person picked it.", - "properties": { - "do": { - "const": "choose", - "type": "string" - }, - "file": { - "additionalProperties": false, - "description": "The file, as text or base64 (one of them), at most 64 KB.", - "properties": { - "base64": { - "type": "string" - }, - "name": { - "type": "string" - }, - "text": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "label": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "file" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", - "properties": { - "do": { - "const": "advance", - "type": "string" - }, - "ms": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", - "properties": { - "beta": { - "type": "number" - }, - "do": { - "const": "tilt", - "type": "string" - }, - "gamma": { - "type": "number" - } - }, - "required": [ - "do", - "beta", - "gamma" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Shakes the phone. Needs motion in uses.", - "properties": { - "do": { - "const": "shake", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", - "properties": { - "equals": { - "description": "Any JSON value, compared as JSON." - }, - "expect": { - "const": "state", - "type": "string" - }, - "path": { - "type": "string" - } - }, - "required": [ - "expect", - "path" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "clock": { - "description": "An ISO date-time: time starts here and moves only on advance steps.", - "type": "string" - }, - "id": { - "description": "T-1, T-2, …", - "type": "string" - }, - "kind": { - "const": "data", - "type": "string" - }, - "proves": { - "description": "The promise ids about saved data this test proves.", - "items": { - "type": "string" - }, - "type": "array" - }, - "responses": { - "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", - "items": { - "additionalProperties": false, - "properties": { - "body": { - "description": "A string is sent as text; anything else as JSON. At most 16 KB." - }, - "path": { - "description": "Answers requests whose path starts with this; every path when left out.", - "type": "string" - }, - "site": { - "description": "A site the blueprint's network lists.", - "type": "string" - }, - "status": { - "description": "200 when left out.", - "type": "integer" - } - }, - "required": [ - "site" - ], - "type": "object" - }, - "type": "array" - }, - "seed": { - "description": "Makes Math.random give the same numbers every run.", - "type": "integer" - }, - "setup": { - "description": "Saves data. On an update these run in the version before.", - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Puts a file in the file field with this label, as if the person picked it.", - "properties": { - "do": { - "const": "choose", - "type": "string" - }, - "file": { - "additionalProperties": false, - "description": "The file, as text or base64 (one of them), at most 64 KB.", - "properties": { - "base64": { - "type": "string" - }, - "name": { - "type": "string" - }, - "text": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "label": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "file" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", - "properties": { - "do": { - "const": "advance", - "type": "string" - }, - "ms": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", - "properties": { - "beta": { - "type": "number" - }, - "do": { - "const": "tilt", - "type": "string" - }, - "gamma": { - "type": "number" - } - }, - "required": [ - "do", - "beta", - "gamma" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Shakes the phone. Needs motion in uses.", - "properties": { - "do": { - "const": "shake", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", - "properties": { - "equals": { - "description": "Any JSON value, compared as JSON." - }, - "expect": { - "const": "state", - "type": "string" - }, - "path": { - "type": "string" - } - }, - "required": [ - "expect", - "path" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "title": { - "type": "string" - } - }, - "required": [ - "id", - "title", - "proves", - "kind", - "setup", - "check" - ], - "type": "object" - } -]New value: +[ + { + "additionalProperties": false, + "description": "Runs its steps on the app, opened fresh.", + "properties": { + "clock": { + "description": "An ISO date-time: time starts here and moves only on advance steps.", + "type": "string" + }, + "id": { + "description": "T-1, T-2, …", + "type": "string" + }, + "kind": { + "const": "behaviour", + "type": "string" + }, + "proves": { + "description": "The journey step and promise ids this test proves.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responses": { + "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", + "items": { + "additionalProperties": false, + "properties": { + "body": { + "description": "A string is sent as text; anything else as JSON. At most 16 KB." + }, + "path": { + "description": "Answers requests whose path starts with this; every path when left out.", + "type": "string" + }, + "site": { + "description": "A site the blueprint's network lists.", + "type": "string" + }, + "status": { + "description": "200 when left out.", + "type": "integer" + } + }, + "required": [ + "site" + ], + "type": "object" + }, + "type": "array" + }, + "seed": { + "description": "Makes Math.random give the same numbers every run.", + "type": "integer" + }, + "steps": { + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", + "properties": { + "expect": { + "const": "vibrated", + "type": "string" + } + }, + "required": [ + "expect" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", + "properties": { + "expect": { + "const": "spoke", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", + "properties": { + "expect": { + "const": "calendar", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", + "properties": { + "do": { + "const": "say", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "proves", + "steps" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Proves saved data survives: setup, then check.", + "properties": { + "check": { + "description": "After a reload, checks the data still shows. On an update these run in the new version.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", + "properties": { + "expect": { + "const": "vibrated", + "type": "string" + } + }, + "required": [ + "expect" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", + "properties": { + "expect": { + "const": "spoke", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", + "properties": { + "expect": { + "const": "calendar", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", + "properties": { + "do": { + "const": "say", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "clock": { + "description": "An ISO date-time: time starts here and moves only on advance steps.", + "type": "string" + }, + "id": { + "description": "T-1, T-2, …", + "type": "string" + }, + "kind": { + "const": "data", + "type": "string" + }, + "proves": { + "description": "The promise ids about saved data this test proves.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responses": { + "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", + "items": { + "additionalProperties": false, + "properties": { + "body": { + "description": "A string is sent as text; anything else as JSON. At most 16 KB." + }, + "path": { + "description": "Answers requests whose path starts with this; every path when left out.", + "type": "string" + }, + "site": { + "description": "A site the blueprint's network lists.", + "type": "string" + }, + "status": { + "description": "200 when left out.", + "type": "integer" + } + }, + "required": [ + "site" + ], + "type": "object" + }, + "type": "array" + }, + "seed": { + "description": "Makes Math.random give the same numbers every run.", + "type": "integer" + }, + "setup": { + "description": "Saves data. On an update these run in the version before.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", + "properties": { + "expect": { + "const": "vibrated", + "type": "string" + } + }, + "required": [ + "expect" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", + "properties": { + "expect": { + "const": "spoke", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", + "properties": { + "expect": { + "const": "calendar", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", + "properties": { + "do": { + "const": "say", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "proves", + "kind", + "setup", + "check" + ], + "type": "object" + } +]
- Changed
update_app2 fields changed- changed
Input schema / properties / blueprint / properties / uses / items / properties / what / enumPrevious value: -[ - "camera", - "microphone", - "location", - "motion", - "screen-awake", - "gamepad" -]New value: +[ + "camera", + "microphone", + "location", + "motion", + "screen-awake", + "gamepad", + "voice" +] - changed
Input schema / properties / tests / items / anyOfPrevious value: -[ - { - "additionalProperties": false, - "description": "Runs its steps on the app, opened fresh.", - "properties": { - "clock": { - "description": "An ISO date-time: time starts here and moves only on advance steps.", - "type": "string" - }, - "id": { - "description": "T-1, T-2, …", - "type": "string" - }, - "kind": { - "const": "behaviour", - "type": "string" - }, - "proves": { - "description": "The journey step and promise ids this test proves.", - "items": { - "type": "string" - }, - "type": "array" - }, - "responses": { - "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", - "items": { - "additionalProperties": false, - "properties": { - "body": { - "description": "A string is sent as text; anything else as JSON. At most 16 KB." - }, - "path": { - "description": "Answers requests whose path starts with this; every path when left out.", - "type": "string" - }, - "site": { - "description": "A site the blueprint's network lists.", - "type": "string" - }, - "status": { - "description": "200 when left out.", - "type": "integer" - } - }, - "required": [ - "site" - ], - "type": "object" - }, - "type": "array" - }, - "seed": { - "description": "Makes Math.random give the same numbers every run.", - "type": "integer" - }, - "steps": { - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Puts a file in the file field with this label, as if the person picked it.", - "properties": { - "do": { - "const": "choose", - "type": "string" - }, - "file": { - "additionalProperties": false, - "description": "The file, as text or base64 (one of them), at most 64 KB.", - "properties": { - "base64": { - "type": "string" - }, - "name": { - "type": "string" - }, - "text": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "label": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "file" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", - "properties": { - "do": { - "const": "advance", - "type": "string" - }, - "ms": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", - "properties": { - "beta": { - "type": "number" - }, - "do": { - "const": "tilt", - "type": "string" - }, - "gamma": { - "type": "number" - } - }, - "required": [ - "do", - "beta", - "gamma" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Shakes the phone. Needs motion in uses.", - "properties": { - "do": { - "const": "shake", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", - "properties": { - "equals": { - "description": "Any JSON value, compared as JSON." - }, - "expect": { - "const": "state", - "type": "string" - }, - "path": { - "type": "string" - } - }, - "required": [ - "expect", - "path" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "title": { - "type": "string" - } - }, - "required": [ - "id", - "title", - "proves", - "steps" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Proves saved data survives: setup, then check.", - "properties": { - "check": { - "description": "After a reload, checks the data still shows. On an update these run in the new version.", - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Puts a file in the file field with this label, as if the person picked it.", - "properties": { - "do": { - "const": "choose", - "type": "string" - }, - "file": { - "additionalProperties": false, - "description": "The file, as text or base64 (one of them), at most 64 KB.", - "properties": { - "base64": { - "type": "string" - }, - "name": { - "type": "string" - }, - "text": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "label": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "file" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", - "properties": { - "do": { - "const": "advance", - "type": "string" - }, - "ms": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", - "properties": { - "beta": { - "type": "number" - }, - "do": { - "const": "tilt", - "type": "string" - }, - "gamma": { - "type": "number" - } - }, - "required": [ - "do", - "beta", - "gamma" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Shakes the phone. Needs motion in uses.", - "properties": { - "do": { - "const": "shake", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", - "properties": { - "equals": { - "description": "Any JSON value, compared as JSON." - }, - "expect": { - "const": "state", - "type": "string" - }, - "path": { - "type": "string" - } - }, - "required": [ - "expect", - "path" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "clock": { - "description": "An ISO date-time: time starts here and moves only on advance steps.", - "type": "string" - }, - "id": { - "description": "T-1, T-2, …", - "type": "string" - }, - "kind": { - "const": "data", - "type": "string" - }, - "proves": { - "description": "The promise ids about saved data this test proves.", - "items": { - "type": "string" - }, - "type": "array" - }, - "responses": { - "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", - "items": { - "additionalProperties": false, - "properties": { - "body": { - "description": "A string is sent as text; anything else as JSON. At most 16 KB." - }, - "path": { - "description": "Answers requests whose path starts with this; every path when left out.", - "type": "string" - }, - "site": { - "description": "A site the blueprint's network lists.", - "type": "string" - }, - "status": { - "description": "200 when left out.", - "type": "integer" - } - }, - "required": [ - "site" - ], - "type": "object" - }, - "type": "array" - }, - "seed": { - "description": "Makes Math.random give the same numbers every run.", - "type": "integer" - }, - "setup": { - "description": "Saves data. On an update these run in the version before.", - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Puts a file in the file field with this label, as if the person picked it.", - "properties": { - "do": { - "const": "choose", - "type": "string" - }, - "file": { - "additionalProperties": false, - "description": "The file, as text or base64 (one of them), at most 64 KB.", - "properties": { - "base64": { - "type": "string" - }, - "name": { - "type": "string" - }, - "text": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "label": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "file" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", - "properties": { - "do": { - "const": "advance", - "type": "string" - }, - "ms": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", - "properties": { - "beta": { - "type": "number" - }, - "do": { - "const": "tilt", - "type": "string" - }, - "gamma": { - "type": "number" - } - }, - "required": [ - "do", - "beta", - "gamma" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Shakes the phone. Needs motion in uses.", - "properties": { - "do": { - "const": "shake", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", - "properties": { - "equals": { - "description": "Any JSON value, compared as JSON." - }, - "expect": { - "const": "state", - "type": "string" - }, - "path": { - "type": "string" - } - }, - "required": [ - "expect", - "path" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "title": { - "type": "string" - } - }, - "required": [ - "id", - "title", - "proves", - "kind", - "setup", - "check" - ], - "type": "object" - } -]New value: +[ + { + "additionalProperties": false, + "description": "Runs its steps on the app, opened fresh.", + "properties": { + "clock": { + "description": "An ISO date-time: time starts here and moves only on advance steps.", + "type": "string" + }, + "id": { + "description": "T-1, T-2, …", + "type": "string" + }, + "kind": { + "const": "behaviour", + "type": "string" + }, + "proves": { + "description": "The journey step and promise ids this test proves.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responses": { + "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", + "items": { + "additionalProperties": false, + "properties": { + "body": { + "description": "A string is sent as text; anything else as JSON. At most 16 KB." + }, + "path": { + "description": "Answers requests whose path starts with this; every path when left out.", + "type": "string" + }, + "site": { + "description": "A site the blueprint's network lists.", + "type": "string" + }, + "status": { + "description": "200 when left out.", + "type": "integer" + } + }, + "required": [ + "site" + ], + "type": "object" + }, + "type": "array" + }, + "seed": { + "description": "Makes Math.random give the same numbers every run.", + "type": "integer" + }, + "steps": { + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", + "properties": { + "expect": { + "const": "vibrated", + "type": "string" + } + }, + "required": [ + "expect" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", + "properties": { + "expect": { + "const": "spoke", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", + "properties": { + "expect": { + "const": "calendar", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", + "properties": { + "do": { + "const": "say", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "proves", + "steps" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Proves saved data survives: setup, then check.", + "properties": { + "check": { + "description": "After a reload, checks the data still shows. On an update these run in the new version.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", + "properties": { + "expect": { + "const": "vibrated", + "type": "string" + } + }, + "required": [ + "expect" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", + "properties": { + "expect": { + "const": "spoke", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", + "properties": { + "expect": { + "const": "calendar", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", + "properties": { + "do": { + "const": "say", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "clock": { + "description": "An ISO date-time: time starts here and moves only on advance steps.", + "type": "string" + }, + "id": { + "description": "T-1, T-2, …", + "type": "string" + }, + "kind": { + "const": "data", + "type": "string" + }, + "proves": { + "description": "The promise ids about saved data this test proves.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responses": { + "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", + "items": { + "additionalProperties": false, + "properties": { + "body": { + "description": "A string is sent as text; anything else as JSON. At most 16 KB." + }, + "path": { + "description": "Answers requests whose path starts with this; every path when left out.", + "type": "string" + }, + "site": { + "description": "A site the blueprint's network lists.", + "type": "string" + }, + "status": { + "description": "200 when left out.", + "type": "integer" + } + }, + "required": [ + "site" + ], + "type": "object" + }, + "type": "array" + }, + "seed": { + "description": "Makes Math.random give the same numbers every run.", + "type": "integer" + }, + "setup": { + "description": "Saves data. On an update these run in the version before.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has vibrated the phone (navigator.vibrate). iPhones don't vibrate for web apps, so an app should also show or sound it.", + "properties": { + "expect": { + "const": "vibrated", + "type": "string" + } + }, + "required": [ + "expect" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has said this aloud (speechSynthesis.speak): part of what it said.", + "properties": { + "expect": { + "const": "spoke", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks the app has offered a calendar event (an .ics file, from a data:text/calendar or blob link, or shared) containing this text, like SUMMARY:Dentist.", + "properties": { + "expect": { + "const": "calendar", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Says this to the app's speech recognition, as if the person spoke it: it hears it as a final result. Needs voice in uses.", + "properties": { + "do": { + "const": "say", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "proves", + "kind", + "setup", + "check" + ], + "type": "object" + } +]
4 tool updates
- Changed
publish_app2 fields changed- added
Input schema / properties / blueprint / properties / receivesSharesAdded value: +{ + "description": "Android only: the app shows in the Share sheet for text and links. It then opens with share_title, share_text and share_url in its address: read them from location.search, then clear them with history.replaceState. Files can't be shared to it.", + "type": "boolean" +} - added
Input schema / properties / blueprint / properties / shortcutsAdded value: +{ + "description": "Android only: up to 4 shortcuts shown when the person long-presses the app's icon, each opening part of the app.", + "items": { + "additionalProperties": false, + "properties": { + "description": { + "description": "A longer line for screen readers, at most 80 characters.", + "type": "string" + }, + "name": { + "description": "What the shortcut says, at most 30 characters.", + "type": "string" + }, + "opens": { + "description": "A # address in the app, like #add: the app reads location.hash when it opens and on hashchange.", + "type": "string" + } + }, + "required": [ + "name", + "opens" + ], + "type": "object" + }, + "type": "array" +}
- Added
publish_spec - Changed
update_app2 fields changed- added
Input schema / properties / blueprint / properties / receivesSharesAdded value: +{ + "description": "Android only: the app shows in the Share sheet for text and links. It then opens with share_title, share_text and share_url in its address: read them from location.search, then clear them with history.replaceState. Files can't be shared to it.", + "type": "boolean" +} - added
Input schema / properties / blueprint / properties / shortcutsAdded value: +{ + "description": "Android only: up to 4 shortcuts shown when the person long-presses the app's icon, each opening part of the app.", + "items": { + "additionalProperties": false, + "properties": { + "description": { + "description": "A longer line for screen readers, at most 80 characters.", + "type": "string" + }, + "name": { + "description": "What the shortcut says, at most 30 characters.", + "type": "string" + }, + "opens": { + "description": "A # address in the app, like #add: the app reads location.hash when it opens and on hashchange.", + "type": "string" + } + }, + "required": [ + "name", + "opens" + ], + "type": "object" + }, + "type": "array" +}
- Added
update_spec
2 tool updates
- Changed
publish_app1 field changed- changed
Input schema / properties / blueprint / properties / category / enumPrevious value: -[ - "health", - "fitness", - "money", - "food", - "home", - "travel", - "learning", - "work", - "productivity", - "family", - "pets", - "hobbies", - "social", - "fun" -]New value: +[ + "health", + "fitness", + "medical", + "food", + "money", + "shopping", + "home", + "family", + "pets", + "travel", + "maps", + "weather", + "learning", + "books", + "news", + "work", + "productivity", + "tools", + "communication", + "social", + "events", + "lifestyle", + "hobbies", + "art", + "photography", + "music", + "entertainment", + "sports", + "beauty", + "auto", + "fun", + "game-action", + "game-arcade", + "game-board", + "game-card", + "game-educational", + "game-puzzle", + "game-racing", + "game-simulation", + "game-sports", + "game-strategy", + "game-trivia", + "game-word" +]
- Changed
update_app1 field changed- changed
Input schema / properties / blueprint / properties / category / enumPrevious value: -[ - "health", - "fitness", - "money", - "food", - "home", - "travel", - "learning", - "work", - "productivity", - "family", - "pets", - "hobbies", - "social", - "fun" -]New value: +[ + "health", + "fitness", + "medical", + "food", + "money", + "shopping", + "home", + "family", + "pets", + "travel", + "maps", + "weather", + "learning", + "books", + "news", + "work", + "productivity", + "tools", + "communication", + "social", + "events", + "lifestyle", + "hobbies", + "art", + "photography", + "music", + "entertainment", + "sports", + "beauty", + "auto", + "fun", + "game-action", + "game-arcade", + "game-board", + "game-card", + "game-educational", + "game-puzzle", + "game-racing", + "game-simulation", + "game-sports", + "game-strategy", + "game-trivia", + "game-word" +]
4 tool updates
- Added
find_in_app - Changed
publish_app3 fields changed- added
Input schema / properties / blueprint / properties / screenAdded value: +{ + "additionalProperties": false, + "description": "How the app fills the screen, mostly for games.", + "properties": { + "fullscreen": { + "description": "Hide the status bar, on Android: for games.", + "type": "boolean" + }, + "orientation": { + "description": "Which way up the app opens, on Android.", + "enum": [ + "portrait", + "landscape", + "any" + ], + "type": "string" + } + }, + "required": [], + "type": "object" +} - added
Input schema / properties / blueprint / properties / usesAdded value: +{ + "description": "The device features the app uses, each once, with why; anything not listed is blocked. A photo picked with <input type=\"file\" capture> needs nothing here.", + "items": { + "additionalProperties": false, + "properties": { + "what": { + "description": "The device feature.", + "enum": [ + "camera", + "microphone", + "location", + "motion", + "screen-awake", + "gamepad" + ], + "type": "string" + }, + "why": { + "description": "Why the app needs it, in a sentence.", + "type": "string" + } + }, + "required": [ + "what", + "why" + ], + "type": "object" + }, + "type": "array" +} - changed
Input schema / properties / tests / items / anyOfPrevious value: -[ - { - "additionalProperties": false, - "description": "Runs its steps on the app, opened fresh.", - "properties": { - "id": { - "description": "T-1, T-2, …", - "type": "string" - }, - "kind": { - "const": "behaviour", - "type": "string" - }, - "proves": { - "description": "The journey step and promise ids this test proves.", - "items": { - "type": "string" - }, - "type": "array" - }, - "steps": { - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "title": { - "type": "string" - } - }, - "required": [ - "id", - "title", - "proves", - "steps" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Proves saved data survives: setup, then check.", - "properties": { - "check": { - "description": "After a reload, checks the data still shows. On an update these run in the new version.", - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "id": { - "description": "T-1, T-2, …", - "type": "string" - }, - "kind": { - "const": "data", - "type": "string" - }, - "proves": { - "description": "The promise ids about saved data this test proves.", - "items": { - "type": "string" - }, - "type": "array" - }, - "setup": { - "description": "Saves data. On an update these run in the version before.", - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "title": { - "type": "string" - } - }, - "required": [ - "id", - "title", - "proves", - "kind", - "setup", - "check" - ], - "type": "object" - } -]New value: +[ + { + "additionalProperties": false, + "description": "Runs its steps on the app, opened fresh.", + "properties": { + "clock": { + "description": "An ISO date-time: time starts here and moves only on advance steps.", + "type": "string" + }, + "id": { + "description": "T-1, T-2, …", + "type": "string" + }, + "kind": { + "const": "behaviour", + "type": "string" + }, + "proves": { + "description": "The journey step and promise ids this test proves.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responses": { + "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", + "items": { + "additionalProperties": false, + "properties": { + "body": { + "description": "A string is sent as text; anything else as JSON. At most 16 KB." + }, + "path": { + "description": "Answers requests whose path starts with this; every path when left out.", + "type": "string" + }, + "site": { + "description": "A site the blueprint's network lists.", + "type": "string" + }, + "status": { + "description": "200 when left out.", + "type": "integer" + } + }, + "required": [ + "site" + ], + "type": "object" + }, + "type": "array" + }, + "seed": { + "description": "Makes Math.random give the same numbers every run.", + "type": "integer" + }, + "steps": { + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "proves", + "steps" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Proves saved data survives: setup, then check.", + "properties": { + "check": { + "description": "After a reload, checks the data still shows. On an update these run in the new version.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "clock": { + "description": "An ISO date-time: time starts here and moves only on advance steps.", + "type": "string" + }, + "id": { + "description": "T-1, T-2, …", + "type": "string" + }, + "kind": { + "const": "data", + "type": "string" + }, + "proves": { + "description": "The promise ids about saved data this test proves.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responses": { + "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", + "items": { + "additionalProperties": false, + "properties": { + "body": { + "description": "A string is sent as text; anything else as JSON. At most 16 KB." + }, + "path": { + "description": "Answers requests whose path starts with this; every path when left out.", + "type": "string" + }, + "site": { + "description": "A site the blueprint's network lists.", + "type": "string" + }, + "status": { + "description": "200 when left out.", + "type": "integer" + } + }, + "required": [ + "site" + ], + "type": "object" + }, + "type": "array" + }, + "seed": { + "description": "Makes Math.random give the same numbers every run.", + "type": "integer" + }, + "setup": { + "description": "Saves data. On an update these run in the version before.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "proves", + "kind", + "setup", + "check" + ], + "type": "object" + } +]
- Added
rename_app - Changed
update_app9 fields changed- added
Input schema / properties / baseAdded value: +{ + "description": "With edits: the version they were written against, from get_app. Refused if another version is served now.", + "minimum": 1, + "type": "integer" +} - changed
Input schema / properties / blueprint / descriptionPrevious value: -"The app's blueprint: what it is for, the data it keeps, its journeys and promises, and the sites it talks to. Required."New value: +"The app's blueprint: what it is for, the data it keeps, its journeys and promises, and the sites it talks to. Needed with html; with edits, leave it out to keep the current one." - added
Input schema / properties / blueprint / properties / screenAdded value: +{ + "additionalProperties": false, + "description": "How the app fills the screen, mostly for games.", + "properties": { + "fullscreen": { + "description": "Hide the status bar, on Android: for games.", + "type": "boolean" + }, + "orientation": { + "description": "Which way up the app opens, on Android.", + "enum": [ + "portrait", + "landscape", + "any" + ], + "type": "string" + } + }, + "required": [], + "type": "object" +} - added
Input schema / properties / blueprint / properties / usesAdded value: +{ + "description": "The device features the app uses, each once, with why; anything not listed is blocked. A photo picked with <input type=\"file\" capture> needs nothing here.", + "items": { + "additionalProperties": false, + "properties": { + "what": { + "description": "The device feature.", + "enum": [ + "camera", + "microphone", + "location", + "motion", + "screen-awake", + "gamepad" + ], + "type": "string" + }, + "why": { + "description": "Why the app needs it, in a sentence.", + "type": "string" + } + }, + "required": [ + "what", + "why" + ], + "type": "object" + }, + "type": "array" +} - added
Input schema / properties / editsAdded value: +{ + "description": "Changes to the code, applied in order: each old text must be in the code exactly once. Send this with base, or the whole file in html.", + "items": { + "additionalProperties": false, + "properties": { + "new": { + "description": "What replaces it; empty to delete it.", + "type": "string" + }, + "old": { + "description": "Text copied exactly from the code, with enough around it to match once.", + "minLength": 1, + "type": "string" + } + }, + "required": [ + "old", + "new" + ], + "type": "object" + }, + "maxItems": 50, + "minItems": 1, + "type": "array" +} - changed
Input schema / properties / html / descriptionPrevious value: -"The whole app, as one self-contained HTML file. At most 1 MB."New value: +"The whole app, as one self-contained HTML file. At most 1 MB. Send this or edits, not both." - changed
Input schema / properties / tests / descriptionPrevious value: -"The tests that prove every journey step and promise. Required when the workspace has \"Test apps before publishing\" on; otherwise optional, kept but not run."New value: +"The tests that prove every journey step and promise. Required when the workspace has \"Test apps before publishing\" on; otherwise optional, kept but not run. With edits, leave them out to keep the current ones." - changed
Input schema / properties / tests / items / anyOfPrevious value: -[ - { - "additionalProperties": false, - "description": "Runs its steps on the app, opened fresh.", - "properties": { - "id": { - "description": "T-1, T-2, …", - "type": "string" - }, - "kind": { - "const": "behaviour", - "type": "string" - }, - "proves": { - "description": "The journey step and promise ids this test proves.", - "items": { - "type": "string" - }, - "type": "array" - }, - "steps": { - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "title": { - "type": "string" - } - }, - "required": [ - "id", - "title", - "proves", - "steps" - ], - "type": "object" - }, - { - "additionalProperties": false, - "description": "Proves saved data survives: setup, then check.", - "properties": { - "check": { - "description": "After a reload, checks the data still shows. On an update these run in the new version.", - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "id": { - "description": "T-1, T-2, …", - "type": "string" - }, - "kind": { - "const": "data", - "type": "string" - }, - "proves": { - "description": "The promise ids about saved data this test proves.", - "items": { - "type": "string" - }, - "type": "array" - }, - "setup": { - "description": "Saves data. On an update these run in the version before.", - "items": { - "anyOf": [ - { - "additionalProperties": false, - "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", - "properties": { - "do": { - "const": "tap", - "type": "string" - }, - "label": { - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "type", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "select", - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "do", - "label", - "value" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "reload", - "type": "string" - } - }, - "required": [ - "do" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "do": { - "const": "wait", - "type": "string" - }, - "ms": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "do", - "ms" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "see", - "notSee" - ], - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "text" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "expect": { - "enum": [ - "checked", - "notChecked" - ], - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "minimum": 0, - "type": "integer" - }, - "expect": { - "const": "count", - "type": "string" - }, - "role": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": [ - "expect", - "equals" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "equals": { - "type": "string" - }, - "expect": { - "const": "value", - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "expect", - "label", - "equals" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "title": { - "type": "string" - } - }, - "required": [ - "id", - "title", - "proves", - "kind", - "setup", - "check" - ], - "type": "object" - } -]New value: +[ + { + "additionalProperties": false, + "description": "Runs its steps on the app, opened fresh.", + "properties": { + "clock": { + "description": "An ISO date-time: time starts here and moves only on advance steps.", + "type": "string" + }, + "id": { + "description": "T-1, T-2, …", + "type": "string" + }, + "kind": { + "const": "behaviour", + "type": "string" + }, + "proves": { + "description": "The journey step and promise ids this test proves.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responses": { + "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", + "items": { + "additionalProperties": false, + "properties": { + "body": { + "description": "A string is sent as text; anything else as JSON. At most 16 KB." + }, + "path": { + "description": "Answers requests whose path starts with this; every path when left out.", + "type": "string" + }, + "site": { + "description": "A site the blueprint's network lists.", + "type": "string" + }, + "status": { + "description": "200 when left out.", + "type": "integer" + } + }, + "required": [ + "site" + ], + "type": "object" + }, + "type": "array" + }, + "seed": { + "description": "Makes Math.random give the same numbers every run.", + "type": "integer" + }, + "steps": { + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "proves", + "steps" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Proves saved data survives: setup, then check.", + "properties": { + "check": { + "description": "After a reload, checks the data still shows. On an update these run in the new version.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "clock": { + "description": "An ISO date-time: time starts here and moves only on advance steps.", + "type": "string" + }, + "id": { + "description": "T-1, T-2, …", + "type": "string" + }, + "kind": { + "const": "data", + "type": "string" + }, + "proves": { + "description": "The promise ids about saved data this test proves.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responses": { + "description": "What listed sites answer in this test, at most 10; every other request still fails at once, as with the network off.", + "items": { + "additionalProperties": false, + "properties": { + "body": { + "description": "A string is sent as text; anything else as JSON. At most 16 KB." + }, + "path": { + "description": "Answers requests whose path starts with this; every path when left out.", + "type": "string" + }, + "site": { + "description": "A site the blueprint's network lists.", + "type": "string" + }, + "status": { + "description": "200 when left out.", + "type": "integer" + } + }, + "required": [ + "site" + ], + "type": "object" + }, + "type": "array" + }, + "seed": { + "description": "Makes Math.random give the same numbers every run.", + "type": "integer" + }, + "setup": { + "description": "Saves data. On an update these run in the version before.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Puts a file in the file field with this label, as if the person picked it.", + "properties": { + "do": { + "const": "choose", + "type": "string" + }, + "file": { + "additionalProperties": false, + "description": "The file, as text or base64 (one of them), at most 64 KB.", + "properties": { + "base64": { + "type": "string" + }, + "name": { + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "label": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "file" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Moves the test's clock on (needs the test's clock), running every timer and animation frame that falls due. At most 7 days.", + "properties": { + "do": { + "const": "advance", + "type": "string" + }, + "ms": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Tilts the phone (front to back, side to side, in degrees). Needs motion in uses.", + "properties": { + "beta": { + "type": "number" + }, + "do": { + "const": "tilt", + "type": "string" + }, + "gamma": { + "type": "number" + } + }, + "required": [ + "do", + "beta", + "gamma" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Shakes the phone. Needs motion in uses.", + "properties": { + "do": { + "const": "shake", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Checks what the app exposes as window.appState (an object, or a function returning one), at a dotted path like score or players.0.lives.", + "properties": { + "equals": { + "description": "Any JSON value, compared as JSON." + }, + "expect": { + "const": "state", + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "expect", + "path" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "proves", + "kind", + "setup", + "check" + ], + "type": "object" + } +] - changed
Input schema / requiredPrevious value: -[ - "app", - "html", - "blueprint" -]New value: +[ + "app" +]
4 tool updates
- Added
get_remix - Added
list_remixes - Changed
publish_app5 fields changed- added
Input schema / properties / blueprint / properties / categoryAdded value: +{ + "description": "Where the app belongs on Explore: the one of these that fits best.", + "enum": [ + "health", + "fitness", + "money", + "food", + "home", + "travel", + "learning", + "work", + "productivity", + "family", + "pets", + "hobbies", + "social", + "fun" + ], + "type": "string" +} - added
Input schema / properties / blueprint / properties / tagsAdded value: +{ + "description": "Up to 5 short words people would search for: what it is, what it's about, who it's for. Lower-case, hyphens for spaces. Prefer these where they fit: tracker, habit-tracker, checklist, timer, counter, journal, planner, calculator, reminder, log, quiz, game, water, sleep, workout, running, steps, mood, medicine, budget, expenses, savings, recipes, groceries, meal-plan, plants, chores, packing, reading, language, study, weather, currency, holidays, kids, couples, students.", + "items": { + "type": "string" + }, + "type": "array" +} - added
Input schema / properties / remixAdded value: +{ + "description": "Optional: the id of the remix this app is built from (list_remixes). It links the app to the friend's app it came from.", + "type": "string" +} - changed
Input schema / properties / tests / descriptionPrevious value: -"The tests that prove every journey step and promise. Required."New value: +"The tests that prove every journey step and promise. Required when the workspace has \"Test apps before publishing\" on; otherwise optional, kept but not run." - changed
Input schema / requiredPrevious value: -[ - "name", - "html", - "blueprint", - "tests" -]New value: +[ + "name", + "html", + "blueprint" +]
- Changed
update_app4 fields changed- added
Input schema / properties / blueprint / properties / categoryAdded value: +{ + "description": "Where the app belongs on Explore: the one of these that fits best.", + "enum": [ + "health", + "fitness", + "money", + "food", + "home", + "travel", + "learning", + "work", + "productivity", + "family", + "pets", + "hobbies", + "social", + "fun" + ], + "type": "string" +} - added
Input schema / properties / blueprint / properties / tagsAdded value: +{ + "description": "Up to 5 short words people would search for: what it is, what it's about, who it's for. Lower-case, hyphens for spaces. Prefer these where they fit: tracker, habit-tracker, checklist, timer, counter, journal, planner, calculator, reminder, log, quiz, game, water, sleep, workout, running, steps, mood, medicine, budget, expenses, savings, recipes, groceries, meal-plan, plants, chores, packing, reading, language, study, weather, currency, holidays, kids, couples, students.", + "items": { + "type": "string" + }, + "type": "array" +} - changed
Input schema / properties / tests / descriptionPrevious value: -"The tests that prove every journey step and promise. Required."New value: +"The tests that prove every journey step and promise. Required when the workspace has \"Test apps before publishing\" on; otherwise optional, kept but not run." - changed
Input schema / requiredPrevious value: -[ - "app", - "html", - "blueprint", - "tests" -]New value: +[ + "app", + "html", + "blueprint" +]
3 tool updates
- Added
get_spec - Changed
publish_app3 fields changed- added
Input schema / properties / blueprintAdded value: +{ + "additionalProperties": false, + "description": "The app's blueprint: what it is for, the data it keeps, its journeys and promises, and the sites it talks to. Required.", + "properties": { + "data": { + "additionalProperties": false, + "description": "The data the app keeps on the phone.", + "properties": { + "keeps": { + "description": "Each storage key and what it holds.", + "items": { + "additionalProperties": false, + "properties": { + "key": { + "type": "string" + }, + "what": { + "type": "string" + } + }, + "required": [ + "key", + "what" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "description": "Raise it when the saved shape changes, and migrate the old shape on load.", + "type": "integer" + } + }, + "required": [ + "version", + "keeps" + ], + "type": "object" + }, + "design": { + "additionalProperties": false, + "properties": { + "notes": { + "type": "string" + }, + "palette": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [], + "type": "object" + }, + "icon": { + "description": "The app's home-screen icon, one of these names; without one the icon shows the app's first letter.", + "enum": [ + "activity", + "alarm-clock", + "apple", + "baby", + "backpack", + "badge-check", + "banknote", + "bath", + "battery", + "bed", + "bell", + "bike", + "book", + "book-open", + "bookmark", + "brain", + "briefcase", + "brush", + "bus", + "cake", + "calculator", + "calendar", + "calendar-check", + "camera", + "car", + "carrot", + "cat", + "chart-line", + "chart-pie", + "chef-hat", + "circle-check", + "clipboard-list", + "clock", + "cloud", + "cloud-rain", + "cloud-sun", + "coffee", + "coins", + "compass", + "cookie", + "credit-card", + "dog", + "dollar-sign", + "droplet", + "dumbbell", + "egg", + "file-text", + "film", + "fish", + "flag", + "flame", + "flower", + "footprints", + "frown", + "gamepad-2", + "gift", + "glass-water", + "globe", + "graduation-cap", + "guitar", + "hammer", + "hand-heart", + "headphones", + "heart", + "heart-pulse", + "hospital", + "house", + "key", + "laptop", + "laugh", + "leaf", + "lightbulb", + "list-checks", + "list-todo", + "luggage", + "map", + "map-pin", + "medal", + "meh", + "message-circle", + "mic", + "moon", + "mountain", + "music", + "notebook-pen", + "package", + "palette", + "paw-print", + "pen-line", + "phone", + "piggy-bank", + "pill", + "pizza", + "plane", + "puzzle", + "receipt", + "repeat", + "rocket", + "salad", + "scale", + "school", + "shirt", + "shopping-bag", + "shopping-basket", + "shopping-cart", + "shower-head", + "smile", + "snowflake", + "sofa", + "sparkles", + "sprout", + "star", + "stethoscope", + "sun", + "sunrise", + "syringe", + "target", + "tent", + "thermometer", + "timer", + "train-front", + "tree-pine", + "trophy", + "umbrella", + "users", + "utensils", + "wallet", + "watch", + "weight", + "wine" + ], + "type": "string" + }, + "journeys": { + "description": "What the person does, step by step. Every step is proved by a test.", + "items": { + "additionalProperties": false, + "properties": { + "id": { + "description": "J-1, J-2, …", + "type": "string" + }, + "steps": { + "items": { + "additionalProperties": false, + "properties": { + "id": { + "description": "J-1.1, J-1.2, … within journey J-1", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "id", + "text" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "steps" + ], + "type": "object" + }, + "type": "array" + }, + "network": { + "description": "The sites the app talks to, at most 5; every other site is blocked.", + "items": { + "additionalProperties": false, + "properties": { + "site": { + "description": "A bare website name, like api.open-meteo.com", + "type": "string" + }, + "why": { + "type": "string" + } + }, + "required": [ + "site", + "why" + ], + "type": "object" + }, + "type": "array" + }, + "promises": { + "description": "What always holds. Every promise is proved by a test.", + "items": { + "additionalProperties": false, + "properties": { + "id": { + "description": "P-1, P-2, …", + "type": "string" + }, + "kind": { + "const": "data", + "description": "\"data\" for a promise about saved data.", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "id", + "text" + ], + "type": "object" + }, + "type": "array" + }, + "purpose": { + "description": "What the app is for, in a sentence.", + "type": "string" + }, + "screens": { + "description": "Each screen and what it shows.", + "items": { + "additionalProperties": false, + "properties": { + "id": { + "type": "string" + }, + "says": { + "type": "string" + } + }, + "required": [ + "id", + "says" + ], + "type": "object" + }, + "type": "array" + }, + "v": { + "const": 1, + "type": "number" + } + }, + "required": [ + "v", + "purpose", + "screens", + "data", + "journeys", + "promises" + ], + "type": "object" +} - added
Input schema / properties / testsAdded value: +{ + "description": "The tests that prove every journey step and promise. Required.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Runs its steps on the app, opened fresh.", + "properties": { + "id": { + "description": "T-1, T-2, …", + "type": "string" + }, + "kind": { + "const": "behaviour", + "type": "string" + }, + "proves": { + "description": "The journey step and promise ids this test proves.", + "items": { + "type": "string" + }, + "type": "array" + }, + "steps": { + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "proves", + "steps" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Proves saved data survives: setup, then check.", + "properties": { + "check": { + "description": "After a reload, checks the data still shows. On an update these run in the new version.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "id": { + "description": "T-1, T-2, …", + "type": "string" + }, + "kind": { + "const": "data", + "type": "string" + }, + "proves": { + "description": "The promise ids about saved data this test proves.", + "items": { + "type": "string" + }, + "type": "array" + }, + "setup": { + "description": "Saves data. On an update these run in the version before.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "proves", + "kind", + "setup", + "check" + ], + "type": "object" + } + ] + }, + "type": "array" +} - changed
Input schema / requiredPrevious value: -[ - "name", - "html" -]New value: +[ + "name", + "html", + "blueprint", + "tests" +]
- Changed
update_app3 fields changed- added
Input schema / properties / blueprintAdded value: +{ + "additionalProperties": false, + "description": "The app's blueprint: what it is for, the data it keeps, its journeys and promises, and the sites it talks to. Required.", + "properties": { + "data": { + "additionalProperties": false, + "description": "The data the app keeps on the phone.", + "properties": { + "keeps": { + "description": "Each storage key and what it holds.", + "items": { + "additionalProperties": false, + "properties": { + "key": { + "type": "string" + }, + "what": { + "type": "string" + } + }, + "required": [ + "key", + "what" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "description": "Raise it when the saved shape changes, and migrate the old shape on load.", + "type": "integer" + } + }, + "required": [ + "version", + "keeps" + ], + "type": "object" + }, + "design": { + "additionalProperties": false, + "properties": { + "notes": { + "type": "string" + }, + "palette": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [], + "type": "object" + }, + "icon": { + "description": "The app's home-screen icon, one of these names; without one the icon shows the app's first letter.", + "enum": [ + "activity", + "alarm-clock", + "apple", + "baby", + "backpack", + "badge-check", + "banknote", + "bath", + "battery", + "bed", + "bell", + "bike", + "book", + "book-open", + "bookmark", + "brain", + "briefcase", + "brush", + "bus", + "cake", + "calculator", + "calendar", + "calendar-check", + "camera", + "car", + "carrot", + "cat", + "chart-line", + "chart-pie", + "chef-hat", + "circle-check", + "clipboard-list", + "clock", + "cloud", + "cloud-rain", + "cloud-sun", + "coffee", + "coins", + "compass", + "cookie", + "credit-card", + "dog", + "dollar-sign", + "droplet", + "dumbbell", + "egg", + "file-text", + "film", + "fish", + "flag", + "flame", + "flower", + "footprints", + "frown", + "gamepad-2", + "gift", + "glass-water", + "globe", + "graduation-cap", + "guitar", + "hammer", + "hand-heart", + "headphones", + "heart", + "heart-pulse", + "hospital", + "house", + "key", + "laptop", + "laugh", + "leaf", + "lightbulb", + "list-checks", + "list-todo", + "luggage", + "map", + "map-pin", + "medal", + "meh", + "message-circle", + "mic", + "moon", + "mountain", + "music", + "notebook-pen", + "package", + "palette", + "paw-print", + "pen-line", + "phone", + "piggy-bank", + "pill", + "pizza", + "plane", + "puzzle", + "receipt", + "repeat", + "rocket", + "salad", + "scale", + "school", + "shirt", + "shopping-bag", + "shopping-basket", + "shopping-cart", + "shower-head", + "smile", + "snowflake", + "sofa", + "sparkles", + "sprout", + "star", + "stethoscope", + "sun", + "sunrise", + "syringe", + "target", + "tent", + "thermometer", + "timer", + "train-front", + "tree-pine", + "trophy", + "umbrella", + "users", + "utensils", + "wallet", + "watch", + "weight", + "wine" + ], + "type": "string" + }, + "journeys": { + "description": "What the person does, step by step. Every step is proved by a test.", + "items": { + "additionalProperties": false, + "properties": { + "id": { + "description": "J-1, J-2, …", + "type": "string" + }, + "steps": { + "items": { + "additionalProperties": false, + "properties": { + "id": { + "description": "J-1.1, J-1.2, … within journey J-1", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "id", + "text" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "steps" + ], + "type": "object" + }, + "type": "array" + }, + "network": { + "description": "The sites the app talks to, at most 5; every other site is blocked.", + "items": { + "additionalProperties": false, + "properties": { + "site": { + "description": "A bare website name, like api.open-meteo.com", + "type": "string" + }, + "why": { + "type": "string" + } + }, + "required": [ + "site", + "why" + ], + "type": "object" + }, + "type": "array" + }, + "promises": { + "description": "What always holds. Every promise is proved by a test.", + "items": { + "additionalProperties": false, + "properties": { + "id": { + "description": "P-1, P-2, …", + "type": "string" + }, + "kind": { + "const": "data", + "description": "\"data\" for a promise about saved data.", + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "id", + "text" + ], + "type": "object" + }, + "type": "array" + }, + "purpose": { + "description": "What the app is for, in a sentence.", + "type": "string" + }, + "screens": { + "description": "Each screen and what it shows.", + "items": { + "additionalProperties": false, + "properties": { + "id": { + "type": "string" + }, + "says": { + "type": "string" + } + }, + "required": [ + "id", + "says" + ], + "type": "object" + }, + "type": "array" + }, + "v": { + "const": 1, + "type": "number" + } + }, + "required": [ + "v", + "purpose", + "screens", + "data", + "journeys", + "promises" + ], + "type": "object" +} - added
Input schema / properties / testsAdded value: +{ + "description": "The tests that prove every journey step and promise. Required.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Runs its steps on the app, opened fresh.", + "properties": { + "id": { + "description": "T-1, T-2, …", + "type": "string" + }, + "kind": { + "const": "behaviour", + "type": "string" + }, + "proves": { + "description": "The journey step and promise ids this test proves.", + "items": { + "type": "string" + }, + "type": "array" + }, + "steps": { + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "proves", + "steps" + ], + "type": "object" + }, + { + "additionalProperties": false, + "description": "Proves saved data survives: setup, then check.", + "properties": { + "check": { + "description": "After a reload, checks the data still shows. On an update these run in the new version.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "id": { + "description": "T-1, T-2, …", + "type": "string" + }, + "kind": { + "const": "data", + "type": "string" + }, + "proves": { + "description": "The promise ids about saved data this test proves.", + "items": { + "type": "string" + }, + "type": "array" + }, + "setup": { + "description": "Saves data. On an update these run in the version before.", + "items": { + "anyOf": [ + { + "additionalProperties": false, + "description": "Finds what to tap by its text, label or role (and name): give at least one of text, label or role.", + "properties": { + "do": { + "const": "tap", + "type": "string" + }, + "label": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "type", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "select", + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "do", + "label", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "reload", + "type": "string" + } + }, + "required": [ + "do" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "do": { + "const": "wait", + "type": "string" + }, + "ms": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "do", + "ms" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "see", + "notSee" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "text" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "expect": { + "enum": [ + "checked", + "notChecked" + ], + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "minimum": 0, + "type": "integer" + }, + "expect": { + "const": "count", + "type": "string" + }, + "role": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "expect", + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "equals": { + "type": "string" + }, + "expect": { + "const": "value", + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "expect", + "label", + "equals" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "title", + "proves", + "kind", + "setup", + "check" + ], + "type": "object" + } + ] + }, + "type": "array" +} - changed
Input schema / requiredPrevious value: -[ - "app", - "html" -]New value: +[ + "app", + "html", + "blueprint", + "tests" +]
24 tool updates
- Added
delete_app - Added
get_app - Removed
get_approval - Removed
get_dataset - Removed
get_next_actions - Removed
get_readiness - Removed
get_receipts - Removed
get_run - Removed
get_tool_insights - Removed
get_usage - Removed
list_approvals - Added
list_apps - Removed
list_contracts - Removed
list_datasets - Removed
list_drift_alerts - Removed
list_events - Removed
list_review_items - Removed
list_scenarios - Removed
list_tools - Removed
list_value_sets - Added
list_versions - Added
publish_app - Added
rollback_app - Added
update_app
9 tool updates
- Added
get_approval - Added
get_next_actions - Added
get_tool_insights - Added
get_usage - Added
list_approvals - Added
list_drift_alerts - Added
list_events - Added
list_scenarios - Added
list_tools
8 tool updates
- First observed
get_dataset - First observed
get_readiness - First observed
get_receipts - First observed
get_run - First observed
list_contracts - First observed
list_datasets - First observed
list_review_items - First observed
list_value_sets
Related MCP Connectors
Publish micro-apps from your AI with no account; operate them as real apps. Data stored in the EU.
Ask your AI to put your app online. Your colleagues get a web address, a sign-in and saved data.
Host apps in the EU from your assistant: App Store, Docker, GitHub, databases, logs.
Where AI lives: sites, apps, data, domains, email, payments and a phone line, live from your chat.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceTurn your Android phone into an MCP server. AI assistants connect on demand, query your health data, notifications, app usage, and take actions on your device — all end-to-end encrypted, no cloud sync.13Apache 2.0

Melayaofficial
AlicenseNot gradedqualityBmaintenanceMelaya gives any AI access to your Android phone. And allows you to create AI agents in minutes.1Apache 2.0- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to transcribe local audio or video files on-device, with optional timestamps and cleanup, and to search locally stored dictation history without uploading audio or needing an API key. It also lets clients pre-download and verify the speech model before the first transcription.MIT
- AlicenseNot gradedqualityBmaintenanceConnect an AI assistant to aCelery, describe the app you want in plain words, and it writes the app, creates its database, runs it on your phone, checks for errors and fixes them — while you watch.GPL 3.0
Glama MCP Gateway
Add one secure layer between your agents and this server.