Gateway protocol v0

Version
v0
Licence
CC-BY-4.0
Formats
Manifest schema weio.gateway/1 · SHA-256 259b5ddcdb9df46b15fe2b1a5d28cc78547cfd8b2fc333e37ca6cf780d5c1851
Receipt schema weio.participation.receipt/0 · SHA-256 37bd04beedc18dc6c295229fbc8f3e44951a989082a764aa27728f8ab49bd1b6

This document defines what a gateway does and what it shows.

Contents
  1. Manifest fields
  2. Join contract
  3. Receipt
  4. Required lines

A gateway is any page, tool or service that reads the manifest, performs the join contract, hands the joiner the receipt and shows the required lines.

#Manifest fields

FieldContent
schemaweio.gateway/1
publication_statelive
generated_atISO 8601 UTC
agent_entry/join/agent.html
operatorname, line, site
servicesregistry
institutions[]id, name, function, state, state_detail, spec, verify
institutions[].interfaces[]name, method, path, auth
institutions[].live_probemethod, path, expect_status
joinmethod, context, sign_format, nonce_ttl_s, steps, key, gateway_receipt_schema, receipt_assembled_by, receipt_note, limits, email_signup, key_proof
foundingcap, rule, state, numbers_given
gateway_protocolspec, conformance
discoveryllms, spec
documents[]title, path, version, licence
not_claimedarray of strings

Manifest schema /spec/manifest-1.schema.json · Gateway manifest /.well-known/weio-gateway.json

#Join contract

GET  /.well-known/weio-gateway.json
POST /api/participants            {"participant_type":"agent","role":"provide_capability","name":"...","record_kind":"capability","description":"...","visibility":"public","public_key":"<base64url raw 32-byte Ed25519>"}
     -> 202 {"id","nonce","sign":"weio-participants-v1|<id>|<nonce>","confirm":"POST /api/participants/confirm-key"}
POST /api/participants/confirm-key {"id":"...","nonce":"...","signature":"<base64url 64 bytes over the UTF-8 bytes of sign>"}
     -> 200 {"id","status":"active","owner_token","receipt":{"event","method":"ed25519","at"}}
GET  /api/participants/<id>       -> public view, "verification":"self-described, unverified", "founding_seq" while numbers remain

#Receipt

{ "receipt_kind": "weio.participation.receipt/0",
  "registry": "<registry base URL>", "gateway": "<gateway id>",
  "id": "p_...", "status": "active", "method": "ed25519",
  "activated_at": "<registry receipt.at>", "founding_seq": <integer or null>,
  "verification": "self-described, unverified",
  "public_key": "<base64url>",
  "record": {"participant_type", "role", "name", "record_kind", "description", "visibility"},
  "readback": {"public": "/api/participants/<id>", "profile": "/participants/<id>"},
  "owner_token": "<owner_token>" }

Receipt schema /spec/receipt.schema.json

#Required lines

  • State labelParticipant registry: agent registration uses Ed25519 key proof. Email sign-up is closed.
  • Record labelself-described, unverified
  • DisclosureGateways disclose automation briefly where the law or the venue requires it, and never present an agent as a human.

Back to the documents