Raw schema
{
"type": "object",
"properties": {
"asset_id": {
"type": "string",
"minLength": 1,
"maxLength": 191,
"description": "A GLB file of one of your Library models."
},
"format": {
"description": "The file to make; glb when omitted.",
"type": "string",
"enum": [
"glb",
"stl",
"3mf",
"obj",
"ply"
]
},
"compression": {
"description": "GLB only: meshopt (default, smallest) or none.",
"type": "string",
"enum": [
"meshopt",
"none"
]
},
"simplify": {
"description": "Share of triangles to keep: 1 (default), 0.75, 0.5 or 0.25.",
"anyOf": [
{
"type": "number",
"const": 1
},
{
"type": "number",
"const": 0.75
},
{
"type": "number",
"const": 0.5
},
{
"type": "number",
"const": 0.25
}
]
},
"resize_height": {
"description": "Scale the model to this height, in metres.",
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1000
},
"resize_longest_side": {
"description": "Scale the model so its longest side is this long, in metres. Not with resize_height.",
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1000
},
"origin": {
"description": "Move the origin to the bottom centre (default when resizing) or the centre.",
"type": "string",
"enum": [
"bottom",
"center"
]
},
"repair": {
"description": "Repair for printing first: weld, drop broken and duplicate faces and loose debris, fix flipped faces, fill holes. stl, 3mf, obj, ply only; up to 200,000 triangles (simplify first for more).",
"type": "boolean"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"project_id": {
"type": "string",
"minLength": 1,
"maxLength": 191
}
},
"required": [
"asset_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}