# win.tomo-x.rogaining.team

> Published by [tomo-x.win](https://lexicon.garden/identity/did:plc:qcwvyds5tixmcwkwrg3hxgxd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.team)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.team/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.team/examples)

## Definitions

### `win.tomo-x.rogaining.team`

**Type**: `record`

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`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `event` | `ref` → `com.atproto.repo.strongRef` | Yes | The event this team participates in. |
| `members` | `array` | Yes | DIDs of the team members. |
| `name` | `string` | Yes |  |

## Raw Schema

```json
{
  "$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
}
```
