Skip to content

About

Minimal JSON protocol for describing actions, with a public conformance test suite.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

QUORACT

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"}
}

Try it

Read SPEC.md and capabilities.json. Write a handler in any language:

handler --envelope /path/to/request.json

Run the public tests:

python3 conformance.py --handler /absolute/path/to/handler

The kit includes 4 valid and 8 invalid test cases. There is no reference handler here.

Scope

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.

License

Apache-2.0. Free to use, modify, and distribute, including commercially, under its terms. The license does not grant trademark rights.

Maintained by neevan.

About

Minimal JSON protocol for describing actions, with a public conformance test suite.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages