{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A quiz team",
      "key": "tid",
      "record": {
        "properties": {
          "avatar": {
            "accept": [
              "image/png",
              "image/jpeg"
            ],
            "description": "Small image to be displayed near the team name",
            "maxSize": 1500000,
            "type": "blob"
          },
          "avatarAlt": {
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          },
          "members": {
            "description": "DIDs of team members",
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 20,
            "minLength": 1,
            "type": "array"
          },
          "name": {
            "description": "Team name",
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          }
        },
        "required": [
          "name",
          "members"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "pub.quizzy.team",
  "lexicon": 1
}
