us.off-the-clock.automod.rule

One automod rule of a pair, in its management half (D95). The feed generator runs a pair's rules over each new or changed record version in its content half, highest priority first and oldest first on a tie, and applies the labels of each rule that matches.

Details · record, key tid
Kindrecord
Record keytid
Authorityautomod.off-the-clock.us
Indexed

Showing version bafyreibtif6lqlt4moce442i6llhh3xkqxiprfjbdb7oda3k6descg7yha. Show the latest

Record

record · key tid

Properties

createdAt

requiredstring · datetime
  • maxLength: 3000
  • maxGraphemes: 300

enabled

boolean

False turns the rule off; absent is on.

engine

requiredstring
  • maxLength: 64
  • knownValues: datalogic | jev

labels

requiredarray

The labels a match applies.

  • minLength: 1
  • maxLength: 8
itemsstring
  • maxLength: 128
  • knownValues: nsfw-suggestive | nsfw-explicit | spoiler | content-warning

name

requiredstring
  • maxLength: 640
  • maxGraphemes: 64

priority

requiredinteger

Rules run from the highest priority to the lowest.

rule

requiredunknown

The engine's fields: a JSON Logic object for datalogic; for jev, {kind: noul|choice, instructions, criteria?, options?, matches?, threshold} with threshold a whole percent from 1 to 100.

stackKey

string

Once a rule with this key matches, later rules with the same key are skipped for that record.

  • maxLength: 64

#precondition

object

Checked before the rule runs (AUT-9): when `when` holds over the rule's document, `rule` skips this rule alone and `stack` skips it and every later rule sharing its stackKey.

Properties

stop

requiredstring
  • maxLength: 64
  • knownValues: rule | stack

when

requiredunknown

A JSON Logic object over the record's document, its labels included.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.