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
Commit rev3mzwk7jcjlgse
Indexed

Showing version bafyreic4gdldnudzppf6carvgylcd42mx7jbl5y6ncs6eysdvyrsyxhrtu. 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
Reference

#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.

#warning

object

The types of the content warning a rule applying content-warning writes beside its label (AUT-2, D101). A rule naming a type outside the twelve is ignored.

Properties

types

requiredarray
  • minLength: 1
  • maxLength: 12
itemsstring
  • maxLength: 64
  • knownValues: violence | gore | death | self-harm | abuse | substances | eating | mental-health | medical | bigotry | distressing-news | flashing

Similar lexicons

semantic match

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