{
  "type": "object",
  "properties": {
    "designOrderId": {
      "type": "number",
      "example": 12345
    },
    "baseUrl": {
      "type": "string",
      "pattern": "your-base-url-regex-here",
      "example": "http://localhost.magento-task.com"
    },
    "designData": {
      "type": "object",
      "properties": {
        "designOrderId": {
          "type": "number",
          "example": 1
        },
        "output_files": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": ["JPG", "PNG", "SVG", "Vector PDF", "AI", "EPS"]
          },
          "example": ["JPG", "PNG", "SVG"]
        },
        "bleedLines": {
          "type": "number",
          "example": 0
        },
        "order_id": {
          "type": "number",
          "example": 14
        },
        "designId": {
          "type": "number",
          "example": 28
        },
        "output_type": {
          "type": "string",
          "enum": ["null", "coffee", "layflat"],
          "example": "null"
        },
        "layoutSize": {
          "type": "object",
          "properties": {
            "Height": {
              "type": "number",
              "example": 500
            },
            "Width": {
              "type": "number",
              "example": 400
            },
            "outputHeight": {
              "type": "number",
              "example": 1000
            },
            "outputWidth": {
              "type": "number",
              "example": 800
            },
            "SvgLayoutUrl": {
              "type": "string",
              "example": "http://example.com/svg-layout.svg"
            },
            "orignalSVG": {
              "type": "string",
              "example": "http://example.com/original.svg"
            }
          },
          "nullable": true
        },
        "json_objects": {
          "type": "object",
          "example": {}
        },
        "customSize": {
          "type": "object",
          "properties": {
            "canvasWidth": {
              "type": "number",
              "example": 1024
            },
            "canvasHeight": {
              "type": "number",
              "example": 768
            },
            "outputHeight": {
              "type": "number",
              "example": 1500
            },
            "outputWidth": {
              "type": "number",
              "example": 1200
            }
          },
          "nullable": true
        },
        "name_number_details": {
          "type": "array",
          "nullable": true,
          "example": []
        },
        "productType": {
          "type": "string",
          "enum": ["Photoalbum", "Custom Size", "3D Products"],
          "nullable": true,
          "example": null
        }
      },
      "required": ["designOrderId", "output_files", "order_id", "designId"]
    }
  }
}
