{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A maimai DX player profile",
      "key": "literal:self",
      "record": {
        "properties": {
          "classCP": {
            "minimum": 0,
            "type": "integer"
          },
          "classImage": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "comment": {
            "maxLength": 128,
            "type": "string"
          },
          "courseImage": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "dan": {
            "maxLength": 32,
            "type": "string"
          },
          "friendCode": {
            "maxLength": 16,
            "type": "string"
          },
          "partnerImage": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "playerName": {
            "maxLength": 8,
            "type": "string"
          },
          "profileImage": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "rating": {
            "minimum": 0,
            "type": "integer"
          },
          "ratingPlateImage": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "stars": {
            "minimum": 0,
            "type": "integer"
          },
          "title": {
            "maxLength": 64,
            "type": "string"
          },
          "titleRarity": {
            "maxLength": 16,
            "type": "string"
          },
          "trophyPlateImage": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "playerName",
          "rating",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.derakkuma.profile",
  "lexicon": 1
}
