BuildBatch
UK DIY shopping lists for one room: paint, wallpaper, tiles, flooring and more, in real packs.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"buildbatch": {
"url": "https://buildbatch.co.uk/mcp"
}
}
}원격 엔드포인트
https://buildbatch.co.uk/mcpstreamable-http할 수 있는 일
도구 목록
도구 (4)
🟢quick_room_list(job, room, length, width, height, ...)
Works out how much paint, wallpaper, wall tiles, flooring, carpet, skirting, loft insulation, plasterboard, concrete, patio paving or sub-base and gravel one room or area needs, and everything else to buy for the job (preparation, tools, safety), in real UK pack sizes. Takes the job and either the room's length, width and height, or a typical room by name for a room that has not been measured; the answer then states that the measurements are typical. A height left out, for a job on the walls, is taken as 2.4 m and the answer states it. Takes a paint from BuildBatch's catalogue by name (product), whose maker's own coverage, coats and tins are then used. Returns the main quantities in one line (answer), a short shopping list and a link to the whole list. It does not take exact door sizes, a product's own figures typed in, tiling part-way up a wall or an L-shaped room. For sub-base and gravel it plans gravel over Type 1 for a driveway, and the answer lists both as taken; plan_room takes groundwork.material (Type 1 or gravel alone) and groundwork.use (a path, a shed base or a border).
입력 스키마
{
"type": "object",
"properties": {
"job": {
"type": "string",
"enum": [
"paint",
"wallpaper",
"tiles",
"flooring",
"carpet",
"loft",
"both",
"paint-carpet",
"skirting",
"plasterboard",
"concrete",
"patio",
"groundwork"
],
"description": "The job. Required. wallpaper is the paint job with papered walls and no ceiling; tiles is the paint job with tiled walls and no ceiling; both is paint and a new floor; paint-carpet is paint and carpet from a roll; skirting is skirting and architrave; groundwork is MOT Type 1 sub-base, gravel, or gravel over Type 1 (groundwork.material)."
},
"room": {
"type": "string",
"enum": [
"bedroom-small",
"bedroom-large",
"living-small",
"living-large",
"kitchen-small",
"kitchen-large",
"bathroom-small",
"bathroom-large"
],
"description": "A typical room, for a person who has not measured: bedroom-small (3 m × 2.5 m), bedroom-large (4 m × 3.5 m), living-small (4 m × 3 m), living-large (5.5 m × 4 m), kitchen-small (3 m × 2 m), kitchen-large (4.5 m × 3.5 m), bathroom-small (2 m × 1.7 m), bathroom-large (2.7 m × 2.4 m), each 2.4 m high. The answer states that these are typical measurements. Not used together with length and width, and not for a loft, a slab, a patio or a sub-base, which are not rooms."
},
"length": {
"type": "number",
"exclusiveMinimum": 0,
"description": "The room's length, in the units."
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"description": "The room's width, in the units."
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Floor to ceiling, in the units. Used for paint, wallpaper, wall tiles, both, paint-carpet and plasterboard; if it is left out for those, a 2.4 m ceiling, a typical UK height, is taken and the answer states it."
},
"units": {
"type": "string",
"enum": [
"m",
"cm",
"mm",
"ft"
],
"description": "What the measurements are in: m, cm, mm or ft (feet). Metres if left out."
},
"doors": {
"type": "integer",
"minimum": 0,
"maximum": 20,
"description": "How many doors. Each is taken off the wall area at a typical size."
},
"windows": {
"type": "integer",
"minimum": 0,
"maximum": 20,
"description": "How many windows. Each is taken off the wall area at a typical size."
},
"product": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "A paint in BuildBatch's published catalogue, by its name or its page's slug (Dulux Trade Diamond Matt, dulux-trade-diamond-matt): the maker's own coverage, coats and tin sizes are used for what it is for (a wall and ceiling paint for the walls and the ceiling, a woodwork paint for the woodwork), and the answer names the source. Figures sent for that paint's group (wallpaint, ceilingpaint, woodpaint) win over the maker's. A name that matches more than one paint, or none, is named in the answer, and the typical figures are used."
}
},
"required": [
"job"
],
"additionalProperties": false,
"examples": [
{
"job": "paint",
"length": 4,
"width": 3,
"height": 2.4,
"doors": 1,
"windows": 1
},
{
"job": "flooring",
"room": "living-small"
}
]
}출력 스키마
{
"type": "object",
"properties": {
"api": {
"type": "string",
"description": "Always \"buildbatch-assistant\"."
},
"document": {
"type": "string",
"description": "\"plan-summary\" for the short answer; the planner's own name for detail \"full\" or a refusal."
},
"v": {
"type": "number",
"description": "The version number of the planner's link and answer format."
},
"ok": {
"type": "boolean",
"description": "true: a list was made. false: the call was refused, and error says why."
},
"answer": {
"type": "string",
"description": "The main quantities to buy, in one line, to say first (for a typical room, it says so)."
},
"room": {
"anyOf": [
{
"type": "string"
},
{
"type": "object"
}
],
"description": "The room as the planner understood it: a sentence (metres, as worked out), or with detail \"full\" its areas and lengths."
},
"product": {
"type": "object",
"description": "When a catalogue paint was named and used: its name, its page, the maker's own figures, their source, the surfaces it was used for and one sentence (said) that names them."
},
"typicalRoom": {
"type": "object",
"description": "When a typical room was used: its id, label and a note that these are not the person's own measurements."
},
"toBuy": {
"type": "array",
"items": {
"type": "object",
"properties": {
"item": {
"type": "string",
"description": "What to buy."
},
"quantity": {
"type": "string",
"description": "How much to buy, in the planner's words: whole packs as sold, a part pack rounded up (\"1 × 5 L + 1 × 2.5 L\"), or an amount to order or to cover where it is not sold in packs (\"1.32 m³ to order\")."
},
"why": {
"type": "string",
"description": "How it was worked out."
},
"needed": {
"type": "string",
"description": "Paint: the litres needed before rounding up to tins."
},
"checkFirst": {
"type": "string",
"description": "What to check before buying."
},
"figures": {
"type": "string",
"description": "generic, typical or user: see figures."
},
"figuresFrom": {
"type": "string",
"description": "A typical figure's sources and the day read."
},
"examplePack": {
"type": "boolean",
"description": "The example pack kept beside a figure sent."
},
"figuresNote": {
"type": "string",
"description": "Which figures are whose."
},
"question": {
"type": "object",
"description": "A line to check: its question and answers."
}
},
"required": [
"item"
]
},
"description": "Each thing to buy, in the order of the list."
},
"toCheck": {
"type": "array",
"items": {
"type": "object"
},
"description": "Each thing that depends on the person's own job, as toBuy's items, with its question."
},
"first": {
"type": "array",
"items": {
"type": "object"
},
"description": "What has to be in place before the job starts, as toBuy's items: not a thing to buy."
},
"toAnswer": {
"type": "array",
"items": {
"type": "string"
},
"description": "Questions whose answers would change the list."
},
"notUsed": {
"type": "array",
"items": {
"type": "string"
},
"description": "Arguments that were sent and not used, with why."
},
"assumed": {
"type": "array",
"items": {
"type": "string"
},
"description": "What was taken as not given, with the value taken (a missing height is a 2.4 m ceiling)."
},
"leftovers": {
"type": "array",
"description": "What will be left over once the whole packs are bought."
},
"warnings": {
"type": "array",
"description": "Warnings that come with the list."
},
"listUrl": {
"type": "string",
"description": "The whole list on buildbatch.co.uk, as a link a person can open."
},
"startUrl": {
"type": "string",
"description": "The planner opened on this room, to change it."
},
"links": {
"type": "object",
"description": "What listUrl and startUrl open, in words."
},
"figures": {
"type": "string",
"description": "What generic, typical, user and catalogue mean."
},
"review": {
"type": "string",
"description": "How far the figures have been checked: not yet by a tradesperson."
},
"prices": {
"type": "string",
"description": "That no price is shown or used in this answer."
},
"more": {
"type": "string",
"description": "What plan_room with detail \"full\" adds."
},
"understood": {
"type": "object",
"description": "detail \"full\": every argument as the planner read it."
},
"summary": {
"type": "object",
"description": "detail \"full\": the counts and the short list."
},
"lines": {
"type": "array",
"description": "detail \"full\": every line with its working, packs, figures and each shop's search link."
},
"statuses": {
"type": "object",
"description": "detail \"full\": what each line's status means."
},
"assumptions": {
"type": "array",
"items": {
"type": "string"
},
"description": "detail \"full\": what the whole list assumes."
},
"shops": {
"type": "array",
"description": "detail \"full\": the shops each line's search link goes to."
},
"honesty": {
"type": "object",
"description": "detail \"full\": the formulas' versions, how far the figures have been checked, and what the shop links are."
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
],
"description": "When ok is false: why the call was refused, as words or as { code, message }."
},
"problems": {
"type": "array",
"items": {
"type": "object"
},
"description": "When ok is false: each argument that is missing or not understood, with the id of its question in ask_questions."
},
"ask": {
"type": "array",
"items": {
"type": "string"
},
"description": "When ok is false: the ids of the questions in ask_questions to ask the person, in order."
},
"next": {
"type": "string",
"description": "When ok is false: what to do next."
},
"ignored": {
"type": "array",
"description": "Arguments that were not used, with why."
},
"startUrlNote": {
"type": "string",
"description": "What the startUrl link opens."
}
},
"required": [
"ok"
]
}🟢plan_room(job, units, length, width, area, ...)
Works out the whole shopping list for one room, with every option the planner has: exact door and window sizes, a product's own coverage and pack sizes, an L-shaped room, tiling part-way up a wall. Arguments are the named parameters of /plan.json. A job is required. A height left out, where the job needs one, is taken as 2.4 m and the answer states it. Repeated door, window and opening values are arrays. No price is used; price arguments are ignored and named in the answer. Returns a short shopping list: each item with its quantity and reason, and a link to the whole list.
입력 스키마
{
"type": "object",
"properties": {
"job": {
"type": "string",
"description": "The job. Required. wallpaper is the paint job with papered walls and no ceiling; tiles is the paint job with tiled walls and no ceiling; both is paint and a new floor; paint-carpet is paint and carpet from a roll; skirting is skirting and architrave; groundwork is MOT Type 1 sub-base, gravel, or gravel over Type 1 (groundwork.material).",
"enum": [
"paint",
"wallpaper",
"tiles",
"flooring",
"carpet",
"loft",
"both",
"paint-carpet",
"skirting",
"plasterboard",
"concrete",
"patio",
"groundwork"
]
},
"units": {
"type": "string",
"description": "What length, width, height and the doors are measured in. Default m. In ft write 13ft9in, or 13 for whole feet.",
"enum": [
"m",
"cm",
"mm",
"ft"
]
},
"length": {
"type": "string",
"description": "One side of the floor, in the units. A length may carry its own unit (360cm, 4200mm). Not needed when plan is given."
},
"width": {
"type": "string",
"description": "The other side of the floor, in the units. Not needed when plan is given."
},
"area": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Loft insulation, concrete, a patio, sub-base and gravel, and a floor (laminate, wood, vinyl planks or floor tiles) only: the floor's area in square metres, up to 900, instead of length and width. How far it is round is then not known: the formwork, the edging or the scotia beading is a check without a length, and new skirting needs the length and width."
},
"height": {
"type": "string",
"description": "Floor to ceiling, in the units. Used when walls are painted, papered, tiled or boarded (paint-carpet too); if it is left out then, a 2.4 m ceiling, a typical UK height, is taken and the answer states it. Not used for flooring, carpet, loft insulation, concrete or skirting alone."
},
"plan": {
"type": "string",
"description": "A room that is not a rectangle: its corners in turn, in metres whatever units says, as x,y pairs separated by \";\". Replaces length and width. Up to 24 corners."
},
"door": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50,
"description": "One per door, the value repeated for more. A typical size by name (int-762 is a standard internal door) or width x height in the units. *2 after it means two the same."
},
"window": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50,
"description": "One per window, the value repeated for more. A typical size by name (win-standard) or width x height in the units. *2 after it means two the same."
},
"opening": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50,
"description": "Any other opening to take off the walls (a garage door, an archway), as width x height or a name. The key may be repeated."
},
"bath": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50,
"description": "A bath or shower tray: a name (bath-1700, tray-900) or its length along the wall x its rim height x how far it comes into the room, in the units. The wall behind it comes off up to the rim, and its footprint off a floor being laid. The key may be repeated."
},
"walls": {
"type": "string",
"description": "What the walls get. The job sets it, so it is rarely needed: paint, wallpaper, tiles, board or none.",
"enum": [
"paint",
"wallpaper",
"tiles",
"board",
"none"
]
},
"ceiling": {
"type": "string",
"description": "What the ceiling gets: paint, or board on the plasterboard job, or none. Another word is named in ignored[] and the job's own choice used.",
"enum": [
"paint",
"board",
"none"
]
},
"walls.length": {
"type": "string",
"description": "Paint, tiles or wallpaper on some walls only (a splashback, a shower's walls, a feature wall): the total length of the walls covered, in the units. It replaces the room's perimeter for the paint, the tiles' area and the paper's drops; doors and windows are then not taken off. Left out: all the walls. Sent with a height and with no length, width, plan or area, it is a wall on its own: the room is not needed (walls only: no ceiling, woodwork, floor or skirting)."
},
"woodwork": {
"type": "string",
"description": "Paint jobs only: paint when the woodwork is painted too (this room's doors, their architraves, the windows' frames and the skirting, counted from the doors and windows given and the room's perimeter, in satinwood at a typical coverage). With walls=none and ceiling=none, the woodwork on its own. Left out: not painted.",
"enum": [
"paint",
"none"
]
},
"trim": {
"type": "string",
"description": "New skirting, architrave or both (skirting,architrave), with any job in a room; a loft floor, a slab and a patio take none. Default skirting for the skirting job, else none.",
"enum": [
"skirting",
"architrave",
"skirting,architrave",
"none"
]
},
"surface": {
"type": "string",
"description": "What the painted surfaces are like now. Default sound, the planner's own default. Used by painting jobs.",
"enum": [
"sound",
"new-bare",
"stained",
"damp-mould",
"flaking-glossy",
"other"
]
},
"newplaster": {
"type": "string",
"description": "Painting jobs: is any of it new or bare plaster? yes adds a mist coat of white contract matt on its own line and leaves the sugar soap out; no is a sound painted surface. Left out, the list is a sound room's and its primer line carries the question to ask.",
"enum": [
"yes",
"no"
]
},
"colourchange": {
"type": "string",
"description": "Painting jobs: is the colour going much lighter or darker? yes adds one coat to the walls. Left out, two coats are counted and the wall paint's line carries the question to ask.",
"enum": [
"yes",
"no"
]
},
"skirtingoff": {
"type": "string",
"description": "Flooring jobs: is the skirting coming off, to go back over the new floor's edge? yes leaves the scotia beading out; no counts it in 2.4 m lengths. Left out, the beading is counted and its line carries the question to ask.",
"enum": [
"yes",
"no"
]
},
"woodsurface": {
"type": "string",
"description": "With woodwork=paint: what the woodwork is like now. Default sound (painted before and sound). bare adds a check line for knotting, primer and undercoat; flaking adds the note about old paint.",
"enum": [
"sound",
"bare",
"flaking"
]
},
"subfloor": {
"type": "string",
"description": "What is under a new floor. Default unsure. Used by flooring jobs.",
"enum": [
"timber",
"concrete",
"existing",
"unsure"
]
},
"ground": {
"type": "string",
"description": "Whether the floor is on the ground floor. Default unsure. Used by flooring jobs.",
"enum": [
"yes",
"no",
"unsure"
]
},
"fitting": {
"type": "string",
"description": "How the floor is fitted. Default unsure. Used by flooring jobs.",
"enum": [
"click",
"glue",
"nail",
"unsure"
]
},
"wallpaint": {
"type": "string",
"description": "Whether the wall paint uses the labelled example figures (quick) or figures read off the tin (custom). Needed for the keys below to take effect.",
"enum": [
"quick",
"custom"
]
},
"wallpaint.coats": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Coats on the tin, for the wall paint. With quick, a figure sent here is used and labelled as the person's; the ones not sent stay the labelled examples."
},
"wallpaint.coverage": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Metres squared covered by one litre in one coat, from the tin, for the wall paint. With quick, a figure sent here is used and labelled as the person's; the ones not sent stay the labelled examples."
},
"wallpaint.extra": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Percent to add for waste and touch-ups, for the wall paint. With quick, a figure sent here is used and labelled as the person's; the ones not sent stay the labelled examples."
},
"wallpaint.tins": {
"type": "string",
"description": "Tin sizes in litres, comma separated, for the wall paint. A size may carry a price after \"@\": the price is accepted and ignored."
},
"ceilingpaint": {
"type": "string",
"description": "Whether the ceiling paint uses the labelled example figures (quick) or figures read off the tin (custom). Needed for the keys below to take effect.",
"enum": [
"quick",
"custom"
]
},
"ceilingpaint.coats": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Coats on the tin, for the ceiling paint. With quick, a figure sent here is used and labelled as the person's; the ones not sent stay the labelled examples."
},
"ceilingpaint.coverage": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Metres squared covered by one litre in one coat, from the tin, for the ceiling paint. With quick, a figure sent here is used and labelled as the person's; the ones not sent stay the labelled examples."
},
"ceilingpaint.extra": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Percent to add for waste and touch-ups, for the ceiling paint. With quick, a figure sent here is used and labelled as the person's; the ones not sent stay the labelled examples."
},
"ceilingpaint.tins": {
"type": "string",
"description": "Tin sizes in litres, comma separated, for the ceiling paint. A size may carry a price after \"@\": the price is accepted and ignored."
},
"woodpaint": {
"type": "string",
"description": "Whether the woodwork paint (with woodwork=paint) uses the labelled example figures (quick) or figures read off the tin (custom). Needed for the keys below to take effect.",
"enum": [
"quick",
"custom"
]
},
"woodpaint.coats": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Coats on the tin, for the woodwork paint (with woodwork=paint). With quick, a figure sent here is used and labelled as the person's; the ones not sent stay the labelled examples."
},
"woodpaint.coverage": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Metres squared covered by one litre in one coat, from the tin, for the woodwork paint (with woodwork=paint). With quick, a figure sent here is used and labelled as the person's; the ones not sent stay the labelled examples."
},
"woodpaint.extra": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Percent to add for waste and touch-ups, for the woodwork paint (with woodwork=paint). With quick, a figure sent here is used and labelled as the person's; the ones not sent stay the labelled examples."
},
"woodpaint.tins": {
"type": "string",
"description": "Tin sizes in litres, comma separated, for the woodwork paint (with woodwork=paint). A size may carry a price after \"@\": the price is accepted and ignored."
},
"floor": {
"type": "string",
"description": "Whether the flooring uses the labelled example figures (quick) or figures read off the pack (custom). Needed for the keys below to take effect.",
"enum": [
"quick",
"custom"
]
},
"floor.covering": {
"type": "string",
"description": "What the floor is. Default laminate.",
"enum": [
"laminate",
"engineered",
"vinylPlank",
"tile"
]
},
"floor.pattern": {
"type": "string",
"description": "How the floor is laid: straight, brick, diagonal or herringbone. A diagonal or herringbone lay takes 15% for cuts where a straight lay takes 10%, unless floor.extra gives another figure. Left out: straight."
},
"floor.extra": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Percent to add for cuts. With quick, a figure sent here is used and labelled as the person's; the ones not sent stay the labelled examples."
},
"floor.packs": {
"type": "string",
"description": "Metres squared in one pack or box, comma separated for several sizes. A size may carry a price after \"@\": the price is accepted and ignored. With quick, a figure sent here is used and labelled as the person's; the ones not sent stay the labelled examples."
},
"floor.typical": {
"type": "string",
"description": "Since template 1.37.0: packs, when floor.packs is one of the typical laminate sizes the planner offers beside its number, so the pack stays a typical figure that names its maker. Leave it out unless the planner wrote it.",
"enum": [
"packs"
]
},
"floor.underlay": {
"type": "string",
"description": "Whether underlay is needed.",
"enum": [
"need",
"have",
"not-needed",
"unsure"
]
},
"floor.underlay.roll": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Metres squared in one roll of underlay."
},
"floor.adhesive": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Floor tiles: metres squared one bag of adhesive covers."
},
"floor.grout": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Floor tiles: metres squared one bag of grout covers."
},
"floor.tilew": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Floor tiles: one side of a tile, in millimetres, for a count of tiles (with floor.tileh). Optional; the boxes are still counted by area."
},
"floor.tileh": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Floor tiles: the other side of a tile, in millimetres (with floor.tilew)."
},
"floor.joint": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Floor tiles: the joint width in millimetres. With the tile size, the grout is counted by the makers' rule; left out, a typical 3 mm joint is used and said so."
},
"floor.depth": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Floor tiles: the tile's thickness in millimetres, for the grout. Left out, a typical 10 mm is used and said so."
},
"floor.trowel": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Floor tiles: the notched trowel, 6 or 12 (mm). The adhesive is counted from it; left out, the one the adhesive maker's sheet gives for the tile's size (6 up to 300 mm on its long side, 12 above)."
},
"floor.adhesivebag": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Floor tiles: the weight of one bag of adhesive in kilograms; 20 when left out."
},
"floor.groutbag": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Floor tiles: the weight of one bag of grout in kilograms; 5 when left out."
},
"carpet": {
"type": "string",
"description": "Whether the carpet uses the labelled example roll figures (quick) or figures from the carpet and shop (custom). Needed for the keys below to take effect.",
"enum": [
"quick",
"custom"
]
},
"carpet.width": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "The fixed width of the carpet roll in metres. Left out with carpet=quick: the standard width (4 or 5 m; 2, 3 or 4 m for sheet vinyl) that needs least roll for the room, said so on the list."
},
"carpet.allowance": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "The trimming allowance in metres, added once to each room measurement."
},
"carpet.step": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "The step in metres in which the shop sells the cut length."
},
"carpet.underlay": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Metres squared covered by one chosen underlay roll or pack."
},
"carpet.direction": {
"type": "string",
"description": "Which way the pile or pattern must run. Not decided lets the planner show the smaller one-piece cut that fits.",
"enum": [
"auto",
"length",
"width"
]
},
"carpet.covering": {
"type": "string",
"description": "What is laid from the roll: carpet (with underlay and gripper) or sheet vinyl (loose laid, taped or glued; no underlay). Sheet vinyl is sold in 2, 3 and 4 m widths; its quick example is a 3 m roll.",
"enum": [
"carpet",
"vinyl"
]
},
"loft": {
"type": "string",
"description": "Whether the loft insulation uses labelled example figures (quick) or figures measured in the loft and read from the chosen roll (custom). Needed for the keys below to take effect.",
"enum": [
"quick",
"custom"
]
},
"loft.existing": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Existing insulation depth in millimetres."
},
"loft.target": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Chosen target insulation depth in millimetres."
},
"loft.depth": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Thickness of one new mineral-wool layer in millimetres, from the chosen roll."
},
"loft.pack": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Square metres covered by one chosen roll or pack; optional for a 100, 150, 170 or 200 mm roll, whose typical coverage (the maker's, as the shops' own listings name it) is used and said so."
},
"loft.extra": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Percent to add for cuts and fitting."
},
"loft.over": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Thickness in millimetres of a second roll laid across the joists over one layer of the first; optional. With it, the first roll is one layer between the joists and the rest is this roll."
},
"loft.overpack": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Square metres one roll of the second insulation covers; optional for a 100, 150, 170 or 200 mm roll."
},
"concrete": {
"type": "string",
"description": "Whether the concrete slab uses labelled example figures (quick) or the thickness decided for the job and figures read off the bag (custom). Needed for the keys below to take effect. The room is the slab: its length and width, no height.",
"enum": [
"quick",
"custom"
]
},
"concrete.thickness": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Slab thickness in millimetres, decided for the job. BuildBatch suggests none. With quick, a figure sent here is used and labelled as the person's; the ones not sent stay the labelled examples."
},
"concrete.extra": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Percent to add for an uneven base and spillage. With quick, a figure sent here is used and labelled as the person's; the ones not sent stay the labelled examples."
},
"concrete.supply": {
"type": "string",
"description": "bags: bags of dry mix; mix: cement with sand and aggregate, mixed on site; mixed: ready-mixed concrete, delivered by the cubic metre. Mind the two: \"mix\" is mixed on site, \"mixed\" arrives mixed. Left out, the planner follows the slab's volume (bags up to 0.25 m³, mixed on site up to 1 m³, ready-mixed above) and the answer says what each of the three ways takes.",
"enum": [
"bags",
"mix",
"mixed"
]
},
"concrete.yield": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Cubic metres one bag makes, as printed on the bag. Bags only. With quick, a figure sent here is used and labelled as the person's; the ones not sent stay the labelled examples."
},
"concrete.weight": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "The weight of one bag in kilograms. Bags only. With quick, a figure sent here is used and labelled as the person's; the ones not sent stay the labelled examples."
},
"concrete.step": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "The step in cubic metres the supplier sells ready-mixed concrete in. Ready-mixed only; optional."
},
"concrete.mix": {
"type": "string",
"description": "Which of the maker's published mixes the cement, sand and aggregate follow: general purpose, paving or foundation. Mixed on site only.",
"enum": [
"general",
"paving",
"foundation"
]
},
"concrete.aggregate": {
"type": "string",
"description": "Whether the aggregate is bought as all-in ballast or as sharp sand and coarse aggregate. Mixed on site only.",
"enum": [
"ballast",
"separate"
]
},
"concrete.subdepth": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Depth of the sub-base under the slab in millimetres, decided for the job; optional. With it, the sub-base is counted in bulk bags or 25 kg bags from a typical figure that names its source."
},
"concrete.bags": {
"type": "string",
"description": "How the sand, aggregate or ballast of a mix on site, and the sub-base, are bought: bulk (bulk bags of about 800 kg) or bags (25 kg bags). Unless given, each comes in 25 kg bags where 20 of them or fewer cover it, and in bulk bags above that; each is counted in whole bags from a typical figure that names its source."
},
"patio": {
"type": "string",
"description": "Whether the patio uses labelled example figures (quick: a 600 × 600 mm slab, the makers' 10 mm joint, 10% for cuts, a 30 mm bed at 1 : 4) or figures entered from the slab and the guides (custom). Needed for the keys below to take effect. The room is the patio: its length and width, no height.",
"enum": [
"quick",
"custom"
]
},
"patio.width": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "One side of a slab in millimetres."
},
"patio.length": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "The other side of a slab in millimetres."
},
"patio.joint": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Joint width in millimetres. The makers' guides give 10 mm as the minimum."
},
"patio.extra": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Percent to add for cuts."
},
"patio.pack": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "How many slabs a pack holds, a whole number; optional. With it, whole packs are counted."
},
"patio.covers": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Square metres one pack covers, from the pack, for a project pack of mixed sizes; optional, and it beats patio.pack. With it, whole packs are counted by area."
},
"patio.bed": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Depth of the full mortar bed in millimetres, before tamping. The makers' guides give 30 to 40 mm."
},
"patio.cement": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Parts of cement in the bed, by volume."
},
"patio.sand": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Parts of sharp sand in the bed, by volume. The guides give 3 or 4 to 1 of cement."
},
"patio.bag": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "What one bag of cement fills in litres, from the bag; optional. Without it the bags are counted from a typical 17 L a 25 kg bag, said to be typical."
},
"patio.primer": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Square metres one tub of slurry primer covers, from the tub; optional. Without it the tubs are counted from a typical 12 m² a tub, said to be typical."
},
"patio.jointing": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Square metres one pail of jointing compound covers at your joint, from the pail; optional. Without it the pails are counted from a typical 7 m² a pail, said to be typical."
},
"patio.subdepth": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Depth of the sub-base under the patio in millimetres, decided for the job; optional. Without it the makers' usual minimum of 100 mm is used, said to be typical."
},
"patio.house": {
"type": "string",
"description": "Whether the patio is against the house along one side: yes or no. It decides how many edges the sub-base runs 150 mm past and how much edge restraint is counted. Left out, it is counted as against the house along its longest side, and the sub-base line carries the question."
},
"patio.bags": {
"type": "string",
"description": "How the sand and the sub-base are bought: bulk (bulk bags of about 800 kg) or bags (25 kg bags). Unless given, each comes in 25 kg bags where 20 of them or fewer cover it, and in bulk bags above that; each is counted in whole bags from a typical figure that names its source."
},
"groundwork": {
"type": "string",
"description": "Sub-base and gravel: quick, the one value (each layer at the typical depth for its use unless a depth is given, in bags counted from typical figures that name their sources). Needed for the keys below to take effect. The room is the area: its length and width, or area, no height.",
"enum": [
"quick"
]
},
"groundwork.material": {
"type": "string",
"description": "What is laid: type1 (MOT Type 1 sub-base alone), gravel (gravel alone) or both (gravel over Type 1). Default both.",
"enum": [
"type1",
"gravel",
"both"
]
},
"groundwork.use": {
"type": "string",
"description": "What it is for, which sets each layer's typical depth: path (Type 1 100 mm, gravel 50 mm), driveway (Type 1 150 mm, gravel 50 mm), shed (Type 1 100 mm, gravel 50 mm), border (Type 1 100 mm, gravel 50 mm). Default driveway. Typical figures from makers' and merchants' pages, not a design.",
"enum": [
"path",
"driveway",
"shed",
"border"
]
},
"groundwork.subdepth": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Depth of the Type 1 in millimetres once compacted, decided for the job; optional. Without it the use's typical depth is used, said to be typical."
},
"groundwork.depth": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Depth of the gravel in millimetres, loose; optional. Without it the use's typical depth is used, said to be typical."
},
"groundwork.gravel": {
"type": "string",
"description": "Which gravel: shingle (20 mm gravel or shingle, in 25 kg bags or bulk bags) or decorative (decorative chippings, in 20 kg bags or bulk bags). Default shingle.",
"enum": [
"shingle",
"decorative"
]
},
"groundwork.bags": {
"type": "string",
"description": "How the Type 1 and the gravel are bought: bulk (bulk bags of about 800 kg) or bags (25 kg bags, 20 kg for decorative chippings). Unless given, each comes in bags where 20 of them or fewer cover it, and in bulk bags above that."
},
"laystart": {
"type": "string",
"description": "Floor tiles, and a patio, given as length and width or a plan (not an area), straight or brick laid: where the laying starts. centre (the middle of the room), corner (whole tiles along two walls) or house (a patio only: whole slabs along the house wall). Left out, the start needing the fewest cuts and tiles is used, or the house wall for a patio against the house; the answer says which and counts that layout.",
"enum": [
"centre",
"corner",
"house"
]
},
"paper": {
"type": "string",
"description": "Whether the wallpaper is the labelled example roll (quick) or read off the label (custom). Needed for the keys below to take effect.",
"enum": [
"quick",
"custom"
]
},
"paper.width": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Roll width in centimetres. Custom only: with quick the example is used, and a figure sent here is named in ignored[] as not used."
},
"paper.length": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Roll length in metres. Custom only: with quick the example is used, and a figure sent here is named in ignored[] as not used."
},
"paper.repeat": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Pattern repeat in centimetres. 0 or left out for none."
},
"paper.match": {
"type": "string",
"description": "How the pattern lines up. straight and half-drop need paper.repeat. unsure, or left out with no repeat, is counted as a straight match with a 64 cm repeat (three drops a roll at an ordinary ceiling), which keeps the rolls from running short; the line names it.",
"enum": [
"free",
"straight",
"half-drop",
"unsure"
]
},
"paper.paste": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Rolls one packet of paste does."
},
"walltiles": {
"type": "string",
"description": "Whether the wall tiles are the labelled example box (quick) or read off the box (custom). Needed for the keys below to take effect.",
"enum": [
"quick",
"custom"
]
},
"walltiles.height": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Metres up the wall the tiles go. Left out: to the ceiling."
},
"walltiles.fullrun": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Metres of wall tiled to the ceiling round a bath or shower, with walltiles.height for the rest (a bathroom's two heights). Left out: none."
},
"walltiles.above": {
"type": "string",
"description": "yes when the wall above tiles that stop below the ceiling is painted on the same list; no, or left out, leaves it off."
},
"wallpaint.colour": {
"type": "string",
"description": "The wall paint's colour: magnolia, or colour for a colour no partner shop sells (counted in 2.5 L tins and priced only once its price is typed). Left out: white."
},
"wallpaint.finish": {
"type": "string",
"description": "The wall paint's finish. Left out: matt."
},
"wallpaint.name": {
"type": "string",
"description": "The name of a coloured wall paint (up to 60 characters), which the shops are searched for. Read with wallpaint.colour=colour only."
},
"breast": {
"type": "string",
"description": "A chimney breast on a wall of the rectangle: width x depth @ wall, in the room's units; the wall is L1, W1, L2 or W2. One a wall."
},
"bay": {
"type": "string",
"description": "A bay on a wall of the rectangle, going out: width x depth @ wall. One a wall."
},
"alcove": {
"type": "string",
"description": "An alcove on a wall of the rectangle, going out: width x depth @ wall. One a wall."
},
"walltiles.box": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Metres squared in one box. Custom only: with quick the example is used, and a figure sent here is named in ignored[] as not used."
},
"walltiles.pattern": {
"type": "string",
"description": "How the wall tiles are laid: straight, brick, diagonal or herringbone. A diagonal or herringbone lay takes 15% for cuts where a straight lay takes 10%, unless walltiles.extra gives another figure. Left out: straight."
},
"walltiles.reveal": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "How deep the window reveals are, in millimetres, on walls tiled to the ceiling: the reveals are tiled too. Left out: 150, an example depth, said to be one. 0 leaves them out."
},
"walltiles.extra": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Percent to add for cuts. Custom only: with quick the example is used, and a figure sent here is named in ignored[] as not used."
},
"walltiles.adhesive": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Metres squared one bag of adhesive covers."
},
"walltiles.grout": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Metres squared one bag of grout covers."
},
"walltiles.tilew": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "One side of a wall tile, in millimetres, for a count of tiles (with walltiles.tileh). Optional; the boxes are still counted by area."
},
"walltiles.tileh": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "The other side of a wall tile, in millimetres (with walltiles.tilew)."
},
"walltiles.joint": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "The joint width in millimetres. With the tile size, the grout is counted by the makers' rule; left out, a typical 2 mm joint is used and said so."
},
"walltiles.depth": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "The wall tile's thickness in millimetres, for the grout. Left out, a typical 8 mm is used and said so."
},
"walltiles.trowel": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "The notched trowel, 6 or 12 (mm). The adhesive is counted from it; left out, by the tile's size: 6 for a tile up to 600 mm on its long side, 12 for a larger one."
},
"walltiles.adhesivebag": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "The weight of one bag of adhesive in kilograms; 20 when left out."
},
"walltiles.groutbag": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "The weight of one bag of grout in kilograms; 5 when left out."
},
"lengths": {
"type": "string",
"description": "Whether the skirting and architrave lengths are the labelled examples (quick) or the lengths the shop sells (custom). Needed for the keys below to take effect.",
"enum": [
"quick",
"custom"
]
},
"lengths.skirting": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Length the skirting is sold in, in metres. Custom only: with quick the example is used, and a figure sent here is named in ignored[] as not used."
},
"lengths.architrave": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Length the architrave is sold in, in metres. Custom only: with quick the example is used, and a figure sent here is named in ignored[] as not used."
},
"trim.breasts": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "How many chimney breasts the new skirting goes round: each adds its two returns. Left out: none."
},
"trim.breastdepth": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "How deep a chimney breast is, in millimetres. Left out: 350, an example depth, said to be one."
},
"board": {
"type": "string",
"description": "Whether the plasterboard uses labelled example figures (quick) or figures from the board and system specification (custom). Needed for the keys below to take effect.",
"enum": [
"quick",
"custom"
]
},
"board.width": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Board width in metres. Custom only: with quick the example is used, and a figure sent here is named in ignored[] as not used."
},
"board.length": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Board length in metres. Custom only: with quick the example is used, and a figure sent here is named in ignored[] as not used."
},
"board.layers": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"description": "Whole layers from the complete system specification. Custom only: with quick the example is used, and a figure sent here is named in ignored[] as not used."
},
"board.extra": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Percent to add for cuts. Custom only: with quick the example is used, and a figure sent here is named in ignored[] as not used."
},
"board.finish": {
"type": "string",
"description": "How the boards will be finished.",
"enum": [
"skim",
"joint",
"unsure"
]
},
"board.skim": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Metres squared one bag of finish plaster covers, from the bag."
},
"board.fixing": {
"type": "string",
"description": "How the boards will be fixed.",
"enum": [
"screws",
"adhesive",
"unsure"
]
},
"board.adhesive": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
],
"description": "Wall boards one bag of plasterboard adhesive fixes, from its instructions."
},
"need": {
"type": "string",
"description": "Line ids, comma separated, to mark Need before the list is made. The ids are in the answer's lines. Rarely needed."
},
"check": {
"type": "string",
"description": "Line ids, comma separated, to mark Check first before the list is made. The ids are in the answer's lines. Rarely needed."
},
"have": {
"type": "string",
"description": "Line ids, comma separated, to mark Already have before the list is made. The ids are in the answer's lines. Rarely needed."
},
"not-needed": {
"type": "string",
"description": "Line ids, comma separated, to mark Not needed before the list is made. The ids are in the answer's lines. Rarely needed."
},
"product": {
"type": "string",
"description": "A paint in BuildBatch's published catalogue, by its name or its page's slug (Dulux Trade Diamond Matt, dulux-trade-diamond-matt): the maker's own coverage, coats and tin sizes are used for what it is for (a wall and ceiling paint for the walls and the ceiling, a woodwork paint for the woodwork), and the answer names the source. Figures sent for that paint's group (wallpaint, ceilingpaint, woodpaint) win over the maker's. A name that matches more than one paint, or none, is named in the answer, and the typical figures are used."
},
"name": {
"type": "string",
"description": "What the room is called. Optional. It is carried into the links the answer gives, where the person can also add it themselves."
},
"t": {
"type": "string",
"description": "Written by the planner in a sent list link: the Room Refresh template version the sender's screen used, so that the screen that opens it can say when the figures have moved since. Leave it out of a call."
},
"p": {
"type": "string",
"description": "Written by the planner in a sent list link: the day of the shop prices the sender's screen used (YYYY-MM-DD), so that the screen that opens it can say when the prices have moved since. Leave it out of a call."
},
"detail": {
"type": "string",
"enum": [
"summary",
"full"
],
"description": "How much to return. summary, the default: each item with its quantity and reason, what to check first and the list link. full: every line's working, pack breakdown and each shop's search link as well (20 KB or more)."
}
},
"required": [
"job"
],
"additionalProperties": false,
"examples": [
{
"job": "paint",
"units": "m",
"length": "4.2",
"width": "3.6",
"height": "2.4",
"door": [
"0.762x1.981"
],
"window": [
"1.2x1.0"
],
"wallpaint": "custom",
"wallpaint.coverage": "14",
"wallpaint.coats": "2",
"wallpaint.tins": "2.5,5",
"wallpaint.extra": "10"
}
]
}출력 스키마
{
"type": "object",
"properties": {
"api": {
"type": "string",
"description": "Always \"buildbatch-assistant\"."
},
"document": {
"type": "string",
"description": "\"plan-summary\" for the short answer; the planner's own name for detail \"full\" or a refusal."
},
"v": {
"type": "number",
"description": "The version number of the planner's link and answer format."
},
"ok": {
"type": "boolean",
"description": "true: a list was made. false: the call was refused, and error says why."
},
"answer": {
"type": "string",
"description": "The main quantities to buy, in one line, to say first (for a typical room, it says so)."
},
"room": {
"anyOf": [
{
"type": "string"
},
{
"type": "object"
}
],
"description": "The room as the planner understood it: a sentence (metres, as worked out), or with detail \"full\" its areas and lengths."
},
"product": {
"type": "object",
"description": "When a catalogue paint was named and used: its name, its page, the maker's own figures, their source, the surfaces it was used for and one sentence (said) that names them."
},
"typicalRoom": {
"type": "object",
"description": "When a typical room was used: its id, label and a note that these are not the person's own measurements."
},
"toBuy": {
"type": "array",
"items": {
"type": "object",
"properties": {
"item": {
"type": "string",
"description": "What to buy."
},
"quantity": {
"type": "string",
"description": "How much to buy, in the planner's words: whole packs as sold, a part pack rounded up (\"1 × 5 L + 1 × 2.5 L\"), or an amount to order or to cover where it is not sold in packs (\"1.32 m³ to order\")."
},
"why": {
"type": "string",
"description": "How it was worked out."
},
"needed": {
"type": "string",
"description": "Paint: the litres needed before rounding up to tins."
},
"checkFirst": {
"type": "string",
"description": "What to check before buying."
},
"figures": {
"type": "string",
"description": "generic, typical or user: see figures."
},
"figuresFrom": {
"type": "string",
"description": "A typical figure's sources and the day read."
},
"examplePack": {
"type": "boolean",
"description": "The example pack kept beside a figure sent."
},
"figuresNote": {
"type": "string",
"description": "Which figures are whose."
},
"question": {
"type": "object",
"description": "A line to check: its question and answers."
}
},
"required": [
"item"
]
},
"description": "Each thing to buy, in the order of the list."
},
"toCheck": {
"type": "array",
"items": {
"type": "object"
},
"description": "Each thing that depends on the person's own job, as toBuy's items, with its question."
},
"first": {
"type": "array",
"items": {
"type": "object"
},
"description": "What has to be in place before the job starts, as toBuy's items: not a thing to buy."
},
"toAnswer": {
"type": "array",
"items": {
"type": "string"
},
"description": "Questions whose answers would change the list."
},
"notUsed": {
"type": "array",
"items": {
"type": "string"
},
"description": "Arguments that were sent and not used, with why."
},
"assumed": {
"type": "array",
"items": {
"type": "string"
},
"description": "What was taken as not given, with the value taken (a missing height is a 2.4 m ceiling)."
},
"leftovers": {
"type": "array",
"description": "What will be left over once the whole packs are bought."
},
"warnings": {
"type": "array",
"description": "Warnings that come with the list."
},
"listUrl": {
"type": "string",
"description": "The whole list on buildbatch.co.uk, as a link a person can open."
},
"startUrl": {
"type": "string",
"description": "The planner opened on this room, to change it."
},
"links": {
"type": "object",
"description": "What listUrl and startUrl open, in words."
},
"figures": {
"type": "string",
"description": "What generic, typical, user and catalogue mean."
},
"review": {
"type": "string",
"description": "How far the figures have been checked: not yet by a tradesperson."
},
"prices": {
"type": "string",
"description": "That no price is shown or used in this answer."
},
"more": {
"type": "string",
"description": "What plan_room with detail \"full\" adds."
},
"understood": {
"type": "object",
"description": "detail \"full\": every argument as the planner read it."
},
"summary": {
"type": "object",
"description": "detail \"full\": the counts and the short list."
},
"lines": {
"type": "array",
"description": "detail \"full\": every line with its working, packs, figures and each shop's search link."
},
"statuses": {
"type": "object",
"description": "detail \"full\": what each line's status means."
},
"assumptions": {
"type": "array",
"items": {
"type": "string"
},
"description": "detail \"full\": what the whole list assumes."
},
"shops": {
"type": "array",
"description": "detail \"full\": the shops each line's search link goes to."
},
"honesty": {
"type": "object",
"description": "detail \"full\": the formulas' versions, how far the figures have been checked, and what the shop links are."
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
],
"description": "When ok is false: why the call was refused, as words or as { code, message }."
},
"problems": {
"type": "array",
"items": {
"type": "object"
},
"description": "When ok is false: each argument that is missing or not understood, with the id of its question in ask_questions."
},
"ask": {
"type": "array",
"items": {
"type": "string"
},
"description": "When ok is false: the ids of the questions in ask_questions to ask the person, in order."
},
"next": {
"type": "string",
"description": "When ok is false: what to do next."
},
"ignored": {
"type": "array",
"description": "Arguments that were not used, with why."
},
"startUrlNote": {
"type": "string",
"description": "What the startUrl link opens."
}
},
"required": [
"ok"
]
}🟢find_guide(query)
Finds BuildBatch's guides for a decorating or flooring question (how long between coats, how many tiles in a square metre, what to buy to lay laminate), and returns up to three with each guide's own short answers and its address. It does not work out quantities for a room.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "The question, in plain words."
}
},
"required": [
"query"
],
"additionalProperties": false,
"examples": [
{
"query": "How long between coats of paint?"
}
]
}출력 스키마
{
"type": "object",
"properties": {
"api": {
"type": "string",
"description": "On a refusal of an argument: \"buildbatch-assistant\"."
},
"ok": {
"type": "boolean",
"description": "true: the guides were searched (none may match). false: the query was refused."
},
"query": {
"type": "string",
"description": "The question as read."
},
"guides": {
"type": "array",
"maxItems": 3,
"description": "Up to three guides, best first.",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The guide's title."
},
"url": {
"type": "string",
"description": "Its address."
},
"summary": {
"type": "string",
"description": "What it answers."
},
"answers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"question": {
"type": "string"
},
"answer": {
"type": "string"
}
},
"required": [
"question",
"answer"
]
},
"description": "The guide's own short answers, as published."
}
},
"required": [
"title",
"url"
]
}
},
"allGuides": {
"type": "string",
"description": "The list of every guide."
},
"note": {
"type": "string",
"description": "Whose answers they are and how far they have been checked, or that no guide matched."
},
"error": {
"type": "string",
"description": "When ok is false: why."
}
},
"required": [
"ok"
]
}🟢ask_questions
Returns BuildBatch's full ordered question script (about 24 KB) for a detailed room plan: each question for the person, its allowed answers, which are required and when each applies. Takes no arguments.
입력 스키마
{
"type": "object",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"api": {
"type": "string",
"description": "\"buildbatch-assistant\"."
},
"document": {
"type": "string",
"description": "\"question-script\"."
},
"v": {
"type": "number",
"description": "The version of the script's format."
},
"title": {
"type": "string",
"description": "What the script is for."
},
"conditions": {
"type": "string",
"description": "How to read each question's when and requiredWhen."
},
"humanExplanation": {
"type": "string",
"description": "A page that explains it to a person."
},
"specification": {
"type": "string",
"description": "The OpenAPI description."
},
"plan": {
"type": "object",
"description": "How to turn the answers into a plan_room call or a /plan.json query."
},
"instructions": {
"type": "object",
"description": "Its purpose, rules and what to do after the call."
},
"questions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"ask": {
"type": "string"
},
"type": {
"type": "string"
},
"required": {
"type": "boolean"
},
"whenText": {
"type": "string"
},
"fills": {
"type": "array",
"items": {
"type": "string"
}
},
"choices": {
"type": "array"
},
"ifUnknown": {
"type": "string"
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"ask"
]
},
"description": "Each question in order, with its allowed answers, whether it is required and when it applies."
},
"productFigures": {
"type": "array",
"description": "Questions about a product's own figures (a paint's coverage, a pack's size), and the arguments each fills."
},
"typicalRooms": {
"type": "array",
"description": "The typical rooms, for a person who has not measured."
},
"typicalHeightMm": {
"type": "number",
"description": "The typical ceiling height, in millimetres."
},
"typicalOpenings": {
"type": "array",
"description": "The typical door and window sizes, by name."
},
"ok": {
"type": "boolean",
"description": "false only when the call was refused."
},
"error": {
"type": "string",
"description": "When ok is false: why."
}
}
}커뮤니티
증거