otp_validate_profile
Validate a JSON document against the Open Talent Protocol schema, returning its validity status and any errors found.
Instructions
Validate a JSON document against the Open Talent Protocol schema (v0.1). Provide either filePath (absolute path to a .json file) or document (pre-parsed object). Returns validity status and a list of errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | No | A pre-parsed OTP document object. | |
| filePath | No | Absolute path to an OTP JSON document. |