{
"id": "com.derakkuma.chart",
"defs": {
"main": {
"key": "any",
"type": "record",
"record": {
"type": "object",
"required": [
"song",
"songId",
"type",
"difficulty",
"level",
"updatedAt"
],
"properties": {
"song": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"type": {
"enum": [
"std",
"dx",
"utage"
],
"type": "string"
},
"level": {
"type": "string",
"maxLength": 8
},
"songId": {
"type": "string",
"maxLength": 256
},
"regions": {
"ref": "#regions",
"type": "ref"
},
"version": {
"type": "string",
"maxLength": 128
},
"updatedAt": {
"type": "string",
"format": "datetime"
},
"difficulty": {
"type": "string",
"maxLength": 32
},
"levelValue": {
"type": "string",
"maxLength": 16
},
"noteCounts": {
"ref": "#noteCounts",
"type": "ref"
},
"noteDesigner": {
"type": "string",
"maxLength": 128
},
"internalLevel": {
"type": "string",
"maxLength": 16
},
"internalLevelValue": {
"type": "string",
"maxLength": 16
}
}
},
"description": "Canonical maimai chart metadata linked to a canonical Derakkuma song"
},
"regions": {
"type": "object",
"properties": {
"cn": {
"type": "boolean"
},
"jp": {
"type": "boolean"
},
"usa": {
"type": "boolean"
},
"intl": {
"type": "boolean"
}
}
},
"noteCounts": {
"type": "object",
"properties": {
"tap": {
"type": "integer",
"minimum": 0
},
"hold": {
"type": "integer",
"minimum": 0
},
"break": {
"type": "integer",
"minimum": 0
},
"slide": {
"type": "integer",
"minimum": 0
},
"total": {
"type": "integer",
"minimum": 0
},
"touch": {
"type": "integer",
"minimum": 0
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}