Petstore OpenAPI 3.1 (Valid JSON)
A valid OpenAPI 3.1 pet-store SAMPLE spec in JSON — list/create pets with paginated responses for schema-validator and codegen tests.
Valid and intentionally invalid OpenAPI/JSON Schema documents plus request/response examples for schema validators and API tooling.
A valid OpenAPI 3.1 pet-store SAMPLE spec in JSON — list/create pets with paginated responses for schema-validator and codegen tests.
YAML twin of the valid pet-store OpenAPI spec — for testing YAML spec parsers and JSON↔YAML conversion.
OpenAPI document with paths set to null — intentionally invalid for negative schema tests.
OpenAPI with a response schema $ref pointing at a missing component — tests broken-reference detection.
OpenAPI with an unsupported openapi version string — negative case for version validators.
Draft 2020-12 JSON Schema for a user object with email format and role enum — paired with valid/invalid instances.
JSON instance conforming to the Wave F user JSON Schema — positive validator test case.
User JSON deliberately violating the schema five ways — negative case for validator error reporting.
Draft-07 JSON Schema describing a SAMPLE invoice object for domain-specific validator tests.
Draft-07 JSON Schema describing a SAMPLE event object for domain-specific validator tests.
Draft-07 JSON Schema describing a SAMPLE inventory item object for domain-specific validator tests.
Sample POST /pets request body matching the pet-store OpenAPI spec.
Sample paginated pet list response for mock-server and contract tests.
Sample 404 problem response for OpenAPI error-handling tests.
Sample 201 created pet response body for contract testing.
JSON Schema with a oneOf union over string vs number tagged objects — for testing union validation.
JSON Schema allOf merging id and name requirements — tests composite schema validation.
Minimal OpenAPI 3.1 document with a webhooks section — for testing webhook-aware spec parsers.
Intentionally invalid JSON Schema (json-schema-missing-type) for negative validator tests.
Intentionally invalid JSON Schema (json-schema-bad-ref) for negative validator tests.
Intentionally invalid JSON Schema (json-schema-empty-object) for negative validator tests.
Draft-07 JSON Schema for payment amount/currency validation in fintech API tests.
Valid payment JSON instance paired with the payment JSON Schema.
Invalid payment JSON (negative amount, short currency) for schema error reporting tests.
OpenAPI document with empty paths but populated components — tests partial spec loaders.
RFC 7807 SAMPLE problem document for HTTP 404 (Not Found) client tests.
RFC 7807 SAMPLE problem document for HTTP 401 (Unauthorized) client tests.
RFC 7807 SAMPLE problem document for HTTP 403 (Forbidden) client tests.
RFC 7807 SAMPLE problem document for HTTP 409 (Conflict) client tests.
RFC 7807 SAMPLE problem document for HTTP 410 (Gone) client tests.
RFC 7807 SAMPLE problem document for HTTP 429 (Too Many Requests) client tests.
RFC 7807 SAMPLE problem document for HTTP 422 (Unprocessable Entity) client tests.
RFC 7807 SAMPLE problem document for HTTP 400 (Bad Request) client tests.
RFC 7807 SAMPLE problem document for HTTP 415 (Unsupported Media Type) client tests.
RFC 7807 SAMPLE problem document for HTTP 406 (Not Acceptable) client tests.
RFC 7807 SAMPLE problem document for HTTP 503 (Service Unavailable) client tests.
RFC 7807 SAMPLE problem document for HTTP 500 (Internal Server Error) client tests.
Minimal JSON Schema SAMPLE focusing on additional properties false constraints.
Minimal JSON Schema SAMPLE focusing on one of status constraints.
Minimal JSON Schema SAMPLE focusing on enum currency constraints.
Minimal JSON Schema SAMPLE focusing on pattern sku constraints.
Minimal JSON Schema SAMPLE focusing on nullable optional constraints.
Minimal JSON Schema SAMPLE focusing on array unique items constraints.
Minimal JSON Schema SAMPLE focusing on dependent required constraints.
Minimal JSON Schema SAMPLE focusing on format uri email constraints.
OpenAI function tools definition JSON paired with the tool-calling traces.
JSON Schema for a sample weather tool's parameters.
SAMPLE tool-calling JSON (tool-call-weather) for agent harness schema tests.
SAMPLE tool-calling JSON (tool-result-weather) for agent harness schema tests.
SAMPLE tool-calling JSON (tool-call-search) for agent harness schema tests.
SAMPLE tool-calling JSON (tool-parallel-two) for agent harness schema tests.
SAMPLE tool-calling JSON (tool-error-unknown) for agent harness schema tests.
schema.org JSON-LD SAMPLE (faq-page) for SEO/structured-data validators.
schema.org JSON-LD SAMPLE (howto-step) for SEO/structured-data validators.
schema.org JSON-LD SAMPLE (organization) for SEO/structured-data validators.
schema.org JSON-LD SAMPLE (breadcrumb) for SEO/structured-data validators.
schema.org JSON-LD SAMPLE (software-app) for SEO/structured-data validators.
schema.org JSON-LD SAMPLE (web-page) for SEO/structured-data validators.
We use Google Analytics and show ads via Adsterra and Infolinks. Non-essential cookies and ad scripts run only after you allow the matching categories. See our cookie policy.