Type object
File match **/*.rsi/meta.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/robust-station-image/latest.json
Source https://raw.githubusercontent.com/space-wizards/RobustToolbox/refs/heads/master/Schemas/rsi.json

Validate with Lintel

npx @lintel/lintel check
Type: object

JSON Schema for SS14 RSI validation.

Properties

version integer required

RSI version integer.

Default: ""
license string required

The license for the associated icon states. Restricted to SS14-compatible asset licenses.

Default: ""
Values: "CC-BY-3.0" "CC-BY-4.0" "CC-BY-SA-3.0" "CC-BY-SA-4.0" "CC-BY-NC-3.0" "CC-BY-NC-4.0" "CC-BY-NC-SA-3.0" "CC-BY-NC-SA-4.0" "CC0-1.0"
Examples: "CC-BY-SA-3.0"
size object required

The dimensions of the sprites inside the RSI. This is not the size of the PNG files that store the sprite sheet.

Default:
{}
Examples: {"x":32,"y":32}
2 nested properties
x integer required
Default: 32
Examples: 32
y integer required
Default: 32
Examples: 32
states object[] required

Metadata for icon states. Includes name, directions, delays, etc.

Default:
[]
Examples: [{"name":"basic"},{"name":"basic-directions","directions":4}]

Examples

{
  "version": 1,
  "license": "CC-BY-SA-3.0",
  "copyright": "Taken from CODEBASE at COMMIT PERMALINK",
  "size": {
    "x": 32,
    "y": 32
  },
  "states": [
    {
      "name": "basic"
    },
    {
      "name": "basic-directions",
      "directions": 4
    },
    {
      "name": "basic-delays",
      "delays": [
        [
          0.1,
          0.1
        ]
      ]
    },
    {
      "name": "basic-delays-directions",
      "directions": 4,
      "delays": [
        [
          0.1,
          0.1
        ],
        [
          0.1,
          0.1
        ],
        [
          0.1,
          0.1
        ],
        [
          0.1,
          0.1
        ]
      ]
    }
  ]
}