link.jetbridge.provider

A provider's offer of ingress to other people's services over TLS. Lives in the provider's repo. The repo's DID identifies the provider.

Repository @jetbridge.link did:web:jetbridge.link namespace authority
Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authorityjetbridge.link
Commit rev3n2xlva6eta22
Indexed
cid bafyreibvzlxah46xdevgnlop7otpde67nzjpj4fdslkaqdbfg45r3nkdge

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "limits": {
      "properties": {
        "maxHostnames": {
          "description": "Most hostnames one client may serve at once.",
          "minimum": 1,
          "type": "integer"
        },
        "trafficCap": {
          "description": "Caps on one Client's traffic, each over a rolling period. Left out when there is no cap. If a Client's traffic goes over any cap during its period, the Client must expect the Provider to throttle or cut its connections.",
          "items": {
            "ref": "#trafficCap",
            "type": "ref"
          },
          "maxLength": 14,
          "minLength": 0,
          "type": "array"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "A provider's offer of ingress to other people's services over TLS. Lives in the provider's repo. The repo's DID identifies the provider.",
      "key": "literal:self",
      "record": {
        "properties": {
          "activePolicies": {
            "description": "The link.jetbridge.policy records a Client may accept, in the Provider's order of preference. A Client must accept one of them.",
            "items": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            },
            "maxLength": 16,
            "minLength": 1,
            "type": "array"
          },
          "admission": {
            "description": "Who may open a tunnel: open (anyone), approval (Clients with an unexpired link.jetbridge.approval record) or closed (by out-of-band invitation only).",
            "knownValues": [
              "open",
              "approval",
              "closed"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "ingress": {
            "description": "IPv4 and IPv6 addresses that clients write to their A and AAAA records.",
            "items": {
              "maxLength": 45,
              "type": "string"
            },
            "maxLength": 32,
            "minLength": 1,
            "type": "array"
          },
          "limits": {
            "description": "Default limits for every Client.",
            "ref": "#limits",
            "type": "ref"
          },
          "operator": {
            "description": "The atproto account of whoever runs this Provider.",
            "format": "did",
            "type": "string"
          },
          "ports": {
            "description": "TCP ports, besides 443, on which visitors reach Clients' hostnames over TLS.",
            "items": {
              "maximum": 65535,
              "minimum": 1,
              "type": "integer"
            },
            "maxLength": 32,
            "type": "array"
          },
          "protocol": {
            "description": "The protocol version this Provider accepts.",
            "knownValues": [
              "jetbridge+frp-v2"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "version": {
            "description": "The Jetbridge release this Provider runs.",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "protocol",
          "ingress",
          "admission",
          "activePolicies",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "trafficCap": {
      "description": "A cap on the traffic of all of one Client's hostnames together, in one direction, over a rolling period.",
      "properties": {
        "bytes": {
          "description": "The most bytes the Client may send in this direction during the period.",
          "minimum": 1,
          "type": "integer"
        },
        "direction": {
          "description": "ingress: bytes from visitors to the Client via the Provider. egress: bytes from the Client to visitors via the Provider.",
          "enum": [
            "ingress",
            "egress"
          ],
          "maxLength": 16,
          "type": "string"
        },
        "timespan": {
          "description": "The length of the rolling period the Provider will limit over.",
          "knownValues": [
            "1s",
            "1h",
            "6h",
            "1d",
            "7d",
            "30d",
            "365d"
          ],
          "maxLength": 16,
          "type": "string"
        }
      },
      "required": [
        "direction",
        "bytes",
        "timespan"
      ],
      "type": "object"
    }
  },
  "id": "link.jetbridge.provider",
  "lexicon": 1
}