mirror of
https://codeberg.org/fediverse/fep.git
synced 2026-08-05 11:46:04 +00:00
FEP-844e: Specify that implements is a set (#764)
Reviewed-on: https://codeberg.org/fediverse/fep/pulls/764 Co-authored-by: silverpill <silverpill@firemail.cc> Co-committed-by: silverpill <silverpill@firemail.cc>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"implements": {
|
||||
"@id": "https://w3id.org/fep/844e/implements",
|
||||
"@type": "@id",
|
||||
"@container": "@list"
|
||||
"@container": "@set"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,11 +23,13 @@ The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "S
|
||||
|
||||
An application can advertise its capabilities using the `implements` property on an `Application` object.
|
||||
|
||||
This object might not be an actor. The value of `implements` property MUST be an array of `Link` objects, each containing the following properties:
|
||||
This object might not be an actor. The value of `implements` property MUST be an array of objects, each containing the following properties:
|
||||
|
||||
- `href` (REQUIRED): the unique identifier of the capability. The value MUST be an URI.
|
||||
- `name` (RECOMMENDED): the short description of the capability.
|
||||
|
||||
The order of objects in the array is not important.
|
||||
|
||||
Example:
|
||||
|
||||
```json
|
||||
|
||||
Reference in New Issue
Block a user