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