validate_schema
Deterministically validates that a target JSON payload contains all mandatory keys specified in a reference schema dictionary. Returns a boolean validation status and a list of missing keys. Use when verifying payload structure before downstream processing. Do not use for regex string validation or deep recursive type casting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The target JSON data object to inspect and validate against the schema definition. | |
| schema_definition | Yes | A JSON object defining mandatory keys required in the target payload (e.g. {'user_id': '', 'status': ''}). |