changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "image_available": {
- "const": true,
- "type": "boolean"
- },
- "mime_type": {
- "description": "image/png or image/svg+xml.",
- "enum": [
- "image/png",
- "image/svg+xml"
- ],
- "type": "string"
- },
- "ok": {
- "const": true,
- "type": "boolean"
- },
- "pixel_size": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "PNG square pixels. Null for SVG."
- },
- "qr_tracking_url": {
- "description": "ASCII tracking URL encoded in the image, including ?s=qr.",
- "type": "string"
- },
- "request_id": {
- "type": "string"
- },
- "short_url": {
- "type": "string"
- },
- "short_url_ascii": {
- "type": "string"
- },
- "state": {
- "const": "active",
- "type": "string"
- },
- "status_url": {
- "type": "string"
- }
- },
- "required": [
- "ok",
- "request_id",
- "id",
- "state",
- "short_url",
- "short_url_ascii",
- "qr_tracking_url",
- "status_url",
- "mime_type",
- "pixel_size",
- "image_available"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "error": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "image_available": {
- "const": false,
- "type": "boolean"
- },
- "message": {
- "type": "string"
- },
- "ok": {
- "const": false,
- "type": "boolean"
- },
- "request_id": {
- "type": "string"
- },
- "retryable": {
- "type": "boolean"
- },
- "state": {
- "enum": [
- "quarantined",
- "disabled",
- "blocked",
- "expired"
- ],
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "ok",
- "request_id",
- "message",
- "type",
- "title",
- "code",
- "retryable"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "host_display": {
+ "description": "Show the user the returned image or image_url. Do not generate, draw, or synthesize a QR code.",
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "image_available": {
+ "const": true,
+ "description": "True only when a PNG image block is included.",
+ "type": "boolean"
+ },
+ "image_url": {
+ "description": "Short-lived URL for this QR image. Omitted when signing is not configured. Not an API key, OAuth token, or session.",
+ "type": "string"
+ },
+ "image_url_expires_at": {
+ "description": "ISO-8601 expiry of image_url. Present only together with image_url.",
+ "type": "string"
+ },
+ "mime_type": {
+ "const": "image/png",
+ "description": "image/png. A PNG image block is included.",
+ "type": "string"
+ },
+ "ok": {
+ "const": true,
+ "type": "boolean"
+ },
+ "pixel_size": {
+ "anyOf": [
+ {
+ "const": 256,
+ "type": "number"
+ },
+ {
+ "const": 512,
+ "type": "number"
+ },
+ {
+ "const": 1024,
+ "type": "number"
+ }
+ ],
+ "description": "PNG square pixels."
+ },
+ "qr_tracking_url": {
+ "description": "ASCII tracking URL encoded in the image, including ?s=qr.",
+ "type": "string"
+ },
+ "request_id": {
+ "type": "string"
+ },
+ "short_url": {
+ "type": "string"
+ },
+ "short_url_ascii": {
+ "type": "string"
+ },
+ "state": {
+ "const": "active",
+ "type": "string"
+ },
+ "status_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "ok",
+ "request_id",
+ "id",
+ "state",
+ "short_url",
+ "short_url_ascii",
+ "qr_tracking_url",
+ "status_url",
+ "host_display",
+ "mime_type",
+ "pixel_size",
+ "image_available"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "host_display": {
+ "description": "Show the user the returned image or image_url. Do not generate, draw, or synthesize a QR code.",
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "image_available": {
+ "const": false,
+ "description": "False for SVG. Hosts do not render an SVG image block. Use the SVG text, resource, or image_url.",
+ "type": "boolean"
+ },
+ "image_url": {
+ "description": "Short-lived URL for this QR image. Omitted when signing is not configured. Not an API key, OAuth token, or session.",
+ "type": "string"
+ },
+ "image_url_expires_at": {
+ "description": "ISO-8601 expiry of image_url. Present only together with image_url.",
+ "type": "string"
+ },
+ "mime_type": {
+ "const": "image/svg+xml",
+ "description": "image/svg+xml. SVG is not sent as an image block.",
+ "type": "string"
+ },
+ "ok": {
+ "const": true,
+ "type": "boolean"
+ },
+ "pixel_size": {
+ "description": "Null for SVG.",
+ "type": "null"
+ },
+ "qr_tracking_url": {
+ "description": "ASCII tracking URL encoded in the image, including ?s=qr.",
+ "type": "string"
+ },
+ "request_id": {
+ "type": "string"
+ },
+ "short_url": {
+ "type": "string"
+ },
+ "short_url_ascii": {
+ "type": "string"
+ },
+ "state": {
+ "const": "active",
+ "type": "string"
+ },
+ "status_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "ok",
+ "request_id",
+ "id",
+ "state",
+ "short_url",
+ "short_url_ascii",
+ "qr_tracking_url",
+ "status_url",
+ "host_display",
+ "mime_type",
+ "pixel_size",
+ "image_available"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "image_available": {
+ "const": false,
+ "type": "boolean"
+ },
+ "message": {
+ "type": "string"
+ },
+ "ok": {
+ "const": false,
+ "type": "boolean"
+ },
+ "request_id": {
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "state": {
+ "enum": [
+ "quarantined",
+ "disabled",
+ "blocked",
+ "expired"
+ ],
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "ok",
+ "request_id",
+ "message",
+ "type",
+ "title",
+ "code",
+ "retryable"
+ ],
+ "type": "object"
+ }
+]