dog-and-duck.quack.picky.constants
Constants supporting the picky validator.
activitystreams-context-uri
The URI of the context of an ActivityStreams object is expected to be this literal string.
actor-types
The set of types we will accept as actors.
There’s an explicit set of allowed actor types.
context-key
The Clojure reader barfs on :@context
, although it is in principle a valid keyword. So we’ll make it once, here, to make the code more performant and easier to read.
severity
Severity of faults found, as follows:
:info
not actually a fault, but an issue noted during validation;:minor
things which I consider to be faults, but which don’t actually breach the spec;:should
instances where the spec says something SHOULD be done, which isn’t;:must
instances where the spec says something MUST be done, which isn’t;:critical
instances where I believe the fault means that the object cannot be meaningfully processed.
validation-fault-context-uri
The URI of the context of a validation fault report object shall be this literal string.
verb-types
The set of types we will accept as verbs.
There’s an explicit set of allowed verb types.