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/acme-dns-request.schema.json

SHA-256: 1ecd86fc392142ec24b70e936d4b88098c7d5e5a67f0cc94f329491fd1231564
28 líneas · 1091 bytes · Ver en GitHub

1{
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "https://all-mcp.fyi/contracts/v2/acme-dns-request.schema.json",
4 "title": "POST /v1/devices/acme/dns. Needs a live reservation. The only name that can ever be written is _acme-challenge.<the caller's own host>, type TXT, a 43-character value, TTL policy.certificates.txt_ttl_s: nothing in the request names a record.",
5 "oneOf": [
6 {
7 "type": "object",
8 "required": ["v", "reservation_id", "action", "value"],
9 "additionalProperties": false,
10 "properties": {
11 "v": {"const": 1},
12 "reservation_id": {"$ref": "common.schema.json#/$defs/reservation_id"},
13 "action": {"const": "set"},
14 "value": {"type": "string", "pattern": "^[A-Za-z0-9_-]{43}$"}
15 }
16 },
17 {
18 "type": "object",
19 "required": ["v", "reservation_id", "action"],
20 "additionalProperties": false,
21 "properties": {
22 "v": {"const": 1},
23 "reservation_id": {"$ref": "common.schema.json#/$defs/reservation_id"},
24 "action": {"const": "clear"}
25 }
26 }
27 ]
28}