{"openapi":"3.1.0","info":{"title":"Fabric Yardage Estimator","description":"This tool calculates how much fabric you need to buy for a sewing project by accounting for your pattern pieces, fabric width, and practical factors like shrinkage and directional prints.","version":"1.0"},"servers":[{"url":"https://dabbled.ai"}],"paths":{"/apps/fabric-yardage-estimator":{"get":{"operationId":"fabricYardageEstimator","summary":"This tool calculates how much fabric you need to buy for a sewing project by accounting for your pattern pieces, fabric width, and practical factors like shrinkage and directional prints.","parameters":[{"name":"project","in":"query","required":true,"description":"What are you making?","schema":{"type":"string","enum":["T-shirt / knit top","Blouse / button-up shirt","Tank top / camisole","Simple skirt (knee length)","Full / maxi skirt","Sundress / shift dress","Fitted dress (knee length)","Maxi dress","Pants / trousers","Shorts","Leggings","Pajama pants","Unlined jacket / blazer","Lined coat","Robe / kimono","Apron","Tote bag","Duffel bag","Throw pillow cover (18″)","Baby blanket (36″×45″)","Throw quilt top (50″×60″)","Curtain panel (84″ long, per panel)","Table runner (72″)","Custom — enter your own dimensions"]}},{"name":"size","in":"query","required":false,"description":"Size","schema":{"type":"string","enum":["Child / XS","Small","Medium","Large","XL","2XL+"]}},{"name":"piece_length","in":"query","required":false,"description":"Piece length (in)","schema":{"type":"number"}},{"name":"piece_width","in":"query","required":false,"description":"Piece width (in)","schema":{"type":"number"}},{"name":"piece_quantity","in":"query","required":false,"description":"# of pieces","schema":{"type":"number"}},{"name":"fabric_width","in":"query","required":true,"description":"Fabric width on the bolt","schema":{"type":"string","enum":["36″ (quilting narrow / vintage)","44–45″ (quilting cotton, standard)","54″ (home décor)","58–60″ (apparel knits, wide wovens)"]}},{"name":"directional_print","in":"query","required":false,"description":"Directional print, nap, plaid, or stripes to match","schema":{"type":"boolean"}},{"name":"pre_wash","in":"query","required":false,"description":"Fabric will be pre-washed (natural fibers)","schema":{"type":"boolean"}},{"name":"safety_margin","in":"query","required":false,"description":"Add a safety margin","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Rendered app reflecting the given inputs."}}}}}}