# win.tomo-x.rogaining.checkpoint

> A checkpoint belonging to 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.checkpoint)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.checkpoint/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.checkpoint/analytics)

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

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `description` (string)
  - Constraints: maxLength: 10000, maxGraphemes: 1000
- `event` (ref, required): The event this checkpoint belongs to.
  - Reference: `com.atproto.repo.strongRef`
- `image` (blob, required): Image of the checkpoint.
  - Constraints: maxSize: 2000000, accept: image/png, image/jpeg, image/webp
- `internalImages` (array, required): Internal images of the checkpoint, not shown to participants.
  - Constraints: maxLength: 10
  - `items` (blob)
    - Constraints: maxSize: 2000000, accept: image/png, image/jpeg, image/webp
- `isGoal` (boolean): Whether this checkpoint is the event finish. Goal submissions are not judged.
  - Constraints: default: false
- `location` (ref, required)
  - Reference: `win.tomo-x.rogaining.defs#location`
- `name` (string, required)
  - Constraints: maxLength: 1000, maxGraphemes: 100
- `point` (integer, required): Score awarded for reaching this checkpoint.
  - Constraints: minimum: 0
- `radiusMeters` (integer): Allowed distance from the location for a valid submission.
  - Constraints: minimum: 1, default: 30

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A checkpoint belonging to a rogaining event.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          },
          "event": {
            "description": "The event this checkpoint belongs to.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "image": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "description": "Image of the checkpoint.",
            "maxSize": 2000000,
            "type": "blob"
          },
          "internalImages": {
            "description": "Internal images of the checkpoint, not shown to participants.",
            "items": {
              "accept": [
                "image/png",
                "image/jpeg",
                "image/webp"
              ],
              "maxSize": 2000000,
              "type": "blob"
            },
            "maxLength": 10,
            "type": "array"
          },
          "isGoal": {
            "default": false,
            "description": "Whether this checkpoint is the event finish. Goal submissions are not judged.",
            "type": "boolean"
          },
          "location": {
            "ref": "win.tomo-x.rogaining.defs#location",
            "type": "ref"
          },
          "name": {
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "point": {
            "description": "Score awarded for reaching this checkpoint.",
            "minimum": 0,
            "type": "integer"
          },
          "radiusMeters": {
            "default": 30,
            "description": "Allowed distance from the location for a valid submission.",
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "event",
          "name",
          "point",
          "location",
          "createdAt",
          "image",
          "internalImages"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "win.tomo-x.rogaining.checkpoint",
  "lexicon": 1
}
```
