1.0.0 • Published 5 months ago
@tcprofiles/schemas v1.0.0
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.
1.0.0
5 months ago