BeYourCover · Schema

WrapRenderResult

CompanyArtificial IntelligenceBook CoverDesignPublishing

Properties

Name Type Description
wrapId string
bookId string
dims object
layout_report object
warnings array
assets object
View JSON Schema on GitHub

JSON Schema

beyourcover-com-wrap-render-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beyourcover-com/json-schema/beyourcover-com-wrap-render-result-schema.json",
  "title": "WrapRenderResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beyourcover-com-wraps-api-openapi.yml#/components/schemas/WrapRenderResult",
  "type": "object",
  "required": [
    "wrapId",
    "assets"
  ],
  "properties": {
    "wrapId": {
      "type": "string",
      "format": "uuid"
    },
    "bookId": {
      "type": "string",
      "format": "uuid"
    },
    "dims": {
      "$ref": "#/$defs/WrapDimensions"
    },
    "layout_report": {
      "$ref": "#/$defs/WrapLayoutReport"
    },
    "warnings": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/WrapWarning"
      }
    },
    "assets": {
      "$ref": "#/$defs/WrapAssets"
    }
  },
  "$defs": {
    "WrapAsset": {
      "type": "object",
      "required": [
        "signedUrl",
        "expiresAt"
      ],
      "properties": {
        "signedUrl": {
          "type": "string",
          "format": "uri"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "WrapAssets": {
      "type": "object",
      "description": "Renditions of one wrap design. Re-signed on every poll/read.",
      "properties": {
        "wrap_preview": {
          "allOf": [
            {
              "$ref": "#/$defs/WrapAsset"
            }
          ],
          "description": "1024px-wide JPEG for on-screen review."
        },
        "wrap_flat": {
          "allOf": [
            {
              "$ref": "#/$defs/WrapAsset"
            }
          ],
          "description": "Full-resolution composited JPEG at 300 DPI."
        },
        "wrap_pdf": {
          "allOf": [
            {
              "$ref": "#/$defs/WrapAsset"
            }
          ],
          "description": "Print-ready PDF sized to fullWidth x fullHeight inches — the file you upload to KDP. The link is signed with `Content-Disposition: attachment`, so a browser saves the file (named like `wrap_cover_paperback_6x9_300pp_white_3820919b_1760000000000.pdf`, as the editor's PDF export names it) instead of opening it in a tab."
        },
        "back_art": {
          "allOf": [
            {
              "$ref": "#/$defs/WrapAsset"
            }
          ],
          "description": "The generated back-cover artwork alone, without text. Present on GET /api/v1/wraps/{wrapId}."
        }
      }
    },
    "WrapDimensions": {
      "type": "object",
      "description": "Print geometry at 300 DPI. All inch values are the finished canvas including bleed.",
      "properties": {
        "spineWidth": {
          "type": "number",
          "description": "Spine width in inches: derived from pageCount and paperType on a KDP wrap, entered by hand on a Barnes & Noble design from the editor."
        },
        "fullWidth": {
          "type": "number",
          "description": "Full wrap width in inches (back + spine + front + bleed)."
        },
        "fullHeight": {
          "type": "number",
          "description": "Full wrap height in inches (trim height + bleed)."
        },
        "pixelWidth": {
          "type": "integer",
          "description": "fullWidth x dpi, rounded."
        },
        "pixelHeight": {
          "type": "integer",
          "description": "fullHeight x dpi, rounded."
        },
        "dpi": {
          "type": "integer",
          "description": "Always 300."
        },
        "bleed": {
          "type": "number",
          "description": "Bleed in inches per edge (0 for hardcover printed case)."
        },
        "safeTextMargin": {
          "type": "number",
          "description": "Minimum inches between text and the trim edge."
        },
        "minFontSize": {
          "type": "number",
          "description": "Smallest point size the layout engine will emit."
        },
        "canHaveSpineText": {
          "type": "boolean",
          "description": "False when the spine is too thin for lettering (under 79 pages on KDP); spine text is dropped with a warning."
        },
        "barcodeZone": {
          "type": "object",
          "description": "Rectangle in inches, relative to the BACK COVER origin, that the printer covers with the barcode. The layout engine keeps text out of it.",
          "properties": {
            "x": {
              "type": "number"
            },
            "y": {
              "type": "number"
            },
            "width": {
              "type": "number"
            },
            "height": {
              "type": "number"
            }
          }
        },
        "sections": {
          "type": "object",
          "description": "Panel boundaries in inches from the left edge of the full wrap.",
          "additionalProperties": {
            "type": "number"
          }
        },
        "bindingType": {
          "type": "string",
          "enum": [
            "paperback",
            "hardcover",
            "dust-jacket"
          ],
          "description": "`dust-jacket` (with flaps) appears only on Barnes & Noble designs made in the browser editor."
        }
      }
    },
    "WrapLayoutReport": {
      "type": "object",
      "description": "What the compositor actually drew, after auto-fit and guardrails.",
      "properties": {
        "width": {
          "type": "integer"
        },
        "height": {
          "type": "integer"
        },
        "dpi": {
          "type": "integer"
        },
        "blocks": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "fontSize": {
                "type": "number",
                "description": "Point size after auto-fit, which may be smaller than requested."
              },
              "heightPx": {
                "type": "integer"
              },
              "overflowsPanel": {
                "type": "boolean"
              }
            }
          }
        },
        "warnings": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/WrapWarning"
          }
        }
      }
    },
    "WrapWarning": {
      "type": "object",
      "description": "A layout adjustment the engine made, or a limitation of the finished wrap. Warnings never fail a job — they tell you what a human at the editor would have seen and fixed.",
      "required": [
        "code",
        "message"
      ],
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "text_too_long_for_band",
            "text_too_long_for_block",
            "preset_not_applied",
            "text_overflows_panel",
            "clamped_to_safe_area",
            "moved_clear_of_barcode",
            "barcode_zone_unavoidable",
            "font_size_raised_to_minimum",
            "spine_too_thin_for_text",
            "italic_not_available",
            "bold_not_available",
            "image_block_not_rendered",
            "spine_image_not_allowed",
            "front_outpaint_trimmed",
            "front_outpaint_incomplete",
            "low_text_contrast",
            "back_converted_to_solid"
          ]
        },
        "blockId": {
          "type": "string",
          "description": "The text or image block the warning applies to, when it is block-specific."
        },
        "message": {
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/beyourcover-com-wrap-render-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.