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/node-keys.schema.json

SHA-256: a8f19592bb6a9b759fa04c3ea98572cf49df7a80713a4dfdad1aa38fbff02be4
25 líneas · 934 bytes · Ver en GitHub

1{
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "https://all-mcp.fyi/contracts/v2/node-keys.schema.json",
4 "title": "TUNNEL_NODE_KEYS of the control plane: the public Ed25519 key of each tunnel node. Revoking a node's key is removing its kid; the next request signed by it is refused.",
5 "type": "object",
6 "required": ["keys"],
7 "additionalProperties": false,
8 "properties": {
9 "keys": {
10 "type": "array", "minItems": 1, "maxItems": 16,
11 "items": {
12 "type": "object",
13 "required": ["kid", "node", "kty", "crv", "x"],
14 "additionalProperties": false,
15 "properties": {
16 "kid": {"$ref": "common.schema.json#/$defs/kid"},
17 "node": {"$ref": "common.schema.json#/$defs/node_id"},
18 "kty": {"const": "OKP"},
19 "crv": {"const": "Ed25519"},
20 "x": {"type": "string", "pattern": "^[A-Za-z0-9_-]{43}$"}
21 }
22 }
23 }
24 }
25}