wp-includes/json-schema.php:90Prepares a JSON Schema for clients.
$schemaarray$schema_profilestringoptional'draft-04'array<string,function wp_prepare_json_schema_for_client( array $schema, string $schema_profile = 'draft-04' ): array { $allowed_keywords = array_fill_keys( wp_get_json_schema_allowed_keywords( $schema_profile ), true ); return _wp_prepare_json_schema_for_client_with_allowed_keywords( $schema, $allowed_keywords );}Introduced in 7.1.0.
Signature, return type and hooks compared across 1 parsed release.
src/wp-includes/json-schema.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.