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
| 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 | } |