{
  "openapi": "3.1.0",
  "info": {
    "title": "4DMap runtime",
    "version": "0.2.0",
    "summary": "Inspection coordinate frame. Not a truth engine.",
    "description": "THIS IS: an inspection coordinate frame (4DM-WP-1.0) over TemporalLock / StaticClock / ChronoLock / TrajectoryLock / SpectralLock evidence. Cards are 4DM-CARD receipts with fail-closed SHA-256. Forks are kept. ZionPattern confidence is capped at 75%. A silent lens returns Π-EMPTY. THIS IS NOT: a truth engine; Lumen; GIS 4D; a Node Gate; certified forensics; an identity store. Receipts are not truth. No legal name, home, or county on cards. QNS/QNM do not carry 4DMap photons. Author: Aziel Eliab only. Suite mesh /v1/mesh/* PROXY to aziel-runtime. GET never enables. Softwares bucket Plain. Aziel Eliab only.",
    "license": {
      "name": "Apache-2.0",
      "identifier": "Apache-2.0"
    },
    "contact": {
      "name": "Aziel Eliab",
      "url": "https://github.com/AzielEliab/4dmap"
    }
  },
  "servers": [
    {
      "url": "https://4dmap-download-tracker.vibelock.workers.dev"
    }
  ],
  "paths": {
    "/v1/health": {
      "get": {
        "operationId": "fourdmap_health",
        "summary": "Liveness. Does not increment download KV.",
        "responses": {
          "200": {
            "description": "ok"
          }
        }
      }
    },
    "/v1/skill": {
      "get": {
        "operationId": "fourdmap_skill",
        "summary": "Return 4DMap skill markdown.",
        "responses": {
          "200": {
            "description": "text/markdown"
          }
        }
      }
    },
    "/v1/example": {
      "get": {
        "operationId": "fourdmap_example",
        "summary": "Synthetic cards. Not a real case.",
        "responses": {
          "200": {
            "description": "example"
          }
        }
      }
    },
    "/v1/pin": {
      "post": {
        "operationId": "fourdmap_pin",
        "summary": "Pin a T clock card",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "4DMap envelope"
          },
          "400": {
            "description": "refused"
          }
        }
      }
    },
    "/v1/span": {
      "post": {
        "operationId": "fourdmap_span",
        "summary": "Span a Δ interval",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "4DMap envelope"
          },
          "400": {
            "description": "refused"
          }
        }
      }
    },
    "/v1/stack": {
      "post": {
        "operationId": "fourdmap_stack",
        "summary": "Stack a Γ trajectory",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "4DMap envelope"
          },
          "400": {
            "description": "refused"
          }
        }
      }
    },
    "/v1/gap": {
      "post": {
        "operationId": "fourdmap_gap",
        "summary": "Mark a Δ gap",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "4DMap envelope"
          },
          "400": {
            "description": "refused"
          }
        }
      }
    },
    "/v1/fork": {
      "post": {
        "operationId": "fourdmap_fork",
        "summary": "Fork a card; both branches kept",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "4DMap envelope"
          },
          "400": {
            "description": "refused"
          }
        }
      }
    },
    "/v1/walk": {
      "post": {
        "operationId": "fourdmap_walk",
        "summary": "Walk prev hashes from a tip",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "4DMap envelope"
          },
          "400": {
            "description": "refused"
          }
        }
      }
    },
    "/v1/lens": {
      "post": {
        "operationId": "fourdmap_lens",
        "summary": "Apply a lens; silent → Π-EMPTY",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "4DMap envelope"
          },
          "400": {
            "description": "refused"
          }
        }
      }
    },
    "/v1/class": {
      "post": {
        "operationId": "fourdmap_class",
        "summary": "Π class (not identity)",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "4DMap envelope"
          },
          "400": {
            "description": "refused"
          }
        }
      }
    },
    "/v1/cohort": {
      "post": {
        "operationId": "fourdmap_cohort",
        "summary": "Π cohort",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "4DMap envelope"
          },
          "400": {
            "description": "refused"
          }
        }
      }
    },
    "/v1/absence": {
      "post": {
        "operationId": "fourdmap_absence",
        "summary": "Absence / silent lens → Π-EMPTY",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "4DMap envelope"
          },
          "400": {
            "description": "refused"
          }
        }
      }
    },
    "/v1/cap": {
      "post": {
        "operationId": "fourdmap_cap",
        "summary": "ZionPattern cap 75%",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "4DMap envelope"
          },
          "400": {
            "description": "refused"
          }
        }
      }
    },
    "/v1/join": {
      "post": {
        "operationId": "fourdmap_join",
        "summary": "Typed join; Π→T backdate refuses",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "4DMap envelope"
          },
          "400": {
            "description": "refused"
          }
        }
      }
    },
    "/v1/list": {
      "post": {
        "operationId": "fourdmap_list",
        "summary": "List cards + forks",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "4DMap envelope"
          },
          "400": {
            "description": "refused"
          }
        }
      }
    },
    "/v1/mesh": {
      "get": {
        "operationId": "fourdmap_mesh_status_proxy",
        "summary": "PROXY to aziel-runtime GET /v1/mesh. Suite mesh status. Default OFF. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        }
      },
      "head": {
        "operationId": "fourdmap_mesh_status_head_proxy",
        "summary": "PROXY to aziel-runtime GET /v1/mesh. Suite mesh status. Default OFF. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        }
      }
    },
    "/v1/mesh/status": {
      "get": {
        "operationId": "fourdmap_mesh_status_proxy",
        "summary": "PROXY alias of GET /v1/mesh. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        }
      }
    },
    "/v1/mesh/nodes": {
      "get": {
        "operationId": "fourdmap_mesh_nodes_proxy",
        "summary": "PROXY to aziel-runtime GET /v1/mesh/nodes. Live Nodes (5-minute presence). Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        }
      }
    },
    "/v1/mesh/enable": {
      "post": {
        "operationId": "fourdmap_mesh_enable_proxy",
        "summary": "PROXY to aziel-runtime POST /v1/mesh/enable. Operator bearer required. Rate-limited. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/v1/mesh/disable": {
      "post": {
        "operationId": "fourdmap_mesh_disable_proxy",
        "summary": "PROXY to aziel-runtime POST /v1/mesh/disable. Always allowed. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/v1/mesh/join": {
      "post": {
        "operationId": "fourdmap_mesh_join_proxy",
        "summary": "PROXY to aziel-runtime POST /v1/mesh/join. Body {product, node_id?, label?, presence?}. Refused while OFF. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/v1/mesh/heartbeat": {
      "post": {
        "operationId": "fourdmap_mesh_heartbeat_proxy",
        "summary": "PROXY to aziel-runtime POST /v1/mesh/heartbeat. Body {node_id}. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/v1/mesh/leave": {
      "post": {
        "operationId": "fourdmap_mesh_leave_proxy",
        "summary": "PROXY to aziel-runtime POST /v1/mesh/leave. Body {node_id}. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/v1/mesh/broadcast": {
      "post": {
        "operationId": "fourdmap_mesh_broadcast_proxy",
        "summary": "PROXY to aziel-runtime POST /v1/mesh/broadcast. SHA-256 receipt only. Not AnonBroadcast upload. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    }
  }
}