ALL

For reading and verification only. You may not copy, use, modify or redistribute this code. Full notice on the main page.

contracts/schemas/reconnect-state.schema.json

SHA-256: aeaf428ae2c5bf2c4d63ab9877c9fd9162337f620e43ebc518ffcdbb2b0ce4db
13 lines · 1124 bytes · View on GitHub

1{
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "https://all-mcp.fyi/contracts/v2/reconnect-state.schema.json",
4 "title": "The `reconnect` member of the 200 answer of GET /v1/devices/authorize (the relay path), WP21 reads it and WP26 writes it. Absent for a computer that must never see the card (Lifetime without updates, a legacy credential, a network that blocks 443, a computer that is not on 2.x, a computer whose encrypted path is not ready) and for every computer while the kill switch is on or the retirement criteria are not met. `eligible`: it can reach 2.x, its own self-check passed and it has not moved yet. `migrated`: it served a tool call on its encrypted address; `since` is that moment in epoch milliseconds. `locale` is the language the person signed up in (absent when unknown).",
5 "type": "object",
6 "required": ["state"],
7 "additionalProperties": false,
8 "properties": {
9 "state": {"type": "string", "enum": ["eligible", "migrated"]},
10 "since": {"type": "integer", "minimum": 1, "maximum": 4102444799999},
11 "locale": {"type": "string", "enum": ["es", "en"]}
12 }
13}