{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/applied-industrial-technologies/json-schema/applied-industrial-technologies-order-request-schema.json",
  "title": "OrderRequest",
  "description": "Request body for creating a new purchase order",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/applied-industrial-technologies-orders-api-openapi.yml#/components/schemas/OrderRequest",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "Line items in the order",
      "items": {
        "type": "object",
        "properties": {
          "productId": {
            "type": "string",
            "description": "Product identifier"
          },
          "quantity": {
            "type": "integer",
            "description": "Quantity to order"
          }
        }
      }
    },
    "shippingAddress": {
      "type": "object",
      "description": "Shipping destination address",
      "properties": {
        "street": {
          "type": "string",
          "description": "Street address"
        },
        "city": {
          "type": "string",
          "description": "City"
        },
        "state": {
          "type": "string",
          "description": "State abbreviation"
        },
        "zip": {
          "type": "string",
          "description": "ZIP code"
        }
      }
    }
  }
}