Semantic ID Inspector – Basic Validation
This sample shows how to:
- Generate an identifier with the
personpreset. - Run
SemanticIDInspectorwithout any configuration (auto-detects the preset). - Tamper with one compartment to see how the inspector surfaces issues.
Run it
node code_samples/semantic-id-inspector/basic-validation/sample.js
You should see:
- A valid report with detected preset + metadata.
- A tampered report where the inspector flags the compartment that now contains the reserved
|separator.