{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Taking part in a challenge, with the days studied while it runs.",
      "key": "tid",
      "record": {
        "properties": {
          "challenge": {
            "description": "AT-URI of the challenge.",
            "format": "at-uri",
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "days": {
            "description": "Local dates (YYYY-MM-DD) with at least one study session during the challenge.",
            "items": {
              "maxGraphemes": 10,
              "maxLength": 100,
              "type": "string"
            },
            "maxLength": 400,
            "type": "array"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "challenge",
          "days",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "space.opendeck.challengeEntry",
  "lexicon": 1
}
