Raw schema
{
"type": "object",
"properties": {
"query": {
"description": "Words to look for in names (English, botanical, Arabic) and descriptions, e.g. \"date palm\", \"غاف\", \"salt tolerant hedge\".",
"type": "string",
"maxLength": 100
},
"category": {
"description": "Only these plant categories (any of them): tree, palm, shrub, climber, groundcover, flower, grass, succulent, herb, edible, indoor, fruit-tree, vegetable, ornamental-grass, aquatic.",
"maxItems": 15,
"type": "array",
"items": {
"type": "string",
"enum": [
"tree",
"palm",
"shrub",
"climber",
"groundcover",
"flower",
"grass",
"succulent",
"herb",
"edible",
"indoor",
"fruit-tree",
"vegetable",
"ornamental-grass",
"aquatic"
]
}
},
"group": {
"description": "Only this group: vegetables-herbs, flowers, trees-palms, shrubs-climbers, lawn-grasses, indoor or water.",
"type": "string",
"enum": [
"vegetables-herbs",
"flowers",
"trees-palms",
"shrubs-climbers",
"lawn-grasses",
"indoor",
"water"
]
},
"sun": {
"description": "The plant's light need, exact match: full-sun, sun-part-shade, part-shade or shade.",
"type": "string",
"enum": [
"full-sun",
"sun-part-shade",
"part-shade",
"shade"
]
},
"water": {
"description": "Highest water need you accept: \"low\" keeps very-low and low.",
"type": "string",
"enum": [
"very-low",
"low",
"moderate",
"high"
]
},
"minHeat": {
"description": "Minimum heat tolerance in Dubai, 1–5 (5 = best).",
"type": "integer",
"minimum": 1,
"maximum": 5
},
"minSalt": {
"description": "Minimum salt tolerance, 1–5 (5 = best).",
"type": "integer",
"minimum": 1,
"maximum": 5
},
"minDrought": {
"description": "Minimum drought tolerance, 1–5 (5 = best).",
"type": "integer",
"minimum": 1,
"maximum": 5
},
"minShade": {
"description": "Minimum shade tolerance, 1–5 (5 = best); use for shady spots.",
"type": "integer",
"minimum": 1,
"maximum": 5
},
"minEase": {
"description": "Minimum ease of care, 1–5 (5 = easiest).",
"type": "integer",
"minimum": 1,
"maximum": 5
},
"origin": {
"description": "native (UAE), adapted or exotic.",
"type": "string",
"enum": [
"native",
"adapted",
"exotic"
]
},
"use": {
"description": "What the plant is for: shade-tree, specimen, hedge, screen, windbreak, groundcover, lawn, container, climber, pool-side, fragrance, edible, bedding, indoor or native-habitat.",
"type": "string",
"enum": [
"shade-tree",
"specimen",
"hedge",
"screen",
"windbreak",
"groundcover",
"lawn",
"container",
"climber",
"pool-side",
"fragrance",
"edible",
"bedding",
"indoor",
"native-habitat"
]
},
"style": {
"description": "Garden style it suits: tropical, manicured, luxury or desert-modern.",
"type": "string",
"enum": [
"tropical",
"manicured",
"luxury",
"desert-modern"
]
},
"plantingMonth": {
"description": "Only plants with a sowing or planting window in this month (1–12 or a name). For houseplants this is the good months to buy and pot up.",
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 12
},
{
"type": "string",
"minLength": 1,
"maxLength": 20
}
]
},
"light": {
"description": "Houseplants that grow well in this indoor light: low (a dim room or corner), medium (a bright room, no direct sun), bright-indirect (by a window, out of direct sun) or direct-sun (a sunny window). Using light, petSafe, room or size limits results to plants with an indoor profile.",
"type": "string",
"enum": [
"low",
"medium",
"bright-indirect",
"direct-sun"
]
},
"petSafe": {
"description": "true keeps only houseplants that are non-toxic to cats and dogs (ASPCA list); false means pets do not matter. Using light, petSafe, room or size limits results to plants with an indoor profile.",
"type": "boolean"
},
"room": {
"description": "Houseplants that suit this room: living-room, bedroom, bathroom, kitchen, home-office, majlis, hallway or balcony. Using light, petSafe, room or size limits results to plants with an indoor profile.",
"type": "string",
"enum": [
"living-room",
"bedroom",
"bathroom",
"kitchen",
"home-office",
"majlis",
"hallway",
"balcony"
]
},
"size": {
"description": "The houseplant's usual indoor size: tabletop (on a table or shelf), medium (a medium pot on a sideboard or the floor) or floor (floor-standing). Using light, petSafe, room or size limits results to plants with an indoor profile.",
"type": "string",
"enum": [
"tabletop",
"medium",
"floor"
]
},
"limit": {
"default": 20,
"description": "Results per page, 1–50 (default 20).",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"offset": {
"default": 0,
"description": "How many results to skip, for paging; use the nextOffset from the previous page.",
"type": "integer",
"minimum": 0,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}