Skip to content

Changes

CAUTION

This section of the documentation is still being written.

Datasets in the FIRES protocol contain a collection of changes. These changes can have one of the following types from the FIRES JSON-LD context, which is located at: https://fires.fedimod.org/context/fires.jsonld:

TypeDescription
AdvisoryUsed for providing early notice of a potential future Recommendation.
RecommendationUsed to provide a recommendation to moderators consuming this Dataset.
RetractionUsed to indicate that an Advisory or a Recommendation has been retracted and should be removed from consumers' state (e.g., by removing suspension of federation with a specific domain).
TombstoneUsed to indicate that the given change id no longer exists. (Not currently implemented in the FIRES reference server). Usage is generally discouraged.

Usually the type for a given change id will not change, with the exception of Tombstone which retroactively applies to all changes for a given entityKind and entityKey.

The usage of Tombstone is generally discouraged in favour of Retraction, since a tombstone effectively deletes data from the dataset. A possible use-case for using a Tombstone is if the dataset provider has been forced by legal order to remove an entity from their dataset (e.g., in cases of defamation where the content within the dataset was deemed by a court order to be libelous or slander).

Core Properties

The core properties shared across all types of changes are as follows:

PropertyDescription
idURI: @id

Range: xsd:anyURI

See ActivityStreams 2.0's id property
typeURI: @type

Range: xsd:anyURI

Known types within the FIRES JSON-LD Context are: Advisory, Recommendation, Retraction and Tombstone
publishedURI: https://www.w3.org/ns/activitystreams#published

See ActivityStreams 2.0's published property

Types

Advisory

An Advisory extends the Core Properties has the following additional properties:

PropertyDescription
entityKindURI: https://fires.fedimod.org/context/fires.jsonld#entityKind

Range: xsd:string

The kind of entity being represented. Currently known values are domain and actor.
entityKeyURI: https://fires.fedimod.org/context/fires.jsonld#entityKind

Range: xsd:string

The identifier for the entity.
labelsURI: https://fires.fedimod.org/context/fires.jsonld#labels

See Labels. Generally within a Dataset, these will be xsd:anyUri references to a Label, instead of the complete object.

Recommendation

A Recommendation extends Advisory, and includes the following additional properties:

PropertyDescription
recommendedPolicyURI: https://fires.fedimod.org/context/fires.jsonld#recommendedPolicy

Range: xsd:string

The policy being recommended to the consumer. Currently known values are: accept, filter, reject, and drop. See Federation Management.
recommendedFiltersURI: https://fires.fedimod.org/context/fires.jsonld#recommendedFilters

Range: xsd:anyUri

Container: @set

The filters to apply when recommendedPolicy is filter.

Retraction

A Retraction extends the Core Properties has the following additional properties:

PropertyDescription
commentURI: https://fires.fedimod.org/context/fires.jsonld#comment

Range: xsd:string

A short description describing why the retraction was issued.

Tombstone

A Tombstone extends the Core Properties and has no additional properties.