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:
:infonot actually a fault, but an issue noted during validation;:minorthings which I consider to be faults, but which don’t actually breach the spec;:shouldinstances where the spec says something SHOULD be done, which isn’t;:mustinstances where the spec says something MUST be done, which isn’t;:criticalinstances 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.