Server definition
- Hash
- sha256:17b47e4b5f050a3a94bb7abba4196469f4b48c8d23add5a0f8ad4a63913246ef
- What it is
- What a remote MCP server returned when asked what it offers: 14 tools
The blob, as servednamed by its sha256
{
"instructions": "Room calculators from snuug.app. Lengths are in cm (a TV in inches, areas in m²). Every rule cites its source: each result has a one-sentence summary to quote, notes to pass on, its working, its sources and a link to the calculator with the same inputs.",
"tools": [
{
"description": "Use when someone asks how to use a feng shui bagua map in a room or a home, which area of a room is wealth or relationships, or where their door falls on the bagua. It reports what the tradition says; feng shui is a tradition, not a science.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"door_position": {
"default": "middle",
"description": "Where the door is on that wall, standing in the doorway looking in: left, middle or right.",
"enum": [
"left",
"middle",
"right"
],
"type": "string"
},
"door_wall": {
"default": "bottom",
"description": "The wall the door is on, as drawn on the plan: bottom, left, top or right.",
"enum": [
"bottom",
"left",
"top",
"right"
],
"type": "string"
},
"facing": {
"default": "N",
"description": "For the compass method: the way you face as you walk in, N, NE, E, SE, S, SW, W or NW.",
"enum": [
"N",
"NE",
"E",
"SE",
"S",
"SW",
"W",
"NW"
],
"type": "string"
},
"method": {
"default": "btb",
"description": "btb (from the door, the Western school) or compass.",
"enum": [
"btb",
"compass"
],
"type": "string"
},
"room_length_cm": {
"default": 350,
"description": "The room’s length, up the plan (cm).",
"maximum": 3000,
"minimum": 50,
"type": "number"
},
"room_width_cm": {
"default": 300,
"description": "The room’s width, across the plan (cm).",
"maximum": 3000,
"minimum": 50,
"type": "number"
}
},
"required": [],
"type": "object"
},
"name": "bagua_map",
"outputSchema": {
"properties": {
"answer": {
"additionalProperties": false,
"description": "The answer as named values.",
"properties": {
"cell": {
"description": "Each area’s size: width_cm, length_cm",
"type": "object"
},
"cells": {
"description": "The nine areas: area, name, place, direction, rect (x_cm, y_cm, width_cm, length_cm), door, and what the tradition says",
"type": "array"
},
"door": {
"description": "x_cm, y_cm, width_cm, wall, area",
"type": "object"
},
"north_angle_deg": {
"description": "Compass method: north on the plan, clockwise from up",
"type": [
"number",
"null"
]
}
},
"required": [
"cell",
"cells",
"door",
"north_angle_deg"
],
"type": "object"
},
"inputs": {
"additionalProperties": false,
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"properties": {
"door_position": {
"description": "Where the door is on that wall, standing in the doorway looking in: left, middle or right.",
"enum": [
"left",
"middle",
"right"
],
"type": [
"string",
"null"
]
},
"door_wall": {
"description": "The wall the door is on, as drawn on the plan: bottom, left, top or right.",
"enum": [
"bottom",
"left",
"top",
"right"
],
"type": [
"string",
"null"
]
},
"facing": {
"description": "For the compass method: the way you face as you walk in, N, NE, E, SE, S, SW, W or NW.",
"enum": [
"N",
"NE",
"E",
"SE",
"S",
"SW",
"W",
"NW"
],
"type": [
"string",
"null"
]
},
"method": {
"description": "btb (from the door, the Western school) or compass.",
"enum": [
"btb",
"compass"
],
"type": [
"string",
"null"
]
},
"room_length_cm": {
"description": "The room’s length, up the plan (cm).",
"maximum": 3000,
"minimum": 50,
"type": [
"number",
"null"
]
},
"room_width_cm": {
"description": "The room’s width, across the plan (cm).",
"maximum": 3000,
"minimum": 50,
"type": [
"number",
"null"
]
}
},
"required": [
"room_width_cm",
"room_length_cm",
"door_wall",
"door_position",
"method",
"facing"
],
"type": "object"
},
"notes": {
"description": "Caveats to pass on with the answer.",
"items": {
"type": "string"
},
"type": "array"
},
"page_url": {
"description": "The calculator on snuug.app with these inputs filled in.",
"format": "uri",
"type": "string"
},
"snuug": {
"description": "One line about Snuug, the app behind the calculators.",
"type": "string"
},
"sources": {
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked.",
"items": {
"properties": {
"checked": {
"format": "date",
"type": "string"
},
"label": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"label",
"url",
"checked"
],
"type": "object"
},
"type": "array"
},
"summary": {
"description": "The answer in one sentence to quote.",
"type": "string"
},
"tool": {
"const": "bagua-map",
"description": "The tool, as named in its API and page URLs.",
"type": "string"
},
"version": {
"description": "The version of this contract.",
"type": "string"
},
"working": {
"description": "How the answer was worked out, one step a line.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"type": "object"
}
},
{
"description": "Use when someone asks what size curtains, curtain pole or track to buy, how high to hang a curtain pole, or which UK ready-made curtain size fits a window. Returns the pole’s length and height, the ready-made pair and the made-to-measure sizes.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"ceiling_height_cm": {
"default": 240,
"description": "The ceiling’s height from the floor (cm).",
"maximum": 500,
"minimum": 180,
"type": "number"
},
"fitting": {
"default": "pole",
"description": "pole or track.",
"enum": [
"pole",
"track"
],
"type": "string"
},
"fullness": {
"default": 2,
"description": "The curtains’ total flat width ÷ the pole’s length; default the heading’s usual (2, or 1.5 for tab top).",
"maximum": 3,
"minimum": 1.2,
"type": "number"
},
"heading": {
"default": "eyelet",
"description": "The curtain heading: eyelet, pencil_pleat or tab_top.",
"enum": [
"eyelet",
"pencil_pleat",
"tab_top"
],
"type": "string"
},
"length": {
"default": "floor",
"description": "Where the hem ends: sill, below_sill, floor or puddle (on the floor).",
"enum": [
"sill",
"below_sill",
"floor",
"puddle"
],
"type": "string"
},
"sill_height_cm": {
"default": 90,
"description": "The sill’s height from the floor (cm).",
"maximum": 200,
"minimum": 0,
"type": "number"
},
"window_height_cm": {
"default": 115,
"description": "The window’s height, outside the frame (cm).",
"maximum": 400,
"minimum": 30,
"type": "number"
},
"window_width_cm": {
"default": 120,
"description": "The window’s width, outside the frame (cm).",
"maximum": 600,
"minimum": 30,
"type": "number"
}
},
"required": [],
"type": "object"
},
"name": "curtain_size",
"outputSchema": {
"properties": {
"answer": {
"additionalProperties": false,
"description": "The answer as named values.",
"properties": {
"above_window_cm": {
"description": "(negative: below the window top, when the ceiling leaves no room)",
"type": "number"
},
"below_ceiling_cm": {
"type": "number"
},
"glass_covered_cm": {
"description": "How much glass each stack covers",
"type": "number"
},
"hem_at": {
"description": "The length used (below_sill becomes floor when the sill is low)",
"type": "string"
},
"hem_cm": {
"description": "The hem from the floor (negative: on the floor, puddled)",
"type": "number"
},
"highest_pole_top_cm": {
"type": "number"
},
"lowest_pole_top_cm": {
"type": "number"
},
"made_to_measure": {
"description": "pole_width_cm, drop_cm, fabric_width_cm",
"type": "object"
},
"overhang_cm": {
"description": "The pole past each side of the window",
"type": "number"
},
"pole_length_cm": {
"description": "Without the finials",
"type": "number"
},
"pole_top_cm": {
"description": "The pole’s top from the floor",
"type": "number"
},
"ready_made": {
"description": "The UK ready-made pair: name, width_cm, drop_cm, width_in, drop_in, shorten_cm, fullness",
"type": [
"object",
"null"
]
},
"ring_eye_cm": {
"description": "Where the drop is measured from, below the pole top",
"type": "number"
},
"room_above": {
"description": "ok, tight or none: the room above the window for a pole",
"type": "string"
},
"stack_cm": {
"description": "Each open curtain’s stack",
"type": "number"
},
"two_thirds_cm": {
"description": "Two thirds of the way to the ceiling",
"type": "number"
},
"window_top_cm": {
"type": "number"
}
},
"required": [
"pole_length_cm",
"pole_top_cm",
"above_window_cm",
"below_ceiling_cm",
"ready_made",
"made_to_measure",
"window_top_cm",
"overhang_cm",
"hem_cm",
"hem_at",
"ring_eye_cm",
"two_thirds_cm",
"lowest_pole_top_cm",
"highest_pole_top_cm",
"room_above",
"stack_cm",
"glass_covered_cm"
],
"type": "object"
},
"inputs": {
"additionalProperties": false,
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"properties": {
"ceiling_height_cm": {
"description": "The ceiling’s height from the floor (cm).",
"maximum": 500,
"minimum": 180,
"type": [
"number",
"null"
]
},
"fitting": {
"description": "pole or track.",
"enum": [
"pole",
"track"
],
"type": [
"string",
"null"
]
},
"fullness": {
"description": "The curtains’ total flat width ÷ the pole’s length; default the heading’s usual (2, or 1.5 for tab top).",
"maximum": 3,
"minimum": 1.2,
"type": [
"number",
"null"
]
},
"heading": {
"description": "The curtain heading: eyelet, pencil_pleat or tab_top.",
"enum": [
"eyelet",
"pencil_pleat",
"tab_top"
],
"type": [
"string",
"null"
]
},
"length": {
"description": "Where the hem ends: sill, below_sill, floor or puddle (on the floor).",
"enum": [
"sill",
"below_sill",
"floor",
"puddle"
],
"type": [
"string",
"null"
]
},
"sill_height_cm": {
"description": "The sill’s height from the floor (cm).",
"maximum": 200,
"minimum": 0,
"type": [
"number",
"null"
]
},
"window_height_cm": {
"description": "The window’s height, outside the frame (cm).",
"maximum": 400,
"minimum": 30,
"type": [
"number",
"null"
]
},
"window_width_cm": {
"description": "The window’s width, outside the frame (cm).",
"maximum": 600,
"minimum": 30,
"type": [
"number",
"null"
]
}
},
"required": [
"window_width_cm",
"window_height_cm",
"sill_height_cm",
"ceiling_height_cm",
"fitting",
"heading",
"fullness",
"length"
],
"type": "object"
},
"notes": {
"description": "Caveats to pass on with the answer.",
"items": {
"type": "string"
},
"type": "array"
},
"page_url": {
"description": "The calculator on snuug.app with these inputs filled in.",
"format": "uri",
"type": "string"
},
"snuug": {
"description": "One line about Snuug, the app behind the calculators.",
"type": "string"
},
"sources": {
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked.",
"items": {
"properties": {
"checked": {
"format": "date",
"type": "string"
},
"label": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"label",
"url",
"checked"
],
"type": "object"
},
"type": "array"
},
"summary": {
"description": "The answer in one sentence to quote.",
"type": "string"
},
"tool": {
"const": "curtain-size",
"description": "The tool, as named in its API and page URLs.",
"type": "string"
},
"version": {
"description": "The version of this contract.",
"type": "string"
},
"working": {
"description": "How the answer was worked out, one step a line.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"type": "object"
}
},
{
"description": "Use when someone asks what size dining table fits a room, how many people a table seats, or how big a room must be for a table for a number of people. Uses UK stock table sizes and the space a chair needs behind it.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"clearance": {
"default": "edge_past",
"description": "The gap behind the chairs: tight, no_traffic (to a wall), edge_past or walk_past (someone passes).",
"enum": [
"tight",
"no_traffic",
"edge_past",
"walk_past"
],
"type": "string"
},
"mode": {
"default": "room",
"description": "room (start from the room’s size) or people (start from how many people).",
"enum": [
"room",
"people"
],
"type": "string"
},
"people": {
"default": 6,
"description": "In people mode: the number of people.",
"maximum": 14,
"minimum": 1,
"type": "integer"
},
"room_length_cm": {
"default": 360,
"description": "In room mode: the room’s length (cm).",
"maximum": 1500,
"minimum": 150,
"type": "number"
},
"room_width_cm": {
"default": 300,
"description": "In room mode: the room’s width (cm).",
"maximum": 1500,
"minimum": 150,
"type": "number"
},
"shape": {
"default": "rectangle",
"description": "rectangle, round or oval.",
"enum": [
"rectangle",
"round",
"oval"
],
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "dining_table_size",
"outputSchema": {
"properties": {
"answer": {
"additionalProperties": false,
"description": "The answer as named values.",
"properties": {
"clearance_cm": {
"description": "From the table edge to the wall",
"type": "number"
},
"largest_made_to_measure": {
"description": "Room mode: the biggest table the room takes",
"type": [
"object",
"null"
]
},
"least_room": {
"description": "People mode: the least room, length_cm and width_cm",
"type": [
"object",
"null"
]
},
"shapes": {
"description": "The same answer for each shape: rectangle, round, oval",
"type": "object"
},
"table": {
"description": "The stock table: shape, length_cm, width_cm (a round table’s diameter is its length), seats; null if none fits",
"type": [
"object",
"null"
]
}
},
"required": [
"table",
"clearance_cm",
"largest_made_to_measure",
"least_room",
"shapes"
],
"type": "object"
},
"inputs": {
"additionalProperties": false,
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"properties": {
"clearance": {
"description": "The gap behind the chairs: tight, no_traffic (to a wall), edge_past or walk_past (someone passes).",
"enum": [
"tight",
"no_traffic",
"edge_past",
"walk_past"
],
"type": [
"string",
"null"
]
},
"mode": {
"description": "room (start from the room’s size) or people (start from how many people).",
"enum": [
"room",
"people"
],
"type": [
"string",
"null"
]
},
"people": {
"description": "In people mode: the number of people.",
"maximum": 14,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"room_length_cm": {
"description": "In room mode: the room’s length (cm).",
"maximum": 1500,
"minimum": 150,
"type": [
"number",
"null"
]
},
"room_width_cm": {
"description": "In room mode: the room’s width (cm).",
"maximum": 1500,
"minimum": 150,
"type": [
"number",
"null"
]
},
"shape": {
"description": "rectangle, round or oval.",
"enum": [
"rectangle",
"round",
"oval"
],
"type": [
"string",
"null"
]
}
},
"required": [
"mode",
"room_width_cm",
"room_length_cm",
"people",
"shape",
"clearance"
],
"type": "object"
},
"notes": {
"description": "Caveats to pass on with the answer.",
"items": {
"type": "string"
},
"type": "array"
},
"page_url": {
"description": "The calculator on snuug.app with these inputs filled in.",
"format": "uri",
"type": "string"
},
"snuug": {
"description": "One line about Snuug, the app behind the calculators.",
"type": "string"
},
"sources": {
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked.",
"items": {
"properties": {
"checked": {
"format": "date",
"type": "string"
},
"label": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"label",
"url",
"checked"
],
"type": "object"
},
"type": "array"
},
"summary": {
"description": "The answer in one sentence to quote.",
"type": "string"
},
"tool": {
"const": "dining-table",
"description": "The tool, as named in its API and page URLs.",
"type": "string"
},
"version": {
"description": "The version of this contract.",
"type": "string"
},
"working": {
"description": "How the answer was worked out, one step a line.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"type": "object"
}
},
{
"description": "Use when someone asks how big a flat or house should be for a number of people or bedrooms, whether a home or bedroom is big enough, or what England’s nationally described space standard requires. England only; it is a planning standard for new homes.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"bedroom_1_length_cm": {
"description": "Optional: bedroom 1's length, with its width (cm).",
"maximum": 2000,
"minimum": 100,
"type": "number"
},
"bedroom_1_width_cm": {
"description": "Optional: bedroom 1's width, with its length. The bedrooms are ranked by floor area before the checks (cm).",
"maximum": 2000,
"minimum": 100,
"type": "number"
},
"bedroom_2_length_cm": {
"description": "Optional: bedroom 2's length, with its width (cm).",
"maximum": 2000,
"minimum": 100,
"type": "number"
},
"bedroom_2_width_cm": {
"description": "Optional: bedroom 2's width, with its length. The bedrooms are ranked by floor area before the checks (cm).",
"maximum": 2000,
"minimum": 100,
"type": "number"
},
"bedroom_3_length_cm": {
"description": "Optional: bedroom 3's length, with its width (cm).",
"maximum": 2000,
"minimum": 100,
"type": "number"
},
"bedroom_3_width_cm": {
"description": "Optional: bedroom 3's width, with its length. The bedrooms are ranked by floor area before the checks (cm).",
"maximum": 2000,
"minimum": 100,
"type": "number"
},
"bedroom_4_length_cm": {
"description": "Optional: bedroom 4's length, with its width (cm).",
"maximum": 2000,
"minimum": 100,
"type": "number"
},
"bedroom_4_width_cm": {
"description": "Optional: bedroom 4's width, with its length. The bedrooms are ranked by floor area before the checks (cm).",
"maximum": 2000,
"minimum": 100,
"type": "number"
},
"bedroom_5_length_cm": {
"description": "Optional: bedroom 5's length, with its width (cm).",
"maximum": 2000,
"minimum": 100,
"type": "number"
},
"bedroom_5_width_cm": {
"description": "Optional: bedroom 5's width, with its length. The bedrooms are ranked by floor area before the checks (cm).",
"maximum": 2000,
"minimum": 100,
"type": "number"
},
"bedroom_6_length_cm": {
"description": "Optional: bedroom 6's length, with its width (cm).",
"maximum": 2000,
"minimum": 100,
"type": "number"
},
"bedroom_6_width_cm": {
"description": "Optional: bedroom 6's width, with its length. The bedrooms are ranked by floor area before the checks (cm).",
"maximum": 2000,
"minimum": 100,
"type": "number"
},
"bedrooms": {
"default": 3,
"description": "The number of bedrooms.",
"maximum": 6,
"minimum": 1,
"type": "integer"
},
"home_area_m2": {
"description": "Optional: the home’s gross internal floor area, to compare with the standard (m²).",
"maximum": 2000,
"minimum": 10,
"type": "number"
},
"people": {
"default": 4,
"description": "The people the home is for (one bed space each).",
"maximum": 12,
"minimum": 1,
"type": "integer"
},
"storeys": {
"default": 2,
"description": "The floors the home has (1 for a flat).",
"maximum": 3,
"minimum": 1,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "home_size",
"outputSchema": {
"properties": {
"answer": {
"additionalProperties": false,
"description": "The answer as named values.",
"properties": {
"averages": {
"description": "England’s averages: england_m2, typical (home, area_m2), england_per_person_m2, household_people",
"type": "object"
},
"bed_spaces": {
"type": "number"
},
"bedroom_bed_spaces": {
"description": "The bed spaces the given bedrooms make (all must be given)",
"type": [
"number",
"null"
]
},
"bedroom_plan": {
"description": "Each bedroom the standard plans, largest first: place, slot, min_area_m2, min_width_cm",
"type": "array"
},
"bedrooms_checked": {
"description": "Each given bedroom: bedroom, width_cm, length_cm, area_m2, narrow_cm, counts_as, slot, needs (area_m2, width_cm), grade, bed_spaces",
"type": "array"
},
"ceiling_cm": {
"description": "The standard’s least ceiling height",
"type": "number"
},
"doubles": {
"type": "number"
},
"home": {
"description": "The given home against the standard: area_m2, vs_min_m2, min_share, per_person_m2",
"type": [
"object",
"null"
]
},
"min_area_m2": {
"description": "The least gross internal area for a new home",
"type": "number"
},
"min_area_sq_ft": {
"type": "number"
},
"singles": {
"type": "number"
},
"storage_m2": {
"description": "The built-in storage within it",
"type": "number"
},
"storeys_used": {
"description": "The storey column used",
"type": "number"
},
"type": {
"description": "The standard’s home type, bedrooms (b) and bed spaces (p): 3b4p",
"type": "string"
}
},
"required": [
"type",
"bed_spaces",
"doubles",
"singles",
"storeys_used",
"min_area_m2",
"min_area_sq_ft",
"storage_m2",
"ceiling_cm",
"bedroom_plan",
"bedrooms_checked",
"bedroom_bed_spaces",
"home",
"averages"
],
"type": "object"
},
"inputs": {
"additionalProperties": false,
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"properties": {
"bedroom_1_length_cm": {
"description": "Optional: bedroom 1's length, with its width (cm).",
"maximum": 2000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"bedroom_1_width_cm": {
"description": "Optional: bedroom 1's width, with its length. The bedrooms are ranked by floor area before the checks (cm).",
"maximum": 2000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"bedroom_2_length_cm": {
"description": "Optional: bedroom 2's length, with its width (cm).",
"maximum": 2000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"bedroom_2_width_cm": {
"description": "Optional: bedroom 2's width, with its length. The bedrooms are ranked by floor area before the checks (cm).",
"maximum": 2000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"bedroom_3_length_cm": {
"description": "Optional: bedroom 3's length, with its width (cm).",
"maximum": 2000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"bedroom_3_width_cm": {
"description": "Optional: bedroom 3's width, with its length. The bedrooms are ranked by floor area before the checks (cm).",
"maximum": 2000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"bedroom_4_length_cm": {
"description": "Optional: bedroom 4's length, with its width (cm).",
"maximum": 2000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"bedroom_4_width_cm": {
"description": "Optional: bedroom 4's width, with its length. The bedrooms are ranked by floor area before the checks (cm).",
"maximum": 2000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"bedroom_5_length_cm": {
"description": "Optional: bedroom 5's length, with its width (cm).",
"maximum": 2000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"bedroom_5_width_cm": {
"description": "Optional: bedroom 5's width, with its length. The bedrooms are ranked by floor area before the checks (cm).",
"maximum": 2000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"bedroom_6_length_cm": {
"description": "Optional: bedroom 6's length, with its width (cm).",
"maximum": 2000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"bedroom_6_width_cm": {
"description": "Optional: bedroom 6's width, with its length. The bedrooms are ranked by floor area before the checks (cm).",
"maximum": 2000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"bedrooms": {
"description": "The number of bedrooms.",
"maximum": 6,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"home_area_m2": {
"description": "Optional: the home’s gross internal floor area, to compare with the standard (m²).",
"maximum": 2000,
"minimum": 10,
"type": [
"number",
"null"
]
},
"people": {
"description": "The people the home is for (one bed space each).",
"maximum": 12,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"storeys": {
"description": "The floors the home has (1 for a flat).",
"maximum": 3,
"minimum": 1,
"type": [
"integer",
"null"
]
}
},
"required": [
"people",
"bedrooms",
"storeys",
"home_area_m2",
"bedroom_1_width_cm",
"bedroom_1_length_cm",
"bedroom_2_width_cm",
"bedroom_2_length_cm",
"bedroom_3_width_cm",
"bedroom_3_length_cm",
"bedroom_4_width_cm",
"bedroom_4_length_cm",
"bedroom_5_width_cm",
"bedroom_5_length_cm",
"bedroom_6_width_cm",
"bedroom_6_length_cm"
],
"type": "object"
},
"notes": {
"description": "Caveats to pass on with the answer.",
"items": {
"type": "string"
},
"type": "array"
},
"page_url": {
"description": "The calculator on snuug.app with these inputs filled in.",
"format": "uri",
"type": "string"
},
"snuug": {
"description": "One line about Snuug, the app behind the calculators.",
"type": "string"
},
"sources": {
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked.",
"items": {
"properties": {
"checked": {
"format": "date",
"type": "string"
},
"label": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"label",
"url",
"checked"
],
"type": "object"
},
"type": "array"
},
"summary": {
"description": "The answer in one sentence to quote.",
"type": "string"
},
"tool": {
"const": "home-size",
"description": "The tool, as named in its API and page URLs.",
"type": "string"
},
"version": {
"description": "The version of this contract.",
"type": "string"
},
"working": {
"description": "How the answer was worked out, one step a line.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"type": "object"
}
},
{
"description": "Use when someone asks for their feng shui kua number, East or West group, or favourable directions from a birth date. It reports what the Eight Mansions school says; feng shui is a tradition, not a science.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"birth_date": {
"description": "The birth date, YYYY-MM-DD, from 1901 to 2099.",
"examples": [
"1990-06-15"
],
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"birth_time": {
"description": "Optional: the local birth time, HH:MM. It matters only on the day of Li Chun (about 4 February).",
"examples": [
"08:30"
],
"pattern": "^\\d{1,2}:\\d{2}$",
"type": "string"
},
"formula": {
"default": "both",
"description": "both, female or male: the tradition has one formula for each sex at birth.",
"enum": [
"both",
"female",
"male"
],
"type": "string"
},
"utc_offset_minutes": {
"default": 0,
"description": "The birth place’s offset from UTC in early February, in minutes (0 for the UK, 480 for China) (minutes).",
"maximum": 840,
"minimum": -720,
"type": "integer"
}
},
"required": [
"birth_date"
],
"type": "object"
},
"name": "kua_number",
"outputSchema": {
"properties": {
"answer": {
"additionalProperties": false,
"description": "The answer as named values.",
"properties": {
"born_before_li_chun": {
"type": "boolean"
},
"counted_year": {
"description": "The year the tradition counts (Li Chun, about 4 February, starts it)",
"type": "number"
},
"female": {
"description": "The female formula: kua_number, group, favourable and unfavourable directions, and more",
"type": "object"
},
"if_born_before_li_chun_time": {
"description": "With li_chun_day_unresolved: both formulas for the year before",
"type": [
"object",
"null"
]
},
"kua_number": {
"description": "With formula female or male: that kua number",
"type": [
"number",
"null"
]
},
"li_chun": {
"description": "utc, local_date, local_time",
"type": "object"
},
"li_chun_day": {
"type": "boolean"
},
"li_chun_day_unresolved": {
"description": "Born on Li Chun with no time given",
"type": "boolean"
},
"li_chun_too_close": {
"description": "Born within 20 minutes of it",
"type": "boolean"
},
"lunar_new_year_alternative": {
"description": "Born 21 Jan–20 Feb: the other year some teachers count",
"type": [
"object",
"null"
]
},
"male": {
"description": "The male formula, the same way",
"type": "object"
}
},
"required": [
"kua_number",
"counted_year",
"li_chun",
"born_before_li_chun",
"li_chun_day",
"li_chun_day_unresolved",
"li_chun_too_close",
"female",
"male",
"if_born_before_li_chun_time",
"lunar_new_year_alternative"
],
"type": "object"
},
"inputs": {
"additionalProperties": false,
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"properties": {
"birth_date": {
"description": "The birth date, YYYY-MM-DD, from 1901 to 2099.",
"examples": [
"1990-06-15"
],
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": [
"string",
"null"
]
},
"birth_time": {
"description": "Optional: the local birth time, HH:MM. It matters only on the day of Li Chun (about 4 February).",
"examples": [
"08:30"
],
"pattern": "^\\d{1,2}:\\d{2}$",
"type": [
"string",
"null"
]
},
"formula": {
"description": "both, female or male: the tradition has one formula for each sex at birth.",
"enum": [
"both",
"female",
"male"
],
"type": [
"string",
"null"
]
},
"utc_offset_minutes": {
"description": "The birth place’s offset from UTC in early February, in minutes (0 for the UK, 480 for China) (minutes).",
"maximum": 840,
"minimum": -720,
"type": [
"integer",
"null"
]
}
},
"required": [
"birth_date",
"birth_time",
"utc_offset_minutes",
"formula"
],
"type": "object"
},
"notes": {
"description": "Caveats to pass on with the answer.",
"items": {
"type": "string"
},
"type": "array"
},
"page_url": {
"description": "The calculator on snuug.app with these inputs filled in.",
"format": "uri",
"type": "string"
},
"snuug": {
"description": "One line about Snuug, the app behind the calculators.",
"type": "string"
},
"sources": {
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked.",
"items": {
"properties": {
"checked": {
"format": "date",
"type": "string"
},
"label": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"label",
"url",
"checked"
],
"type": "object"
},
"type": "array"
},
"summary": {
"description": "The answer in one sentence to quote.",
"type": "string"
},
"tool": {
"const": "kua-number",
"description": "The tool, as named in its API and page URLs.",
"type": "string"
},
"version": {
"description": "The version of this contract.",
"type": "string"
},
"working": {
"description": "How the answer was worked out, one step a line.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"type": "object"
}
},
{
"description": "Use when someone asks how much paint, how many litres or which tins they need for a room’s walls, its ceiling or one feature wall. Returns litres and the cheapest mix of 5 l and 2.5 l tins.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"ceiling_height_cm": {
"default": 240,
"description": "The ceiling height (cm).",
"maximum": 600,
"minimum": 150,
"type": "number"
},
"coats": {
"default": 2,
"description": "Coats of paint (default 2).",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"coverage_m2_per_l": {
"default": 13,
"description": "The square metres a litre covers, from the tin (m²/l).",
"maximum": 25,
"minimum": 3,
"type": "number"
},
"door_height_cm": {
"default": 198.1,
"description": "A door’s height (default the UK standard internal door) (cm).",
"maximum": 300,
"minimum": 150,
"type": "number"
},
"door_width_cm": {
"default": 76.2,
"description": "A door’s width (default the UK standard internal door) (cm).",
"maximum": 300,
"minimum": 40,
"type": "number"
},
"doors": {
"default": 1,
"description": "Doors to leave out (default 1; 0 for a feature wall).",
"maximum": 12,
"minimum": 0,
"type": "integer"
},
"feature_wall": {
"default": "length",
"description": "For a feature wall: a length wall or a width wall.",
"enum": [
"length",
"width"
],
"type": "string"
},
"new_plaster": {
"default": "no",
"description": "yes for new plaster, which needs a mist coat first.",
"enum": [
"no",
"yes"
],
"type": "string"
},
"paint": {
"default": "matt",
"description": "matt, silk or custom (then give coverage_m2_per_l).",
"enum": [
"matt",
"silk",
"custom"
],
"type": "string"
},
"room_length_cm": {
"default": 400,
"description": "The room’s length (cm).",
"maximum": 3000,
"minimum": 100,
"type": "number"
},
"room_width_cm": {
"default": 300,
"description": "The room’s width (cm).",
"maximum": 3000,
"minimum": 100,
"type": "number"
},
"spare_pct": {
"default": 10,
"description": "Extra paint to buy, in % (default 10) (%).",
"maximum": 50,
"minimum": 0,
"type": "number"
},
"surfaces": {
"default": "walls",
"description": "What to paint: walls, ceiling, both (walls and ceiling) or feature (one wall).",
"enum": [
"walls",
"ceiling",
"both",
"feature"
],
"type": "string"
},
"window_height_cm": {
"default": 120,
"description": "A window’s height (cm).",
"maximum": 400,
"minimum": 20,
"type": "number"
},
"window_width_cm": {
"default": 120,
"description": "A window’s width (cm).",
"maximum": 600,
"minimum": 20,
"type": "number"
},
"windows": {
"default": 1,
"description": "Windows to leave out (default 1; 0 for a feature wall).",
"maximum": 12,
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "paint_quantity",
"outputSchema": {
"properties": {
"answer": {
"additionalProperties": false,
"description": "The answer as named values.",
"properties": {
"area": {
"description": "walls_gross_m2, openings_m2, walls_net_m2, ceiling_m2, total_m2",
"type": "object"
},
"in_tins_l": {
"description": "What those tins hold",
"type": "number"
},
"mist_coat": {
"description": "New plaster only: paint_l and paint_to_water [parts, parts]",
"type": [
"object",
"null"
]
},
"paint_l": {
"description": "The paint the job uses",
"type": "number"
},
"tins": {
"description": "The tins to buy: size_l, count",
"type": "array"
},
"tins_text": {
"description": "The tins in words",
"type": "string"
},
"tins_without_spare": {
"type": "array"
},
"tins_without_spare_text": {
"type": "string"
},
"with_spare_l": {
"description": "With the spare",
"type": "number"
}
},
"required": [
"paint_l",
"with_spare_l",
"tins",
"tins_text",
"in_tins_l",
"tins_without_spare",
"tins_without_spare_text",
"area",
"mist_coat"
],
"type": "object"
},
"inputs": {
"additionalProperties": false,
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"properties": {
"ceiling_height_cm": {
"description": "The ceiling height (cm).",
"maximum": 600,
"minimum": 150,
"type": [
"number",
"null"
]
},
"coats": {
"description": "Coats of paint (default 2).",
"maximum": 5,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"coverage_m2_per_l": {
"description": "The square metres a litre covers, from the tin (m²/l).",
"maximum": 25,
"minimum": 3,
"type": [
"number",
"null"
]
},
"door_height_cm": {
"description": "A door’s height (default the UK standard internal door) (cm).",
"maximum": 300,
"minimum": 150,
"type": [
"number",
"null"
]
},
"door_width_cm": {
"description": "A door’s width (default the UK standard internal door) (cm).",
"maximum": 300,
"minimum": 40,
"type": [
"number",
"null"
]
},
"doors": {
"description": "Doors to leave out (default 1; 0 for a feature wall).",
"maximum": 12,
"minimum": 0,
"type": [
"integer",
"null"
]
},
"feature_wall": {
"description": "For a feature wall: a length wall or a width wall.",
"enum": [
"length",
"width"
],
"type": [
"string",
"null"
]
},
"new_plaster": {
"description": "yes for new plaster, which needs a mist coat first.",
"enum": [
"no",
"yes"
],
"type": [
"string",
"null"
]
},
"paint": {
"description": "matt, silk or custom (then give coverage_m2_per_l).",
"enum": [
"matt",
"silk",
"custom"
],
"type": [
"string",
"null"
]
},
"room_length_cm": {
"description": "The room’s length (cm).",
"maximum": 3000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"room_width_cm": {
"description": "The room’s width (cm).",
"maximum": 3000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"spare_pct": {
"description": "Extra paint to buy, in % (default 10) (%).",
"maximum": 50,
"minimum": 0,
"type": [
"number",
"null"
]
},
"surfaces": {
"description": "What to paint: walls, ceiling, both (walls and ceiling) or feature (one wall).",
"enum": [
"walls",
"ceiling",
"both",
"feature"
],
"type": [
"string",
"null"
]
},
"window_height_cm": {
"description": "A window’s height (cm).",
"maximum": 400,
"minimum": 20,
"type": [
"number",
"null"
]
},
"window_width_cm": {
"description": "A window’s width (cm).",
"maximum": 600,
"minimum": 20,
"type": [
"number",
"null"
]
},
"windows": {
"description": "Windows to leave out (default 1; 0 for a feature wall).",
"maximum": 12,
"minimum": 0,
"type": [
"integer",
"null"
]
}
},
"required": [
"room_length_cm",
"room_width_cm",
"ceiling_height_cm",
"surfaces",
"feature_wall",
"doors",
"windows",
"door_width_cm",
"door_height_cm",
"window_width_cm",
"window_height_cm",
"coats",
"paint",
"coverage_m2_per_l",
"new_plaster",
"spare_pct"
],
"type": "object"
},
"notes": {
"description": "Caveats to pass on with the answer.",
"items": {
"type": "string"
},
"type": "array"
},
"page_url": {
"description": "The calculator on snuug.app with these inputs filled in.",
"format": "uri",
"type": "string"
},
"snuug": {
"description": "One line about Snuug, the app behind the calculators.",
"type": "string"
},
"sources": {
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked.",
"items": {
"properties": {
"checked": {
"format": "date",
"type": "string"
},
"label": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"label",
"url",
"checked"
],
"type": "object"
},
"type": "array"
},
"summary": {
"description": "The answer in one sentence to quote.",
"type": "string"
},
"tool": {
"const": "paint",
"description": "The tool, as named in its API and page URLs.",
"type": "string"
},
"version": {
"description": "The version of this contract.",
"type": "string"
},
"working": {
"description": "How the answer was worked out, one step a line.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"type": "object"
}
},
{
"description": "Use when someone asks how high to hang a pendant or chandelier over a dining table or kitchen island, how long its drop should be, or what diameter of light suits a table or room.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"ceiling_height_cm": {
"default": 240,
"description": "The ceiling height (cm).",
"maximum": 600,
"minimum": 180,
"type": "number"
},
"fitting_height_cm": {
"default": 30,
"description": "The shade’s own height, top to bottom (cm).",
"maximum": 200,
"minimum": 2,
"type": "number"
},
"lights": {
"default": 1,
"description": "Over a table: how many lights in a row (1–3).",
"maximum": 3,
"minimum": 1,
"type": "integer"
},
"place": {
"default": "table",
"description": "table (over a table or island) or floor (over open floor or a hall).",
"enum": [
"table",
"floor"
],
"type": "string"
},
"room_length_cm": {
"default": 400,
"description": "The room’s length, for the room-size rule (cm).",
"maximum": 2000,
"minimum": 100,
"type": "number"
},
"room_width_cm": {
"default": 350,
"description": "The room’s width, for the room-size rule (cm).",
"maximum": 2000,
"minimum": 100,
"type": "number"
},
"table_height_cm": {
"default": 75,
"description": "Over a table: its height (cm).",
"maximum": 120,
"minimum": 40,
"type": "number"
},
"table_length_cm": {
"default": 180,
"description": "Over a table: its length (cm).",
"maximum": 400,
"minimum": 40,
"type": "number"
},
"table_width_cm": {
"default": 90,
"description": "Over a table: its width (cm).",
"maximum": 200,
"minimum": 40,
"type": "number"
}
},
"required": [],
"type": "object"
},
"name": "pendant_light",
"outputSchema": {
"properties": {
"answer": {
"additionalProperties": false,
"description": "The answer as named values.",
"properties": {
"bottom_from_floor_cm": {
"description": "The shade’s bottom from the floor",
"type": "number"
},
"centres_from_table_end_cm": {
"description": "Table: where each light goes",
"type": [
"array",
"null"
]
},
"chandelier_height_cm": {
"description": "Table: a chandelier’s own height for this ceiling",
"type": [
"array",
"null"
]
},
"diameter_cm": {
"description": "[low, high] shade size to choose (table: from its width; floor: the room rule)",
"type": "array"
},
"drop_cm": {
"description": "Cord or rod, ceiling to the top of the shade; null if the shade does not fit",
"type": [
"number",
"null"
]
},
"drop_range_cm": {
"description": "Table: the drop across the range",
"type": [
"array",
"null"
]
},
"fits": {
"description": "The shade fits at that height",
"type": "boolean"
},
"hang_above_table_cm": {
"description": "Table: the shade’s bottom above the table",
"type": [
"number",
"null"
]
},
"hang_range_cm": {
"description": "Table: the range above the table",
"type": [
"array",
"null"
]
},
"least_clear_cm": {
"description": "Floor: the least clearance one shop gives",
"type": [
"number",
"null"
]
},
"overall_drop_cm": {
"description": "Table: ceiling to the bottom of the shade",
"type": [
"number",
"null"
]
},
"room_rule_diameter_cm": {
"description": "[low, high] from the room-size rule",
"type": "array"
},
"tallest_fitting_cm": {
"type": "number"
}
},
"required": [
"hang_above_table_cm",
"bottom_from_floor_cm",
"drop_cm",
"overall_drop_cm",
"drop_range_cm",
"hang_range_cm",
"diameter_cm",
"room_rule_diameter_cm",
"fits",
"tallest_fitting_cm",
"centres_from_table_end_cm",
"chandelier_height_cm",
"least_clear_cm"
],
"type": "object"
},
"inputs": {
"additionalProperties": false,
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"properties": {
"ceiling_height_cm": {
"description": "The ceiling height (cm).",
"maximum": 600,
"minimum": 180,
"type": [
"number",
"null"
]
},
"fitting_height_cm": {
"description": "The shade’s own height, top to bottom (cm).",
"maximum": 200,
"minimum": 2,
"type": [
"number",
"null"
]
},
"lights": {
"description": "Over a table: how many lights in a row (1–3).",
"maximum": 3,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"place": {
"description": "table (over a table or island) or floor (over open floor or a hall).",
"enum": [
"table",
"floor"
],
"type": [
"string",
"null"
]
},
"room_length_cm": {
"description": "The room’s length, for the room-size rule (cm).",
"maximum": 2000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"room_width_cm": {
"description": "The room’s width, for the room-size rule (cm).",
"maximum": 2000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"table_height_cm": {
"description": "Over a table: its height (cm).",
"maximum": 120,
"minimum": 40,
"type": [
"number",
"null"
]
},
"table_length_cm": {
"description": "Over a table: its length (cm).",
"maximum": 400,
"minimum": 40,
"type": [
"number",
"null"
]
},
"table_width_cm": {
"description": "Over a table: its width (cm).",
"maximum": 200,
"minimum": 40,
"type": [
"number",
"null"
]
}
},
"required": [
"place",
"ceiling_height_cm",
"fitting_height_cm",
"table_width_cm",
"table_length_cm",
"table_height_cm",
"lights",
"room_length_cm",
"room_width_cm"
],
"type": "object"
},
"notes": {
"description": "Caveats to pass on with the answer.",
"items": {
"type": "string"
},
"type": "array"
},
"page_url": {
"description": "The calculator on snuug.app with these inputs filled in.",
"format": "uri",
"type": "string"
},
"snuug": {
"description": "One line about Snuug, the app behind the calculators.",
"type": "string"
},
"sources": {
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked.",
"items": {
"properties": {
"checked": {
"format": "date",
"type": "string"
},
"label": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"label",
"url",
"checked"
],
"type": "object"
},
"type": "array"
},
"summary": {
"description": "The answer in one sentence to quote.",
"type": "string"
},
"tool": {
"const": "pendant-light",
"description": "The tool, as named in its API and page URLs.",
"type": "string"
},
"version": {
"description": "The version of this contract.",
"type": "string"
},
"working": {
"description": "How the answer was worked out, one step a line.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"type": "object"
}
},
{
"description": "Use when someone asks how high to hang a picture, a print, a mirror or art, on an open wall or above a sofa, bed or sideboard. Returns the hook’s height from the floor and checks the art’s width against the furniture.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"centre_height_cm": {
"default": 145,
"description": "On an open wall, the picture’s centre height (default 145, the gallery height; 150 also common) (cm).",
"maximum": 200,
"minimum": 100,
"type": "number"
},
"frame_height_cm": {
"default": 50,
"description": "The frame’s height (cm).",
"maximum": 300,
"minimum": 5,
"type": "number"
},
"frame_width_cm": {
"default": 40,
"description": "The frame’s width (cm).",
"maximum": 400,
"minimum": 5,
"type": "number"
},
"furniture_gap_cm": {
"default": 20,
"description": "Over furniture: the gap from its top to the frame (designers use 15–25 cm) (cm).",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"furniture_height_cm": {
"default": 85,
"description": "Over furniture: the furniture’s top, from the floor (cm).",
"maximum": 200,
"minimum": 20,
"type": "number"
},
"furniture_width_cm": {
"default": 210,
"description": "Over furniture: its width, to check the art is about two thirds of it (cm).",
"maximum": 500,
"minimum": 20,
"type": "number"
},
"hanger_drop_cm": {
"default": 8,
"description": "The hanger drop: from the frame’s top edge down to the wire pulled tight, or to the D-ring (cm).",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"place": {
"default": "open_wall",
"description": "open_wall, or over_furniture (a sofa, bed or sideboard).",
"enum": [
"open_wall",
"over_furniture"
],
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "picture_height",
"outputSchema": {
"properties": {
"answer": {
"additionalProperties": false,
"description": "The answer as named values.",
"properties": {
"bottom_edge_cm": {
"type": "number"
},
"hook_height_cm": {
"description": "The hook from the floor",
"type": "number"
},
"ideal_width_cm": {
"description": "Over furniture: two thirds of its width",
"type": [
"number",
"null"
]
},
"picture_centre_cm": {
"type": "number"
},
"top_edge_cm": {
"type": "number"
},
"width_share": {
"description": "Over furniture: the frame’s width ÷ the furniture’s",
"type": [
"number",
"null"
]
},
"width_share_range": {
"description": "Over furniture: the share designers aim for",
"type": [
"array",
"null"
]
}
},
"required": [
"hook_height_cm",
"picture_centre_cm",
"bottom_edge_cm",
"top_edge_cm",
"width_share",
"width_share_range",
"ideal_width_cm"
],
"type": "object"
},
"inputs": {
"additionalProperties": false,
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"properties": {
"centre_height_cm": {
"description": "On an open wall, the picture’s centre height (default 145, the gallery height; 150 also common) (cm).",
"maximum": 200,
"minimum": 100,
"type": [
"number",
"null"
]
},
"frame_height_cm": {
"description": "The frame’s height (cm).",
"maximum": 300,
"minimum": 5,
"type": [
"number",
"null"
]
},
"frame_width_cm": {
"description": "The frame’s width (cm).",
"maximum": 400,
"minimum": 5,
"type": [
"number",
"null"
]
},
"furniture_gap_cm": {
"description": "Over furniture: the gap from its top to the frame (designers use 15–25 cm) (cm).",
"maximum": 100,
"minimum": 0,
"type": [
"number",
"null"
]
},
"furniture_height_cm": {
"description": "Over furniture: the furniture’s top, from the floor (cm).",
"maximum": 200,
"minimum": 20,
"type": [
"number",
"null"
]
},
"furniture_width_cm": {
"description": "Over furniture: its width, to check the art is about two thirds of it (cm).",
"maximum": 500,
"minimum": 20,
"type": [
"number",
"null"
]
},
"hanger_drop_cm": {
"description": "The hanger drop: from the frame’s top edge down to the wire pulled tight, or to the D-ring (cm).",
"maximum": 100,
"minimum": 0,
"type": [
"number",
"null"
]
},
"place": {
"description": "open_wall, or over_furniture (a sofa, bed or sideboard).",
"enum": [
"open_wall",
"over_furniture"
],
"type": [
"string",
"null"
]
}
},
"required": [
"frame_height_cm",
"frame_width_cm",
"hanger_drop_cm",
"place",
"centre_height_cm",
"furniture_height_cm",
"furniture_gap_cm",
"furniture_width_cm"
],
"type": "object"
},
"notes": {
"description": "Caveats to pass on with the answer.",
"items": {
"type": "string"
},
"type": "array"
},
"page_url": {
"description": "The calculator on snuug.app with these inputs filled in.",
"format": "uri",
"type": "string"
},
"snuug": {
"description": "One line about Snuug, the app behind the calculators.",
"type": "string"
},
"sources": {
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked.",
"items": {
"properties": {
"checked": {
"format": "date",
"type": "string"
},
"label": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"label",
"url",
"checked"
],
"type": "object"
},
"type": "array"
},
"summary": {
"description": "The answer in one sentence to quote.",
"type": "string"
},
"tool": {
"const": "picture-height",
"description": "The tool, as named in its API and page URLs.",
"type": "string"
},
"version": {
"description": "The version of this contract.",
"type": "string"
},
"working": {
"description": "How the answer was worked out, one step a line.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"type": "object"
}
},
{
"description": "Use when someone asks how bright a room’s lights should be, how many lumens, bulbs or downlights a room needs, how far apart to space downlights, or what colour temperature to choose.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"ceiling_height_cm": {
"default": 240,
"description": "The ceiling height (cm).",
"maximum": 600,
"minimum": 200,
"type": "number"
},
"room_length_cm": {
"default": 450,
"description": "The room’s length (cm).",
"maximum": 2000,
"minimum": 100,
"type": "number"
},
"room_type": {
"default": "living",
"description": "living, bedroom, kitchen, bathroom or home_office.",
"enum": [
"living",
"bedroom",
"kitchen",
"bathroom",
"home_office"
],
"type": "string"
},
"room_width_cm": {
"default": 400,
"description": "The room’s width (cm).",
"maximum": 2000,
"minimum": 100,
"type": "number"
},
"wall_colour": {
"default": "light",
"description": "light, or dark (dark walls reflect less, so the room needs more light).",
"enum": [
"light",
"dark"
],
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "room_lighting",
"outputSchema": {
"properties": {
"answer": {
"additionalProperties": false,
"description": "The answer as named values.",
"properties": {
"area_m2": {
"type": "number"
},
"bulbs": {
"description": "bulb_lm and count [low, high] of that bulb",
"type": "array"
},
"colour_temperature_k": {
"description": "[low, high]",
"type": "array"
},
"downlights": {
"description": "If the ceiling light is downlights: count, columns, rows, spacing_cm, from_wall_cm, each_lm",
"type": "object"
},
"layers": {
"description": "ceiling, lamps and task, each share_pct and light_lm [low, high]",
"type": "object"
},
"room_index": {
"type": "number"
},
"target_lux": {
"description": "[low, high]",
"type": "array"
},
"task_light": {
"description": "The task light this room needs",
"type": "string"
},
"task_lux": {
"description": "Where you read, chop or work",
"type": "number"
},
"total_lm": {
"description": "[low, high] lumens from all bulbs together",
"type": "array"
},
"utilisation": {
"description": "The share of the light that reaches the floor",
"type": "number"
},
"utilisation_light_walls": {
"description": "The same with light walls",
"type": "number"
}
},
"required": [
"total_lm",
"target_lux",
"task_lux",
"layers",
"bulbs",
"downlights",
"colour_temperature_k",
"area_m2",
"room_index",
"utilisation",
"utilisation_light_walls",
"task_light"
],
"type": "object"
},
"inputs": {
"additionalProperties": false,
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"properties": {
"ceiling_height_cm": {
"description": "The ceiling height (cm).",
"maximum": 600,
"minimum": 200,
"type": [
"number",
"null"
]
},
"room_length_cm": {
"description": "The room’s length (cm).",
"maximum": 2000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"room_type": {
"description": "living, bedroom, kitchen, bathroom or home_office.",
"enum": [
"living",
"bedroom",
"kitchen",
"bathroom",
"home_office"
],
"type": [
"string",
"null"
]
},
"room_width_cm": {
"description": "The room’s width (cm).",
"maximum": 2000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"wall_colour": {
"description": "light, or dark (dark walls reflect less, so the room needs more light).",
"enum": [
"light",
"dark"
],
"type": [
"string",
"null"
]
}
},
"required": [
"room_length_cm",
"room_width_cm",
"ceiling_height_cm",
"room_type",
"wall_colour"
],
"type": "object"
},
"notes": {
"description": "Caveats to pass on with the answer.",
"items": {
"type": "string"
},
"type": "array"
},
"page_url": {
"description": "The calculator on snuug.app with these inputs filled in.",
"format": "uri",
"type": "string"
},
"snuug": {
"description": "One line about Snuug, the app behind the calculators.",
"type": "string"
},
"sources": {
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked.",
"items": {
"properties": {
"checked": {
"format": "date",
"type": "string"
},
"label": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"label",
"url",
"checked"
],
"type": "object"
},
"type": "array"
},
"summary": {
"description": "The answer in one sentence to quote.",
"type": "string"
},
"tool": {
"const": "lighting",
"description": "The tool, as named in its API and page URLs.",
"type": "string"
},
"version": {
"description": "The version of this contract.",
"type": "string"
},
"working": {
"description": "How the answer was worked out, one step a line.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"type": "object"
}
},
{
"description": "Use when someone asks for a room’s floor area, perimeter, volume or carpet and skirting amounts, or what a size such as 3 × 4 m or 12 × 12 ft means (a box room, a single or double bedroom). Handles L-shaped rooms and bay windows.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"bay": {
"default": "none",
"description": "A bay window in the front wall: none, square (sides at 90°) or angled (sides at 45°, the usual UK canted bay).",
"enum": [
"none",
"square",
"angled"
],
"type": "string"
},
"bay_depth_cm": {
"default": 60,
"description": "How far the bay sticks out (cm).",
"maximum": 500,
"minimum": 0,
"type": "number"
},
"bay_width_cm": {
"default": 200,
"description": "The bay’s width at the wall (cm).",
"maximum": 5000,
"minimum": 0,
"type": "number"
},
"ceiling_height_cm": {
"default": 240,
"description": "The ceiling height, for the volume (cm).",
"maximum": 1000,
"minimum": 150,
"type": "number"
},
"doors": {
"default": 1,
"description": "Doorways, left out of the skirting.",
"maximum": 12,
"minimum": 0,
"type": "integer"
},
"part2_depth_cm": {
"default": 150,
"description": "An L-shaped room’s second part: how far it sticks out (cm).",
"maximum": 5000,
"minimum": 0,
"type": "number"
},
"part2_length_cm": {
"default": 200,
"description": "An L-shaped room’s second part: its length along the main room (cm).",
"maximum": 5000,
"minimum": 0,
"type": "number"
},
"room_length_cm": {
"default": 400,
"description": "The room’s length (cm).",
"maximum": 5000,
"minimum": 30,
"type": "number"
},
"room_width_cm": {
"default": 350,
"description": "The room’s width (along the window wall) (cm).",
"maximum": 5000,
"minimum": 30,
"type": "number"
},
"shape": {
"default": "rectangle",
"description": "rectangle, or l_shape (a second part on the right-hand wall, flush with the far corner).",
"enum": [
"rectangle",
"l_shape"
],
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "room_size",
"outputSchema": {
"properties": {
"answer": {
"additionalProperties": false,
"description": "The answer as named values.",
"properties": {
"area_m2": {
"description": "The floor area",
"type": "number"
},
"area_sq_ft": {
"type": "number"
},
"average_home_share": {
"description": "The floor area ÷ the average home in England’s",
"type": "number"
},
"bounds": {
"description": "The room’s outer size: width_cm, length_cm",
"type": "object"
},
"carpet": {
"description": "The cheapest cut: roll_cm, cut_cm, joins, bought_m2",
"type": "object"
},
"parts": {
"description": "The area by part: main_m2, part2_m2, bay_m2",
"type": "object"
},
"perimeter_cm": {
"type": "number"
},
"polygon_cm": {
"description": "The floor as [x, y] corners, the window wall along y = 0",
"type": "array"
},
"skirting_boards": {
"description": "Boards to buy by length: board_cm, count",
"type": "array"
},
"skirting_cm": {
"description": "The perimeter less the doorways",
"type": "number"
},
"volume_cu_ft": {
"type": "number"
},
"volume_m3": {
"type": "number"
},
"walls_cm": {
"description": "Each wall, round the room",
"type": "array"
}
},
"required": [
"area_m2",
"area_sq_ft",
"parts",
"perimeter_cm",
"walls_cm",
"skirting_cm",
"skirting_boards",
"volume_m3",
"volume_cu_ft",
"bounds",
"carpet",
"average_home_share",
"polygon_cm"
],
"type": "object"
},
"inputs": {
"additionalProperties": false,
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"properties": {
"bay": {
"description": "A bay window in the front wall: none, square (sides at 90°) or angled (sides at 45°, the usual UK canted bay).",
"enum": [
"none",
"square",
"angled"
],
"type": [
"string",
"null"
]
},
"bay_depth_cm": {
"description": "How far the bay sticks out (cm).",
"maximum": 500,
"minimum": 0,
"type": [
"number",
"null"
]
},
"bay_width_cm": {
"description": "The bay’s width at the wall (cm).",
"maximum": 5000,
"minimum": 0,
"type": [
"number",
"null"
]
},
"ceiling_height_cm": {
"description": "The ceiling height, for the volume (cm).",
"maximum": 1000,
"minimum": 150,
"type": [
"number",
"null"
]
},
"doors": {
"description": "Doorways, left out of the skirting.",
"maximum": 12,
"minimum": 0,
"type": [
"integer",
"null"
]
},
"part2_depth_cm": {
"description": "An L-shaped room’s second part: how far it sticks out (cm).",
"maximum": 5000,
"minimum": 0,
"type": [
"number",
"null"
]
},
"part2_length_cm": {
"description": "An L-shaped room’s second part: its length along the main room (cm).",
"maximum": 5000,
"minimum": 0,
"type": [
"number",
"null"
]
},
"room_length_cm": {
"description": "The room’s length (cm).",
"maximum": 5000,
"minimum": 30,
"type": [
"number",
"null"
]
},
"room_width_cm": {
"description": "The room’s width (along the window wall) (cm).",
"maximum": 5000,
"minimum": 30,
"type": [
"number",
"null"
]
},
"shape": {
"description": "rectangle, or l_shape (a second part on the right-hand wall, flush with the far corner).",
"enum": [
"rectangle",
"l_shape"
],
"type": [
"string",
"null"
]
}
},
"required": [
"shape",
"room_width_cm",
"room_length_cm",
"part2_length_cm",
"part2_depth_cm",
"bay",
"bay_width_cm",
"bay_depth_cm",
"ceiling_height_cm",
"doors"
],
"type": "object"
},
"notes": {
"description": "Caveats to pass on with the answer.",
"items": {
"type": "string"
},
"type": "array"
},
"page_url": {
"description": "The calculator on snuug.app with these inputs filled in.",
"format": "uri",
"type": "string"
},
"snuug": {
"description": "One line about Snuug, the app behind the calculators.",
"type": "string"
},
"sources": {
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked.",
"items": {
"properties": {
"checked": {
"format": "date",
"type": "string"
},
"label": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"label",
"url",
"checked"
],
"type": "object"
},
"type": "array"
},
"summary": {
"description": "The answer in one sentence to quote.",
"type": "string"
},
"tool": {
"const": "room-size",
"description": "The tool, as named in its API and page URLs.",
"type": "string"
},
"version": {
"description": "The version of this contract.",
"type": "string"
},
"working": {
"description": "How the answer was worked out, one step a line.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"type": "object"
}
},
{
"description": "Use when someone asks what size rug fits their living room or goes under or in front of their sofa. Returns the UK and US stock rug sizes that run past each end of the sofa and leave bare floor to the walls.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"armchairs": {
"default": "none",
"description": "none, or two armchairs facing the sofa, which the rug must also reach.",
"enum": [
"none",
"two"
],
"type": "string"
},
"legs_on_rug": {
"default": "front",
"description": "Which sofa legs stand on the rug: all, front (the usual choice) or none (the rug sits under the coffee table only).",
"enum": [
"all",
"front",
"none"
],
"type": "string"
},
"room_length_cm": {
"default": 450,
"description": "The room’s length, out from the sofa wall (cm).",
"maximum": 1500,
"minimum": 150,
"type": "number"
},
"room_width_cm": {
"default": 400,
"description": "The room’s width along the wall the sofa stands against (cm).",
"maximum": 1500,
"minimum": 150,
"type": "number"
},
"sofa_depth_cm": {
"default": 90,
"description": "The sofa’s depth, back to front (cm).",
"maximum": 200,
"minimum": 50,
"type": "number"
},
"sofa_width_cm": {
"default": 210,
"description": "The sofa’s width, arm to arm (cm).",
"maximum": 500,
"minimum": 60,
"type": "number"
}
},
"required": [],
"type": "object"
},
"name": "rug_size",
"outputSchema": {
"properties": {
"answer": {
"additionalProperties": false,
"description": "The answer as named values.",
"properties": {
"least_floor_cm": {
"description": "The least bare floor between rug and wall",
"type": "number"
},
"needed": {
"description": "The rug the rule asks for: width_cm, ideal_width_cm, depth_cm",
"type": "object"
},
"plan": {
"description": "Where things sit, out from the sofa wall: rug_from_cm, table_from_cm, table_length_cm, chairs_from_cm",
"type": "object"
},
"uk_rug": {
"description": "A stock rug: name, width_cm (along the sofa), depth_cm, turned, meets_rule, past_sofa_end_cm (negative: short of the sofa), floor_each_side_cm, floor_far_end_cm, sofa_share. The smallest UK size that meets the rule and fits the room, else the closest that fits; null if none fits",
"type": [
"object",
"null"
]
},
"us_rug": {
"description": "A stock rug: name, width_cm (along the sofa), depth_cm, turned, meets_rule, past_sofa_end_cm (negative: short of the sofa), floor_each_side_cm, floor_far_end_cm, sofa_share. The same for US sizes (in feet)",
"type": [
"object",
"null"
]
}
},
"required": [
"uk_rug",
"us_rug",
"needed",
"least_floor_cm",
"plan"
],
"type": "object"
},
"inputs": {
"additionalProperties": false,
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"properties": {
"armchairs": {
"description": "none, or two armchairs facing the sofa, which the rug must also reach.",
"enum": [
"none",
"two"
],
"type": [
"string",
"null"
]
},
"legs_on_rug": {
"description": "Which sofa legs stand on the rug: all, front (the usual choice) or none (the rug sits under the coffee table only).",
"enum": [
"all",
"front",
"none"
],
"type": [
"string",
"null"
]
},
"room_length_cm": {
"description": "The room’s length, out from the sofa wall (cm).",
"maximum": 1500,
"minimum": 150,
"type": [
"number",
"null"
]
},
"room_width_cm": {
"description": "The room’s width along the wall the sofa stands against (cm).",
"maximum": 1500,
"minimum": 150,
"type": [
"number",
"null"
]
},
"sofa_depth_cm": {
"description": "The sofa’s depth, back to front (cm).",
"maximum": 200,
"minimum": 50,
"type": [
"number",
"null"
]
},
"sofa_width_cm": {
"description": "The sofa’s width, arm to arm (cm).",
"maximum": 500,
"minimum": 60,
"type": [
"number",
"null"
]
}
},
"required": [
"sofa_width_cm",
"sofa_depth_cm",
"room_width_cm",
"room_length_cm",
"legs_on_rug",
"armchairs"
],
"type": "object"
},
"notes": {
"description": "Caveats to pass on with the answer.",
"items": {
"type": "string"
},
"type": "array"
},
"page_url": {
"description": "The calculator on snuug.app with these inputs filled in.",
"format": "uri",
"type": "string"
},
"snuug": {
"description": "One line about Snuug, the app behind the calculators.",
"type": "string"
},
"sources": {
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked.",
"items": {
"properties": {
"checked": {
"format": "date",
"type": "string"
},
"label": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"label",
"url",
"checked"
],
"type": "object"
},
"type": "array"
},
"summary": {
"description": "The answer in one sentence to quote.",
"type": "string"
},
"tool": {
"const": "rug-size",
"description": "The tool, as named in its API and page URLs.",
"type": "string"
},
"version": {
"description": "The version of this contract.",
"type": "string"
},
"working": {
"description": "How the answer was worked out, one step a line.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"type": "object"
}
},
{
"description": "Use when someone asks whether a sofa (or another large piece) will fit through a door, round a turn in a hall or up to a room. Applies the furniture shops’ straight, tipped-back, on-end and swing tests and grades each ok, tight or no.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"door_height_cm": {
"default": 198,
"description": "The door’s clear height (cm).",
"maximum": 400,
"minimum": 120,
"type": "number"
},
"door_width_cm": {
"default": 74,
"description": "The door’s clear width: the gap with the door open, frame to door edge (cm).",
"maximum": 300,
"minimum": 40,
"type": "number"
},
"hall_width_cm": {
"default": 100,
"description": "The width of the hall or landing beyond the door, where the sofa must turn (cm).",
"maximum": 1000,
"minimum": 40,
"type": "number"
},
"route": {
"default": "turn",
"description": "turn if the sofa must turn into the room after the door, straight if it goes straight on.",
"enum": [
"turn",
"straight"
],
"type": "string"
},
"sofa_depth_cm": {
"default": 86,
"description": "The sofa’s depth, back to front (cm).",
"maximum": 250,
"minimum": 40,
"type": "number"
},
"sofa_diagonal_cm": {
"default": 72,
"description": "The sofa’s diagonal depth: from the back bottom corner to a straight edge laid from the top of the back to the front of the arm (cm).",
"maximum": 250,
"minimum": 30,
"type": "number"
},
"sofa_height_cm": {
"default": 80,
"description": "The sofa’s height, floor to the top of the back (cm).",
"maximum": 250,
"minimum": 40,
"type": "number"
},
"sofa_width_cm": {
"default": 180,
"description": "The sofa’s width, arm to arm (its length when carried) (cm).",
"maximum": 500,
"minimum": 50,
"type": "number"
}
},
"required": [],
"type": "object"
},
"name": "sofa_fit",
"outputSchema": {
"properties": {
"answer": {
"additionalProperties": false,
"description": "The answer as named values.",
"properties": {
"checks": {
"description": "Each test: straight, tipped, on_end and swing, each with clear_cm and grade",
"type": "object"
},
"door": {
"description": "The better way through the door: how (straight or tipped), clear_cm (to spare; negative: too big), grade",
"type": "object"
},
"end_across": {
"description": "Which side goes across: depth or height",
"type": "string"
},
"end_across_cm": {
"description": "The sofa’s end across the door",
"type": "number"
},
"margin_cm": {
"description": "Under this much to spare is tight",
"type": "number"
},
"size_varies_pct": {
"description": "How far sofas vary from their listed size",
"type": "number"
},
"turn": {
"description": "The better way to turn after it: how (end, swing or none), clear_cm (null with none), grade",
"type": "object"
},
"verdict": {
"description": "ok, tight or no",
"type": "string"
}
},
"required": [
"verdict",
"door",
"turn",
"checks",
"end_across_cm",
"end_across",
"margin_cm",
"size_varies_pct"
],
"type": "object"
},
"inputs": {
"additionalProperties": false,
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"properties": {
"door_height_cm": {
"description": "The door’s clear height (cm).",
"maximum": 400,
"minimum": 120,
"type": [
"number",
"null"
]
},
"door_width_cm": {
"description": "The door’s clear width: the gap with the door open, frame to door edge (cm).",
"maximum": 300,
"minimum": 40,
"type": [
"number",
"null"
]
},
"hall_width_cm": {
"description": "The width of the hall or landing beyond the door, where the sofa must turn (cm).",
"maximum": 1000,
"minimum": 40,
"type": [
"number",
"null"
]
},
"route": {
"description": "turn if the sofa must turn into the room after the door, straight if it goes straight on.",
"enum": [
"turn",
"straight"
],
"type": [
"string",
"null"
]
},
"sofa_depth_cm": {
"description": "The sofa’s depth, back to front (cm).",
"maximum": 250,
"minimum": 40,
"type": [
"number",
"null"
]
},
"sofa_diagonal_cm": {
"description": "The sofa’s diagonal depth: from the back bottom corner to a straight edge laid from the top of the back to the front of the arm (cm).",
"maximum": 250,
"minimum": 30,
"type": [
"number",
"null"
]
},
"sofa_height_cm": {
"description": "The sofa’s height, floor to the top of the back (cm).",
"maximum": 250,
"minimum": 40,
"type": [
"number",
"null"
]
},
"sofa_width_cm": {
"description": "The sofa’s width, arm to arm (its length when carried) (cm).",
"maximum": 500,
"minimum": 50,
"type": [
"number",
"null"
]
}
},
"required": [
"door_width_cm",
"door_height_cm",
"hall_width_cm",
"route",
"sofa_width_cm",
"sofa_depth_cm",
"sofa_height_cm",
"sofa_diagonal_cm"
],
"type": "object"
},
"notes": {
"description": "Caveats to pass on with the answer.",
"items": {
"type": "string"
},
"type": "array"
},
"page_url": {
"description": "The calculator on snuug.app with these inputs filled in.",
"format": "uri",
"type": "string"
},
"snuug": {
"description": "One line about Snuug, the app behind the calculators.",
"type": "string"
},
"sources": {
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked.",
"items": {
"properties": {
"checked": {
"format": "date",
"type": "string"
},
"label": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"label",
"url",
"checked"
],
"type": "object"
},
"type": "array"
},
"summary": {
"description": "The answer in one sentence to quote.",
"type": "string"
},
"tool": {
"const": "sofa-fit",
"description": "The tool, as named in its API and page URLs.",
"type": "string"
},
"version": {
"description": "The version of this contract.",
"type": "string"
},
"working": {
"description": "How the answer was worked out, one step a line.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"type": "object"
}
},
{
"description": "Use when someone asks how high to mount or hang a TV, whether it can go above a fireplace, or how far to sit from a screen of a given size. Returns the centre height, the edges, the viewing angles and the THX and SMPTE seat distances.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"above_fireplace": {
"default": "no",
"description": "yes if the screen goes above a fireplace or mantel.",
"enum": [
"no",
"yes"
],
"type": "string"
},
"eye_height_cm": {
"default": 105,
"description": "Seated eye height from the floor (most sofas: 100–110 cm) (cm).",
"maximum": 180,
"minimum": 60,
"type": "number"
},
"mantel_height_cm": {
"default": 120,
"description": "The mantel’s height from the floor (only with above_fireplace yes) (cm).",
"maximum": 250,
"minimum": 40,
"type": "number"
},
"screen_size_in": {
"default": 55,
"description": "The screen’s diagonal size in inches, as sold (in).",
"maximum": 120,
"minimum": 19,
"type": "number"
},
"seat_distance_cm": {
"default": 270,
"description": "The distance from the seat to the screen (cm).",
"maximum": 1000,
"minimum": 80,
"type": "number"
}
},
"required": [],
"type": "object"
},
"name": "tv_height_distance",
"outputSchema": {
"properties": {
"answer": {
"additionalProperties": false,
"description": "The answer as named values.",
"properties": {
"bottom_edge_cm": {
"type": "number"
},
"centre_height_cm": {
"description": "The screen’s centre from the floor",
"type": "number"
},
"limit_deg": {
"description": "THX and CEDIA’s limit",
"type": "number"
},
"look_down_deg": {
"description": "From the eyes to the bottom edge (negative: up)",
"type": "number"
},
"look_up_deg": {
"description": "From the eyes to the top edge",
"type": "number"
},
"screen_height_cm": {
"type": "number"
},
"screen_width_cm": {
"type": "number"
},
"seat_for_limit_cm": {
"description": "The seat distance that keeps the top edge within the limit",
"type": "number"
},
"seat_range_cm": {
"description": "[THX 40°, SMPTE 30°] seat distances for this screen",
"type": "array"
},
"size_for_seat": {
"description": "The screen sizes that fill SMPTE’s and THX’s angles from this seat: smpte_in, thx_in",
"type": "object"
},
"study_seat_cm": {
"description": "The distance people chose in one lab study (24–65 in screens only)",
"type": [
"number",
"null"
]
},
"thx_farthest_cm": {
"description": "The far end of THX’s range",
"type": "number"
},
"top_edge_cm": {
"type": "number"
},
"view_angle_deg": {
"description": "How much of the view the screen fills from the seat",
"type": "number"
},
"within_limit": {
"description": "Both within limit_deg",
"type": "boolean"
}
},
"required": [
"centre_height_cm",
"bottom_edge_cm",
"top_edge_cm",
"screen_width_cm",
"screen_height_cm",
"look_up_deg",
"look_down_deg",
"within_limit",
"limit_deg",
"seat_for_limit_cm",
"seat_range_cm",
"thx_farthest_cm",
"view_angle_deg",
"size_for_seat",
"study_seat_cm"
],
"type": "object"
},
"inputs": {
"additionalProperties": false,
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"properties": {
"above_fireplace": {
"description": "yes if the screen goes above a fireplace or mantel.",
"enum": [
"no",
"yes"
],
"type": [
"string",
"null"
]
},
"eye_height_cm": {
"description": "Seated eye height from the floor (most sofas: 100–110 cm) (cm).",
"maximum": 180,
"minimum": 60,
"type": [
"number",
"null"
]
},
"mantel_height_cm": {
"description": "The mantel’s height from the floor (only with above_fireplace yes) (cm).",
"maximum": 250,
"minimum": 40,
"type": [
"number",
"null"
]
},
"screen_size_in": {
"description": "The screen’s diagonal size in inches, as sold (in).",
"maximum": 120,
"minimum": 19,
"type": [
"number",
"null"
]
},
"seat_distance_cm": {
"description": "The distance from the seat to the screen (cm).",
"maximum": 1000,
"minimum": 80,
"type": [
"number",
"null"
]
}
},
"required": [
"screen_size_in",
"seat_distance_cm",
"eye_height_cm",
"above_fireplace",
"mantel_height_cm"
],
"type": "object"
},
"notes": {
"description": "Caveats to pass on with the answer.",
"items": {
"type": "string"
},
"type": "array"
},
"page_url": {
"description": "The calculator on snuug.app with these inputs filled in.",
"format": "uri",
"type": "string"
},
"snuug": {
"description": "One line about Snuug, the app behind the calculators.",
"type": "string"
},
"sources": {
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked.",
"items": {
"properties": {
"checked": {
"format": "date",
"type": "string"
},
"label": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"label",
"url",
"checked"
],
"type": "object"
},
"type": "array"
},
"summary": {
"description": "The answer in one sentence to quote.",
"type": "string"
},
"tool": {
"const": "tv-height-distance",
"description": "The tool, as named in its API and page URLs.",
"type": "string"
},
"version": {
"description": "The version of this contract.",
"type": "string"
},
"working": {
"description": "How the answer was worked out, one step a line.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"type": "object"
}
},
{
"description": "Use when someone asks how many rolls of wallpaper they need for a room, some walls or one feature wall, including a pattern repeat and a straight or offset match.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"doors": {
"default": 1,
"description": "Doors, each saving a drop (default 1 for a room, else 0).",
"maximum": 12,
"minimum": 0,
"type": "integer"
},
"match": {
"default": "free",
"description": "free (or plain), straight or offset (half-drop).",
"enum": [
"free",
"straight",
"offset"
],
"type": "string"
},
"mode": {
"default": "room",
"description": "room (all four walls), walls (some walls) or feature (one wall).",
"enum": [
"room",
"walls",
"feature"
],
"type": "string"
},
"pattern_repeat_cm": {
"default": 0,
"description": "The pattern repeat, from the label (0 for none) (cm).",
"maximum": 200,
"minimum": 0,
"type": "number"
},
"roll_length_cm": {
"default": 1005,
"description": "The roll’s length (default the UK standard, 1005 cm) (cm).",
"maximum": 5000,
"minimum": 100,
"type": "number"
},
"roll_width_cm": {
"default": 53,
"description": "The roll’s width (default 53 cm) (cm).",
"maximum": 200,
"minimum": 20,
"type": "number"
},
"room_length_cm": {
"default": 400,
"description": "For a room: its length (cm).",
"maximum": 3000,
"minimum": 100,
"type": "number"
},
"room_width_cm": {
"default": 300,
"description": "For a room: its width (cm).",
"maximum": 3000,
"minimum": 100,
"type": "number"
},
"spare_rolls": {
"default": 1,
"description": "Spare rolls from the same batch (default 1).",
"maximum": 10,
"minimum": 0,
"type": "integer"
},
"trim_cm": {
"default": 10,
"description": "Extra on each drop for trimming (default 10 cm) (cm).",
"maximum": 50,
"minimum": 0,
"type": "number"
},
"wall_height_cm": {
"default": 240,
"description": "The wall height, skirting to ceiling (cm).",
"maximum": 600,
"minimum": 50,
"type": "number"
},
"wall_width_cm": {
"default": 350,
"description": "For walls or a feature wall: the width, the walls added up (cm).",
"maximum": 10000,
"minimum": 20,
"type": "number"
}
},
"required": [],
"type": "object"
},
"name": "wallpaper_rolls",
"outputSchema": {
"properties": {
"answer": {
"additionalProperties": false,
"description": "The answer as named values.",
"properties": {
"cuts": {
"description": "wall_width_cm, drop_cut_cm, drop_used_cm (with the pattern match), offcut_per_roll_cm, wall_area_m2, doors_saved_drops",
"type": "object"
},
"drops_needed": {
"type": "number"
},
"drops_per_roll": {
"type": "number"
},
"rolls": {
"description": "Rolls to buy, the spare included",
"type": "number"
},
"rolls_without_spare": {
"type": "number"
},
"spare_rolls": {
"type": "number"
}
},
"required": [
"rolls",
"rolls_without_spare",
"spare_rolls",
"drops_needed",
"drops_per_roll",
"cuts"
],
"type": "object"
},
"inputs": {
"additionalProperties": false,
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"properties": {
"doors": {
"description": "Doors, each saving a drop (default 1 for a room, else 0).",
"maximum": 12,
"minimum": 0,
"type": [
"integer",
"null"
]
},
"match": {
"description": "free (or plain), straight or offset (half-drop).",
"enum": [
"free",
"straight",
"offset"
],
"type": [
"string",
"null"
]
},
"mode": {
"description": "room (all four walls), walls (some walls) or feature (one wall).",
"enum": [
"room",
"walls",
"feature"
],
"type": [
"string",
"null"
]
},
"pattern_repeat_cm": {
"description": "The pattern repeat, from the label (0 for none) (cm).",
"maximum": 200,
"minimum": 0,
"type": [
"number",
"null"
]
},
"roll_length_cm": {
"description": "The roll’s length (default the UK standard, 1005 cm) (cm).",
"maximum": 5000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"roll_width_cm": {
"description": "The roll’s width (default 53 cm) (cm).",
"maximum": 200,
"minimum": 20,
"type": [
"number",
"null"
]
},
"room_length_cm": {
"description": "For a room: its length (cm).",
"maximum": 3000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"room_width_cm": {
"description": "For a room: its width (cm).",
"maximum": 3000,
"minimum": 100,
"type": [
"number",
"null"
]
},
"spare_rolls": {
"description": "Spare rolls from the same batch (default 1).",
"maximum": 10,
"minimum": 0,
"type": [
"integer",
"null"
]
},
"trim_cm": {
"description": "Extra on each drop for trimming (default 10 cm) (cm).",
"maximum": 50,
"minimum": 0,
"type": [
"number",
"null"
]
},
"wall_height_cm": {
"description": "The wall height, skirting to ceiling (cm).",
"maximum": 600,
"minimum": 50,
"type": [
"number",
"null"
]
},
"wall_width_cm": {
"description": "For walls or a feature wall: the width, the walls added up (cm).",
"maximum": 10000,
"minimum": 20,
"type": [
"number",
"null"
]
}
},
"required": [
"mode",
"room_length_cm",
"room_width_cm",
"wall_width_cm",
"wall_height_cm",
"roll_length_cm",
"roll_width_cm",
"pattern_repeat_cm",
"match",
"doors",
"trim_cm",
"spare_rolls"
],
"type": "object"
},
"notes": {
"description": "Caveats to pass on with the answer.",
"items": {
"type": "string"
},
"type": "array"
},
"page_url": {
"description": "The calculator on snuug.app with these inputs filled in.",
"format": "uri",
"type": "string"
},
"snuug": {
"description": "One line about Snuug, the app behind the calculators.",
"type": "string"
},
"sources": {
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked.",
"items": {
"properties": {
"checked": {
"format": "date",
"type": "string"
},
"label": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"label",
"url",
"checked"
],
"type": "object"
},
"type": "array"
},
"summary": {
"description": "The answer in one sentence to quote.",
"type": "string"
},
"tool": {
"const": "wallpaper",
"description": "The tool, as named in its API and page URLs.",
"type": "string"
},
"version": {
"description": "The version of this contract.",
"type": "string"
},
"working": {
"description": "How the answer was worked out, one step a line.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:17b47e4b5f050a3a94bb7abba4196469f4b48c8d23add5a0f8ad4a63913246ef | sha256sum