Skip to content
autonym.dev
ContentsHide contents

JavaScript

Not released. This page describes planned behaviour as designed for edition 1.0-draft-1 of Open Personal Context. The specification is the normative reference, and what is described here may change before any release.

@autonym/schema is intended to publish the wire definitions every other artefact of the specification is generated from: the JSON Schemas and TypeScript types for entries, grants, requests, the signed disclosure and the receipt, together with the scope parser and the disclosure compiler. The compiler has no Node-only dependency, so it also runs in a browser. In the reference repository these exist and are tested; the published package is still a placeholder.

bash
npm install @autonym/schema

@autonym/client is the planned TypeScript client for the recipient contract, built on the same definitions. It has no published version yet.