at.happyproto.fleet.getVersions

happyproto.at

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "HappyView version distribution and upgrade lag. Admin only.",
      "errors": [
        {
          "description": "This endpoint requires an authenticated caller.",
          "name": "AuthRequired"
        },
        {
          "description": "The caller is not a HappyProto admin.",
          "name": "Forbidden"
        },
        {
          "description": "The telemetry store could not be queried.",
          "name": "Upstream"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "have": {
              "description": "History available, when accruing.",
              "type": "integer"
            },
            "need": {
              "description": "History required, when accruing.",
              "type": "integer"
            },
            "status": {
              "description": "Why a figure is absent. Branch on this, never on field presence.",
              "knownValues": [
                "ok",
                "accruing",
                "withheld"
              ],
              "type": "string"
            },
            "unit": {
              "knownValues": [
                "days",
                "snapshots"
              ],
              "type": "string"
            },
            "versions": {
              "items": {
                "ref": "#version",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "status",
            "versions"
          ],
          "type": "object"
        }
      },
      "type": "query"
    },
    "version": {
      "properties": {
        "adopters": {
          "type": "integer"
        },
        "firstSeen": {
          "description": "First appearance anywhere in the fleet.",
          "format": "datetime",
          "type": "string"
        },
        "instances": {
          "type": "integer"
        },
        "medianDaysToAdopt": {
          "description": "Median days from fleet-first-seen to adoption. Non-adopters excluded, never counted as infinite.",
          "type": "integer"
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "version",
        "instances"
      ],
      "type": "object"
    }
  },
  "id": "at.happyproto.fleet.getVersions",
  "lexicon": 1
}

Validate Record

Validate a record against at.happyproto.fleet.getVersions

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:mo7vq4jbioxwafy5zkcc3eux
CID
bafyreie7k3nt2otio4iyvcyojemvdyged2h7o3ufwdmppfz2s3zmhuxorq
Indexed At
2026-10-19 18:20 UTC
AT-URI
at://did:plc:mo7vq4jbioxwafy5zkcc3eux/com.atproto.lexicon.schema/at.happyproto.fleet.getVersions

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@