From 92182b8473b86f9621ed8fa0fc950b4d95a25085 Mon Sep 17 00:00:00 2001 From: a Date: Mon, 11 Sep 2023 22:25:52 -0500 Subject: [PATCH] Add mention of deduplication strategy --- fep/fb2a/fep-fb2a.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fep/fb2a/fep-fb2a.md b/fep/fb2a/fep-fb2a.md index 92e8015..a089c38 100644 --- a/fep/fb2a/fep-fb2a.md +++ b/fep/fb2a/fep-fb2a.md @@ -50,7 +50,7 @@ Actor metadata fields may also take the form of a link rather than a content val Existing implementations currently using the incorrect IRIs `http://schema.org#PropertyValue` and `http://schema.org#value` may wish to maintain backwards compatibility during a transitional period by serving both legacy representations as well as representations according to this FEP. The following algorithm may be used to support the legacy implementations while also favoring the implementation within this FEP: - Filter the `attachment` array for items of type `Note` or `Link`. Take `name` and `content` from each remaining item if the type is `Note`, or take `name` and `href` if the type is `Link`. If the type is `Link` and the `rel` contains `"me"`, attempt to verify this link using rel-me verification. -- If none are found (or if items remain in the set of `attachment`), filter the `attachment` array for items of type `http://schema.org#PropertyValue`. Take `name` and `http://schema.org#value` from each remaining item. +- If none are found (or if items remain in the set of `attachment`), filter the `attachment` array for items of type `http://schema.org#PropertyValue`. Take `name` and `http://schema.org#value` from each remaining item. If `name` is a duplicate of an existing `name`, ignore the item. After some transitional period, implementations may wish to simplify their logic by filtering only for items of type `Note` and drop support for `http://schema.org#PropertyValue`, `http://schema.org#value`, and the schema.org context entirely (assuming those implementations do not use any other vocabulary from the schema.org context).