A small JSON format for describing actions.
Each request has five top-level fields: object, intent, authority, lifetime, and result.
{
"object": {
"type": "https://www.w3.org/ns/activitystreams#Note",
"data": {
"https://www.w3.org/ns/activitystreams#content": "Hello"
}
},
"intent": {"action": "https://www.w3.org/ns/activitystreams#Create"},
"authority": {},
"lifetime": {},
"result": {"expects": "https://www.w3.org/ns/activitystreams#Note"}
}Read SPEC.md and capabilities.json. Write a handler in any language:
handler --envelope /path/to/request.jsonRun the public tests:
python3 conformance.py --handler /absolute/path/to/handlerThe kit includes 4 valid and 8 invalid test cases. There is no reference handler here.
This is the experimental v0.9 public profile. The authority and lifetime fields are opaque and not enforced by this kit. Passing these tests does not establish real authorization, expiry enforcement, replay protection, production security, or compatibility with other implementations.
Apache-2.0. Free to use, modify, and distribute, including commercially, under its terms. The license does not grant trademark rights.
Maintained by neevan.