club.hellyeah.defs

Repository @hellyeah.club did:plc:ce2gpmv3q5a4xlnpt63e4nsn namespace authority
Details · defs
Kinddefs
Authorityhellyeah.club
Commit rev3mzz5zbgkkc2m
Indexed
cid bafyreig4lzj5ef2pc6mjq7mcjlrwcxezqyi4h3uqfrw7w27rzj7vsf6qoq

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "accountView": {
      "description": "An account as its owner sees it.",
      "properties": {
        "accountId": {
          "type": "string"
        },
        "admin": {
          "type": "boolean"
        },
        "did": {
          "description": "Unset for a claim made with email only.",
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "email": {
          "description": "Confirmed by a sign-in link.",
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        },
        "member": {
          "type": "boolean"
        },
        "notifiedAt": {
          "format": "datetime",
          "type": "string"
        },
        "notify": {
          "description": "Asked for the one invites email.",
          "type": "boolean"
        },
        "pendingEmail": {
          "description": "Sent a link, not yet opened.",
          "type": "string"
        },
        "waiting": {
          "type": "boolean"
        }
      },
      "required": [
        "accountId",
        "notify",
        "member",
        "waiting",
        "admin"
      ],
      "type": "object"
    },
    "aspectRatio": {
      "properties": {
        "height": {
          "minimum": 1,
          "type": "integer"
        },
        "width": {
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "width",
        "height"
      ],
      "type": "object"
    },
    "imageView": {
      "description": "An image from the cross-post, as Bluesky's AppView serves it.",
      "properties": {
        "alt": {
          "type": "string"
        },
        "aspectRatio": {
          "ref": "#aspectRatio",
          "type": "ref"
        },
        "fullsize": {
          "format": "uri",
          "type": "string"
        },
        "thumb": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "thumb",
        "fullsize",
        "alt"
      ],
      "type": "object"
    },
    "leaderboardEntry": {
      "properties": {
        "actor": {
          "ref": "#profileViewBasic",
          "type": "ref"
        },
        "rank": {
          "minimum": 1,
          "type": "integer"
        },
        "run": {
          "ref": "#runView",
          "type": "ref"
        }
      },
      "required": [
        "rank",
        "actor",
        "run"
      ],
      "type": "object"
    },
    "memberView": {
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        },
        "invitedBy": {
          "ref": "#profileViewBasic",
          "type": "ref"
        },
        "removed": {
          "type": "boolean"
        }
      },
      "required": [
        "did",
        "handle",
        "removed"
      ],
      "type": "object"
    },
    "postView": {
      "properties": {
        "author": {
          "ref": "#profileViewBasic",
          "type": "ref"
        },
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "counted": {
          "description": "Another member's hell yeah has made this post count.",
          "type": "boolean"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "crosspost": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "crosspostTo": {
          "description": "The author's cross-post app, with its url reduced to an https origin. Unset when the author has none, or none that is valid.",
          "ref": "club.hellyeah.settings#app",
          "type": "ref"
        },
        "images": {
          "items": {
            "ref": "#imageView",
            "type": "ref"
          },
          "maxLength": 4,
          "type": "array"
        },
        "text": {
          "maxGraphemes": 1000,
          "maxLength": 10000,
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        },
        "viewer": {
          "ref": "#viewerState",
          "type": "ref"
        },
        "visitorYeahCount": {
          "description": "Hell yeahs from accounts that aren't members. They show but never count.",
          "minimum": 0,
          "type": "integer"
        },
        "witnessedAt": {
          "description": "When the app view first saw the post. This is the time that counts.",
          "format": "datetime",
          "type": "string"
        },
        "yeahCount": {
          "description": "Hell yeahs from members other than the author.",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "uri",
        "cid",
        "author",
        "text",
        "createdAt",
        "witnessedAt",
        "counted",
        "yeahCount",
        "visitorYeahCount"
      ],
      "type": "object"
    },
    "profileView": {
      "properties": {
        "avatar": {
          "format": "uri",
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        },
        "invitePrice": {
          "description": "Hell yeahs received per invite earned, at the club's size now. Members only.",
          "minimum": 1,
          "type": "integer"
        },
        "inviteProgress": {
          "description": "Hell yeahs received toward the next invite. Members only.",
          "minimum": 0,
          "type": "integer"
        },
        "invites": {
          "description": "Unused invites. Members only.",
          "minimum": 0,
          "type": "integer"
        },
        "member": {
          "description": "On the allowlist, so able to post.",
          "type": "boolean"
        },
        "protectors": {
          "description": "Streak protectors held. Members only.",
          "minimum": 0,
          "type": "integer"
        },
        "run": {
          "description": "The current run, if any.",
          "ref": "#runView",
          "type": "ref"
        },
        "waiting": {
          "description": "Claimed a profile and waiting for an invite: never on the allowlist.",
          "type": "boolean"
        }
      },
      "required": [
        "did",
        "handle",
        "member"
      ],
      "type": "object"
    },
    "profileViewBasic": {
      "properties": {
        "avatar": {
          "format": "uri",
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        }
      },
      "required": [
        "did",
        "handle"
      ],
      "type": "object"
    },
    "reportView": {
      "properties": {
        "hidden": {
          "type": "boolean"
        },
        "post": {
          "ref": "#postView",
          "type": "ref"
        },
        "reportCount": {
          "description": "Reports counted, one per invite branch.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "post",
        "reportCount",
        "hidden"
      ],
      "type": "object"
    },
    "runEnd": {
      "properties": {
        "endedAt": {
          "description": "The deadline that was missed.",
          "format": "datetime",
          "type": "string"
        },
        "mode": {
          "ref": "#runMode",
          "type": "ref"
        },
        "run": {
          "description": "The club.hellyeah.run record.",
          "format": "at-uri",
          "type": "string"
        },
        "startedAt": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "run",
        "mode",
        "startedAt",
        "endedAt"
      ],
      "type": "object"
    },
    "runMode": {
      "description": "passive: misses show but the run never ends. strikes: the third miss ends the run. hardcore: the first miss ends the run.",
      "knownValues": [
        "passive",
        "strikes",
        "hardcore"
      ],
      "type": "string"
    },
    "runView": {
      "properties": {
        "days": {
          "description": "Whole days since the run started.",
          "minimum": 0,
          "type": "integer"
        },
        "deadline": {
          "description": "When the next counted check-in is due.",
          "format": "datetime",
          "type": "string"
        },
        "mode": {
          "ref": "#runMode",
          "type": "ref"
        },
        "startedAt": {
          "description": "When the app view first saw the run record.",
          "format": "datetime",
          "type": "string"
        },
        "strikes": {
          "minimum": 0,
          "type": "integer"
        },
        "uri": {
          "description": "The club.hellyeah.run record.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "mode",
        "startedAt",
        "days",
        "strikes",
        "deadline"
      ],
      "type": "object"
    },
    "viewerState": {
      "properties": {
        "yeah": {
          "description": "The viewer's hell yeah on this post, if any.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "type": "object"
    },
    "waitingView": {
      "properties": {
        "claimedAt": {
          "format": "datetime",
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        }
      },
      "required": [
        "did",
        "handle",
        "claimedAt"
      ],
      "type": "object"
    }
  },
  "id": "club.hellyeah.defs",
  "lexicon": 1
}