{
  "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": {
        "accelerator": {
          "type": "string",
          "maxLength": 80,
          "description": "Chip and memory, e.g. NVIDIA H100 SXM 80GB",
          "x-facet": "identifier"
        },
        "accelerator_count": {
          "type": "integer",
          "minimum": 1,
          "description": "Number of accelerators at once",
          "x-facet": "quantity"
        },
        "gpu_hours": {
          "type": "number",
          "minimum": 0,
          "description": "Total accelerator-hours needed",
          "x-facet": "quantity"
        },
        "term": {
          "type": "string",
          "enum": [
            "ON_DEMAND",
            "SPOT",
            "RESERVED_1_MONTH",
            "RESERVED_3_MONTHS",
            "RESERVED_1_YEAR",
            "RESERVED_3_YEARS"
          ],
          "description": "Commitment",
          "x-facet": "timing"
        },
        "region": {
          "type": "string",
          "maxLength": 120,
          "description": "Region or countries allowed",
          "x-facet": "geography"
        },
        "interconnect": {
          "type": "string",
          "enum": [
            "ANY",
            "PCIE",
            "NVLINK_SINGLE_NODE",
            "INFINIBAND",
            "ROCE"
          ],
          "description": "Interconnect between accelerators and nodes",
          "x-facet": "specification"
        },
        "start_date": {
          "type": "string",
          "maxLength": 40,
          "description": "When capacity must be available (YYYY-MM-DD)",
          "x-facet": "timing"
        },
        "deployment": {
          "type": "string",
          "enum": [
            "BARE_METAL",
            "VIRTUAL_MACHINE",
            "KUBERNETES",
            "SLURM",
            "MANAGED_JOBS"
          ],
          "description": "How the capacity is delivered",
          "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"
        }
      }
    }
  }
}