Read-only demo.Generated sample data. Changes cannot be saved.

inventory_state

inventory_state Per player Endpoints only

Records
0
Fields
2

Definition preview

Read-only outline of the saved source. Edit it under the Edit tab.

Fields (2)

NameTypeDefault
inventoryarray none
materialsobject none
Full source
sourceVersion: 1
kind: collection
id: inventory_state
name: inventory_state
description: One record per player holding items and crafting materials. Only kit endpoints change it.
collectionType: per-steamid
accessMode: endpoint
maxRecords: 1
allowRecordDelete: false
schema:
  type: object
  properties:
    inventory:
      type: array
      items:
        type: object
        properties:
          item_id:
            type: string
          name:
            type: string
    materials:
      type: object
      additionalProperties:
        type: number
module: inventory

New collection

Choose an id using letters, numbers, underscore or hyphen. A fresh draft opens with this id; nothing is published until you save.

Confirm