Skip to main content

Card

Context: object.physical.collectable.card

The data structure is used to represent a collectible card. It can include various types of cards, such as trading cards, sports cards, and game cards.

Data structure

KeyTypeDescriptionMandatory
cardTypestringThe type of card (e.g., sports, trading, game)Yes
themestringThe theme or subject of the cardNo
cardNumberstringThe card's unique identification number within a setNo
setNamestringThe name of the set or series the card belongs toNo
variantstringAny special edition or variant of the cardNo
serialNumberstringThe card's unique serial numberNo
attributesobject[]An array of additional attributes specific to the cardNo

Example

{
"cardType": "Sports",
"theme": "Basketball",
"cardNumber": "50",
"setName": "1992 Skybox Basketball",
"variant": "Draft Pick",
"serialNumber": "1200/5000",
"attributes": [
{
"name": "Rookie Card",
"value": "Yes"
},
{
"name": "Player",
"value": "Shaquille O'Neal"
},
{
"name": "Team",
"value": "Orlando Magic"
},
{
"name": "Position",
"value": "Center"
}
]
}