35 lines
2.4 KiB
Clojure
35 lines
2.4 KiB
Clojure
;;; Copyright (C) Simon Brooke, 2023
|
|
|
|
;;; This program is free software; you can redistribute it and/or
|
|
;;; modify it under the terms of the GNU General Public License
|
|
;;; as published by the Free Software Foundation; either version 2
|
|
;;; of the License, or (at your option) any later version.
|
|
|
|
;;; This program is distributed in the hope that it will be useful,
|
|
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
;;; along with this program; if not, write to the Free Software
|
|
;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
;; Actual fault messages to which fault codes resolve: English language version.
|
|
{:by "by"
|
|
:expected-collection "A collection was expected, but was not found."
|
|
:generated-on "Generated on"
|
|
:id-not-https "Publicly facing content SHOULD use HTTPS URIs"
|
|
:id-not-uri "identifiers must be publicly dereferencable URIs"
|
|
:no-context "Section 3 of the ActivityPub specification states Implementers SHOULD include the ActivityPub context in their object definitions`."
|
|
:no-faults-found "No faults were found."
|
|
:no-id-persistent "Persistent objects MUST have unique global identifiers."
|
|
: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."
|
|
:no-inbox "Actor objects MUST have an `inbox` property, whose value MUST be a reference to an ordered collection."
|
|
:no-items-collection "A collection expected to be simple had no items."
|
|
:no-outbox "Actor objects MUST have an `outbox` property, whose value MUST be a reference to an ordered collection."
|
|
:no-type "The ActivityPub specification states that the `type` field is optional, but it is hard to process objects with no known type."
|
|
:not-actor-type "The `type` value of the object was not a recognised actor type."
|
|
:not-valid-date-time "A date/time of format required for `xsd:dateTime` was expected but was not found."
|
|
:null-id-persistent "Persistent objects MUST have non-null identifiers."
|
|
:not-an-object "ActivityStreams object must be JSON objects."
|
|
:validation-report-for "Validation report for"} |