football.tools.formguide.preferences

tools.football

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "favoriteTeam": {
      "description": "A team the user follows, scoped to a specific league.",
      "properties": {
        "addedAt": {
          "description": "When this team was added to favorites.",
          "format": "datetime",
          "type": "string"
        },
        "league": {
          "description": "League slug as used in the Form Guide URL (e.g. mls, nwsl, epl).",
          "maxLength": 64,
          "type": "string"
        },
        "name": {
          "description": "Denormalized display name at the time the team was added. Hint for consumers; the league/slug pair is the canonical key.",
          "maxLength": 200,
          "type": "string"
        },
        "slug": {
          "description": "Team slug — lowercased, hyphenated form of the team's display name. Unique within a league.",
          "maxLength": 128,
          "type": "string"
        }
      },
      "required": [
        "league",
        "slug"
      ],
      "type": "object"
    },
    "main": {
      "key": "literal:self",
      "record": {
        "properties": {
          "createdAt": {
            "description": "When the preferences record was first created.",
            "format": "datetime",
            "type": "string"
          },
          "favoriteTeams": {
            "description": "Teams the user follows. Order is significant — clients should preserve it for display.",
            "items": {
              "ref": "#favoriteTeam",
              "type": "ref"
            },
            "maxLength": 100,
            "type": "array"
          },
          "updatedAt": {
            "description": "When the preferences record was last modified.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Per-user preferences for the Form Guide app at https://formguide.tools.football. Singleton record (rkey=self) stored in the user's PDS.",
  "id": "football.tools.formguide.preferences",
  "lexicon": 1
}

Validate Record

Validate a record against football.tools.formguide.preferences

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:gf5c6ljx4funa5dih76gd25t
CID
bafyreicodoggjo7iyydwtoo7vyt53zqgbcoj6eussiaqiywqzavfbgt6ae
Indexed At
2026-04-20 14:14 UTC
AT-URI
at://did:plc:gf5c6ljx4funa5dih76gd25t/com.atproto.lexicon.schema/football.tools.formguide.preferences

Similar Lexicons

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

  • A public singleton record containing a viewer's favorite MLB players and teams for dinger.tv and compatible AT Protocol apps.

Lexicon Garden

@