WrapDetail
A stored wrap design. `layout_state` is the same schema the browser wrap editor reads and writes, so a wrap created through the API can be opened and adjusted by hand.
Properties
| Name | Type | Description |
|---|---|---|
| wrapId | string | |
| bookId | string | |
| designName | stringnull | `API` for wraps created through this endpoint. |
| designStyle | stringnull | |
| printProvider | string | `kdp` (Amazon KDP) or `bn` (Barnes & Noble). Wraps created through the API are always `kdp`; `bn` designs come from the browser wrap editor. |
| bindingType | stringnull | `paperback`, `hardcover`, or `dust-jacket` (Barnes & Noble only). |
| trimWidth | number | |
| trimHeight | number | |
| pageCount | integernull | Null on a Barnes & Noble design: its spine width is entered by hand. |
| paperType | stringnull | Null on a Barnes & Noble design. |
| spineWidth | number | |
| flapWidth | numbernull | Width of each flap in inches on a Barnes & Noble dust jacket; null on every other format. |
| fullWidthInches | number | |
| fullHeightInches | number | |
| fontFamily | stringnull | The font of the tagline, blurb and author bio (else of the spine title), which a re-render keeps unless it names another. Null when the layout names none, in which case a preset sets Arimo. Blocks add |
| text | object | The words the wrap shows now, so a caller can change one field without retyping the others. Null where a field is empty. |
| layout_state | objectnull | Editor-schema layout: text blocks in percent-of-panel coordinates, image layers (`imageBlocks`, each on the back cover or, with `panel: "spine"`, on the spine), spine styles, overlay settings. |
| created_at | string | |
| updated_at | string | |
| assets | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/beyourcover-com/json-schema/beyourcover-com-wrap-detail-schema.json",
"title": "WrapDetail",
"description": "A stored wrap design. `layout_state` is the same schema the browser wrap editor reads and writes, so a wrap created through the API can be opened and adjusted by hand.",
"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/WrapDetail",
"type": "object",
"required": [
"wrapId",
"assets"
],
"properties": {
"wrapId": {
"type": "string",
"format": "uuid"
},
"bookId": {
"type": "string",
"format": "uuid"
},
"designName": {
"type": [
"string",
"null"
],
"description": "`API` for wraps created through this endpoint."
},
"designStyle": {
"type": [
"string",
"null"
]
},
"printProvider": {
"type": "string",
"enum": [
"kdp",
"bn"
],
"description": "`kdp` (Amazon KDP) or `bn` (Barnes & Noble). Wraps created through the API are always `kdp`; `bn` designs come from the browser wrap editor."
},
"bindingType": {
"type": [
"string",
"null"
],
"description": "`paperback`, `hardcover`, or `dust-jacket` (Barnes & Noble only)."
},
"trimWidth": {
"type": "number"
},
"trimHeight": {
"type": "number"
},
"pageCount": {
"type": [
"integer",
"null"
],
"description": "Null on a Barnes & Noble design: its spine width is entered by hand."
},
"paperType": {
"type": [
"string",
"null"
],
"description": "Null on a Barnes & Noble design."
},
"spineWidth": {
"type": "number"
},
"flapWidth": {
"type": [
"number",
"null"
],
"description": "Width of each flap in inches on a Barnes & Noble dust jacket; null on every other format."
},
"fullWidthInches": {
"type": "number"
},
"fullHeightInches": {
"type": "number"
},
"fontFamily": {
"type": [
"string",
"null"
],
"description": "The font of the tagline, blurb and author bio (else of the spine title), which a re-render keeps unless it names another. Null when the layout names none, in which case a preset sets Arimo. Blocks added by hand in the editor can use other fonts: see `layout_state`."
},
"text": {
"type": "object",
"description": "The words the wrap shows now, so a caller can change one field without retyping the others. Null where a field is empty.",
"properties": {
"tagline": {
"type": [
"string",
"null"
]
},
"blurb": {
"type": [
"string",
"null"
]
},
"authorBio": {
"type": [
"string",
"null"
]
},
"spineTitle": {
"type": [
"string",
"null"
]
},
"spineAuthor": {
"type": [
"string",
"null"
]
}
}
},
"layout_state": {
"type": [
"object",
"null"
],
"description": "Editor-schema layout: text blocks in percent-of-panel coordinates, image layers (`imageBlocks`, each on the back cover or, with `panel: \"spine\"`, on the spine), spine styles, overlay settings."
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"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}."
}
}
}
}
}
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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/beyourcover-com-wrap-detail"
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.