at.happyproto.fleet.getHostMix

happyproto.at

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "coverage": {
      "properties": {
        "of": {
          "description": "A count over twelve of thirty instances is a different claim from a count over thirty.",
          "type": "integer"
        },
        "sharing": {
          "type": "integer"
        }
      },
      "required": [
        "sharing",
        "of"
      ],
      "type": "object"
    },
    "fact": {
      "properties": {
        "instances": {
          "type": "integer"
        },
        "key": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "key",
        "value",
        "instances"
      ],
      "type": "object"
    },
    "main": {
      "description": "Categorical host facts across the fleet, with consent coverage. Keys whose values vary per instance, or that carry embedded documents, are named but not enumerated. 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": {
            "coverage": {
              "ref": "#coverage",
              "type": "ref"
            },
            "facts": {
              "description": "Only keys whose values repeat across instances. A value seen once per instance is a measurement, not a category.",
              "items": {
                "ref": "#fact",
                "type": "ref"
              },
              "type": "array"
            },
            "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"
            },
            "varying": {
              "description": "Host keys that are not a mix: values differ per instance, or are JSON documents. Named so a reader knows the key exists, without rendering one row per instance.",
              "items": {
                "ref": "#varyingKey",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "status",
            "coverage",
            "facts",
            "varying"
          ],
          "type": "object"
        }
      },
      "type": "query"
    },
    "varyingKey": {
      "properties": {
        "distinctValues": {
          "type": "integer"
        },
        "key": {
          "type": "string"
        }
      },
      "required": [
        "key",
        "distinctValues"
      ],
      "type": "object"
    }
  },
  "id": "at.happyproto.fleet.getHostMix",
  "lexicon": 1
}

Validate Record

Validate a record against at.happyproto.fleet.getHostMix

Validation Options
Treat any remaining unresolved references as valid

Metadata

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

Similar Lexicons

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

Lexicon Garden

@