Actors
- ActivityPub actors are generally one of the
+ ActivityPub の actor は一般的に
- ActivityStreams Actor Types,
- but they don't have to be. For example, a
+ ActivityStreams の Actor の型 のうちのどれかに当てはまりますが、必ずしもそうである必要はありません。
+ 例えば、
- Profile object
- might be used as an actor, or a type from an ActivityStreams extension.
- Actors are retrieved like any other
- Object in ActivityPub.
- Like other ActivityStreams objects, actors have an id
,
- which is a URI.
- When entered directly into a user interface (for example on a login
- form), it is desirable to support simplified naming.
- For this purpose, ID normalization SHOULD be performed as follows:
+ Profile オブジェクトが actor として使われるかもしれないし、ActivityStreams の拡張からの型が使われるかもしれません。
+ Actor は ActivityPub の他のオブジェクトのように取得されます。
+ 他の ActivityStreams のオブジェクトのように、actor は、URI である id
を持ちます。
+ ユーザーインターフェースにそのまま入力された場合(例としてログインフォームなど)、簡単化された名前をサポートすることが望ましいです。
+ この目的のため、ID の正規化は次のように行なわれるべきです。
-
- If the entered ID is a valid URI, then it is to be used directly.
+ 入力された ID が正当な URI であったならば、それを直接利用する。
-
- If it appears that the user neglected to add a scheme for a URI that
- would otherwise be considered valid, such as
-
example.org/alice/
, clients MAY attempt to provide
- a default scheme, preferably https
.
+ ユーザーが URI にスキーマを入れ忘れていること以外は正当な URI となる場合(example.org/alice/
など)、クライアントはスキーマの既定値を提供することができる。好ましいのは https
である。
-
- Otherwise, the entered value should be considered invalid.
+ それ以外の場合は、入力された値は不正であるとすべきである。
- Once the actor's URI has been identified, it should be dereferenced.
+ actor の URI が識別されたならば、参照外しが行われるべきです。
- ActivityPub does not dictate a specific relationship between
- "users" and Actors; many configurations are possible.
- There may be multiple human users or organizations controlling an
- Actor, or likewise one human or organization may control multiple
- Actors. Similarly, an Actor may represent a piece of software,
- like a bot, or an automated process.
- More detailed "user" modelling, for example linking together of Actors which
- are controlled by the same entity, or allowing one Actor to be presented
- through multiple alternate profiles or aspects, are at the discretion
- of the implementation.
+ ActivityPub は「ユーザー」と actor の関係を具体的に要求しません。様々な構成が可能です。
+ ある一つの actor を操る複数の人間や組織がいるかもしれないし、一人の人間や組織が複数の actor を操るかもしれません。
+ 同様に、actor はボットや自動化された処理などのソフトウェアの一部を表現することもできます。
+ 同一の実態によってコントロールされる actor を結びつけることや、一つの actor を複数のプロフィールや側面を通して表現するような、より詳細な「ユーザー」のモデル化については、実装側の裁量によります。
- Actor objects
+ Actor オブジェクト
- Actor objects MUST have, in addition to the properties mandated by
- , the following properties:
+ Actor オブジェクトは で義務付けられたプロパティに加えて、次のプロパティを持たなければなりません。
- inbox
-
- A reference to an [[!ActivityStreams]]
+ actor が受け取ったすべてのメッセージを含むような [[!ActivityStreams]] の
-
OrderedCollection
- comprised of all the messages received by the actor; see
- .
+ OrderedCollection
への参照。詳細は
- outbox
-
- An [[!ActivityStreams]]
+ actor が生み出したすべてのメッセージを含むような [[!ActivityStreams]] の
-
OrderedCollection
- comprised of all the messages produced by the actor; see
- .
+ OrderedCollection
への参照。詳細は
- Implementations SHOULD, in addition, provide the following
- properties:
+ 実装は、これに加えて次のプロパティを提供すべきです。
- following
-
- A link to an [[!ActivityStreams]] collection of the actors that
- this actor is following; see
+ この actor がフォローしている actor で構成される [[!ActivityStreams]] の collection へのリンク。詳細は
- followers
-
- A link to an [[!ActivityStreams]] collection of the actors that
- follow this actor; see .
+ この actor をフォローしている actor で構成される [[!ActivityStreams]] の collection へのリンク。詳細は
- Implementations MAY provide the following properties:
+ 実装は次のプロパティを提供してもよいです。
- liked
-
- A link to an [[!ActivityStreams]] collection of objects this
- actor has liked; see .
+ この actor が like したオブジェクトで構成される [[!ActivityStreams]] の collection へのリンク。詳細は
@@ -671,125 +649,82 @@
]
}
- Implementations MAY, in addition, provide the following properties:
+ 実装は、これに加えて次のプロパティを提供してもよいです。
- streams
-
- A list of supplementary Collections which may be of interest.
+ 関心があるかもしれない補足的な collection のリスト。
- preferredUsername
-
- A short username which may be used to refer to the actor, with no
- uniqueness guarantees.
+ 固有性の保障はないが、actor へ言及するときに使える短いユーザーネーム。
- endpoints
-
- A json object which maps additional (typically server/domain-wide)
- endpoints which may be useful either for this actor or someone
- referencing this actor.
- This mapping may be nested inside the actor document as the value
- or may be a link to a JSON-LD document with these properties.
+ この actor や、この actor を参照する人にとって助けとなるかもしれない、追加の(典型的にはサーバー・ドメイン規模の)エンドポイントを表す JSON オブジェクト。
+ これは actor を表すドキュメントの中で値として含むこともできるし、これらのプロパティを含む JSON-LD ドキュメントへのリンクとすることもできる。
- The endpoints
mapping MAY include the following
- properties:
+ endpoints
は、次のプロパティを含んでもよいです。
- proxyUrl
-
- Endpoint URI so this actor's clients may access remote
- ActivityStreams objects which require authentication to access.
- To use this endpoint, the client posts an
-
x-www-form-urlencoded
id
parameter
- with the value being the id
of the requested
- ActivityStreams object.
+ actor のクライアントがこのエンドポイント URI によって、アクセスに認証を必要とする外部の ActivityStreams のオブジェクトにアクセスできるようになります。
+ このエンドポイントを使うには、クライアントは
+ x-www-form-urlencoded
な id
パラメータに、要求する ActivityStreams オブジェクトの id
を設定して POST します。
- oauthAuthorizationEndpoint
-
- If OAuth 2.0 bearer tokens [[RFC6749]] [[RFC6750]] are being used
- for authenticating
- client to server
- interactions,
- this endpoint specifies a URI at which a browser-authenticated user
- may obtain a new authorization grant.
+ OAuth 2.0 bearer tokens [[RFC6749]] [[RFC6750]] がクライアント-サーバー間のやりとりの認証で使われているとき、このエンドポイントはブラウザで認証されたユーザーに新しく認可の許可を与えるための URI を指定します。
- oauthTokenEndpoint
-
- If OAuth 2.0 bearer tokens [[RFC6749]] [[RFC6750]] are being used
- for authenticating
- client to server
- interactions,
- this endpoint specifies a URI at which a client may acquire an
- access token.
+ OAuth 2.0 bearer tokens [[RFC6749]] [[RFC6750]] がクライアント-サーバー間のやりとりの認証で使われているとき、このエンドポイントはクライアントがアクセストークンを取得するための URI を指定します。
- provideClientKey
-
- If Linked Data Signatures and HTTP Signatures are being used for
- authentication and authorization, this endpoint specifies a URI at
- which browser-authenticated users may authorize a client's public
- key for
- client to server
- interactions.
+ Linked Data 署名と HTTP 署名が認証および認可に使われているとき、このエンドポイントはブラウザで認証されたユーザーがクライアント-サーバー間のやりとりのためのクライアントの公開鍵を認可するための URI を指定します。
- signClientKey
-
- If Linked Data Signatures and HTTP Signatures are being used for
- authentication and authorization, this endpoint specifies a URI at
- which a client key may be signed by the actor's key for a time
- window to act on behalf of the actor in interacting with foreign
- servers.
+ Linked Data 署名と HTTP 署名が認証および認可に使われているとき、このエンドポイントはクライアントが actor の代わりに外部のサーバーとやりとりするために、クライアントの鍵を actor の鍵によってある一定期間だけ署名するための URI を指定します。
- sharedInbox
-
- An optional endpoint
-
- used for wide delivery of publicly addressed activities
- and activities sent to followers.
-
sharedInbox
endpoints SHOULD also be publicly
- readable OrderedCollection
objects containing
- objects addressed to the Public
- special collection.
- Reading from the sharedInbox
endpoint MUST NOT present
- objects which are not addressed to the Public
- endpoint.
+ 公開された activity や、フォロワーに送信される activity を幅広く配信するために使われる任意のエンドポイント。
+ sharedInbox
エンドポイントは特殊な Public collection 宛てのオブジェクトを含む、誰でも読める OrderedCollection
オブジェクトでもあるべきです。
+ sharedInbox
エンドポイントから読まれるオブジェクトとして Public
エンドポイント宛てでないようなものは提供してはいけません。
- As the upstream vocabulary for ActivityPub, any applicable
- [[!ActivityStreams]] property may be used on ActivityPub Actors.
- Some ActivityStreams properties are particularly worth highlighting
- to demonstrate how they are used in ActivityPub implementations.
+ ActivityPub の上流の語彙として、ActivityPub の actor には適切な [[!ActivityStreams]] のプロパティを使うことができます。
+ いくつかの ActivityStreams のプロパティは特にハイライトする価値があります。それらがどのように ActivityPub の実装で使われるか見てみましょう。
- url
-
- A link to the actor's "profile web page", if not equal to the
- value of
id
.
+ id
の値と等しくなければ、actor の「プロフィールの Web ページ」へのリンクを表す。
- name
-
- The preferred "nickname" or "display name" of the actor.
+ actor が望む「ニックネーム」および「ディスプレイネーム」を表す。
- summary
- - A quick summary or bio by the user about themselves.
+ - ユーザーによる簡素な概要や自己紹介文。
- icon
-
- A link to an image or an Image object which represents the user's
- profile picture (this may be a thumbnail).
+ ユーザーのプロフィール画像を表現する画像へのリンクまたは Image オブジェクト(サムネイルであっても良い)。
- Properties containing natural language values,
- such as name
, preferredUsername
, or
- summary
, make use of
-
- natural language support defined in ActivityStreams.
+ name
, preferredUsername
, summary
のような自然言語の値を含むプロパティは、ActivityStreams で定義される自然言語のサポートを活用できます。