mirror of
https://github.com/openai/codex.git
synced 2026-04-26 23:55:25 +00:00
153 lines
3.0 KiB
JSON
153 lines
3.0 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"CodexAvatarDefinition": {
|
|
"properties": {
|
|
"assetRef": {
|
|
"type": "string"
|
|
},
|
|
"avatarId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"displayName": {
|
|
"type": "string"
|
|
},
|
|
"rarity": {
|
|
"$ref": "#/definitions/CodexAvatarRarity"
|
|
},
|
|
"slug": {
|
|
"type": "string"
|
|
},
|
|
"sortOrder": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"status": {
|
|
"$ref": "#/definitions/CodexAvatarStatus"
|
|
},
|
|
"updatedAt": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": [
|
|
"assetRef",
|
|
"avatarId",
|
|
"createdAt",
|
|
"description",
|
|
"displayName",
|
|
"rarity",
|
|
"slug",
|
|
"sortOrder",
|
|
"status",
|
|
"updatedAt"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"CodexAvatarOwnership": {
|
|
"properties": {
|
|
"accountUserId": {
|
|
"type": "string"
|
|
},
|
|
"avatarId": {
|
|
"type": "string"
|
|
},
|
|
"firstUnlockedAt": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"lastAwardedAt": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"sourceSummary": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"accountUserId",
|
|
"avatarId",
|
|
"firstUnlockedAt",
|
|
"lastAwardedAt"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"CodexAvatarRarity": {
|
|
"enum": [
|
|
"common",
|
|
"rare",
|
|
"epic",
|
|
"legendary"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"CodexAvatarStatus": {
|
|
"enum": [
|
|
"active",
|
|
"hidden",
|
|
"retired"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"properties": {
|
|
"accountUserId": {
|
|
"type": "string"
|
|
},
|
|
"avatarDefinitions": {
|
|
"items": {
|
|
"$ref": "#/definitions/CodexAvatarDefinition"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"catalogVersion": {
|
|
"format": "int64",
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
]
|
|
},
|
|
"equippedAt": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"equippedAvatarId": {
|
|
"type": "string"
|
|
},
|
|
"ownedAvatars": {
|
|
"items": {
|
|
"$ref": "#/definitions/CodexAvatarOwnership"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"syncedAt": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"updatedAt": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": [
|
|
"accountUserId",
|
|
"avatarDefinitions",
|
|
"equippedAt",
|
|
"equippedAvatarId",
|
|
"ownedAvatars",
|
|
"syncedAt",
|
|
"updatedAt"
|
|
],
|
|
"title": "CodexAvatarInventoryReadResponse",
|
|
"type": "object"
|
|
} |