@tcprofiles/schemas

1.0.0 • Public • Published

TCP Schema Validation

This module contains schemas for Tezos Community Profiles.

Install

npm install --save @tcprofiles/schemas

Use

import { validate } from '@tcprofiles/schemas'

const profile = {
  nic: "asbjornenge",
  pic: "ipfs://....",
  bio: "Swinging madly across the sun"
}

validate('profile', profile)

Schemas

profile   -   TCP Profile Data
proofs    -   WIP

Test

npm test

enjoy.

Readme

Keywords

none

Package Sidebar

Install

npm i @tcprofiles/schemas

Weekly Downloads

1

Version

1.0.0

License

BSD

Unpacked Size

2.42 kB

Total Files

5

Last publish

Collaborators

  • asbjornenge