This specification describes the Web Monetization vocabulary. It is intended to be used in the context of the [[[activitystreams-vocabulary]]].
This specification is a work in progress within the community on the best shape it should take.
The specification reflects the desired end-state as currently anticipated and agreed to between the contributors. The specification is being prepared here, in this format, to collect the input of the Web community and prepare the work to ultimately follow the W3C standards track should it have the necessary support to do so.
Comments regarding this document are welcome. GitHub Issues are preferred for discussion of this specification.
This document defines how to include a payment pointer in the Activity and Actor types in the [[[activitystreams-vocabulary]]]. [[[activitypub]]] servers and clients MAY use this vocabulary for facilitating payments with a user’s [[[webmonetization]]] provider.
Following the convention of the Activity Vocabulary, the "Domain" indicates the type of Object the property term applies to. The "Range" indicates the type of value the property term can have. Properties marked as being "Functional" can have only one value. Items not marked as "Functional" can have multiple values.
Payment pointers are a standardized identifier for payment accounts. A PaymentPointer MUST be represented in its resolved syntax as an IRI [[RFC3987]].
Class | Description | Example | |
---|---|---|---|
PaymentPointer | URI: | https://interledger.org/ns#PaymentPointer |
|
Notes: |
A The The |
||
Extends: | Link | ||
Properties: | Inherits href from Link. |
The monetization property associates a PaymentPointer with a creator or a piece of content. It is analogous to using the link
type monetization
for including payment pointers in HTML documents.
Term | Description | Examples | |
---|---|---|---|
monetization | URI: | https://interledger.org/ns# |
|
Notes: | Defines the intended recipient of a payment. The property MUST only have one value. | ||
Domain: | Activity | Actor |
||
Range: | PaymentPointer |
||
Functional: | True |