{
  "openapi": "3.1.0",
  "info": {
    "title": "ForgeReceipts Runtime API",
    "version": "0.1.0",
    "summary": "Child's Best Interests First. Integrity Over Narrative. Local Control. Always.",
    "description": "Not legal advice. No court filing. Does not contact Odyssey or any court."
  },
  "servers": [
    {
      "url": "https://forgereceipts-download-tracker.vibelock.workers.dev"
    }
  ],
  "paths": {
    "/v1/health": {
      "get": {
        "operationId": "forgereceiptsHealth",
        "summary": "Liveness",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/receipt": {
      "post": {
        "operationId": "forgereceiptsReceipt",
        "summary": "Mint a local-style receipt JSON (not a court filing)",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "note"
                ],
                "properties": {
                  "note": {
                    "type": "string"
                  },
                  "context": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Receipt JSON"
          }
        }
      }
    }
  }
}