com.professorbutts.sports.affiliation

rkey is personRkey-teamRkey-role-season

Details · record, key any
Kindrecord
Record keyany
Authoritysports.professorbutts.com
Commit rev3n2mt6m2e332m
Indexed
cid bafyreifjamgnbhmyd7pdxk46lbvf35qfk27zh2ylxkrhnjq5o3bzfoezee

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "rkey is personRkey-teamRkey-role-season",
      "key": "any",
      "record": {
        "properties": {
          "number": {
            "maxLength": 4,
            "type": "string"
          },
          "person": {
            "format": "at-uri",
            "type": "string"
          },
          "position": {
            "maxLength": 32,
            "type": "string"
          },
          "role": {
            "knownValues": [
              "player",
              "driver",
              "coach",
              "manager",
              "caddie"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "season": {
            "maxLength": 32,
            "type": "string"
          },
          "source": {
            "maxLength": 64,
            "type": "string"
          },
          "team": {
            "format": "at-uri",
            "type": "string"
          },
          "term": {
            "ref": "com.professorbutts.sports.defs#dateRange",
            "type": "ref"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "person",
          "team",
          "role",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.professorbutts.sports.affiliation",
  "lexicon": 1
}