Skip to content

redaktor/ActivityPubSchema

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

ActivityPub JSON Schema

an inofficial proposal (JSON Schema, draft 07)
-

Specifications:
https://www.w3.org/TR/activitypub/
https://www.w3.org/TR/activitystreams-vocabulary/
https://www.w3.org/TR/activitystreams-core/

Work in Progress

Story

Any implementor of ActivityPub wants to validate incoming data or build forms for any ActivityPub type.
JSON Schema is a language independent way to describe, document and validate the Specification.

/ActivityPub.json is the JSON Schema you start with …
All the other schemas are in /type/

How do I use this package?

With any software consuming JSON Schema draft 07 …
A Node.js script to validate all the examples from activitystreams-vocabulary is included:

  • cd to the project root
  • npm i
  • npm test

How do I contribute?

Fork, edit, pull ... Raise issues ...

NOTE There are blocking issues that need to be resolved before we can go on:
w3c/activitystreams#437
w3c/activitystreams#443
w3c/activitystreams#157
w3c/activitypub#290
w3c/activitypub#291

Licensing information

MIT

About

An inofficial proposal for ActivityPub - JSON Schemas (draft 07)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published