Note
このドキュメントは2026-02-27 03:12にPLaMo Translation Modelを使用して自動翻訳されました。
FEP-268d: オブジェクトに対する検索同意のシグナル機能
概要
本FEPは、[Activity Streams 2.0]仕様において、特定のアクターが指定したオブジェクトを検索対象とする旨を通知するための拡張プロパティについて規定する。
沿革
本節は規範的ではない記述である。
Fedibirdは2022年8月にsearchableByプロパティを導入した(GitHubコミット)。
kmyblueは2023年4月にsearchableByプロパティを実装した(GitHubコミット)。
Mastodonは2023年2月にindexableプロパティの実装を開始し[FEP-5feb]、同年9月にはバージョン4.2.0-rc1としてリリースした(GitHubリリース)。
背景
本節は規範的ではない記述である。
[FEP-5feb]ではindexableプロパティが導入され、Activity Streamsのアクターが、自身に帰属するオブジェクトを公開検索可能とするか否かの意向を表明できるようになった。
indexableプロパティはアクターレベルのプロパティであり、ブール値を取る。これによりアクターは、全てのオブジェクトを検索対象とするか、全く検索不可とするかを選択できる。ただし、特定のオブジェクト群のみを検索可/不可にしたり、限定された対象者にのみ検索可能にしたりする場合もある。本FEPで規定するオブジェクトレベルのsearchableByプロパティは、このindexableプロパティを補完し、より精緻な対象者指定機能を提供するものである。
要件
本文書中で使用される「MUST」「MUST NOT」「REQUIRED」「SHALL」「SHALL NOT」「SHOULD」「SHOULD NOT」「RECOMMENDED」「NOT RECOMMENDED」「MAY」「OPTIONAL」の各用語は、[RFC 2119]で定義された解釈に従うものとする。
定義語彙
searchableBy
- URI
http://fedibird.com/ns#searchableBy- ラベル
- 検索可能対象
- コメント
- 当該オブジェクトを検索可能なエンティティを特定する。
- ドメイン
Object- レンジ
Object|Link- 必須条件
- 不要
- 定義元リソース
- FEP-268d
{
"@context": [
"https://w3id.org/fep/268d",
"https://www.w3.org/ns/activitystreams"
],
"id": "https://example.com/notes/1",
"attributedTo": "https://example.com/users/1",
"to": "https://www.w3.org/ns/activitystreams#Public",
"cc": "https://example.com/users/1/followers",
"type": "Note",
"content": "Hello, world!",
"searchableBy": "https://www.w3.org/ns/activitystreams#Public"
}
{
"@context": [
"https://w3id.org/fep/268d",
"https://www.w3.org/ns/activitystreams"
],
"id": "https://example.com/notes/42",
"attributedTo": "https://example.com/users/1",
"to": "https://alice.example/actor",
"cc": ["https://example.com/users/1/followers", "https://www.w3.org/ns/activitystreams#Public"],
"type": "Note",
"content": "@Alice Happy birthday!",
"tag": {
"type": "Mention",
"href": "https://alice.example/actor",
"name": "@Alice"
},
"searchableBy": ["https://alice.example/actor", "https://example.com/users/1/followers"]
}
{
"@context": [
"https://w3id.org/fep/268d",
"https://www.w3.org/ns/activitystreams"
],
"id": "https://example.com/notes/123",
"attributedTo": "https://example.com/users/1",
"to": "https://example.com/users/1/followers",
"cc": "https://www.w3.org/ns/activitystreams#Public",
"type": "Note",
"summary": "自己メモ",
"searchableBy": "https://example.com/users/1"
}
{
"@context": [
"https://w3id.org/fep/268d",
"https://www.w3.org/ns/activitystreams"
],
"id": "https://example.com/users/1",
"type": "Person",
"searchableBy": "https://www.w3.org/ns/activitystreams#Public"
}