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:
| Type | Description |
|---|---|
Advisory | Used for providing early notice of a potential future Recommendation. |
Recommendation | Used to provide a recommendation to moderators consuming this Dataset. |
Retraction | Used 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). |
Tombstone | Used 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:
| Property | Description |
|---|---|
id | URI: @idRange: xsd:anyURISee ActivityStreams 2.0's id property |
type | URI: @typeRange: xsd:anyURIKnown types within the FIRES JSON-LD Context are: Advisory, Recommendation, Retraction and Tombstone |
published | URI: https://www.w3.org/ns/activitystreams#publishedSee ActivityStreams 2.0's published property |
Types
Advisory
An Advisory extends the Core Properties has the following additional properties:
| Property | Description |
|---|---|
entityKind | URI: https://fires.fedimod.org/context/fires.jsonld#entityKindRange: xsd:stringThe kind of entity being represented. Currently known values are domain and actor. |
entityKey | URI: https://fires.fedimod.org/context/fires.jsonld#entityKindRange: xsd:stringThe identifier for the entity. |
labels | URI: https://fires.fedimod.org/context/fires.jsonld#labelsSee 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:
| Property | Description |
|---|---|
recommendedPolicy | URI: https://fires.fedimod.org/context/fires.jsonld#recommendedPolicyRange: xsd:stringThe policy being recommended to the consumer. Currently known values are: accept, filter, reject, and drop. See Federation Management. |
recommendedFilters | URI: https://fires.fedimod.org/context/fires.jsonld#recommendedFiltersRange: xsd:anyUriContainer: @setThe filters to apply when recommendedPolicy is filter. |
Retraction
A Retraction extends the Core Properties has the following additional properties:
| Property | Description |
|---|---|
comment | URI: https://fires.fedimod.org/context/fires.jsonld#commentRange: xsd:stringA short description describing why the retraction was issued. |
Tombstone
A Tombstone extends the Core Properties and has no additional properties.