VastuPlanFromRequirementsRequest
Requires caller-supplied physical plot dimensions and facing, nested under plot or at the root, and exactly one programme: nonempty rooms, requirements, brief, or root-level brief fields. Core programme choices are explicit; BHK encodes living, kitchen and half-room study choices. Fields not listed here are ignored. Explicit units/inputUnits is recommended for interchange. Omitted units retain legacy coordinate behavior.
Properties
| Name | Type | Description |
|---|---|---|
| plot | object | |
| entrance | object | |
| rooms | array | |
| requirements | object | |
| parking | object | |
| staircase | object | true/1 adds one staircase, false/0 declines it, or an object { type, width, area, zone }. On a multi-floor plan a staircase is added to every storey unless this is false. |
| lift | object | |
| variants | integer | |
| variantSvg | boolean | |
| includeSvg | boolean | Set false to skip rendering and returning all SVG drawings while keeping geometry, openings, scores and ranking unchanged. |
| width | object | |
| length | object | |
| facing | object | |
| polygon | object | |
| setbacks | object | |
| depth | object | |
| height | object | |
| corners | object | |
| plotPolygon | object | |
| setback | object | |
| brief | object | |
| hasPooja | boolean | |
| hasDining | boolean | |
| hasStore | boolean | |
| hasGuest | boolean | |
| hasStaircase | boolean | |
| hasLiving | boolean | |
| hasKitchen | boolean | |
| hasStudy | boolean | |
| hasParking | boolean | |
| hasLift | boolean | |
| hasUtility | boolean | |
| utility | boolean | |
| hasBalcony | boolean | |
| hasServant | boolean | |
| servantRoom | boolean | |
| hasOffice | boolean | |
| homeOffice | boolean | |
| bedrooms | object | |
| toilets | object | |
| bathrooms | object | |
| bhk | object | |
| configuration | object | |
| bhkType | object | |
| floors | object | A number is the storey count of a room brief: every storey comes back, and one the brief leaves without rooms is returned as an open terrace and named in warnings. An array is a per-storey programme ( |
| carParking | object | |
| lifts | object | |
| balconies | object | |
| areas | object | |
| additionalRooms | array | |
| core | object | Multi-floor spelling of the top-level staircase and lift specs; do not send both. |
| headingErrorDeg | number | Symmetric heading bound in degrees. Optional; absent preserves existing output exactly. |
| positionErrorM | number | Euclidean position-disc radius in metres. Requires point geometry and an explicit plot frame. Metre geometry is the default; plot.units=ft converts coordinates using the international foot. The plot f |
| merchantCatalogId | string | |
| propertyId | string | Buyer-supplied non-secret attribution identifier. Account-scoped; does not grant property access. |
| tenantRef | string | Buyer-supplied non-secret attribution identifier. Account-scoped; does not grant property access. |
| holes | array | |
| multipolygons | array | Disjoint filled wings. Send either polygon with holes or multipolygons. |
| units | string | Linear plan coordinates and unsuffixed dimensions use this unit. area fields use its square. Internally normalized once to metres; fields explicitly suffixed M/M2 remain metres. |
| inputUnits | string | Linear plan coordinates and unsuffixed dimensions use this unit. area fields use its square. Internally normalized once to metres; fields explicitly suffixed M/M2 remain metres. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/vedika-io/json-schema/vedika-io-vastu-plan-from-requirements-request-schema.json",
"title": "VastuPlanFromRequirementsRequest",
"description": "Requires caller-supplied physical plot dimensions and facing, nested under plot or at the root, and exactly one programme: nonempty rooms, requirements, brief, or root-level brief fields. Core programme choices are explicit; BHK encodes living, kitchen and half-room study choices. Fields not listed here are ignored. Explicit units/inputUnits is recommended for interchange. Omitted units retain legacy coordinate behavior.",
"x-generated": "2026-11-23",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/vedika-io-openapi.json#/components/schemas/VastuPlanFromRequirementsRequest",
"type": "object",
"properties": {
"plot": {
"$ref": "#/$defs/VastuPlanPhysicalPlot"
},
"entrance": {
"type": "object",
"additionalProperties": true
},
"rooms": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"pattern": "\\S"
},
"roomType": {
"type": "string"
},
"zone": {
"anyOf": [
{
"$ref": "#/$defs/VastuPlanFacing"
},
{
"type": [
"string",
"null"
],
"enum": [
null
]
}
]
},
"direction": {
"type": "string"
},
"polygon": {
"$ref": "#/$defs/VastuPlanPolygon"
},
"area": {
"anyOf": [
{
"$ref": "#/$defs/VastuPlanDimension"
},
{
"type": [
"number",
"null"
],
"enum": [
null
]
}
]
},
"type": {
"type": "string"
},
"floor": {
"$ref": "#/$defs/VastuPlanRoomFloor"
},
"headingErrorDeg": {
"type": "number",
"minimum": 0,
"maximum": 180,
"description": "Symmetric heading bound in degrees. Optional; absent preserves existing output exactly."
},
"positionErrorM": {
"type": "number",
"minimum": 0,
"maximum": 10000,
"description": "Euclidean position-disc radius in metres. Requires point geometry and an explicit plot frame. Metre geometry is the default; plot.units=ft converts coordinates using the international foot. The plot frame is held fixed."
},
"holes": {
"type": "array",
"maxItems": 64,
"items": {
"$ref": "#/$defs/VastuPlanPolygon"
}
},
"multipolygons": {
"type": "array",
"minItems": 1,
"maxItems": 32,
"items": {
"$ref": "#/$defs/VastuPlanRegion"
},
"description": "Disjoint filled wings. Send either polygon with holes or multipolygons."
}
},
"additionalProperties": false
},
"minItems": 1
},
"requirements": {
"$ref": "#/$defs/VastuPlanRoomBrief"
},
"parking": {
"oneOf": [
{
"$ref": "#/$defs/VastuPlanRoomCount"
},
{
"type": "boolean"
},
{
"type": "object",
"additionalProperties": true
}
]
},
"staircase": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "integer",
"minimum": 0,
"maximum": 1
},
{
"type": "object",
"additionalProperties": true
}
],
"description": "true/1 adds one staircase, false/0 declines it, or an object { type, width, area, zone }. On a multi-floor plan a staircase is added to every storey unless this is false."
},
"lift": {
"oneOf": [
{
"oneOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 4
},
{
"type": "string",
"pattern": "^\\s*[+]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:[eE][+-]?[0-9]+)?\\s*$",
"description": "Numeric string parsed as a finite integer; must be >= 0 and <= 4."
}
]
},
{
"type": "boolean"
},
{
"type": "object",
"additionalProperties": true
}
]
},
"variants": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"variantSvg": {
"type": "boolean"
},
"includeSvg": {
"type": "boolean",
"default": true,
"description": "Set false to skip rendering and returning all SVG drawings while keeping geometry, openings, scores and ranking unchanged."
},
"width": {
"$ref": "#/$defs/VastuPlanDimension"
},
"length": {
"$ref": "#/$defs/VastuPlanDimension"
},
"facing": {
"$ref": "#/$defs/VastuPlanFacing"
},
"polygon": {
"$ref": "#/$defs/VastuPlanPolygon"
},
"setbacks": {
"$ref": "#/$defs/VastuPlanSetbacks"
},
"depth": {
"$ref": "#/$defs/VastuPlanDimension"
},
"height": {
"$ref": "#/$defs/VastuPlanDimension"
},
"corners": {
"$ref": "#/$defs/VastuPlanPolygon"
},
"plotPolygon": {
"$ref": "#/$defs/VastuPlanPolygon"
},
"setback": {
"$ref": "#/$defs/VastuPlanSetbacks"
},
"brief": {
"$ref": "#/$defs/VastuPlanRoomBrief"
},
"hasPooja": {
"type": "boolean"
},
"hasDining": {
"type": "boolean"
},
"hasStore": {
"type": "boolean"
},
"hasGuest": {
"type": "boolean"
},
"hasStaircase": {
"type": "boolean"
},
"hasLiving": {
"type": "boolean"
},
"hasKitchen": {
"type": "boolean"
},
"hasStudy": {
"type": "boolean"
},
"hasParking": {
"type": "boolean"
},
"hasLift": {
"type": "boolean"
},
"hasUtility": {
"type": "boolean"
},
"utility": {
"type": "boolean"
},
"hasBalcony": {
"type": "boolean"
},
"hasServant": {
"type": "boolean"
},
"servantRoom": {
"type": "boolean"
},
"hasOffice": {
"type": "boolean"
},
"homeOffice": {
"type": "boolean"
},
"bedrooms": {
"$ref": "#/$defs/VastuPlanRoomCount"
},
"toilets": {
"$ref": "#/$defs/VastuPlanRoomCount"
},
"bathrooms": {
"$ref": "#/$defs/VastuPlanRoomCount"
},
"bhk": {
"$ref": "#/$defs/VastuPlanBhk"
},
"configuration": {
"$ref": "#/$defs/VastuPlanBhk"
},
"bhkType": {
"$ref": "#/$defs/VastuPlanBhk"
},
"floors": {
"oneOf": [
{
"$ref": "#/$defs/VastuPlanFloorCount"
},
{
"$ref": "#/$defs/VastuPlanFloorProgramme"
}
],
"description": "A number is the storey count of a room brief: every storey comes back, and one the brief leaves without rooms is returned as an open terrace and named in warnings. An array is a per-storey programme (multi-floor plan), for example one full BHK per storey for builder floors."
},
"carParking": {
"$ref": "#/$defs/VastuPlanRoomCount"
},
"lifts": {
"oneOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 4
},
{
"type": "string",
"pattern": "^\\s*[+]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:[eE][+-]?[0-9]+)?\\s*$",
"description": "Numeric string parsed as a finite integer; must be >= 0 and <= 4."
}
]
},
"balconies": {
"oneOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 6
},
{
"type": "string",
"pattern": "^\\s*[+]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:[eE][+-]?[0-9]+)?\\s*$",
"description": "Numeric string parsed as a finite integer; must be >= 0 and <= 6."
}
]
},
"areas": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/VastuPlanDimension"
}
},
"additionalRooms": {
"type": "array",
"items": {
"oneOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "object",
"additionalProperties": true
}
]
}
},
"core": {
"type": "object",
"additionalProperties": false,
"description": "Multi-floor spelling of the top-level staircase and lift specs; do not send both.",
"properties": {
"staircase": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "integer",
"minimum": 0,
"maximum": 1
},
{
"type": "object",
"additionalProperties": true
}
],
"description": "true/1 adds one staircase, false/0 declines it, or an object { type, width, area, zone }. On a multi-floor plan a staircase is added to every storey unless this is false."
},
"lift": {
"oneOf": [
{
"oneOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 4
},
{
"type": "string",
"pattern": "^\\s*[+]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:[eE][+-]?[0-9]+)?\\s*$",
"description": "Numeric string parsed as a finite integer; must be >= 0 and <= 4."
}
]
},
{
"type": "boolean"
},
{
"type": "object",
"additionalProperties": true
}
]
}
}
},
"headingErrorDeg": {
"type": "number",
"minimum": 0,
"maximum": 180,
"description": "Symmetric heading bound in degrees. Optional; absent preserves existing output exactly."
},
"positionErrorM": {
"type": "number",
"minimum": 0,
"maximum": 10000,
"description": "Euclidean position-disc radius in metres. Requires point geometry and an explicit plot frame. Metre geometry is the default; plot.units=ft converts coordinates using the international foot. The plot frame is held fixed."
},
"merchantCatalogId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]{1,128}$"
},
"propertyId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_.\\-/]+$",
"description": "Buyer-supplied non-secret attribution identifier. Account-scoped; does not grant property access."
},
"tenantRef": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_.\\-/]+$",
"description": "Buyer-supplied non-secret attribution identifier. Account-scoped; does not grant property access."
},
"holes": {
"type": "array",
"maxItems": 64,
"items": {
"$ref": "#/$defs/VastuPlanPolygon"
}
},
"multipolygons": {
"type": "array",
"minItems": 1,
"maxItems": 32,
"items": {
"$ref": "#/$defs/VastuPlanRegion"
},
"description": "Disjoint filled wings. Send either polygon with holes or multipolygons."
},
"units": {
"type": "string",
"enum": [
"m",
"ft",
"mm",
"in"
],
"description": "Linear plan coordinates and unsuffixed dimensions use this unit. area fields use its square. Internally normalized once to metres; fields explicitly suffixed M/M2 remain metres."
},
"inputUnits": {
"type": "string",
"enum": [
"m",
"ft",
"mm",
"in"
],
"description": "Linear plan coordinates and unsuffixed dimensions use this unit. area fields use its square. Internally normalized once to metres; fields explicitly suffixed M/M2 remain metres."
}
},
"additionalProperties": true,
"allOf": [
{
"anyOf": [
{
"required": [
"plot"
]
},
{
"allOf": [
{
"not": {
"required": [
"plot"
]
}
},
{
"required": [
"width",
"facing"
]
},
{
"anyOf": [
{
"required": [
"length"
]
},
{
"required": [
"depth"
]
},
{
"required": [
"height"
]
}
]
}
]
}
]
},
{
"oneOf": [
{
"allOf": [
{
"required": [
"rooms"
]
},
{
"not": {
"anyOf": [
{
"required": [
"requirements"
]
},
{
"required": [
"brief"
]
},
{
"required": [
"bhk"
]
},
{
"required": [
"configuration"
]
},
{
"required": [
"bhkType"
]
},
{
"required": [
"bedrooms"
]
},
{
"required": [
"bathrooms"
]
},
{
"required": [
"toilets"
]
},
{
"required": [
"floors"
],
"properties": {
"floors": {
"type": "array"
}
}
}
]
}
}
]
},
{
"allOf": [
{
"required": [
"requirements"
]
},
{
"not": {
"anyOf": [
{
"required": [
"rooms"
]
},
{
"required": [
"brief"
]
},
{
"required": [
"bhk"
]
},
{
"required": [
"configuration"
]
},
{
"required": [
"bhkType"
]
},
{
"required": [
"bedrooms"
]
},
{
"required": [
"bathrooms"
]
},
{
"required": [
"toilets"
]
},
{
"required": [
"floors"
],
"properties": {
"floors": {
"type": "array"
}
}
}
]
}
}
]
},
{
"allOf": [
{
"required": [
"brief"
]
},
{
"not": {
"anyOf": [
{
"required": [
"rooms"
]
},
{
"required": [
"requirements"
]
},
{
"required": [
"bhk"
]
},
{
"required": [
"configuration"
]
},
{
"required": [
"bhkType"
]
},
{
"required": [
"bedrooms"
]
},
{
"required": [
"bathrooms"
]
},
{
"required": [
"toilets"
]
},
{
"required": [
"floors"
],
"properties": {
"floors": {
"type": "array"
}
}
}
]
}
}
]
},
{
"allOf": [
{
"$ref": "#/$defs/VastuPlanRoomBrief"
},
{
"not": {
"anyOf": [
{
"required": [
"rooms"
]
},
{
"required": [
"requirements"
]
},
{
"required": [
"brief"
]
},
{
"required": [
"floors"
],
"properties": {
"floors": {
"type": "array"
}
}
}
]
}
}
]
},
{
"allOf": [
{
"required": [
"floors"
],
"properties": {
"floors": {
"type": "array"
}
}
},
{
"not": {
"anyOf": [
{
"required": [
"rooms"
]
},
{
"required": [
"requirements"
]
},
{
"required": [
"brief"
]
},
{
"required": [
"bhk"
]
},
{
"required": [
"configuration"
]
},
{
"required": [
"bhkType"
]
},
{
"required": [
"bedrooms"
]
},
{
"required": [
"bathrooms"
]
},
{
"required": [
"toilets"
]
}
]
}
}
]
}
]
}
],
"$defs": {
"VastuPlanBhk": {
"oneOf": [
{
"type": "number",
"minimum": 0,
"maximum": 8.5,
"multipleOf": 0.5
},
{
"type": "string",
"pattern": "^\\s*[+]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:[eE][+-]?[0-9]+)?\\s*(?:[bB][hH][kK])?\\s*$",
"description": "BHK numeric string, optionally followed by BHK, in half steps from 0 through 8.5. Runtime validates parsed bounds and half steps."
}
]
},
"VastuPlanDimension": {
"oneOf": [
{
"type": "number",
"minimum": 0,
"exclusiveMinimum": true
},
{
"type": "string",
"pattern": "^\\s*[+]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:[eE][+-]?[0-9]+)?\\s*$",
"description": "Numeric string parsed as a finite number; must be > 0."
}
]
},
"VastuPlanFacing": {
"type": "string",
"pattern": "^(?:[^A-Za-z]*(?:[nN][^A-Za-z]*[eE]|[eE][^A-Za-z]*[nN][^A-Za-z]*[eE]|[nN][^A-Za-z]*[nN][^A-Za-z]*[eE]|[nN][^A-Za-z]*[wW]|[wW][^A-Za-z]*[nN][^A-Za-z]*[wW]|[nN][^A-Za-z]*[nN][^A-Za-z]*[wW]|[sS][^A-Za-z]*[wW]|[wW][^A-Za-z]*[sS][^A-Za-z]*[wW]|[sS][^A-Za-z]*[sS][^A-Za-z]*[wW]|[sS][^A-Za-z]*[eE]|[eE][^A-Za-z]*[sS][^A-Za-z]*[eE]|[sS][^A-Za-z]*[sS][^A-Za-z]*[eE]|[nN]|[nN][^A-Za-z]*[oO][^A-Za-z]*[rR][^A-Za-z]*[tT][^A-Za-z]*[hH]|[sS]|[sS][^A-Za-z]*[oO][^A-Za-z]*[uU][^A-Za-z]*[tT][^A-Za-z]*[hH]|[yY][^A-Za-z]*[aA][^A-Za-z]*[mM][^A-Za-z]*[aA]|[eE]|[eE][^A-Za-z]*[aA][^A-Za-z]*[sS][^A-Za-z]*[tT]|[iI][^A-Za-z]*[nN][^A-Za-z]*[dD][^A-Za-z]*[rR][^A-Za-z]*[aA]|[wW]|[wW][^A-Za-z]*[eE][^A-Za-z]*[sS][^A-Za-z]*[tT])[^A-Za-z]*|[\\s\\S]*(?:[nN][^A-Za-z]*[oO][^A-Za-z]*[rR][^A-Za-z]*[tT][^A-Za-z]*[hH][^A-Za-z]*[eE][^A-Za-z]*[aA][^A-Za-z]*[sS][^A-Za-z]*[tT]|[iI][^A-Za-z]*[sS][^A-Za-z]*[hH][^A-Za-z]*[aA][^A-Za-z]*[nN]|[nN][^A-Za-z]*[oO][^A-Za-z]*[rR][^A-Za-z]*[tT][^A-Za-z]*[hH][^A-Za-z]*[wW][^A-Za-z]*[eE][^A-Za-z]*[sS][^A-Za-z]*[tT]|[vV][^A-Za-z]*[aA][^A-Za-z]*[yY][^A-Za-z]*[aA][^A-Za-z]*[vV]|[sS][^A-Za-z]*[oO][^A-Za-z]*[uU][^A-Za-z]*[tT][^A-Za-z]*[hH][^A-Za-z]*[wW][^A-Za-z]*[eE][^A-Za-z]*[sS][^A-Za-z]*[tT]|[nN][^A-Za-z]*[aA][^A-Za-z]*[iI][^A-Za-z]*[rR][^A-Za-z]*[uU]|[pP][^A-Za-z]*[iI][^A-Za-z]*[tT][^A-Za-z]*[rR][^A-Za-z]*[uU]|[sS][^A-Za-z]*[oO][^A-Za-z]*[uU][^A-Za-z]*[tT][^A-Za-z]*[hH][^A-Za-z]*[eE][^A-Za-z]*[aA][^A-Za-z]*[sS][^A-Za-z]*[tT]|[aA][^A-Za-z]*[gG][^A-Za-z]*[nN][^A-Za-z]*[eE][^A-Za-z]*[yY]|[aA][^A-Za-z]*[gG][^A-Za-z]*[nN][^A-Za-z]*[iI]|[kK][^A-Za-z]*[uU][^A-Za-z]*[bB][^A-Za-z]*[eE][^A-Za-z]*[rR]|[uU][^A-Za-z]*[tT][^A-Za-z]*[tT][^A-Za-z]*[aA][^A-Za-z]*[rR]|[dD][^A-Za-z]*[aA][^A-Za-z]*[kK][^A-Za-z]*[sS][^A-Za-z]*[hH][^A-Za-z]*[iI][^A-Za-z]*[nN]|[pP][^A-Za-z]*[uU][^A-Za-z]*[rR][^A-Za-z]*[vV][^A-Za-z]*[aA]|[vV][^A-Za-z]*[aA][^A-Za-z]*[rR][^A-Za-z]*[uU][^A-Za-z]*[nN]|[pP][^A-Za-z]*[aA][^A-Za-z]*[sS][^A-Za-z]*[cC][^A-Za-z]*[hH][^A-Za-z]*[iI][^A-Za-z]*[mM])[\\s\\S]*)$",
"description": "Caller-supplied compass direction. Accepts normalized English and Sanskrit direction aliases; CENTER and unknown directions are invalid."
},
"VastuPlanFloorCount": {
"oneOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 5
},
{
"type": "string",
"pattern": "^\\s*[+]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:[eE][+-]?[0-9]+)?\\s*$",
"description": "Numeric string parsed as a finite integer; must be >= 1 and <= 5."
}
]
},
"VastuPlanFloorProgramme": {
"type": "array",
"minItems": 1,
"maxItems": 5,
"description": "One entry per storey, levels 0 (ground) upward without gaps. Each storey lists rooms or a room brief. A staircase is added to every storey unless staircase or core.staircase is false; the staircase and any lifts keep one zone and one footprint on every floor. Parking is ground floor only. For builder floors, give each storey its own requirements, for example { \"bhk\": \"2BHK\", \"bathrooms\": 2, \"hasPooja\": false, \"hasDining\": false, \"hasStore\": false, \"hasGuest\": false, \"hasStaircase\": false }; each storey's brief describes that storey alone.",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"level": {
"type": "integer",
"minimum": 0,
"maximum": 4,
"description": "Storey index; defaults to the entry's position."
},
"label": {
"type": "string",
"maxLength": 60
},
"rooms": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"pattern": "\\S"
},
"roomType": {
"type": "string"
},
"zone": {
"anyOf": [
{
"$ref": "#/$defs/VastuPlanFacing"
},
{
"type": [
"string",
"null"
],
"enum": [
null
]
}
]
},
"direction": {
"type": "string"
},
"polygon": {
"$ref": "#/$defs/VastuPlanPolygon"
},
"area": {
"anyOf": [
{
"$ref": "#/$defs/VastuPlanDimension"
},
{
"type": [
"number",
"null"
],
"enum": [
null
]
}
]
},
"type": {
"type": "string"
},
"floor": {
"$ref": "#/$defs/VastuPlanRoomFloor"
}
},
"additionalProperties": false
},
"minItems": 1
},
"requirements": {
"$ref": "#/$defs/VastuPlanRoomBrief"
},
"brief": {
"$ref": "#/$defs/VastuPlanRoomBrief"
}
},
"oneOf": [
{
"required": [
"rooms"
]
},
{
"required": [
"requirements"
]
},
{
"required": [
"brief"
]
}
]
}
},
"VastuPlanNonnegativeNumber": {
"oneOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "string",
"pattern": "^\\s*[+]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:[eE][+-]?[0-9]+)?\\s*$",
"description": "Numeric string parsed as a finite number; must be >= 0."
}
]
},
"VastuPlanPhysicalPlot": {
"type": "object",
"properties": {
"width": {
"$ref": "#/$defs/VastuPlanDimension"
},
"length": {
"$ref": "#/$defs/VastuPlanDimension"
},
"facing": {
"$ref": "#/$defs/VastuPlanFacing"
},
"polygon": {
"$ref": "#/$defs/VastuPlanPolygon"
},
"setbacks": {
"$ref": "#/$defs/VastuPlanSetbacks"
},
"depth": {
"$ref": "#/$defs/VastuPlanDimension"
},
"height": {
"$ref": "#/$defs/VastuPlanDimension"
},
"corners": {
"$ref": "#/$defs/VastuPlanPolygon"
},
"plotPolygon": {
"$ref": "#/$defs/VastuPlanPolygon"
},
"setback": {
"$ref": "#/$defs/VastuPlanSetbacks"
},
"shape": {
"type": "string",
"description": "Optional shape label. \"rectangle\" (or \"rectangular\", \"square\", \"regular\") needs only width and length. \"irregular\" (or \"polygon\", \"custom\", \"l-shape\", \"cut\", \"triangle\", \"trapezoid\") requires the traced corners in polygon; without them the request is rejected instead of silently drawing a rectangle.",
"enum": [
"rectangle",
"rectangular",
"square",
"regular",
"irregular",
"polygon",
"custom",
"l-shape",
"l-shaped",
"cut",
"triangle",
"triangular",
"trapezoid",
"trapezium"
]
},
"plotShape": {
"type": "string",
"description": "Optional shape label. \"rectangle\" (or \"rectangular\", \"square\", \"regular\") needs only width and length. \"irregular\" (or \"polygon\", \"custom\", \"l-shape\", \"cut\", \"triangle\", \"trapezoid\") requires the traced corners in polygon; without them the request is rejected instead of silently drawing a rectangle.",
"enum": [
"rectangle",
"rectangular",
"square",
"regular",
"irregular",
"polygon",
"custom",
"l-shape",
"l-shaped",
"cut",
"triangle",
"triangular",
"trapezoid",
"trapezium"
]
},
"units": {
"type": "string",
"enum": [
"m",
"ft"
]
},
"floors": {
"allOf": [
{
"$ref": "#/$defs/VastuPlanFloorCount"
}
],
"description": "Storeys in the building, 1 to 5. Optional. On plan/generate and plan/from-requirements the plan returns exactly this many storeys; when the brief or floors[] also gives a storey count the two must match (a mismatch is a 400 naming both fields), and when the brief omits floors this value is used. On plan/optimize the layout's floor must be below it."
}
},
"additionalProperties": false,
"required": [
"facing"
],
"anyOf": [
{
"required": [
"width",
"length"
]
},
{
"required": [
"width",
"depth"
]
},
{
"required": [
"width",
"height"
]
},
{
"required": [
"polygon"
]
},
{
"required": [
"corners"
]
},
{
"required": [
"plotPolygon"
]
}
],
"description": "Plot dimensions and facing. With traced corners (polygon, corners or plotPolygon) width and length are optional: a missing one is taken from the outline's bounding box, and a single stated side scales the other by the outline's proportions. Corners may be in any units; they are normalised onto width x length."
},
"VastuPlanPolygon": {
"type": "array",
"minItems": 3,
"items": {
"oneOf": [
{
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number"
}
},
{
"type": "object",
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "number"
# --- truncated at 32 KB (40 KB total) ---
# Full source: https://artifacts.apis.io/vedika-io/json-schema/vedika-io-vastu-plan-from-requirements-request-schema.json
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/vedika-io-vastu-plan-from-requirements-request"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.