{
  "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": {
        "systems": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 80
          },
          "maxItems": 10,
          "description": "Systems to connect, by product name",
          "x-facet": "identifier"
        },
        "data_flow": {
          "type": "string",
          "maxLength": 300,
          "description": "What data moves between them",
          "x-facet": "specification"
        },
        "direction": {
          "type": "string",
          "enum": [
            "ONE_WAY",
            "TWO_WAY"
          ],
          "description": "Direction of the flow",
          "x-facet": "specification"
        },
        "records_per_day": {
          "type": "integer",
          "minimum": 0,
          "description": "Records or transactions a day",
          "x-facet": "quantity"
        },
        "trigger": {
          "type": "string",
          "enum": [
            "REAL_TIME",
            "SCHEDULED_BATCH",
            "MANUAL"
          ],
          "description": "When data moves",
          "x-facet": "specification"
        },
        "hosting": {
          "type": "string",
          "enum": [
            "BUYER_CLOUD",
            "VENDOR_HOSTED",
            "ON_PREMISES",
            "NO_PREFERENCE"
          ],
          "description": "Where the integration runs",
          "x-facet": "specification"
        },
        "deadline": {
          "type": "string",
          "maxLength": 40,
          "description": "Date it must be live (YYYY-MM-DD)",
          "x-facet": "timing"
        },
        "budget_usd": {
          "type": "number",
          "minimum": 0,
          "description": "Budget for the work in US dollars",
          "x-facet": "budget"
        }
      }
    },
    "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"
        }
      }
    }
  }
}