# win.tomo-x.rogaining.event

> A rogaining event.

- Kind: record
- Record key: tid
- Authority: rogaining.tomo-x.win
- Lexicon: 1
- Published by [tomo-x.win](https://lexicon.garden/identity/did:plc:qcwvyds5tixmcwkwrg3hxgxd), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.event)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.event/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.event/analytics)

## Record (`win.tomo-x.rogaining.event`)

Type: record · key tid

### Properties

- `approver` (string · did, required): The DID of the user who can approve submissions for this event.
- `createdAt` (string · datetime, required)
- `description` (string)
  - Constraints: maxLength: 30000, maxGraphemes: 3000
- `endsAt` (string · datetime, required): When the event ends.
- `image` (blob)
  - Constraints: maxSize: 1000000, accept: image/png, image/jpeg, image/webp
- `name` (string, required)
  - Constraints: maxLength: 1000, maxGraphemes: 100
- `startsAt` (string · datetime, required): When the event starts.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A rogaining event.",
      "key": "tid",
      "record": {
        "properties": {
          "approver": {
            "description": "The DID of the user who can approve submissions for this event.",
            "format": "did",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "maxGraphemes": 3000,
            "maxLength": 30000,
            "type": "string"
          },
          "endsAt": {
            "description": "When the event ends.",
            "format": "datetime",
            "type": "string"
          },
          "image": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "name": {
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "startsAt": {
            "description": "When the event starts.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "name",
          "startsAt",
          "endsAt",
          "createdAt",
          "approver"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "win.tomo-x.rogaining.event",
  "lexicon": 1
}
```
