ALL

For reading and verification only. You may not copy, use, modify or redistribute this code. Full notice on the main page.

contracts/schemas/acme-reserve-request.schema.json

SHA-256: 750b4144d50c2d95fab6a14428be15aba8ed06d2a2f91f7ff3bacfcb0becb010
13 lines · 739 bytes · View on GitHub

1{
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "https://all-mcp.fyi/contracts/v2/acme-reserve-request.schema.json",
4 "title": "POST /v1/devices/acme/reserve. The device sends the SHA-256 of the SubjectPublicKeyInfo of the key it just made BEFORE it opens an ACME order; the broker records it first (the registry the CT watchers compare against). purpose first counts against the class budget when confirmed; renewal never does.",
5 "type": "object",
6 "required": ["v", "spki_sha256", "purpose"],
7 "additionalProperties": false,
8 "properties": {
9 "v": {"const": 1},
10 "spki_sha256": {"$ref": "common.schema.json#/$defs/sha256_b64url"},
11 "purpose": {"type": "string", "enum": ["first", "renewal"]}
12 }
13}