All structs are Golang structs with JSON tags (see How to Use Struct Tags in Go). If you are familiar with them and their quirks, you will likely be able to deduce the data types and identify which fields could be optional. However, just to be sure and to facilitate easier reading, I’ll highlight these fields with a color.
Field is optional
Also, here is our advanced marking system for these models:
🔜 - In development
🚧 - Unstable or unfinished models
Represent trimmed Item model, only used to build initial local copy of tradable items list on a client.
JSON Example
{
id: "54aae292e7798909064f1575",
slug: "secura-dual-cestra",
gameRef: "/Lotus/Weapons/Syndicates/PerrinSequence/Pistols/PSDualCestra",
tags: [
"syndicate",
"weapon",
"secondary"
],
i18n: {
en: {
name: "Secura Dual Cestra",
icon: "items/images/en/secura_dual_cestra.3d47a4ec6675ff774bb0da9b16c53e0e.png",
thumb: "items/images/en/thumbs/secura_dual_cestra.3d47a4ec6675ff774bb0da9b16c53e0e.128x128.png",
subIcon: "sub_icons/weapon/generic_receiver_128x128.png"
},
maxRank: 8,
maxCharges: 3,
vaulted: false,
ducats: 45,
amberStars: 8
cyanStars:2,
baseEndo: 100,
endoMultipler: 2.0,
subtypes: ["blueprint", "crafted"]
}
depends on your Language header, you could have any other language inside i18n
field
Full item model with all possible fields
JSON Example