Fide logoFIDE

enforceStatementPropertyBatchPolicy

Enforce property policy for already-built statements (batch context). Batch checks currently apply global forbidden-property rules to persisted statement payloads.

Node Runtime Required

This function requires a Node.js runtime and is disabled in the browser docs preview.
enforceStatementPropertyBatchPolicy(statements)

Parameters

statementsStatement[]*

Returns

Prop

Type

import { enforceStatementPropertyBatchPolicy } from '@fide-work/context-protocol';

const result = enforceStatementPropertyBatchPolicy([]);

Type Definitions

type Statement7 properties

Complete statement object with all required fields **Important**: Both Fide IDs and reference identifiers are required because: - Fide IDs are one-way hashes - cannot be reversed to get reference identifiers - Protocol specification requires both fields - Indexers need reference identifiers for lookup tables and human-readable display - Enables mapping back to human-readable identifiers for debugging and display

Statement

Properties

Prop

Type

type FideId

Full Fide ID format (with did:fide:0x prefix). Length: 11 ("did:fide:0x") + 40 hex = 51 chars.

`did:fide:0x${string}`