mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
286 lines
5.9 KiB
JSON
286 lines
5.9 KiB
JSON
{
|
|
"$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"
|
|
},
|
|
"collectionDescription": {
|
|
"type": "string"
|
|
},
|
|
"collectionName": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"displayName": {
|
|
"type": "string"
|
|
},
|
|
"isProgressVisible": {
|
|
"type": "boolean"
|
|
},
|
|
"lore": {
|
|
"type": "string"
|
|
},
|
|
"rarity": {
|
|
"$ref": "#/definitions/CodexAvatarRarity"
|
|
},
|
|
"silhouetteGlowClassName": {
|
|
"type": "string"
|
|
},
|
|
"sortOrder": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"status": {
|
|
"$ref": "#/definitions/CodexAvatarStatus"
|
|
}
|
|
},
|
|
"required": [
|
|
"accentClassName",
|
|
"assetRef",
|
|
"avatarId",
|
|
"collectionDescription",
|
|
"collectionName",
|
|
"description",
|
|
"displayName",
|
|
"isProgressVisible",
|
|
"lore",
|
|
"rarity",
|
|
"silhouetteGlowClassName",
|
|
"sortOrder",
|
|
"status"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"CodexAvatarOwnership": {
|
|
"properties": {
|
|
"accountUserId": {
|
|
"type": "string"
|
|
},
|
|
"avatarId": {
|
|
"type": "string"
|
|
},
|
|
"sourceSummary": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"accountUserId",
|
|
"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"
|
|
},
|
|
"CodexAvatarRarity": {
|
|
"enum": [
|
|
"common",
|
|
"rare",
|
|
"epic",
|
|
"legendary"
|
|
],
|
|
"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",
|
|
"hidden",
|
|
"retired"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"properties": {
|
|
"accountUserId": {
|
|
"type": "string"
|
|
},
|
|
"avatarDefinitions": {
|
|
"items": {
|
|
"$ref": "#/definitions/CodexAvatarDefinition"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"boxRules": {
|
|
"$ref": "#/definitions/CodexAvatarBoxRules"
|
|
},
|
|
"equippedAvatarId": {
|
|
"type": "string"
|
|
},
|
|
"ownedAvatars": {
|
|
"items": {
|
|
"$ref": "#/definitions/CodexAvatarOwnership"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"pendingRevealAwards": {
|
|
"items": {
|
|
"$ref": "#/definitions/CodexAvatarRevealAward"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"pityState": {
|
|
"$ref": "#/definitions/CodexAvatarPityState"
|
|
},
|
|
"updatedAt": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": [
|
|
"accountUserId",
|
|
"avatarDefinitions",
|
|
"boxRules",
|
|
"equippedAvatarId",
|
|
"ownedAvatars",
|
|
"pendingRevealAwards",
|
|
"pityState",
|
|
"updatedAt"
|
|
],
|
|
"title": "CodexAvatarInventoryReadResponse",
|
|
"type": "object"
|
|
} |