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