{
  "protocol": "HHTTPS — Human-verified HTTPS",
  "version": "0.4.1",
  "initiative": "HumanProof",
  "contact": "daniel.hannuschka@tweakz.de",
  "github": "github.com/dhannus/HumanProof",
  "demo": "https://hhttps.org",
  "features": [
    "webauthn",
    "roles-15",
    "email-verification",
    "refresh-tokens",
    "token-revocation",
    "machine-tokens",
    "webhooks",
    "jwks",
    "discovery",
    "postgres-persistence"
  ],
  "security": {
    "algorithm": "ES256",
    "helmet": true,
    "rateLimiting": true,
    "revocation": true,
    "persistence": "postgres"
  },
  "stats": {
    "registeredPasskeys": 2,
    "activeTokens": 0,
    "activeRefreshTokens": 9,
    "activeSessions": 0,
    "revokedTokens": 1,
    "machineOperators": 0
  },
  "roles": [
    {
      "id": "citizen",
      "label": "Bürger",
      "icon": "🧑"
    },
    {
      "id": "journalist",
      "label": "Journalist",
      "icon": "📰"
    },
    {
      "id": "student",
      "label": "Schüler / Student",
      "icon": "🎓"
    },
    {
      "id": "teacher",
      "label": "Lehrer / Pädagoge",
      "icon": "👨‍🏫"
    },
    {
      "id": "researcher",
      "label": "Wissenschaftler",
      "icon": "🔬"
    },
    {
      "id": "creative",
      "label": "Kreativschaffender",
      "icon": "🎭"
    },
    {
      "id": "developer",
      "label": "Entwickler",
      "icon": "💻"
    },
    {
      "id": "medical_professional",
      "label": "Arzt / Medizinerin",
      "icon": "🩺"
    },
    {
      "id": "caregiver",
      "label": "Pflegekraft",
      "icon": "🤝"
    },
    {
      "id": "lawyer",
      "label": "Anwalt / Anwältin",
      "icon": "⚖️"
    },
    {
      "id": "notary",
      "label": "Notar",
      "icon": "📜"
    },
    {
      "id": "civil_servant",
      "label": "Beamte / Behörde",
      "icon": "🏛️"
    },
    {
      "id": "politician",
      "label": "Politiker / Mandatsträger",
      "icon": "🗳️"
    },
    {
      "id": "business",
      "label": "Unternehmen",
      "icon": "🏢"
    },
    {
      "id": "craftsman",
      "label": "Handwerker / Meister",
      "icon": "🔧"
    }
  ],
  "endpoints": {
    "GET  /.well-known/hhttps-configuration": "Discovery",
    "GET  /.well-known/jwks.json": "Public key (JWKS)",
    "POST /hhttps/check": "★ Human/machine + role check",
    "GET  /hhttps/roles": "Role registry (15 roles)",
    "POST /hhttps/webauthn/register/{start,finish}": "Passkey registration",
    "POST /hhttps/webauthn/auth/{start,finish}": "Passkey authentication",
    "POST /hhttps/token/refresh": "Refresh access token",
    "POST /hhttps/email/send": "Send email verification",
    "GET  /hhttps/email/verify": "Confirm email",
    "POST /hhttps/role/declare": "Declare role → token",
    "POST /hhttps/revoke": "Revoke token",
    "POST /hhttps/validate": "Validate token",
    "POST /hhttps/machine/{register,token}": "Machine token issuance",
    "GET/POST/DELETE /hhttps/webhooks": "Webhook management",
    "GET  /hhttps/stats": "Public aggregated stats"
  }
}