{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.anim.tween.schema.json",
  "title": "rig.anim.tween",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "target": {
      "$ref": "./_defs.schema.json#/$defs/entity"
    },
    "propertyKey": {
      "$ref": "./_defs.schema.json#/$defs/string"
    },
    "from": {
      "$ref": "./_defs.schema.json#/$defs/float"
    },
    "to": {
      "$ref": "./_defs.schema.json#/$defs/float"
    },
    "duration": {
      "$ref": "./_defs.schema.json#/$defs/float"
    },
    "elapsed": {
      "$ref": "./_defs.schema.json#/$defs/float"
    },
    "easing": {
      "type": "string",
      "enum": [
        "linear",
        "ease-in",
        "ease-out",
        "ease-in-out"
      ]
    },
    "loop": {
      "$ref": "./_defs.schema.json#/$defs/bool"
    },
    "playing": {
      "$ref": "./_defs.schema.json#/$defs/bool"
    }
  },
  "required": [
    "target",
    "propertyKey",
    "from",
    "to",
    "duration"
  ]
}
