diy.razorgirl.winter.trigger

winter.razorgirl.diy

Documentation

main record

No description available.

Record Key tid Timestamp-based ID

Properties

action object Required

No description available.

args array of object Optional

No description available.

condition string Required

Datalog query (Soufflé syntax)

conditionRules string Optional

Extra rules for the condition

createdAt string datetime Required

An RFC 3339 formatted timestamp.

description string Required

No description available.

maxLength: 1024 bytes
enabled boolean Optional

No description available.

Default: true
name string Required

No description available.

maxLength: 128 bytes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "name",
      "description",
      "condition",
      "action",
      "createdAt"
    ],
    "properties": {
      "args": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "name"
          ],
          "properties": {
            "name": {
              "type": "string"
            },
            "type": {
              "type": "string"
            },
            "description": {
              "type": "string"
            }
          }
        }
      },
      "name": {
        "type": "string",
        "maxLength": 128
      },
      "action": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "args": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "rkey": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "type": {
            "type": "string",
            "knownValues": [
              "create_fact",
              "create_inbox_item",
              "delete_fact"
            ]
          },
          "message": {
            "type": "string"
          },
          "predicate": {
            "type": "string"
          }
        }
      },
      "enabled": {
        "type": "boolean",
        "default": true
      },
      "condition": {
        "type": "string",
        "description": "Datalog query (Soufflé syntax)"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "description": {
        "type": "string",
        "maxLength": 1024
      },
      "conditionRules": {
        "type": "string",
        "description": "Extra rules for the condition"
      }
    }
  }
}

Lexicon Garden

@