Raw schema
{
"type": "object",
"properties": {
"customerName": {
"type": "string",
"description": "Customer's full name"
},
"email": {
"type": "string",
"description": "Customer's email address"
},
"deliveryLocation": {
"type": "string",
"description": "Delivery location or postcode"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"additionalRequirements": {
"type": "string"
},
"alloy": {
"type": "string"
},
"certification": {
"type": "string"
},
"destination": {
"type": "string"
},
"dimensions": {
"type": "object",
"properties": {
"diameterMm": {
"type": "number"
},
"insideDiameterMm": {
"type": "number"
},
"lengthMm": {
"type": "number"
},
"outsideDiameterMm": {
"type": "number"
},
"thicknessMm": {
"type": "number"
},
"wallThicknessMm": {
"type": "number"
},
"widthMm": {
"type": "number"
}
}
},
"grade": {
"type": "string"
},
"productForm": {
"type": "string",
"enum": [
"SHEET",
"PLATE",
"ROUND_BAR",
"FLAT_BAR",
"TUBE",
"PIPE",
"WIRE",
"FORGING",
"FASTENER",
"OTHER",
"UNKNOWN"
]
},
"quantity": {
"type": "number"
},
"quantityUnit": {
"type": "string",
"enum": [
"PIECES",
"KG",
"TONNES",
"METRES",
"LENGTHS",
"SHEETS",
"PLATES",
"BARS",
"UNKNOWN"
]
},
"requiredDate": {
"type": "string",
"format": "date"
},
"sectionShape": {
"type": "string"
},
"specification": {
"type": "string"
},
"surfaceFinish": {
"type": "string"
}
},
"required": [
"dimensions",
"productForm",
"quantity",
"quantityUnit"
]
},
"description": "One or more structured titanium requirements. Include sectionShape where relevant."
}
},
"required": [
"customerName",
"email",
"deliveryLocation",
"items"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}