Checkpoint before e2e test

This commit is contained in:
Richard Lee
2026-04-06 15:08:56 -07:00
parent 24ce07949e
commit 9f3986e6b4
20 changed files with 1280 additions and 174 deletions

View File

@@ -1,17 +1,79 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"CodexAvatarBoxOddsBucket": {
"properties": {
"bucketId": {
"type": "string"
},
"label": {
"type": "string"
},
"probabilityPercent": {
"format": "int64",
"type": "integer"
}
},
"required": [
"bucketId",
"label",
"probabilityPercent"
],
"type": "object"
},
"CodexAvatarBoxRules": {
"properties": {
"guaranteedNewThreshold": {
"format": "int64",
"type": "integer"
},
"legendaryPityThreshold": {
"format": "int64",
"type": "integer"
},
"odds": {
"items": {
"$ref": "#/definitions/CodexAvatarBoxOddsBucket"
},
"type": "array"
},
"oddsTableVersion": {
"type": "string"
},
"rareOrBetterPityThreshold": {
"format": "int64",
"type": "integer"
},
"rulesetVersion": {
"type": "string"
}
},
"required": [
"guaranteedNewThreshold",
"legendaryPityThreshold",
"odds",
"oddsTableVersion",
"rareOrBetterPityThreshold",
"rulesetVersion"
],
"type": "object"
},
"CodexAvatarDefinition": {
"properties": {
"accentClassName": {
"type": "string"
},
"assetRef": {
"type": "string"
},
"avatarId": {
"type": "string"
},
"createdAt": {
"format": "int64",
"type": "integer"
"collectionDescription": {
"type": "string"
},
"collectionName": {
"type": "string"
},
"description": {
"type": "string"
@@ -19,10 +81,16 @@
"displayName": {
"type": "string"
},
"isProgressVisible": {
"type": "boolean"
},
"lore": {
"type": "string"
},
"rarity": {
"$ref": "#/definitions/CodexAvatarRarity"
},
"slug": {
"silhouetteGlowClassName": {
"type": "string"
},
"sortOrder": {
@@ -31,23 +99,22 @@
},
"status": {
"$ref": "#/definitions/CodexAvatarStatus"
},
"updatedAt": {
"format": "int64",
"type": "integer"
}
},
"required": [
"accentClassName",
"assetRef",
"avatarId",
"createdAt",
"collectionDescription",
"collectionName",
"description",
"displayName",
"isProgressVisible",
"lore",
"rarity",
"slug",
"silhouetteGlowClassName",
"sortOrder",
"status",
"updatedAt"
"status"
],
"type": "object"
},
@@ -59,14 +126,6 @@
"avatarId": {
"type": "string"
},
"firstUnlockedAt": {
"format": "int64",
"type": "integer"
},
"lastAwardedAt": {
"format": "int64",
"type": "integer"
},
"sourceSummary": {
"type": [
"string",
@@ -76,9 +135,33 @@
},
"required": [
"accountUserId",
"avatarId",
"firstUnlockedAt",
"lastAwardedAt"
"avatarId"
],
"type": "object"
},
"CodexAvatarPityState": {
"properties": {
"guaranteedNewAvailable": {
"type": "boolean"
},
"nonNewOutcomeStreak": {
"format": "int64",
"type": "integer"
},
"rollsSinceLegendary": {
"format": "int64",
"type": "integer"
},
"rollsSinceRareOrBetter": {
"format": "int64",
"type": "integer"
}
},
"required": [
"guaranteedNewAvailable",
"nonNewOutcomeStreak",
"rollsSinceLegendary",
"rollsSinceRareOrBetter"
],
"type": "object"
},
@@ -91,6 +174,58 @@
],
"type": "string"
},
"CodexAvatarRevealAward": {
"properties": {
"awardId": {
"type": "string"
},
"awardedAt": {
"format": "int64",
"type": "integer"
},
"metadataJson": {
"type": [
"string",
"null"
]
},
"outcomeAvatarId": {
"type": [
"string",
"null"
]
},
"outcomeKind": {
"type": "string"
},
"pityStateAfter": {
"$ref": "#/definitions/CodexAvatarPityState"
},
"sourceRef": {
"type": [
"string",
"null"
]
},
"sourceSummary": {
"type": [
"string",
"null"
]
},
"sourceType": {
"type": "string"
}
},
"required": [
"awardId",
"awardedAt",
"outcomeKind",
"pityStateAfter",
"sourceType"
],
"type": "object"
},
"CodexAvatarStatus": {
"enum": [
"active",
@@ -110,16 +245,8 @@
},
"type": "array"
},
"catalogVersion": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"equippedAt": {
"format": "int64",
"type": "integer"
"boxRules": {
"$ref": "#/definitions/CodexAvatarBoxRules"
},
"equippedAvatarId": {
"type": "string"
@@ -130,9 +257,14 @@
},
"type": "array"
},
"syncedAt": {
"format": "int64",
"type": "integer"
"pendingRevealAwards": {
"items": {
"$ref": "#/definitions/CodexAvatarRevealAward"
},
"type": "array"
},
"pityState": {
"$ref": "#/definitions/CodexAvatarPityState"
},
"updatedAt": {
"format": "int64",
@@ -142,10 +274,11 @@
"required": [
"accountUserId",
"avatarDefinitions",
"equippedAt",
"boxRules",
"equippedAvatarId",
"ownedAvatars",
"syncedAt",
"pendingRevealAwards",
"pityState",
"updatedAt"
],
"title": "CodexAvatarInventoryReadResponse",