{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/strutterai-com/json-schema/strutterai-com-get-api-v1-rfps-rfpid-response-schema.json",
  "title": "GetApiV1RfpsRfpidResponse",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/strutterai-com-openapi-generated.yml#/components/schemas/GetApiV1RfpsRfpidResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "RFP identifier"
    },
    "title": {
      "type": "string",
      "description": "RFP title"
    },
    "description": {
      "type": "string",
      "description": "RFP description"
    },
    "status": {
      "type": "string",
      "description": "DRAFT, OPEN, CLOSED, or AWARDED"
    },
    "type": {
      "type": "string",
      "description": "RFP type"
    },
    "deadline": {
      "type": "string",
      "description": "Due date (ISO 8601)"
    },
    "vendorCount": {
      "type": "integer",
      "description": "Number of invited vendors"
    },
    "questions": {
      "type": "array",
      "description": "List of questions with id, section, text, type, weight, order, and required flag"
    },
    "reviewAttempts": {
      "type": "integer",
      "description": "Number of AI quality‑gate review attempts during generation"
    },
    "reviewScoreHistory": {
      "type": "array",
      "description": "Score history from AI quality‑gate reviews"
    },
    "createdAt": {
      "type": "string",
      "description": "Creation timestamp (ISO 8601)"
    },
    "updatedAt": {
      "type": "string",
      "description": "Last update timestamp (ISO 8601)"
    }
  }
}