001 (ns dog-and-duck.quack.fault-messages)
002
003 (def messages
004 "Actual fault messages to which fault codes resolve."
005 {:id-not-https "Publicly facing content SHOULD use HTTPS URIs"
006 :id-not-uri "identifiers must be publicly dereferencable URIs"
007 :no-context "Section 3 of the ActivityPub specification states Implementers SHOULD include the ActivityPub context in their object definitions`."
008 :no-id-persistent "Persistent objects MUST have unique global identifiers."
009 :no-id-transient "The ActivityPub specification allows objects without `id` fields only if they are intentionally transient; even so it is preferred that the object should have an explicit null id."
010 :null-id-persistent "Persistent objects MUST have non-null identifiers."
011 :no-type "The ActivityPub specification states that the `type` field is optional, but it is hard to process objects with no known type."
012 :not-an-object "ActivityStreams object must be JSON objects."})