Skip to content
Tagged articles

jsonschema

9 articles · Page 1 of 1
Architecture Development Notes
Architecture Development Notes
Oct 28, 2026 · Backend Development

MCP Tool Schemas Are Untrusted: Validators Must Enforce Limits Against SSRF and DoS

The MCP 2026-07-28 spec relaxes tool schemas but adds constraints on external references and combinatorial keywords; testing shows jsonschema defaults to fetching remote refs (violating spec) while Ajv complies, and a tiny 1.3KB schema with nested anyOf can cause 10-second validation delays, so validators must enforce time budgets and reject external refs.

AjvDoSJSON Schema
0 likes · 13 min read
MCP Tool Schemas Are Untrusted: Validators Must Enforce Limits Against SSRF and DoS
Test Development Learning Exchange
Test Development Learning Exchange
Apr 15, 2025 · Backend Development

Encapsulating Custom Assertions for API Automation Testing

This article explains why custom assertion logic is needed in API automation testing, shows how to build a reusable Assertions class with methods for status code, JSON schema, key, JSONPath, and response time checks, and provides complete Python code examples for each use case.

API testingcustom assertionsjsonschema
0 likes · 7 min read
Encapsulating Custom Assertions for API Automation Testing
Test Development Learning Exchange
Test Development Learning Exchange
Jul 22, 2024 · Backend Development

Python API Testing Examples Using requests, unittest, pytest, and jsonschema

This article provides a series of Python code examples demonstrating how to perform API automation testing tasks—including GET and POST requests, authentication, file uploads, redirects, unit testing with unittest and pytest, response mocking with responses, and response schema validation with jsonschema—offering practical guidance for backend testing.

API testingPythonjsonschema
0 likes · 6 min read
Python API Testing Examples Using requests, unittest, pytest, and jsonschema
Test Development Learning Exchange
Test Development Learning Exchange
Feb 19, 2024 · Backend Development

Using Python's json Module for Serialization, Deserialization, and API Testing

This article explains how to use Python's built‑in json module for serializing and deserializing data, demonstrates sending JSON payloads with the requests library, and covers advanced techniques such as data‑driven testing, JsonPath/JMESPath extraction, JSON Schema validation, and dynamic request body construction for API automation.

API testingPythonSerialization
0 likes · 9 min read
Using Python's json Module for Serialization, Deserialization, and API Testing
360 Quality & Efficiency
360 Quality & Efficiency
Jan 16, 2020 · Fundamentals

Practical Guide to JSON Schema for Data Validation

This article explains the purpose, features, and practical usage of JSON Schema for describing data structures, generating documentation, and validating API inputs and outputs, and provides a detailed example with code and tips for effective schema design.

JSONdata validationjsonschema
0 likes · 5 min read
Practical Guide to JSON Schema for Data Validation