com.professorbutts.sports.team
rkey is league-abbreviation lowercase, e.g. nfl-cin, cfb-cin, f1-mclaren
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | sports.professorbutts.com |
| Commit rev | 3n2tjcnh7js2j |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "rkey is league-abbreviation lowercase, e.g. nfl-cin, cfb-cin, f1-mclaren",
"key": "any",
"record": {
"properties": {
"abbreviation": {
"maxLength": 8,
"type": "string"
},
"ageGroup": {
"description": "'senior' (or left out) is the main adult side. Age-limited sides use 'under-NN', e.g. 'under-20'. Not golf's over-50 'senior' tours.",
"knownValues": [
"senior",
"under-23",
"under-21",
"under-20",
"under-19",
"under-18"
],
"maxLength": 32,
"type": "string"
},
"aliases": {
"items": {
"maxLength": 64,
"type": "string"
},
"maxLength": 16,
"type": "array"
},
"color": {
"maxLength": 7,
"type": "string"
},
"conference": {
"maxLength": 64,
"type": "string"
},
"discipline": {
"description": "Adaptive variant, e.g. 'wheelchair'. Leave out (or 'standard') for the standard game. Formats such as rugby sevens are told apart by their league, not here.",
"knownValues": [
"standard",
"wheelchair",
"intellectual-disability",
"physical-disability"
],
"maxLength": 32,
"type": "string"
},
"division": {
"maxLength": 64,
"type": "string"
},
"externalIds": {
"items": {
"ref": "com.professorbutts.sports.defs#externalId",
"type": "ref"
},
"maxLength": 16,
"type": "array"
},
"gender": {
"description": "Men's, women's or mixed side, same values as league.gender, so a reader doesn't have to look up the league.",
"knownValues": [
"men",
"women",
"mixed"
],
"maxLength": 16,
"type": "string"
},
"league": {
"maxLength": 32,
"type": "string"
},
"location": {
"maxLength": 64,
"type": "string"
},
"logoUrl": {
"format": "uri",
"maxLength": 512,
"type": "string"
},
"memberships": {
"description": "League level, conference and division by season, newest first. conference and division above stay the current ones.",
"items": {
"ref": "com.professorbutts.sports.defs#membership",
"type": "ref"
},
"maxLength": 32,
"type": "array"
},
"name": {
"maxLength": 128,
"type": "string"
},
"officialAccounts": {
"description": "The team's own Bluesky accounts, with evidence. profile, above, holds the primary account's DID.",
"items": {
"ref": "com.professorbutts.sports.defs#officialAccount",
"type": "ref"
},
"maxLength": 8,
"type": "array"
},
"parent": {
"format": "at-uri",
"type": "string"
},
"profile": {
"format": "did",
"type": "string"
},
"secondaryColor": {
"maxLength": 7,
"type": "string"
},
"shortName": {
"maxLength": 64,
"type": "string"
},
"source": {
"maxLength": 64,
"type": "string"
},
"sport": {
"maxLength": 64,
"type": "string"
},
"status": {
"description": "Leave out (or 'active') for a current team. 'inactive': not playing for now but expected back, e.g. a program on hiatus. 'retired': gone for good. 'superseded': another record replaces this one; see successor. Readers treat unknown values like 'active' and never drop a reference because of status.",
"knownValues": [
"active",
"inactive",
"retired",
"superseded"
],
"maxLength": 32,
"type": "string"
},
"successor": {
"description": "The team record that replaces this one, e.g. a duplicate merged into it. A rename or relocation keeps its record (fields change and an 'old:' alias is added), so it doesn't use this. References to this record keep resolving. Readers stop following after a few hops or on a cycle.",
"format": "at-uri",
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
},
"venue": {
"maxLength": 256,
"type": "string"
},
"website": {
"format": "uri",
"maxLength": 512,
"type": "string"
}
},
"required": [
"name",
"sport",
"league",
"updatedAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "com.professorbutts.sports.team",
"lexicon": 1
}