ALL

Solo para leer y verificar. No puedes copiar, usar, modificar ni redistribuir este código. Aviso completo en la página principal.

contracts/schemas/enroll-request.schema.json

SHA-256: a1a0e12f3baef786c8b12c536d5adb8b78ea6f587ddc1e8c672591089ba47807
12 líneas · 600 bytes · Ver en 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}