{
  "service": "Avodas enquiries",
  "post_to": "https://forms.avodas.tech/enquiry",
  "accepts": [
    "application/json",
    "application/x-www-form-urlencoded",
    "multipart/form-data"
  ],
  "fields": {
    "name": {
      "required": true,
      "max_length": 120,
      "meaning": "Full name of the person who wants the work"
    },
    "email": {
      "required": true,
      "max_length": 200,
      "meaning": "Their email address, where the reply goes"
    },
    "phone": {
      "required": false,
      "max_length": 40,
      "meaning": "Their phone number"
    },
    "business_name": {
      "required": false,
      "max_length": 160,
      "meaning": "Business or organisation, if any"
    },
    "street": {
      "required": false,
      "max_length": 200,
      "meaning": "Property street address"
    },
    "city": {
      "required": false,
      "max_length": 80,
      "meaning": "Property city"
    },
    "state": {
      "required": false,
      "max_length": 40,
      "meaning": "Property state"
    },
    "zip": {
      "required": false,
      "max_length": 12,
      "meaning": "Property ZIP code"
    },
    "product": {
      "required": false,
      "max_length": 40,
      "meaning": "One of: Twinstead, Curastead, Twinsite, Curasite, Handiwork, Captrove, Royaltiste, Avodas consulting, Not sure"
    },
    "property_type": {
      "required": false,
      "max_length": 80,
      "meaning": "e.g. house, ranch, office, warehouse, retail"
    },
    "message": {
      "required": true,
      "max_length": 4000,
      "meaning": "What they need, in their words"
    },
    "contact_ok": {
      "required": false,
      "max_length": 5,
      "meaning": "\"yes\" if they agree to be contacted about this enquiry"
    },
    "agent": {
      "required": false,
      "max_length": 200,
      "meaning": "If you are software acting for the person: your name/product"
    },
    "source": {
      "required": false,
      "max_length": 200,
      "meaning": "The page the enquiry came from"
    }
  },
  "rules": [
    "An enquiry is not a booking or a quote. A person reads it and replies, usually within a working day or two.",
    "Send the details of the person who wants the work, not your own. Set \"agent\" to say you are acting for them.",
    "At most 6 enquiries an hour from one network address."
  ],
  "fallback": "hello@avodas.tech"
}