{
  "openapi": "3.1.0",
  "info": {
    "title": "EmployeeLock runtime",
    "version": "0.1.0",
    "summary": "Hash-chained accountability workbook preview. Not a court. Not UL. Not a truth score.",
    "description": "THIS IS: workbook (COVER, LOG, EVIDENCE, CHAIN, OWNERS, DASH, LISTS) + CLI (init/append/import/verify) + linear hash chain + countermeasure against unowned/renamed rows. THIS IS NOT: UL or a BAL issue paper; FoldLock; TemporalLock (borrows ethic, different product); court filing / exhibit stickerer / counsel; truth score / consensus / token; remote uploader / anonymous relay; a charge sheet against a named living person. Demo rows are generic format proof, not case facts. Hosted API never stores xlsx. Not a court. Not UL. Not a truth score.",
    "license": {
      "name": "Apache-2.0",
      "identifier": "Apache-2.0"
    },
    "contact": {
      "name": "Aziel Eliab",
      "url": "https://github.com/AzielEliab/employeelock"
    }
  },
  "servers": [
    {
      "url": "https://employeelock-download-tracker.vibelock.workers.dev"
    }
  ],
  "paths": {
    "/v1/health": {
      "get": {
        "operationId": "employeelock_health",
        "summary": "Liveness. Does not increment download KV. Hosted never stores xlsx.",
        "responses": {
          "200": {
            "description": "ok"
          }
        }
      }
    },
    "/v1/append-preview": {
      "post": {
        "operationId": "employeelock_append-preview",
        "summary": "Hash a proposed LOG row without writing a file. Hosted never stores xlsx.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              },
              "example": {
                "event": "process outcome recorded with no named owner",
                "result": "row logged as format proof",
                "owner_named": "",
                "confidence": 0.7
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "canonical + row_hash"
          }
        }
      }
    },
    "/v1/verify-canonical": {
      "post": {
        "operationId": "employeelock_verify-canonical",
        "summary": "Recompute SHA-256 of posted canonical JSON (or fields). Not a truth score.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "ok + row_hash"
          }
        }
      }
    },
    "/v1/skill": {
      "get": {
        "operationId": "employeelock_skill",
        "summary": "Return EmployeeLock skill markdown. Does not increment downloads or views. Hosted never stores xlsx.",
        "responses": {
          "200": {
            "description": "text/markdown skill body"
          }
        }
      }
    }
  }
}