{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/makepartsnow-com/json-schema/makepartsnow-com-quote-in-schema.json",
  "title": "QuoteIn",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/makepartsnow-com-openapi.json#/components/schemas/QuoteIn",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/ItemIn"
      },
      "type": "array",
      "title": "Items",
      "default": []
    },
    "ship_to": {
      "anyOf": [
        {
          "$ref": "#/$defs/Address"
        },
        {
          "type": "null"
        }
      ]
    },
    "speed": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Speed",
      "description": "economy | standard | fast | faster | fastest"
    },
    "shipping_option": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Shipping Option"
    },
    "contact_email": {
      "anyOf": [
        {
          "type": "string",
          "format": "email"
        },
        {
          "type": "null"
        }
      ],
      "title": "Contact Email"
    },
    "po_number": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Po Number"
    }
  },
  "type": "object",
  "$defs": {
    "Address": {
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 255,
          "title": "Name"
        },
        "company": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 255
            },
            {
              "type": "null"
            }
          ],
          "title": "Company"
        },
        "line1": {
          "type": "string",
          "maxLength": 255,
          "title": "Line1"
        },
        "line2": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 255
            },
            {
              "type": "null"
            }
          ],
          "title": "Line2"
        },
        "city": {
          "type": "string",
          "maxLength": 128,
          "title": "City"
        },
        "state": {
          "type": "string",
          "maxLength": 64,
          "title": "State"
        },
        "postal_code": {
          "type": "string",
          "maxLength": 16,
          "title": "Postal Code"
        },
        "country": {
          "type": "string",
          "maxLength": 2,
          "title": "Country",
          "default": "US"
        },
        "phone": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 32
            },
            {
              "type": "null"
            }
          ],
          "title": "Phone"
        }
      },
      "type": "object",
      "required": [
        "name",
        "line1",
        "city",
        "state",
        "postal_code"
      ],
      "title": "Address"
    },
    "ItemIn": {
      "properties": {
        "part_id": {
          "type": "string",
          "title": "Part Id"
        },
        "config": {
          "additionalProperties": true,
          "type": "object",
          "title": "Config",
          "description": "See capabilities.config_schema"
        },
        "quantity": {
          "type": "integer",
          "maximum": 100000.0,
          "minimum": 1.0,
          "title": "Quantity",
          "default": 1
        },
        "notes": {
          "type": "string",
          "title": "Notes",
          "default": ""
        }
      },
      "type": "object",
      "required": [
        "part_id"
      ],
      "title": "ItemIn"
    }
  }
}