Raw schema
{
"type": "object",
"properties": {
"request": {
"$ref": "#/$defs/QuoteRequest"
}
},
"required": [
"request"
],
"$defs": {
"AgentInfo": {
"additionalProperties": false,
"properties": {
"is_ai_agent": {
"description": "True if an AI agent is submitting on the customer's behalf.",
"title": "Is Ai Agent",
"type": "boolean"
},
"agent_name": {
"anyOf": [
{
"maxLength": 80,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Agent or product name, e.g. 'ChatGPT', 'Muse'.",
"title": "Agent Name"
}
},
"required": [
"is_ai_agent"
],
"title": "AgentInfo",
"type": "object"
},
"QuoteRequest": {
"additionalProperties": false,
"properties": {
"customer_name": {
"maxLength": 80,
"minLength": 2,
"title": "Customer Name",
"type": "string"
},
"customer_email": {
"format": "email",
"title": "Customer Email",
"type": "string"
},
"company": {
"anyOf": [
{
"maxLength": 120,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Company"
},
"phone": {
"anyOf": [
{
"maxLength": 30,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Phone"
},
"ship_to_country": {
"description": "Country the bags ship to.",
"maxLength": 56,
"minLength": 2,
"title": "Ship To Country",
"type": "string"
},
"ship_to_postcode": {
"anyOf": [
{
"maxLength": 12,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Ship To Postcode"
},
"product": {
"description": "What goes in the bag, e.g. 'whole bean coffee'.",
"maxLength": 200,
"minLength": 2,
"title": "Product",
"type": "string"
},
"fill_amount": {
"description": "How much goes in each bag, e.g. '12 oz' or '250 g'. Ask the customer; don't guess.",
"maxLength": 80,
"minLength": 1,
"title": "Fill Amount",
"type": "string"
},
"format": {
"default": "not_sure",
"enum": [
"stand_up_pouch",
"flat_pouch",
"pillow_pouch",
"side_gusset",
"quad_seal",
"flat_bottom",
"stick_pack",
"roll_stock",
"diecut",
"not_sure"
],
"title": "Format",
"type": "string"
},
"size": {
"anyOf": [
{
"maxLength": 60,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Bag size if the customer knows it, with units, e.g. '6 x 9 x 3.5 in'.",
"title": "Size"
},
"sizing_reference": {
"anyOf": [
{
"maxLength": 13,
"pattern": "^SZ-[0-9A-F]{10}$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The sizing_reference from recommend_bag_size, if you sized the bag with it. Our team then sees that recommended size on the request.",
"title": "Sizing Reference"
},
"quantities": {
"description": "Total bags per quote option, e.g. [500, 1000].",
"items": {
"type": "integer"
},
"maxItems": 4,
"minItems": 1,
"title": "Quantities",
"type": "array"
},
"designs": {
"default": 1,
"description": "Number of different artworks/designs.",
"maximum": 50,
"minimum": 1,
"title": "Designs",
"type": "integer"
},
"material_preference": {
"anyOf": [
{
"maxLength": 120,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Material Preference"
},
"options": {
"items": {
"enum": [
"zipper",
"child_resistant_zipper",
"e_zipper",
"hang_hole",
"tear_notch",
"window",
"valve",
"rounded_corners",
"not_sure"
],
"type": "string"
},
"maxItems": 8,
"title": "Options",
"type": "array"
},
"food_shelf_life_target": {
"anyOf": [
{
"maxLength": 80,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "For food: how long the product must last on shelf, in the customer's words. We use it to recommend a material; shelf life depends on several factors and isn't guaranteed.",
"title": "Food Shelf Life Target"
},
"needed_by": {
"anyOf": [
{
"maxLength": 40,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Date the customer needs bags in hand, if any. Giving a date here doesn't mean it can be met; only our team can say that, after checking with production.",
"title": "Needed By"
},
"artwork_status": {
"default": "in_progress",
"enum": [
"ready",
"in_progress",
"need_design_help"
],
"title": "Artwork Status",
"type": "string"
},
"blank_sample_set": {
"default": false,
"description": "True if the customer wants a set of blank (unprinted) clear sample bags for $10, credited back as $25 off their order. US addresses; outside the US, say so in notes. We send the stocked size closest to theirs; not every size or style is stocked.",
"title": "Blank Sample Set",
"type": "boolean"
},
"notes": {
"anyOf": [
{
"maxLength": 2000,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Notes"
},
"customer_consent": {
"description": "True only if the customer asked for this quote and agreed to be emailed by Pouch.me.",
"title": "Customer Consent",
"type": "boolean"
},
"agent": {
"$ref": "#/$defs/AgentInfo"
}
},
"required": [
"customer_name",
"customer_email",
"ship_to_country",
"product",
"fill_amount",
"quantities",
"customer_consent",
"agent"
],
"title": "QuoteRequest",
"type": "object"
}
},
"title": "submit_quote_requestArguments"
}