equipment.rpg.item

An item in the player's inventory. Self-contained with all data needed for rendering and display. The give URI and assetCid enable verification against the provider's attestation. Each record is one item.

Repository @rpg.actor did:plc:kwgllf365cwmxbnxitx4pjdj namespace authority
Details · record, key any
Kindrecord
Record keyany
Authorityrpg.equipment
Indexed

Record

record · key any

Properties

acceptedAt

requiredstring · datetime

When the player accepted this item.

asset

blob

The item's sprite layer artwork (144x192 PNG). Required for 'layer' items, optional for 'inventory' items.

  • accept: image/png

assetCid

string

CID of the canonical asset PNG, copied from the give. Matches the asset blob's ref when the copy is genuine.

  • maxLength: 200

Sprite-sheet row indices (0-3) where this layer composites behind the body via destination-over blending. Row 0=down, 1=left, 2=right, 3=up. Omit for normal source-over on all rows.

  • maxLength: 4
itemsinteger
  • minimum: 0
  • maximum: 3

Per-body-class alternate artwork map. Keys such as body.feminine map to structured fallbacks matching #fallback.

category

string

Generator layer category for 'layer' items (e.g. 'tops', 'righthand'). Ignored for 'inventory' items.

  • maxLength: 30

Color channels defined by this item's colorway. Each entry names a recolorable region and declares its sentinel color and optional default.

  • maxLength: 8
itemsref
Reference

Colorway map (_c) for the asset. A 144x192 PNG with sentinel-colored pixels indicating recolorable regions. Required for 'layer' items that support recoloring.

  • accept: image/png

context

string

Origin description copied from the give record.

  • maxLength: 200

Flavour text or description.

  • maxLength: 500

fitClass

string

Fit-class tag for this item (format <category>.<name>) used by class-based suppression.

  • maxLength: 90

give

requiredstring · at-uri

AT URI of the equipment.rpg.give record on the provider's PDS.

icon

blob

Small standalone icon for the item (e.g. 64x64 PNG). Used in inventory displays and profile panels.

  • accept: image/png

iconCid

string

CID of the canonical icon PNG, copied from the give. Matches the icon blob's ref when the copy is genuine. Omit if there's no icon.

  • maxLength: 200

item

requiredstring

Item identifier matching the give record (e.g. 'popcorn', 'theatre_shirt').

  • maxLength: 50

kind

string

Item kind. 'layer' for sprite-generator wearables (requires category + asset). For non-wearable inventory items, use any descriptive type string such as 'badge', 'potion', 'map', 'key', 'ticket', etc. This value is shown as the item's type label in the player's inventory. Defaults to 'layer' if omitted.

  • maxLength: 20

provider

requiredstring · did

DID of the provider who gave this item.

stats

unknown

Item properties copied from the give record at acceptance time.

Target-side exceptions to submaskRule. The layers array contains exact canonical source layer IDs and the classes array contains exact source layerClass or fitClass values; matching source masks are skipped before submaskRule is evaluated. Omission or empty arrays means no source-specific exclusions.

Reference

Controls which external subtractive masks may affect this asset. Omission means respect-all.

  • maxLength: 24
  • knownValues: respect-all | ignore-all | ignore-layers-above | ignore-layers-below

When this item is suppressed, render this same-category item name instead (e.g. replace pigtails with basic short).

  • maxLength: 120

Self-contained artwork for suppressAs when the fallback is not otherwise available to the generator.

Reference

Fit-class identifiers that should be hidden while this item is equipped (e.g. hide all items tagged hair.*).

  • maxLength: 20
itemsstring
  • maxLength: 90

Layer IDs that should be hidden while this item is equipped (e.g. a hat suppressing hair and bangs).

  • maxLength: 20
itemsstring
  • maxLength: 30

Per-suppressor override map. Values may be a structured #fallback or a rule with default and bodyTypeAlt fallbacks. The active body-specific value takes priority over the class default, then suppressAs.

title

requiredstring

Display name for the item.

  • maxLength: 100

zSlot

integer

Legacy all-direction draw-order slot. zSlotByDir takes precedence.

  • minimum: 0
  • maximum: 30

zSlotByDir

unknown

Per-direction draw-order slots [down, left, right, up]. Entries are non-negative integers or null when the category default applies.

#channel

object

Properties

color

string

Sentinel hex color in the colorway map.

  • maxLength: 7

Suggested default hex color for the color picker.

  • maxLength: 7

name

requiredstring

Channel identifier such as main, sub1, brim, or ribbon.

  • maxLength: 20

#fallback

object

Self-contained alternate artwork used for suppression or body-type adaptation.

Properties

asset

requiredblob
  • maxSize: 1000000
  • accept: image/png

assetName

requiredstring
  • maxLength: 120
  • maxSize: 1000000
  • accept: image/png

#submaskExclusions

object

Target-side exceptions for subtractive masks. List exact canonical source layer IDs in layers, or exact source layerClass or fitClass values in classes; matching source masks must not erase the target item. Omission or empty arrays means no source-specific exclusions.

Properties

classes

array

Exact source layerClass or fitClass values whose subtractive masks must be skipped.

  • maxLength: 64
itemsstring
  • maxLength: 90

layers

array

Exact canonical source layer IDs whose subtractive masks must be skipped.

  • maxLength: 32
itemsstring
  • maxLength: 30

#suppressionRules

object

Layer categories and fit classes hidden while this item is active.

Properties

  • maxLength: 20
itemsstring
  • maxLength: 30

classes

array
  • maxLength: 20
itemsstring
  • maxLength: 90
  • maxLength: 20
itemsstring
  • maxLength: 90

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A provider's attestation that an item was given to a player. Lives on the provider's PDS.

  • Generator metadata and decomposed layers for a sprite built with the rpg.actor sprite generator.