open-index/open-npm huggingface dataset:
npm package: @flowhash/nftc-schemas
Description: JSON Schema definitions for NFTC Protocol W3C Verifiable Credentials
Author: NFTC Protocol Core Team
Latest version: 0.1.0

# @flowhash/nftc-schemas

JSON Schema definitions for NFTC Protocol W3C Verifiable Credentials

## Installation

```bash
npm install @flowhash/nftc-schemas
```

## Usage

```javascript
const { RightToUseSchema, ProofOfUseSchema } = require('@flowhash/nftc-schemas');

// Use with JSON Schema validator (e.g., AJV)
const Ajv = require('ajv');
const ajv = new Ajv();

const validate = ajv.compile(RightToUseSchema);
const valid = validate(credential);
```

## Schemas

- `RightToUseSchema` - Right-to-Use credential schema
- `ProofOfUseSchema` - Proof-of-Use credential schema
- `ProofOfContributionSchema` - Proof-of-Contribution credential schema
- `SettlementReceiptSchema` - Settlement Receipt credential schema

## License

Apache-2.0 © NFTC Protocol Core Team