{"name":"cad_manage","inputSchema":{"type":"object","oneOf":[{"type":"object","properties":{"brandId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"root":{"type":"string","minLength":1,"maxLength":512},"files":{"minItems":1,"maxItems":256,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":512},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"sizeBytes":{"type":"integer","minimum":1,"maximum":67108864},"dependencies":{"default":[],"maxItems":256,"type":"array","items":{"type":"string","minLength":1,"maxLength":512}}},"required":["path","sha256","sizeBytes"],"additionalProperties":false}},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"action":{"type":"string","const":"upload_begin"}},"required":["brandId","root","files","requestId","action"],"additionalProperties":false},{"type":"object","properties":{"brandId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"assetId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"action":{"type":"string","const":"upload_finalize"}},"required":["brandId","assetId","action"],"additionalProperties":false},{"type":"object","properties":{"brandId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"assetId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"baseRevision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operations":{"minItems":1,"maxItems":100,"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"set_parameter"},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"value":{"type":"number","minimum":0.000001,"maximum":1000000}},"required":["kind","name","value"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"set_units"},"units":{"type":"string","enum":["mm","cm","m","inch","foot"]},"provenance":{"type":"string","minLength":1,"maxLength":1024}},"required":["kind","units","provenance"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"transform"},"meshes":{"minItems":1,"maxItems":10000,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"matrix":{"type":"array","items":[{"type":"array","items":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"additionalItems":false,"minItems":4,"maxItems":4},{"type":"array","items":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"additionalItems":false,"minItems":4,"maxItems":4},{"type":"array","items":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"additionalItems":false,"minItems":4,"maxItems":4},{"type":"array","items":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"additionalItems":false,"minItems":4,"maxItems":4}],"additionalItems":false,"minItems":4,"maxItems":4}},"required":["kind","meshes","matrix"],"additionalProperties":false}]}},"action":{"type":"string","const":"apply"}},"required":["brandId","assetId","baseRevision","requestId","operations","action"],"additionalProperties":false},{"type":"object","properties":{"brandId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"assetId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"revisionId":{"type":"string","pattern":"^[a-f0-9]{64}$"},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"recipe":{"type":"object","properties":{"camera":{"type":"string","enum":["still","orbit"]},"color":{"type":"array","items":[{"type":"number"},{"type":"number"},{"type":"number"}],"additionalItems":false,"minItems":3,"maxItems":3},"samples":{"type":"integer","minimum":1,"maximum":128},"seed":{"type":"integer","minimum":0,"maximum":2147483647}},"required":["camera","color","samples","seed"],"additionalProperties":false},"width":{"type":"integer","minimum":16,"maximum":4096},"height":{"type":"integer","minimum":16,"maximum":4096},"frames":{"type":"integer","minimum":1,"maximum":600},"fps":{"type":"number","exclusiveMinimum":0,"maximum":120},"action":{"type":"string","const":"render"}},"required":["brandId","assetId","revisionId","requestId","recipe","width","height","frames","fps","action"],"additionalProperties":false},{"type":"object","properties":{"brandId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"assetId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"revisionId":{"type":"string","pattern":"^[a-f0-9]{64}$"},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"format":{"type":"string","enum":["stl","dxf","3mf"]},"action":{"type":"string","const":"export"}},"required":["brandId","assetId","revisionId","requestId","format","action"],"additionalProperties":false},{"type":"object","properties":{"brandId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"assetId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"revisionId":{"type":"string","pattern":"^[a-f0-9]{64}$"},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"format":{"type":"string","enum":["stl","dxf","3mf"]},"shellPolicy":{"default":"separate_bodies","type":"string","enum":["separate_bodies","oriented_cavities"]},"profile":{"default":{"maxCoordinateErrorMm":0.001,"maxDimensionErrorMm":0.001,"minTriangleAltitudeMm":0.000001,"maxDimensionMm":1000000},"type":"object","properties":{"maxCoordinateErrorMm":{"default":0.001,"type":"number","exclusiveMinimum":0,"maximum":0.1},"maxDimensionErrorMm":{"default":0.001,"type":"number","exclusiveMinimum":0,"maximum":0.1},"minTriangleAltitudeMm":{"default":0.000001,"type":"number","exclusiveMinimum":0,"maximum":10},"maxDimensionMm":{"default":1000000,"type":"number","exclusiveMinimum":0,"maximum":1000000}},"additionalProperties":false},"action":{"type":"string","const":"validate"}},"required":["brandId","assetId","revisionId","requestId","format","action"],"additionalProperties":false},{"type":"object","properties":{"brandId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"assetId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"revisionId":{"type":"string","pattern":"^[a-f0-9]{64}$"},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"format":{"type":"string","enum":["stl","dxf","3mf"]},"shellPolicy":{"default":"separate_bodies","type":"string","enum":["separate_bodies","oriented_cavities"]},"profile":{"default":{"maxCoordinateErrorMm":0.001,"maxDimensionErrorMm":0.001,"minTriangleAltitudeMm":0.000001,"maxDimensionMm":1000000},"type":"object","properties":{"maxCoordinateErrorMm":{"default":0.001,"type":"number","exclusiveMinimum":0,"maximum":0.1},"maxDimensionErrorMm":{"default":0.001,"type":"number","exclusiveMinimum":0,"maximum":0.1},"minTriangleAltitudeMm":{"default":0.000001,"type":"number","exclusiveMinimum":0,"maximum":10},"maxDimensionMm":{"default":1000000,"type":"number","exclusiveMinimum":0,"maximum":1000000}},"additionalProperties":false},"action":{"type":"string","const":"manufacturing_export"}},"required":["brandId","assetId","revisionId","requestId","format","action"],"additionalProperties":false},{"type":"object","properties":{"brandId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"assetId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"revisionId":{"type":"string","pattern":"^[a-f0-9]{64}$"},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"shellPolicy":{"default":"separate_bodies","type":"string","enum":["separate_bodies","oriented_cavities"]},"profile":{"default":{"maxCoordinateErrorMm":0.001,"maxDimensionErrorMm":0.001,"minTriangleAltitudeMm":0.000001,"maxDimensionMm":1000000},"type":"object","properties":{"maxCoordinateErrorMm":{"default":0.001,"type":"number","exclusiveMinimum":0,"maximum":0.1},"maxDimensionErrorMm":{"default":0.001,"type":"number","exclusiveMinimum":0,"maximum":0.1},"minTriangleAltitudeMm":{"default":0.000001,"type":"number","exclusiveMinimum":0,"maximum":10},"maxDimensionMm":{"default":1000000,"type":"number","exclusiveMinimum":0,"maximum":1000000}},"additionalProperties":false},"profileId":{"type":"string","const":"offline-fff-pla-0.4-v1"},"action":{"type":"string","const":"benchmark"}},"required":["brandId","assetId","revisionId","requestId","profileId","action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"cancel"},"brandId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"jobId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["action","brandId","jobId"],"additionalProperties":false}]}}
