{
  "x402Version": 2,
  "id": 8219,
  "slug": "8219",
  "resource": "https://print.api.williamrobinson.dev/v1/print/validate",
  "description": "Render a self-contained OpenSCAD model and perform bounded slicer checks",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x26026370fe8b2bb17af9092a17691c76519366da",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "maxSizeMm": [
              220,
              220,
              250
            ],
            "parameters": {
              "height": 12,
              "width": 24
            },
            "profile": "fdm-pla-0.4",
            "source": "width = 20; depth = 30; height = 10; cube([width, depth, height]);"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "artifacts": [
              {
                "href": "https://example.invalid/v1/print/artifacts/token/report.json",
                "mediaType": "application/json",
                "name": "report.json",
                "sha256": "0000000000000000000000000000000000000000000000000000000000000000",
                "sizeBytes": 512
              }
            ],
            "checks": [
              {
                "code": "within_max_size",
                "detail": "Model bounds fit the requested maximum size.",
                "status": "passed"
              }
            ],
            "expiresAt": "2026-01-02T03:04:05.000Z",
            "limitations": [
              "Slicer output and geometric checks do not prove physical strength or print success."
            ],
            "model": {
              "boundsMm": {
                "max": [
                  24,
                  30,
                  12
                ],
                "min": [
                  0,
                  0,
                  0
                ],
                "size": [
                  24,
                  30,
                  12
                ]
              },
              "triangleCount": 12,
              "volumeMm3": 8640,
              "watertight": true
            },
            "parametersApplied": {
              "height": 12,
              "width": 24
            },
            "profile": "fdm-pla-0.4",
            "recommendations": [],
            "status": "passed",
            "tools": {
              "openscad": "OpenSCAD version 2021.01",
              "slicer": "PrusaSlicer 2.6.0"
            },
            "warnings": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "maxSizeMm": {
                    "default": [
                      220,
                      220,
                      250
                    ],
                    "items": {
                      "exclusiveMinimum": 0,
                      "maximum": 1000,
                      "type": "number"
                    },
                    "maxItems": 3,
                    "minItems": 3,
                    "type": "array"
                  },
                  "parameters": {
                    "additionalProperties": {
                      "anyOf": [
                        {
                          "description": "Maximum 512 UTF-8 bytes.",
                          "maxLength": 512,
                          "type": "string"
                        },
                        {
                          "maximum": 1000000,
                          "minimum": -1000000,
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        }
                      ]
                    },
                    "default": {},
                    "description": "Overrides must name unique top-level scalar literal assignments, not derived expressions or reserved names.",
                    "maxProperties": 64,
                    "propertyNames": {
                      "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
                    },
                    "type": "object"
                  },
                  "profile": {
                    "default": "fdm-pla-0.4",
                    "enum": [
                      "fdm-pla-0.4",
                      "fdm-petg-0.4"
                    ],
                    "type": "string"
                  },
                  "source": {
                    "description": "Self-contained OpenSCAD, interpreted in millimetres; maximum 16 KiB UTF-8 before and after overrides. External imports are prohibited.",
                    "maxLength": 16384,
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "source"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "artifacts": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "href": {
                          "format": "uri",
                          "type": "string"
                        },
                        "mediaType": {
                          "maxLength": 128,
                          "minLength": 1,
                          "type": "string"
                        },
                        "name": {
                          "enum": [
                            "model.scad",
                            "model.stl",
                            "model.gcode",
                            "profile.ini",
                            "preview.png",
                            "report.json"
                          ],
                          "type": "string"
                        },
                        "sha256": {
                          "pattern": "^[a-f0-9]{64}$",
                          "type": "string"
                        },
                        "sizeBytes": {
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "name",
                        "mediaType",
                        "sizeBytes",
                        "sha256",
                        "href"
                      ],
                      "type": "object"
                    },
                    "maxItems": 6,
                    "type": "array"
                  },
                  "checks": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "code": {
                          "maxLength": 128,
                          "minLength": 1,
                          "type": "string"
                        },
                        "detail": {
                          "maxLength": 4096,
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "passed",
                            "failed",
                            "not_checked"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "code",
                        "status",
                        "detail"
                      ],
                      "type": "object"
                    },
                    "maxItems": 32,
                    "type": "array"
                  },
                  "expiresAt": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "limitations": {
                    "items": {
                      "maxLength": 4096,
                      "type": "string"
                    },
                    "maxItems": 16,
                    "type": "array"
                  },
                  "model": {
                    "anyOf": [
                      {
                        "type": "null"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "boundsMm": {
                            "additionalProperties": false,
                            "properties": {
                              "max": {
                                "items": {
                                  "type": "number"
                                },
                                "maxItems": 3,
                                "minItems": 3,
                                "type": "array"
                              },
                              "min": {
                                "items": {
                                  "type": "number"
                                },
                                "maxItems": 3,
                                "minItems": 3,
                                "type": "array"
                              },
                              "size": {
                                "items": {
                                  "type": "number"
                                },
                                "maxItems": 3,
                                "minItems": 3,
                                "type": "array"
                              }
                            },
                            "required": [
                              "min",
                              "max",
                              "size"
                            ],
                            "type": "object"
                          },
                          "triangleCount": {
                            "minimum": 0,
                            "type": "integer"
                          },
                          "volumeMm3": {
                            "minimum": 0,
                            "type": "number"
                          },
                          "watertight": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "triangleCount",
                          "boundsMm",
                          "volumeMm3",
                          "watertight"
                        ],
                        "type": "object"
                      }
                    ]
                  },
                  "parametersApplied": {
                    "additionalProperties": {
                      "anyOf": [
                        {
                          "description": "Maximum 512 UTF-8 bytes.",
                          "maxLength": 512,
                          "type": "string"
                        },
                        {
                          "maximum": 1000000,
                          "minimum": -1000000,
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        }
                      ]
                    },
                    "default": {},
                    "description": "Overrides must name unique top-level scalar literal assignments, not derived expressions or reserved names.",
                    "maxProperties": 64,
                    "propertyNames": {
                      "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
                    },
                    "type": "object"
                  },
                  "profile": {
                    "enum": [
                      "fdm-pla-0.4",
                      "fdm-petg-0.4"
                    ],
                    "type": "string"
                  },
                  "recommendations": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "code": {
                          "maxLength": 128,
                          "type": "string"
                        },
                        "message": {
                          "maxLength": 4096,
                          "type": "string"
                        }
                      },
                      "required": [
                        "code",
                        "message"
                      ],
                      "type": "object"
                    },
                    "maxItems": 32,
                    "type": "array"
                  },
                  "status": {
                    "enum": [
                      "passed",
                      "rejected"
                    ],
                    "type": "string"
                  },
                  "tools": {
                    "additionalProperties": false,
                    "properties": {
                      "openscad": {
                        "type": "string"
                      },
                      "slicer": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "openscad",
                      "slicer"
                    ],
                    "type": "object"
                  },
                  "warnings": {
                    "items": {
                      "maxLength": 4096,
                      "type": "string"
                    },
                    "maxItems": 32,
                    "type": "array"
                  }
                },
                "required": [
                  "status",
                  "profile",
                  "parametersApplied",
                  "tools",
                  "model",
                  "checks",
                  "warnings",
                  "recommendations",
                  "limitations",
                  "expiresAt",
                  "artifacts"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "s": [
          "cdp_sdk_server"
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "eip2612GasSponsoring": {},
    "erc20ApprovalGasSponsoring": {},
    "payment-identifier": {
      "info": {
        "required": true
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code",
    "eip2612GasSponsoring",
    "erc20ApprovalGasSponsoring",
    "payment-identifier"
  ],
  "sourceHost": "print.api.williamrobinson.dev",
  "lastUpdated": "2026-09-11T00:11:02.058Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-11T00:11:01.471Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "print.api.williamrobinson.dev",
    "manifest_name": "print.api.williamrobinson.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}