{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A team participating in a rogaining event. Created by the event organizer (the event's author), not by the participants themselves. Only valid when created by the DID that authored the referenced event. If a DID is a member of several teams in the same event, only the earliest created team (by createdAt) counts.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "event": {
            "description": "The event this team participates in.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "members": {
            "description": "DIDs of the team members.",
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 100,
            "minLength": 1,
            "type": "array"
          },
          "name": {
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          }
        },
        "required": [
          "event",
          "name",
          "members",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "win.tomo-x.rogaining.team",
  "lexicon": 1
}
