NetworkLevelBatch network.level-batch@1

Generated at from openvibe-contracts v0.419.0 and openvibe-sdk v0.161.0.

Version
1.0.0
Owner
network
Visibility
public
Status
active
Compatibility
backward
Schema
https://openvibe.network/contracts/network/level-batch.v1.json

NetworkLevelBatch: one earned platform level owned by Network; experience is never bought or spent.

Fields

FieldTypeRequiredDescriptionConstraints
levelsobjectyes

Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

Valid: example
{
  "levels": {}
}
Rejected: example
{}

Validate

const contracts = require('openvibe-contracts');
contracts.validate('network.level-batch@1', value);   // { valid, errors: [{ path, message }] }