For reading and verification only. You may not copy, use, modify or redistribute this code. Full notice on the main page.
contracts/schemas/acme-dns-request.schema.json
| 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 | } |