Files
kvitt/contracts/examples/E-3-invites-accept/response.json
T
jacobh2 c6df2ab8f5 M1: contracts and vectors (SPEC v0.1, schema 1)
contracts/openapi.yaml (OpenAPI 3.1, E-1..E-33, error shape and the
exhaustive error code enum, device bearer scheme), contracts/schema/
server-v1.sql (SPEC §14.1 verbatim), seven test-vector files per §14.5.5,
80 examples (every JSON body of §14.3.4, every error code, sync pull/push,
every FCM push type), and tools/contracts-check.py (stdlib-only reference
of §9.1, §9.3, §9.4 and §14.5.4 plus shape checks; the M1 gate).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 20:57:59 +02:00

34 lines
941 B
JSON

{
"token": "kvt_q7Zm0yHc1u2R9vXgB4kLw8sTn3eP6aJdF5oQ1iYbV0c",
"user": {
"id": "0192a000-0000-7000-8000-000000000001",
"role": "admin",
"display_name": "Jacob",
"picture_version": null,
"created_at": "2026-10-17T06:12:40.512Z",
"updated_at": "2026-10-17T06:12:40.512Z",
"server_version": 11
},
"device": {
"id": "0192a001-0000-7000-8000-000000000001",
"user_id": "0192a000-0000-7000-8000-000000000001",
"name": "Galaxy S26",
"app_version_code": 41,
"created_at": "2026-10-17T06:12:40.512Z",
"last_seen_at": "2026-10-17T09:00:00.000Z",
"revoked_at": null,
"is_current": true
},
"household": [
{
"id": "0192a000-0000-7000-8000-000000000001",
"role": "admin",
"display_name": "Jacob",
"picture_version": null,
"created_at": "2026-10-17T06:12:40.512Z",
"updated_at": "2026-10-17T06:12:40.512Z",
"server_version": 11
}
]
}