{
  "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": {
        "domain": {
          "type": "string",
          "maxLength": 160,
          "description": "What the data is about",
          "x-facet": "specification"
        },
        "fields": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 80
          },
          "maxItems": 40,
          "description": "Fields or attributes required",
          "x-facet": "specification"
        },
        "coverage": {
          "type": "string",
          "maxLength": 200,
          "description": "Geographic or market coverage",
          "x-facet": "geography"
        },
        "history_start": {
          "type": "string",
          "maxLength": 40,
          "description": "Earliest date the history must reach (YYYY-MM-DD)",
          "x-facet": "timing"
        },
        "refresh": {
          "type": "string",
          "enum": [
            "ONE_TIME",
            "DAILY",
            "WEEKLY",
            "MONTHLY",
            "QUARTERLY",
            "REAL_TIME"
          ],
          "description": "How often the data must be updated",
          "x-facet": "timing"
        },
        "intended_use": {
          "type": "string",
          "enum": [
            "INTERNAL_ANALYSIS",
            "COMMERCIAL_PRODUCT",
            "MODEL_TRAINING",
            "RESEARCH",
            "REDISTRIBUTION"
          ],
          "description": "What the licence must permit",
          "x-facet": "specification"
        },
        "delivery_format": {
          "type": "string",
          "enum": [
            "CSV",
            "PARQUET",
            "API",
            "DATABASE_SHARE",
            "OTHER"
          ],
          "description": "How it is delivered",
          "x-facet": "specification"
        },
        "record_count": {
          "type": "integer",
          "minimum": 0,
          "description": "Approximate number of records or documents",
          "x-facet": "quantity"
        }
      }
    },
    "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"
        }
      }
    }
  }
}