# win.tomo-x.rogaining.submit

> 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.submit)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.submit/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.submit/examples)

## Definitions

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

**Type**: `record`

A participant's proof of reaching a checkpoint. Ignored unless the author is a member of a team in the event. Results are shared within the team.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `checkpoint` | `ref` → `com.atproto.repo.strongRef` | Yes | The checkpoint that was reached. |
| `createdAt` | `string` (datetime) | Yes | When the checkpoint was reached. |
| `event` | `ref` → `com.atproto.repo.strongRef` | Yes | The event being participated in. |
| `location` | `ref` → `win.tomo-x.rogaining.defs#location` | Yes | Where the participant was when submitting. |
| `photo` | `blob` | Yes | Photo as proof of arrival. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A participant's proof of reaching a checkpoint. Ignored unless the author is a member of a team in the event. Results are shared within the team.",
      "key": "tid",
      "record": {
        "properties": {
          "checkpoint": {
            "description": "The checkpoint that was reached.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "createdAt": {
            "description": "When the checkpoint was reached.",
            "format": "datetime",
            "type": "string"
          },
          "event": {
            "description": "The event being participated in.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "location": {
            "description": "Where the participant was when submitting.",
            "ref": "win.tomo-x.rogaining.defs#location",
            "type": "ref"
          },
          "photo": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "description": "Photo as proof of arrival.",
            "maxSize": 2000000,
            "type": "blob"
          }
        },
        "required": [
          "event",
          "checkpoint",
          "createdAt",
          "photo",
          "location"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "win.tomo-x.rogaining.submit",
  "lexicon": 1
}
```
