org.simocracy.sim

gainforest.earth

Documentation

An avatar/sim record. One user can have multiple sims.

main record

An avatar/sim record. One user can have multiple sims.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

Timestamp when the sim was created

image blob Optional

Rendered avatar PNG thumbnail for quick display

name string Required

Display name of the sim

maxLength: 64 bytes
sprite blob Optional

Animated sprite sheet PNG (128x128, 4 cols x 4 rows of 32x32 frames). Row order: front, left, right, back. Each row has 4 walk-cycle frames.

maxSize: 1.0 MB
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "name",
      "settings",
      "createdAt"
    ],
    "properties": {
      "name": {
        "type": "string",
        "maxLength": 64,
        "description": "Display name of the sim"
      },
      "image": {
        "type": "blob",
        "accept": [
          "image/png",
          "image/jpeg",
          "image/webp"
        ],
        "description": "Rendered avatar PNG thumbnail for quick display"
      },
      "sprite": {
        "type": "blob",
        "accept": [
          "image/png"
        ],
        "maxSize": 1000000,
        "description": "Animated sprite sheet PNG (128x128, 4 cols x 4 rows of 32x32 frames). Row order: front, left, right, back. Each row has 4 walk-cycle frames."
      },
      "settings": {
        "ref": "org.simocracy.defs#spriteSettings",
        "type": "ref",
        "description": "Sprite appearance settings"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp when the sim was created"
      }
    }
  },
  "description": "An avatar/sim record. One user can have multiple sims."
}

Lexicon Garden

@