Schemas / Simulation

rig.sim.domain

v1.0.0 · stable maturity: draft 5 fields 4 required

Fields

FieldTypeMeaning
target entity required Entity whose field is drawn
propertyKey string required Field path, same addressing as rig.mod.binding
min float required Inclusive lower end
max float required Inclusive upper end
seed int optional Optional. Draw seed. Absent = the host chooses

One property redrawn at each reset. Format when present. Training randomisation, not a live modulator (rig.mod.binding is that).

The draw is uniform. A host samples once when the episode resets and writes the value onto target. Several components randomise several fields. Gaussian mixtures and correlated draws stay in the host.

JSON Schema

Resolves at https://rig.works/schemas/rig.sim.domain.schema.json — raw file.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.sim.domain.schema.json",
  "title": "rig.sim.domain",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "target": {
      "$ref": "./_defs.schema.json#/$defs/entity"
    },
    "propertyKey": {
      "$ref": "./_defs.schema.json#/$defs/string"
    },
    "min": {
      "$ref": "./_defs.schema.json#/$defs/float"
    },
    "max": {
      "$ref": "./_defs.schema.json#/$defs/float"
    },
    "seed": {
      "$ref": "./_defs.schema.json#/$defs/int"
    }
  },
  "required": [
    "target",
    "propertyKey",
    "min",
    "max"
  ],
  "x-rig-maturity": "draft"
}

Seen in

robot-lab.json