GamesPropPlacementResult games.prop-placement-result@1

Generated at from openvibe-contracts v0.53.0 and openvibe-sdk v0.11.0.

Version
1.0.0
Owner
games
Visibility
first-party
Status
active
Compatibility
backward
Schema
https://openvibe.network/contracts/games/prop-placement-result.v1.json

games.prop-placement-result@1: what the games.prop.place binding returns on OpenVibe.Games: placeProp → the placed entity's id (null when the host placed nothing); removeProp → true when a prop with that key was removed, false when there was none. A mod without the grant gets a capability.denied error instead; every use is audited.

Fields

This schema has no named fields.

Examples

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

Valid: placed
"ent_4410"
Valid: removed
true
Rejected: number
42

Validate

const contracts = require('openvibe-contracts');
contracts.validate('games.prop-placement-result@1', value);   // { valid, errors: [{ path, message }] }