Assurety Schemas

POST /assurety/assurors/:id/schemas
 PUT /assurety/schemas/:id
 GET /assurety/schemas/:id
 GET /assurety/assurors/:id/schemas
POST /assurety/schemas/:id/activate
POST /assurety/schemas/:id/deactivate

Assurety Schemas are a special type of blockchain contract that conform to a pre-defined specification for the purposes of ensuring that all records (data) created using that schema (contract) adhere to the pre-defined specification.

After creating an Assuror and a Wallet, the next step is usually to define specification to be used to assure future records and to create an Assurety Schema against your assuror, using the created wallet and your defined specification.

Note that the specification must adhere to the JSON Schema standard. Also note that once an Assurety Schema is created, the "specification" and "wallet" parameters will no longer be able to be updated.

Once an Assurer and Wallet have been created, a specification can then be defined and added to an Assurety Schema. An Assurety Schema is a special type of blockchain contract that conforms to the specification added to it. This Schema (contract) can then be used to assure that all Records created with the Schema adhere to its specification.

Note that the specification added to an Assurety Schema must adhere to the JSON Schema standard. Also note that once an Assurety Schema is created, the "specification" and "wallet" parameters can not be updated afterwards.