computer.haha.san.hub

san.haha.computer

Documentation

Declares the author's hub: where it is, and which key speaks for it. One record does discovery, authentication and revocation — update or delete it and the old key is dead.

main record

Declares the author's hub: where it is, and which key speaks for it. One record does discovery, authentication and revocation — update or delete it and the old key is dead.

Record Key literal:self Fixed literal value

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

endpoint string uri Required

Base URL of the hub. Where other hubs send federated requests.

publicKey object Required

Public half of the hub's federation signing key, as a JWK.

updatedAt string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "key": "literal:self",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "endpoint",
      "publicKey",
      "createdAt",
      "updatedAt"
    ],
    "properties": {
      "endpoint": {
        "type": "string",
        "format": "uri",
        "description": "Base URL of the hub. Where other hubs send federated requests."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "publicKey": {
        "type": "object",
        "required": [
          "kty",
          "crv",
          "x",
          "y",
          "kid",
          "alg",
          "use"
        ],
        "properties": {
          "x": {
            "type": "string"
          },
          "y": {
            "type": "string"
          },
          "alg": {
            "type": "string"
          },
          "crv": {
            "type": "string"
          },
          "kid": {
            "type": "string"
          },
          "kty": {
            "type": "string"
          },
          "use": {
            "type": "string"
          }
        },
        "description": "Public half of the hub's federation signing key, as a JWK."
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "Declares the author's hub: where it is, and which key speaks for it. One record does discovery, authentication and revocation — update or delete it and the old key is dead."
}

Lexicon Garden

@