{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ranomics-com/json-schema/ranomics-com-quote-schema.json",
  "title": "Quote",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ranomics-com-openapi.json#/components/schemas/Quote",
  "properties": {
    "currency": {
      "default": "USD",
      "type": "string"
    },
    "experiment_id": {
      "format": "uuid",
      "type": "string"
    },
    "issued_at": {
      "format": "date-time",
      "type": "string"
    },
    "line_items": {
      "items": {
        "properties": {
          "amount_usd": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "quote_id": {
      "format": "uuid",
      "type": "string"
    },
    "status": {
      "$ref": "#/$defs/StatusEnum"
    },
    "terms_url": {
      "format": "uri",
      "type": "string"
    },
    "total_usd": {
      "type": "number"
    },
    "valid_until": {
      "format": "date-time",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "StatusEnum": {
      "enum": [
        "Draft",
        "WaitingForConfirmation",
        "QuoteSent",
        "WaitingForMaterials",
        "LibraryConstruction",
        "Sorting",
        "NGS",
        "DataAnalysis",
        "InReview",
        "Done",
        "Cancelled"
      ],
      "type": "string"
    }
  }
}