From 8c5391a7602db80146d45fa6eac61a1c0a010c74 Mon Sep 17 00:00:00 2001 From: ralfhandl Date: Fri, 24 Oct 2025 15:43:27 +0000 Subject: [PATCH] Update JSON example files --- examples/v3.0/callback-example.json | 1 + examples/v3.0/uspto.json | 4 ++-- examples/v3.1/webhook-example.json | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/v3.0/callback-example.json b/examples/v3.0/callback-example.json index edae06a..ebd2d3d 100644 --- a/examples/v3.0/callback-example.json +++ b/examples/v3.0/callback-example.json @@ -27,6 +27,7 @@ "content": { "application/json": { "schema": { + "type": "object", "description": "subscription information", "required": ["subscriptionId"], "properties": { diff --git a/examples/v3.0/uspto.json b/examples/v3.0/uspto.json index 5c687e2..81dfb0f 100644 --- a/examples/v3.0/uspto.json +++ b/examples/v3.0/uspto.json @@ -223,12 +223,12 @@ }, "apiUrl": { "type": "string", - "format": "uriref", + "format": "uri-reference", "description": "The URL describing the dataset's fields" }, "apiDocumentationUrl": { "type": "string", - "format": "uriref", + "format": "uri-reference", "description": "A URL to the API console for each API" } } diff --git a/examples/v3.1/webhook-example.json b/examples/v3.1/webhook-example.json index d39d129..ad0dac9 100644 --- a/examples/v3.1/webhook-example.json +++ b/examples/v3.1/webhook-example.json @@ -28,6 +28,7 @@ "components": { "schemas": { "Pet": { + "type": "object", "required": ["id", "name"], "properties": { "id": {