addedInput schema / properties / items
Added value: +{
+ "description": "Parts to ship in one order. Use qty for repeated copies of the same quote, color and material. Do not mix items with top-level print fields.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "enum": [
+ "BLK",
+ "WHT",
+ "GRY",
+ "RED",
+ "BLU",
+ "GRN"
+ ],
+ "type": "string"
+ },
+ "material": {
+ "description": "\"pla\" (default) or \"petg\". PETG is made to order in black or white: we order the filament after you buy, which adds 3 to 5 business days, and the print price is 20% higher. Other materials (TPU, ABS, ASA and more) on request: ask in the designer chat and we reply with a price.",
+ "enum": [
+ "pla",
+ "petg"
+ ],
+ "type": "string"
+ },
+ "options": {
+ "additionalProperties": false,
+ "description": "Optional add-ons for this print item.",
+ "properties": {
+ "cleanup": {
+ "description": "+$5. Supports removed and sharp edges deburred.",
+ "type": "boolean"
+ },
+ "colorNote": {
+ "description": "Which parts get which color (required with extraColors).",
+ "maxLength": 140,
+ "type": "string"
+ },
+ "extraColors": {
+ "description": "+$3 per extra stocked color.",
+ "items": {
+ "enum": [
+ "BLK",
+ "WHT",
+ "GRY",
+ "RED",
+ "BLU",
+ "GRN"
+ ],
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "fileCheck": {
+ "description": "+$5. We review the file for printability and fit before printing and email you if something looks off.",
+ "type": "boolean"
+ },
+ "rush": {
+ "description": "+50% of the print price. Printed within 1 business day. Ships with the same USPS service.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "qty": {
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "quoteId": {
+ "description": "The quote_id returned by quote_file or quote_catalog_item.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "quoteId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "minItems": 1,
+ "type": "array"
+}