{
  "type": "object",
  "required": [
    "need"
  ],
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "buy",
        "source",
        "quote",
        "verify",
        "lease",
        "license",
        "hire",
        "retrieve",
        "convert",
        "other"
      ],
      "description": "What you want done"
    },
    "need": {
      "type": "string",
      "maxLength": 2000,
      "description": "The requirement in your own words"
    },
    "specifications": {
      "type": "object",
      "properties": {
        "space_type": {
          "type": "string",
          "enum": [
            "WAREHOUSE",
            "COLD_STORAGE",
            "FREEZER",
            "LIGHT_INDUSTRIAL",
            "MANUFACTURING",
            "FLEX",
            "OFFICE",
            "OUTDOOR_YARD"
          ],
          "description": "Type of space",
          "x-facet": "specification"
        },
        "square_feet": {
          "type": "integer",
          "minimum": 1,
          "description": "Floor area in square feet",
          "x-facet": "quantity"
        },
        "market": {
          "type": "string",
          "maxLength": 160,
          "description": "City, metro area or radius around a place",
          "x-facet": "geography"
        },
        "term_months": {
          "type": "integer",
          "minimum": 1,
          "description": "Lease term in months",
          "x-facet": "timing"
        },
        "start_date": {
          "type": "string",
          "maxLength": 40,
          "description": "Date the space is needed from (YYYY-MM-DD)",
          "x-facet": "timing"
        },
        "clear_height_ft": {
          "type": "number",
          "minimum": 0,
          "description": "Minimum clear height in feet",
          "x-facet": "specification"
        },
        "dock_doors": {
          "type": "integer",
          "minimum": 0,
          "description": "Minimum number of dock-high doors",
          "x-facet": "specification"
        },
        "power": {
          "type": "string",
          "maxLength": 80,
          "description": "Electrical service required (amps, volts, phase)",
          "x-facet": "specification"
        }
      }
    },
    "quantity": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number"
        },
        "unit": {
          "type": "string"
        },
        "per": {
          "type": "string"
        }
      }
    },
    "timing": {
      "type": "object",
      "properties": {
        "earliest": {
          "type": "string"
        },
        "latest": {
          "type": "string"
        },
        "recurrence": {
          "type": "string"
        },
        "text": {
          "type": "string"
        }
      }
    },
    "geography": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "from": {
          "type": "string"
        },
        "to": {
          "type": "string"
        }
      }
    },
    "budget": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number"
        },
        "currency": {
          "type": "string",
          "description": "ISO 4217, default USD"
        },
        "per": {
          "type": "string",
          "description": "total, unit, month, year, load, ..."
        }
      }
    },
    "requested_fields": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 30,
      "description": "Result fields you need"
    },
    "contact": {
      "type": "object",
      "description": "Optional; stored apart and deleted after 180 days",
      "properties": {
        "email": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "organization": {
          "type": "string"
        }
      }
    }
  }
}