ALL

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

contracts/schemas/enroll-request.schema.json

SHA-256: a1a0e12f3baef786c8b12c536d5adb8b78ea6f587ddc1e8c672591089ba47807
12 lines · 600 bytes · View on GitHub

1{
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "https://all-mcp.fyi/contracts/v2/enroll-request.schema.json",
4 "title": "POST /v1/devices/e2e/enroll, device to control plane (all-control session plus DPoP, like the fleet heartbeat). Idempotent: install and migrate mint the label once; repair keeps it; reinstall mints a new one and tombstones the old.",
5 "type": "object",
6 "required": ["v", "intent"],
7 "additionalProperties": false,
8 "properties": {
9 "v": {"const": 1},
10 "intent": {"type": "string", "enum": ["install", "repair", "reinstall", "migrate"]}
11 }
12}