{
  "@context": "https://schema.org",
  "@type": "Dataset",
  "@id": "https://xn--82czbx2bczd4fl8a.online/agent-rfq/schema.json#ds",
  "name": "RFQ Request/Response Schema",
  "dateModified": "2026-06-02T05:52:48.898Z",
  "request": {
    "type": "object",
    "required": [
      "buyerId",
      "items"
    ],
    "properties": {
      "buyerId": {
        "type": "string",
        "description": "Agent or user identifier (DID or email)"
      },
      "items": {
        "type": "array",
        "minItems": 1,
        "items": {
          "type": "object",
          "required": [
            "sku",
            "quantity"
          ],
          "properties": {
            "sku": {
              "type": "string"
            },
            "quantity": {
              "type": "integer",
              "minimum": 1
            },
            "options": {
              "type": "object"
            },
            "notes": {
              "type": "string"
            }
          }
        }
      },
      "deliverBy": {
        "type": "string",
        "format": "date"
      },
      "currency": {
        "type": "string",
        "default": "THB"
      },
      "destinationCountry": {
        "type": "string",
        "description": "ISO 3166-1 alpha-2"
      }
    }
  },
  "response": {
    "type": "object",
    "properties": {
      "rfqId": {
        "type": "string"
      },
      "status": {
        "type": "string",
        "enum": [
          "received",
          "quoted",
          "expired",
          "rejected"
        ]
      },
      "quotes": {
        "type": "array",
        "items": {
          "type": "object"
        }
      },
      "validThrough": {
        "type": "string",
        "format": "date-time"
      }
    }
  }
}