https://github.com/redaktor/ActivityPubSchema
An inofficial proposal for ActivityPub - JSON Schemas (draft 07)
https://github.com/redaktor/ActivityPubSchema
activitypub activitystreams json-schema
Last synced: 11 months ago
JSON representation
An inofficial proposal for ActivityPub - JSON Schemas (draft 07)
- Host: GitHub
- URL: https://github.com/redaktor/ActivityPubSchema
- Owner: redaktor
- License: mit
- Created: 2018-01-23T14:04:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-23T14:24:44.000Z (over 8 years ago)
- Last Synced: 2024-04-13T13:57:51.804Z (about 2 years ago)
- Topics: activitypub, activitystreams, json-schema
- Language: JavaScript
- Size: 31.3 KB
- Stars: 27
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README

### 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](http://json-schema.org) 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](https://nodejs.org/en/) script to validate all the examples from [activitystreams-vocabulary](https://www.w3.org/TR/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:
https://github.com/w3c/activitystreams/issues/437
https://github.com/w3c/activitystreams/issues/443
https://github.com/w3c/activitystreams/issues/157
https://github.com/w3c/activitypub/issues/290
https://github.com/w3c/activitypub/issues/291
## Licensing information
MIT