[{"name":"pg_get_state","description":"Read the connected live Product Generator project ID, editor revision, parts, material IDs and Undo/Redo availability. Read this before mutations; every mutation requires its current projectId and expectedRevision. Editing runs only in the browser and never saves to the application backend.","inputSchema":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pg_get_part","description":"Read bounded geometry for one existing pattern part. Coordinates and dimensions are millimetres. Use pagination for parts with many points; no texture, GLB or simulation data is exposed. Use pg_get_sewing_state for canonical/base edge lengths, authored seam coverage/open ranges, resolved internal paths and actual source/target connection identities; this part read does not prove sewing or active-size/3D geometry.","inputSchema":{"type":"object","properties":{"partId":{"type":"string","minLength":1,"maxLength":160},"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":["partId"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pg_set_part_dimensions","description":"Set one part width and/or height in millimetres using the editor dimension command. Scaling stays centered on the part. Linked/symmetric geometry follows normal editor propagation. One call is one Undo step.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0},"partId":{"type":"string","minLength":1,"maxLength":160},"widthMm":{"type":"number","minimum":0.1,"maximum":10000},"heightMm":{"type":"number","minimum":0.1,"maximum":10000},"linkedUpdates":{"type":"boolean","description":"Adjust sewn-edge lengths independently from symmetry propagation."}},"required":["projectId","expectedRevision","partId"],"additionalProperties":false,"anyOf":[{"required":["widthMm"]},{"required":["heightMm"]}]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}},{"name":"pg_move_points","description":"Move up to 100 existing ordinary vertices to absolute millimetre coordinates as one edit. Normal editor constraints and linked propagation apply. This does not move Bezier control handles.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0},"points":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","properties":{"partId":{"type":"string","minLength":1,"maxLength":160},"pointId":{"type":"string","minLength":1,"maxLength":160},"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000}},"required":["partId","pointId","xMm","yMm"],"additionalProperties":false}},"linkedUpdates":{"type":"boolean","description":"Adjust sewn-edge lengths independently from symmetry propagation."}},"required":["projectId","expectedRevision","points"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}},{"name":"pg_get_grading","description":"Read grading size IDs, measurement IDs and their millimetre values. Values are authored size measurements, not point offsets. Set values with pg_set_grading_values; read individual sizes using sizeId. The current base-size grading cells are read-only, matching the Sizes UI. Edit the base geometry with Shape/Easy Size, or select a different base size before editing non-base grading cells.","inputSchema":{"type":"object","properties":{"sizeId":{"type":"string","minLength":1,"maxLength":160},"sizeOffset":{"type":"integer","minimum":0,"maximum":10000},"limit":{"type":"integer","minimum":1,"maximum":50}},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pg_set_grading_values","description":"Set up to 64 existing grading size/measurement cells in millimetres atomically. Unknown sizes or measurements are rejected; no sizes are created implicitly. This changes authored grading values through the same command as the grading table. The current base-size grading cells are read-only, matching the Sizes UI. Edit the base geometry with Shape/Easy Size, or select a different base size before editing non-base grading cells.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0},"values":{"type":"array","minItems":1,"maxItems":64,"items":{"type":"object","properties":{"sizeId":{"type":"string","minLength":1,"maxLength":160},"measurementId":{"type":"string","minLength":1,"maxLength":160},"valueMm":{"type":"number","minimum":0.1,"maximum":10000}},"required":["sizeId","measurementId","valueMm"],"additionalProperties":false}}},"required":["projectId","expectedRevision","values"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}},{"name":"pg_get_physics","description":"Read independent static/animated global solver profiles and physics parameter ranges. Pass materialId to also read one existing material physics profile. Material acceleration, pressure and stiffness are separate from global solver settings.","inputSchema":{"type":"object","properties":{"materialId":{"type":"string","minLength":1,"maxLength":160}},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pg_set_physics","description":"Patch one independent global solver profile (static or animated). Units are seconds, Hz and inspector world units as named. Material gravity/mass/stiffness must use pg_set_material_physics. Rejects invalid values and edits during simulation.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0},"profile":{"type":"string","enum":["static","animated"]},"settings":{"type":"object","properties":{"seamStiffness":{"type":"number","minimum":0.02,"maximum":2},"seamRestLength":{"type":"number","minimum":0,"maximum":0.03,"description":"Editor world units, as displayed by the physics inspector."},"closureSeconds":{"type":"number","minimum":0.5,"maximum":10},"gravityDelaySeconds":{"type":"number","minimum":0,"maximum":3},"gravityRampSeconds":{"type":"number","minimum":0.1,"maximum":5},"animationWarmupSeconds":{"type":"number","minimum":0,"maximum":8},"animationRampSeconds":{"type":"number","minimum":0,"maximum":4},"stepsPerSecond":{"type":"integer","minimum":60,"maximum":1000},"maxCatchUpSteps":{"type":"integer","minimum":1,"maximum":32},"stretchLimitIterations":{"type":"integer","minimum":0,"maximum":12},"pinCapacity":{"type":"integer","minimum":1,"maximum":128},"pinSyncIntervalMs":{"type":"integer","minimum":16,"maximum":1000},"gravityDirection":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":3,"maxItems":3,"description":"Nonzero direction [x,y,z], normalized by the editor; acceleration is authored per material."},"gravityDirectionEnabled":{"type":"boolean"},"simulationQuality":{"type":"string","enum":["full","balanced","fast"]},"ropeSimulationQuality":{"type":"string","enum":["full","balanced","fast"]}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","profile","settings"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}},{"name":"pg_set_material_physics","description":"Patch one existing fabric material in the static or animated profile. Fractions use 0–1, distances use the suffix units, gravityMps2 uses m/s² and pressurePa uses pascals. Affects every part sharing this materialId; read its partIds first. Does not modify the other profile. One call is one Undo step.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0},"profile":{"type":"string","enum":["static","animated"]},"materialId":{"type":"string","minLength":1,"maxLength":160},"settings":{"type":"object","properties":{"stretchWarpStiffness":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"stretchWeftStiffness":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"shearStiffness":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"bendingStiffness":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"shapeRetention":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"bucklingRatio":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"bucklingStiffness":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"strainDamping":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"settledShapeRetention":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"collisionVelocityTransfer":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"collisionAdhesion":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"collisionContactDamping":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"shrinkage":{"type":"number","minimum":0,"maximum":0.3},"dampening":{"type":"number","minimum":0.7,"maximum":0.99},"settledShapeRetentionDelaySeconds":{"type":"number","minimum":0,"maximum":30},"massScale":{"type":"number","minimum":0.25,"maximum":4},"gravityMps2":{"type":"number","minimum":0,"maximum":30,"description":"Acceleration in m/s²; zero disables gravity for this material."},"pressurePa":{"type":"number","minimum":-20,"maximum":20},"particleDistanceMm":{"type":"number","minimum":2,"maximum":200},"avatarClearanceM":{"type":"number","minimum":0,"maximum":0.05},"maxDisplacement":{"type":"number","minimum":0.003,"maximum":0.1,"description":"Editor world units, as displayed by the physics inspector."},"maxStretchRatio":{"type":"number","minimum":0,"maximum":0.5},"collisionFriction":{"type":"number","minimum":0,"maximum":0.98},"collisionResponse":{"type":"number","minimum":0.1,"maximum":1},"selfCollisionDistanceM":{"type":"number","minimum":0,"maximum":0.03},"collisionAdhesionDistance":{"type":"number","minimum":0,"maximum":0.03,"description":"Editor world units, as displayed by the physics inspector."},"animationDriftStabilization":{"type":"number","minimum":0,"maximum":0.05}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","profile","materialId","settings"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}},{"name":"pg_undo","description":"Undo one editor action, including a manual edit. Requires the latest editor revision. Read state first so you know which project and history are affected.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}},{"name":"pg_redo","description":"Redo one previously undone editor action. Requires the latest editor revision.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}},{"name":"pg_apply_project_commands","description":"Apply 1–64 explicitly schema-validated local project commands atomically as one Undo step. Covers geometry/Bezier/cutouts, seams/fasteners, sizes, materials, guides, references, ropes and tacks. No raw project injection, network URLs or server saving. Use pg_get_command_catalog before unfamiliar commands. The current base-size grading cells are read-only, matching the Sizes UI. Edit the base geometry with Shape/Easy Size, or select a different base size before editing non-base grading cells. Anatomical mannequin profiles can be authored before Bake with SET_MANNEQUIN_SIZE_SETTINGS; source and base remain local and read-only.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"expectedRevision":{"type":"integer","minimum":0},"commands":{"type":"array","items":{"$ref":"#/$defs/command"},"minItems":1,"maxItems":64}},"required":["projectId","expectedRevision","commands"],"additionalProperties":false,"$defs":{"point":{"type":"object","properties":{"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000}},"required":["xMm","yMm"],"additionalProperties":false},"label":{"anyOf":[{"type":"string","maxLength":256},{"type":"object","properties":{"pl":{"type":"string","maxLength":256},"en":{"type":"string","maxLength":256}},"required":[],"additionalProperties":false,"minProperties":1}]},"segment":{"type":"object","properties":{"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"creaseId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"sewingPathId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"referenceType":{"type":"string","enum":["edge","crease","sewing-path"]},"instanceId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"projection":{"type":"string","enum":["canonical","mirrored","derived"]},"ratio":{"type":"number","minimum":0,"maximum":1},"startRatio":{"type":"number","minimum":0,"maximum":1},"endRatio":{"type":"number","minimum":0,"maximum":1},"anchorRatio":{"type":"number","minimum":0,"maximum":1},"parameterDirection":{"type":"string","enum":["same","opposite"]}},"required":["partId"],"additionalProperties":false,"anyOf":[{"required":["edgeId"]},{"required":["creaseId"]},{"required":["sewingPathId"]}]},"attachment":{"type":"object","properties":{"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"instanceId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"projection":{"type":"string","enum":["canonical","mirrored","derived"]},"ratio":{"type":"number","minimum":0,"maximum":1}},"required":["edgeId","ratio"],"additionalProperties":false},"knot":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000},"handleIn":{"anyOf":[{"type":"object","properties":{"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000}},"required":["xMm","yMm"],"additionalProperties":false},{"type":"null"}]},"handleOut":{"anyOf":[{"type":"object","properties":{"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000}},"required":["xMm","yMm"],"additionalProperties":false},{"type":"null"}]},"handleMode":{"type":"string","enum":["free","smooth","aligned","mirrored"]},"attachment":{"anyOf":[{"$ref":"#/$defs/attachment"},{"type":"null"}]}},"required":["xMm","yMm"],"additionalProperties":false},"path":{"type":"object","properties":{"schemaVersion":{"const":1},"type":{"type":"string","enum":["cubic-bezier"]},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"closed":{"type":"boolean"},"knots":{"type":"array","items":{"$ref":"#/$defs/knot"},"minItems":2,"maxItems":128}},"required":["partId","knots"],"additionalProperties":false},"fastener":{"type":"object","properties":{"type":{"type":"string","enum":["zipper","velcro","buttons","snaps"]},"openCount":{"type":"integer","minimum":0,"maximum":24},"attachmentPosition":{"type":"number","minimum":0,"maximum":1},"openRatio":{"type":"number","minimum":0,"maximum":1},"openFrom":{"type":"string","enum":["start","end"]},"separating":{"type":"boolean"},"strengthMultiplier":{"type":"number","minimum":0.25,"maximum":4},"overlapMm":{"type":"number","minimum":0,"maximum":500},"overlapPosition":{"type":"number","minimum":0,"maximum":1},"overlapOrder":{"type":"string","enum":["from-over-to","to-over-from"]},"layerGapMm":{"type":"number","minimum":0.1,"maximum":10},"itemCount":{"type":"integer","minimum":1,"maximum":24},"path":{"$ref":"#/$defs/path"},"paths":{"type":"object","properties":{"from":{"$ref":"#/$defs/path"},"to":{"$ref":"#/$defs/path"}},"required":["from","to"],"additionalProperties":false}},"required":[],"additionalProperties":false},"distribution":{"type":"object","properties":{"mode":{"type":"string","enum":["linear","accordion"]},"sizingMode":{"type":"string","enum":["count","spacing"]},"foldCount":{"type":"integer","minimum":1,"maximum":96},"spacingMm":{"type":"number","minimum":1,"maximum":1000},"passesPerFold":{"type":"integer","minimum":3,"maximum":9},"startDirection":{"type":"string","enum":["same","opposite"]}},"required":["mode"],"additionalProperties":false},"guide":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"from":{"$ref":"#/$defs/point"},"to":{"$ref":"#/$defs/point"},"visible":{"type":"boolean"},"enabled":{"type":"boolean"}},"required":["from","to"],"additionalProperties":false},"crease":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"name":{"type":"string","maxLength":256},"from":{"$ref":"#/$defs/point"},"to":{"$ref":"#/$defs/point"},"targetAngleDeg":{"type":"number","minimum":-179,"maximum":179},"stiffness":{"type":"number","minimum":0,"maximum":1},"enabled":{"type":"boolean"},"endpointAnchors":{"type":"object","properties":{"from":{"anyOf":[{"$ref":"#/$defs/attachment"},{"type":"null"}]},"to":{"anyOf":[{"$ref":"#/$defs/attachment"},{"type":"null"}]}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"symmetry":{"type":"object","properties":{"enabled":{"type":"boolean"},"storage":{"type":"string","enum":["half","full"]},"mirrorPair":{"type":"boolean"},"axisSegmentId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"axis":{"type":"object","properties":{"type":{"type":"string","enum":["vertical","horizontal"]},"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000}},"required":[],"additionalProperties":false},"mode":{"type":"string","enum":["linked","independent"]}},"required":[],"additionalProperties":false},"placement":{"type":"object","properties":{"sourceAnchorRatio":{"type":"number","minimum":0,"maximum":1},"targetAnchor":{"$ref":"#/$defs/point"},"rotationDeg":{"type":"number","minimum":-36000,"maximum":36000},"scale":{"type":"number","minimum":0.001,"maximum":100},"flip":{"type":"boolean"}},"required":[],"additionalProperties":false},"tackAnchor":{"type":"object","properties":{"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"creaseId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"sewingPathId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"referenceType":{"type":"string","enum":["edge","crease","sewing-path"]},"instanceId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"projection":{"type":"string","enum":["canonical","mirrored","derived"]},"ratio":{"type":"number","minimum":0,"maximum":1},"startRatio":{"type":"number","minimum":0,"maximum":1},"endRatio":{"type":"number","minimum":0,"maximum":1},"anchorRatio":{"type":"number","minimum":0,"maximum":1},"parameterDirection":{"type":"string","enum":["same","opposite"]},"type":{"type":"string","enum":["edge","crease","surface"]},"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000}},"required":["partId"],"additionalProperties":false},"tack":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"label":{"type":"string","maxLength":256},"from":{"$ref":"#/$defs/tackAnchor"},"to":{"$ref":"#/$defs/tackAnchor"},"radiusMm":{"type":"number","minimum":0.1,"maximum":100},"strength":{"type":"number","minimum":0,"maximum":1},"enabled":{"type":"boolean"}},"required":["from","to"],"additionalProperties":false},"ropeAttachment":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"instance":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"projection":{"type":"string","enum":["canonical","mirrored","derived"]},"type":{"type":"string","enum":["free","fixed"]},"knotId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"ropeRatio":{"type":"number","minimum":0,"maximum":1},"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000},"projectXmm":{"type":"number","minimum":-100000,"maximum":100000},"projectYmm":{"type":"number","minimum":-100000,"maximum":100000}},"required":[],"additionalProperties":false},"ropeKnot":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000},"inHandle":{"anyOf":[{"$ref":"#/$defs/point"},{"type":"null"}]},"outHandle":{"anyOf":[{"$ref":"#/$defs/point"},{"type":"null"}]},"handleMode":{"type":"string","enum":["independent","aligned","mirrored"]}},"required":["xMm","yMm"],"additionalProperties":false},"ropePhysics":{"type":"object","properties":{"gravityMps2":{"type":"number","minimum":0,"maximum":30},"segmentLengthMm":{"type":"number","minimum":4,"maximum":40},"surfaceClearanceMm":{"type":"number","minimum":0,"maximum":30},"damping":{"type":"number","minimum":0,"maximum":0.3},"friction":{"type":"number","minimum":0,"maximum":1},"contactDamping":{"type":"number","minimum":0,"maximum":1},"impactDamping":{"type":"number","minimum":0,"maximum":1},"stretchCompliance":{"type":"number","minimum":0,"maximum":0.1},"bendCompliance":{"type":"number","minimum":0,"maximum":0.2},"solverIterations":{"type":"integer","minimum":2,"maximum":24},"collisionEnabled":{"type":"boolean"},"collisionMannequinEnabled":{"type":"boolean"},"collisionPatternPartIds":{"anyOf":[{"type":"array","items":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"minItems":0,"maxItems":128},{"type":"null"}]}},"required":[],"additionalProperties":false},"rope":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"name":{"type":"string","maxLength":256},"profile":{"type":"string","enum":["round","flat","chain"]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"diameterMm":{"type":"number","minimum":0.5,"maximum":40},"widthMm":{"type":"number","minimum":1,"maximum":80},"thicknessMm":{"type":"number","minimum":0.3,"maximum":30},"linkLengthMm":{"type":"number","minimum":3,"maximum":200},"linkWidthMm":{"type":"number","minimum":2,"maximum":160},"linkPitchMm":{"type":"number","minimum":1,"maximum":200},"visible":{"type":"boolean"},"profileRotationDeg":{"type":"number","minimum":-180,"maximum":180},"lengthMm":{"type":"number","minimum":0.1,"maximum":100000},"slackPercent":{"type":"number","minimum":0,"maximum":300},"path":{"type":"object","properties":{"coordinateSpace":{"type":"string","enum":["project-mm"]},"knots":{"type":"array","items":{"$ref":"#/$defs/ropeKnot"},"minItems":2,"maxItems":256}},"required":["knots"],"additionalProperties":false},"attachments":{"type":"array","items":{"$ref":"#/$defs/ropeAttachment"},"minItems":0,"maxItems":128},"gravityMps2":{"type":"number","minimum":0,"maximum":30},"segmentLengthMm":{"type":"number","minimum":4,"maximum":40},"surfaceClearanceMm":{"type":"number","minimum":0,"maximum":30},"damping":{"type":"number","minimum":0,"maximum":0.3},"friction":{"type":"number","minimum":0,"maximum":1},"contactDamping":{"type":"number","minimum":0,"maximum":1},"impactDamping":{"type":"number","minimum":0,"maximum":1},"stretchCompliance":{"type":"number","minimum":0,"maximum":0.1},"bendCompliance":{"type":"number","minimum":0,"maximum":0.2},"collisionEnabled":{"type":"boolean"},"collisionMannequinEnabled":{"type":"boolean"},"collisionPatternPartIds":{"anyOf":[{"type":"array","items":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"minItems":0,"maxItems":128},{"type":"null"}]},"solverIterations":{"type":"integer","minimum":2,"maximum":24},"initialPlacement3d":{"type":"object","properties":{"xMm":{"type":"number","minimum":-5000,"maximum":5000},"yMm":{"type":"number","minimum":-5000,"maximum":5000},"zMm":{"type":"number","minimum":-5000,"maximum":5000},"rotationXDeg":{"type":"number","minimum":-360,"maximum":360},"rotationYDeg":{"type":"number","minimum":-360,"maximum":360},"rotationZDeg":{"type":"number","minimum":-360,"maximum":360}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"referencePatch":{"type":"object","properties":{"partId":{"anyOf":[{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},{"type":"null"}]},"name":{"type":"string","maxLength":256},"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000},"widthMm":{"type":"number","minimum":0.001,"maximum":100000},"heightMm":{"type":"number","minimum":0.001,"maximum":100000},"rotationDeg":{"type":"number","minimum":-36000,"maximum":36000},"opacity":{"type":"number","minimum":0,"maximum":1},"visible":{"type":"boolean"},"layer":{"type":"string","enum":["under","over"]}},"required":[],"additionalProperties":false},"calibration":{"oneOf":[{"type":"object","properties":{"mode":{"const":"two-point"},"pointA":{"type":"object","properties":{"xRatio":{"type":"number","minimum":0,"maximum":1},"yRatio":{"type":"number","minimum":0,"maximum":1}},"required":["xRatio","yRatio"],"additionalProperties":false},"pointB":{"type":"object","properties":{"xRatio":{"type":"number","minimum":0,"maximum":1},"yRatio":{"type":"number","minimum":0,"maximum":1}},"required":["xRatio","yRatio"],"additionalProperties":false},"realLengthMm":{"type":"number","minimum":0.001,"maximum":100000}},"required":["mode","pointA","pointB","realLengthMm"],"additionalProperties":false},{"type":"object","properties":{"mode":{"const":"four-point"},"points":{"type":"array","items":{"type":"object","properties":{"xRatio":{"type":"number","minimum":0,"maximum":1},"yRatio":{"type":"number","minimum":0,"maximum":1}},"required":["xRatio","yRatio"],"additionalProperties":false},"minItems":4,"maxItems":4},"realWidthMm":{"type":"number","minimum":0.001,"maximum":100000},"realHeightMm":{"type":"number","minimum":0.001,"maximum":100000}},"required":["mode","points","realWidthMm","realHeightMm"],"additionalProperties":false}]},"materialPhysics":{"type":"object","properties":{"stretchWarpStiffness":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"stretchWeftStiffness":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"shearStiffness":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"bendingStiffness":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"shapeRetention":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"bucklingRatio":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"bucklingStiffness":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"strainDamping":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"settledShapeRetention":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"collisionVelocityTransfer":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"collisionAdhesion":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"collisionContactDamping":{"type":"number","minimum":0,"maximum":1,"description":"Fraction 0–1; 0.1 means 10%, not 10."},"shrinkage":{"type":"number","minimum":0,"maximum":0.3},"dampening":{"type":"number","minimum":0.7,"maximum":0.99},"settledShapeRetentionDelaySeconds":{"type":"number","minimum":0,"maximum":30},"massScale":{"type":"number","minimum":0.25,"maximum":4},"gravityMps2":{"type":"number","minimum":0,"maximum":30,"description":"Acceleration in m/s²; zero disables gravity for this material."},"pressurePa":{"type":"number","minimum":-20,"maximum":20},"particleDistanceMm":{"type":"number","minimum":2,"maximum":200},"avatarClearanceM":{"type":"number","minimum":0,"maximum":0.05},"maxDisplacement":{"type":"number","minimum":0.003,"maximum":0.1,"description":"Editor world units, as displayed by the physics inspector."},"maxStretchRatio":{"type":"number","minimum":0,"maximum":0.5},"collisionFriction":{"type":"number","minimum":0,"maximum":0.98},"collisionResponse":{"type":"number","minimum":0.1,"maximum":1},"selfCollisionDistanceM":{"type":"number","minimum":0,"maximum":0.03},"collisionAdhesionDistance":{"type":"number","minimum":0,"maximum":0.03,"description":"Editor world units, as displayed by the physics inspector."},"animationDriftStabilization":{"type":"number","minimum":0,"maximum":0.05}},"required":[],"additionalProperties":false,"minProperties":1},"material":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"label":{"$ref":"#/$defs/label"},"description":{"type":"string","maxLength":256},"physics":{"type":"object","properties":{"static":{"$ref":"#/$defs/materialPhysics"},"animated":{"$ref":"#/$defs/materialPhysics"}},"required":[],"additionalProperties":false},"presetIdsByMode":{"type":"object","properties":{"static":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"animated":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"ADD_PATTERN_PART":{"type":"object","properties":{"type":{"const":"ADD_PATTERN_PART"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"name":{"$ref":"#/$defs/label"},"shapeType":{"type":"string","enum":["rectangle","pocket-rounded","pocket-pointed","pocket-beveled","pocket-cargo-bellows","pocket-internal-rounded","pocket-internal-slanted","pocket-internal-welt"]},"widthMm":{"type":"number","minimum":0.1,"maximum":10000},"heightMm":{"type":"number","minimum":0.1,"maximum":10000},"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000},"rotationDeg":{"type":"number","minimum":-36000,"maximum":36000},"seamAllowanceMm":{"type":"number","minimum":0,"maximum":1000},"materialId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type"],"additionalProperties":false},"REMOVE_PATTERN_PART":{"type":"object","properties":{"type":{"const":"REMOVE_PATTERN_PART"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId"],"additionalProperties":false},"SET_PART_NAME":{"type":"object","properties":{"type":{"const":"SET_PART_NAME"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"name":{"$ref":"#/$defs/label"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","name"],"additionalProperties":false},"SET_PART_MODEL_INCLUSION":{"type":"object","properties":{"type":{"const":"SET_PART_MODEL_INCLUSION"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"includeInModel":{"type":"boolean"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","includeInModel"],"additionalProperties":false},"SET_PART_MATERIAL":{"type":"object","properties":{"type":{"const":"SET_PART_MATERIAL"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"materialId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"materialDefinition":{"$ref":"#/$defs/material"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","materialId"],"additionalProperties":false},"APPLY_PART_MATERIAL_PRESET":{"type":"object","properties":{"type":{"const":"APPLY_PART_MATERIAL_PRESET"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"partIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"minItems":1,"maxItems":128},"materialId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"physicsMode":{"type":"string","enum":["static","animated"]},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","materialId"],"additionalProperties":false,"anyOf":[{"required":["partId"]},{"required":["partIds"]}]},"SET_MATERIAL_PHYSICS":{"type":"object","properties":{"type":{"const":"SET_MATERIAL_PHYSICS"},"materialId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"physicsMode":{"type":"string","enum":["static","animated"]},"physics":{"$ref":"#/$defs/materialPhysics"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","materialId","physicsMode","physics"],"additionalProperties":false},"MOVE_POINT":{"type":"object","properties":{"type":{"const":"MOVE_POINT"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"pointId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","pointId"],"additionalProperties":false,"anyOf":[{"required":["xMm"]},{"required":["yMm"]}]},"MOVE_POINTS":{"type":"object","properties":{"type":{"const":"MOVE_POINTS"},"points":{"type":"array","items":{"type":"object","properties":{"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"pointId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000}},"required":["partId","pointId","xMm","yMm"],"additionalProperties":false},"minItems":0,"maxItems":128},"partTranslations":{"type":"array","items":{"type":"object","properties":{"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"dxMm":{"type":"number","minimum":-100000,"maximum":100000},"dyMm":{"type":"number","minimum":-100000,"maximum":100000}},"required":["partId","dxMm","dyMm"],"additionalProperties":false},"minItems":0,"maxItems":64},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type"],"additionalProperties":false,"anyOf":[{"required":["points"]},{"required":["partTranslations"]}]},"SET_PART_DIMENSION":{"type":"object","properties":{"type":{"const":"SET_PART_DIMENSION"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"widthMm":{"type":"number","minimum":0.1,"maximum":10000},"heightMm":{"type":"number","minimum":0.1,"maximum":10000},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId"],"additionalProperties":false,"anyOf":[{"required":["widthMm"]},{"required":["heightMm"]}]},"SET_EDGE_LENGTH":{"type":"object","properties":{"type":{"const":"SET_EDGE_LENGTH"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"valueMm":{"type":"number","minimum":0.001,"maximum":100000},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","edgeId","valueMm"],"additionalProperties":false},"SET_SEAM_ALLOWANCE":{"type":"object","properties":{"type":{"const":"SET_SEAM_ALLOWANCE"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"valueMm":{"type":"number","minimum":0,"maximum":1000},"targets":{"type":"array","items":{"type":"object","properties":{"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"}},"required":["partId"],"additionalProperties":false},"minItems":0,"maxItems":128},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","valueMm"],"additionalProperties":false,"anyOf":[{"required":["partId"]},{"required":["targets"]}]},"MOVE_EDGE":{"type":"object","properties":{"type":{"const":"MOVE_EDGE"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"dxMm":{"type":"number","minimum":-100000,"maximum":100000},"dyMm":{"type":"number","minimum":-100000,"maximum":100000},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."},"deltaMm":{"type":"number","minimum":-100000,"maximum":100000,"description":"Offset along the edge normal in millimetres."}},"required":["type","partId","edgeId"],"additionalProperties":false,"anyOf":[{"required":["dxMm","dyMm"]},{"required":["deltaMm"]}]},"SMOOTH_EDGE":{"type":"object","properties":{"type":{"const":"SMOOTH_EDGE"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","edgeId"],"additionalProperties":false},"MIRROR_PART":{"type":"object","properties":{"type":{"const":"MIRROR_PART"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId"],"additionalProperties":false},"ADD_POINT_ON_EDGE":{"type":"object","properties":{"type":{"const":"ADD_POINT_ON_EDGE"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"atRatio":{"type":"number","minimum":1e-06,"maximum":0.999999},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","edgeId","atRatio"],"additionalProperties":false},"REMOVE_POINT":{"type":"object","properties":{"type":{"const":"REMOVE_POINT"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"pointId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","pointId"],"additionalProperties":false},"ADD_BEZIER_HANDLES":{"type":"object","properties":{"type":{"const":"ADD_BEZIER_HANDLES"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"pointId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"anchorPointId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"curveType":{"type":"string","enum":["cubic-bezier","quadratic-bezier"]},"collapseDistanceMm":{"type":"number","minimum":0,"maximum":1000},"handleMode":{"type":"string","enum":["independent","mirror-angle","mirror-length"]},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId"],"additionalProperties":false,"anyOf":[{"required":["edgeId"]},{"required":["pointId"]},{"required":["anchorPointId"]}]},"DRAG_BEZIER_HANDLE":{"type":"object","properties":{"type":{"const":"DRAG_BEZIER_HANDLE"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"pointId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"handlePointId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"anchorPointId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"handleType":{"type":"string","enum":["in","out"]},"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."},"handleMode":{"type":"string","enum":["independent","mirror-angle","mirror-length"]}},"required":["type","partId","xMm","yMm"],"additionalProperties":false,"anyOf":[{"required":["pointId"]},{"required":["anchorPointId"]},{"required":["handlePointId"]}]},"SET_BEZIER_HANDLE_ENABLED":{"type":"object","properties":{"type":{"const":"SET_BEZIER_HANDLE_ENABLED"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"pointId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"anchorPointId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"handlePointId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"handleType":{"type":"string","enum":["in","out"]},"collapseDistanceMm":{"type":"number","minimum":0,"maximum":1000},"enabled":{"type":"boolean"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."},"handleMode":{"type":"string","enum":["independent","mirror-angle","mirror-length"]}},"required":["type","partId","enabled","handleType"],"additionalProperties":false,"anyOf":[{"required":["pointId"]},{"required":["anchorPointId"]},{"required":["handlePointId"]}]},"SET_BEZIER_HANDLE_MODE":{"type":"object","properties":{"type":{"const":"SET_BEZIER_HANDLE_MODE"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"pointId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"anchorPointId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"handlePointId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"mode":{"type":"string","enum":["independent","mirror-angle","mirror-length"]},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","mode"],"additionalProperties":false,"anyOf":[{"required":["pointId"]},{"required":["anchorPointId"]},{"required":["handlePointId"]}]},"ADD_GRADING_SIZE":{"type":"object","properties":{"type":{"const":"ADD_GRADING_SIZE"},"sizeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"label":{"$ref":"#/$defs/label"},"copyFromSizeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"beforeSizeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"afterSizeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"index":{"type":"integer","minimum":0,"maximum":1000},"values":{"type":"object","additionalProperties":{"type":"number","minimum":0.001,"maximum":100000},"maxProperties":128,"propertyNames":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"}},"markValuesManual":{"type":"boolean"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","sizeId"],"additionalProperties":false},"RENAME_GRADING_SIZE":{"type":"object","properties":{"type":{"const":"RENAME_GRADING_SIZE"},"sizeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"label":{"$ref":"#/$defs/label"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","sizeId","label"],"additionalProperties":false},"REMOVE_GRADING_SIZE":{"type":"object","properties":{"type":{"const":"REMOVE_GRADING_SIZE"},"sizeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"replacementBaseSizeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","sizeId"],"additionalProperties":false},"SET_GRADING_VALUE":{"type":"object","properties":{"type":{"const":"SET_GRADING_VALUE"},"sizeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"measurementId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"valueMm":{"type":"number","minimum":0.001,"maximum":100000},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","sizeId","measurementId","valueMm"],"additionalProperties":false},"SET_BASE_SIZE":{"type":"object","properties":{"type":{"const":"SET_BASE_SIZE"},"sizeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","sizeId"],"additionalProperties":false},"SET_MANNEQUIN_SIZE_SETTINGS":{"type":"object","description":"Author per-size anatomical profiles before Bake, using the current native source mannequin. Source/base are read-only and resolved locally; the base profile is read-only. Read mannequinSizes via pg_get_project_section. Post-Bake object modifiers remain available through pg_edit_painter.","properties":{"type":{"const":"SET_MANNEQUIN_SIZE_SETTINGS"},"predictedSize":{"type":"object","properties":{"method":{"type":"string","enum":["pattern-grading","mannequin-anatomical"]},"enabled":{"type":"boolean"},"viewportVisible":{"type":"boolean"},"targetSizeId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"mannequin":{"type":"object","properties":{"profilesBySize":{"type":"object","maxProperties":64,"propertyNames":{"type":"string","minLength":1,"maxLength":128,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"additionalProperties":{"type":"object","properties":{"heightM":{"type":"number","minimum":1.4,"maximum":2.2},"silhouette":{"type":"object","properties":{"headNeck":{"type":"number","minimum":-0.3,"maximum":1},"chest":{"type":"number","minimum":-0.3,"maximum":1},"abdomen":{"type":"number","minimum":-0.3,"maximum":1},"shoulders":{"type":"number","minimum":-0.3,"maximum":1},"biceps":{"type":"number","minimum":-0.3,"maximum":1},"forearms":{"type":"number","minimum":-0.3,"maximum":1},"buttocks":{"type":"number","minimum":-0.3,"maximum":1},"thighs":{"type":"number","minimum":-0.3,"maximum":1},"calves":{"type":"number","minimum":-0.3,"maximum":1}},"additionalProperties":false}},"minProperties":1,"additionalProperties":false}}},"required":["profilesBySize"],"additionalProperties":false},"animationFitQuality":{"type":"string","enum":["fast","accurate","simulation"],"description":"Anatomical animated fitting: Fast follows body shape with quick corrections on selected animation frames; Accurate preserves detailed sampled fitting; Simulation fits every saved animation frame. Defaults to Fast."}},"minProperties":1,"additionalProperties":false}},"required":["type","predictedSize"],"additionalProperties":false},"SET_SEAM_CONNECTION":{"type":"object","properties":{"type":{"const":"SET_SEAM_CONNECTION"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"from":{"$ref":"#/$defs/segment"},"to":{"$ref":"#/$defs/segment"},"direction":{"type":"string","enum":["same","opposite"]},"parameterDirection":{"type":"string","enum":["same","opposite"]},"toleranceMm":{"type":"number","minimum":0,"maximum":1000},"rule":{"type":"string","enum":["stitch-connection","fastener-connection","tension-allowed","equal-length"]},"linkedUpdateMode":{"type":"string","enum":["manual-anchors","linked","ratio","derived","observer","bidirectional-match-length","derived-proportional","body-drives-sleeve-curve"]},"distribution":{"$ref":"#/$defs/distribution"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","from","to"],"additionalProperties":false},"CONNECT_STITCH_EDGES":{"type":"object","properties":{"type":{"const":"CONNECT_STITCH_EDGES"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"from":{"$ref":"#/$defs/segment"},"to":{"$ref":"#/$defs/segment"},"direction":{"type":"string","enum":["same","opposite"]},"parameterDirection":{"type":"string","enum":["same","opposite"]},"toleranceMm":{"type":"number","minimum":0,"maximum":1000},"rule":{"type":"string","enum":["stitch-connection","fastener-connection","tension-allowed","equal-length"]},"linkedUpdateMode":{"type":"string","enum":["manual-anchors","linked","ratio","derived","observer","bidirectional-match-length","derived-proportional","body-drives-sleeve-curve"]},"distribution":{"$ref":"#/$defs/distribution"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","from","to"],"additionalProperties":false},"CONNECT_STITCH_SEGMENTS":{"type":"object","properties":{"type":{"const":"CONNECT_STITCH_SEGMENTS"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"from":{"$ref":"#/$defs/segment"},"to":{"$ref":"#/$defs/segment"},"direction":{"type":"string","enum":["same","opposite"]},"parameterDirection":{"type":"string","enum":["same","opposite"]},"toleranceMm":{"type":"number","minimum":0,"maximum":1000},"rule":{"type":"string","enum":["stitch-connection","fastener-connection","tension-allowed","equal-length"]},"linkedUpdateMode":{"type":"string","enum":["manual-anchors","linked","ratio","derived","observer","bidirectional-match-length","derived-proportional","body-drives-sleeve-curve"]},"distribution":{"$ref":"#/$defs/distribution"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","from","to"],"additionalProperties":false},"CONNECT_FASTENER_SEGMENTS":{"type":"object","properties":{"type":{"const":"CONNECT_FASTENER_SEGMENTS"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"from":{"$ref":"#/$defs/segment"},"to":{"$ref":"#/$defs/segment"},"direction":{"type":"string","enum":["same","opposite"]},"parameterDirection":{"type":"string","enum":["same","opposite"]},"toleranceMm":{"type":"number","minimum":0,"maximum":1000},"rule":{"type":"string","enum":["stitch-connection","fastener-connection","tension-allowed","equal-length"]},"linkedUpdateMode":{"type":"string","enum":["manual-anchors","linked","ratio","derived","observer","bidirectional-match-length","derived-proportional","body-drives-sleeve-curve"]},"distribution":{"$ref":"#/$defs/distribution"},"fastener":{"$ref":"#/$defs/fastener"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","from","to","fastener"],"additionalProperties":false},"SET_SEAM_CONNECTION_NAME":{"type":"object","properties":{"type":{"const":"SET_SEAM_CONNECTION_NAME"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"name":{"$ref":"#/$defs/label"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","connectionId","name"],"additionalProperties":false},"SET_SEAM_DISTRIBUTION":{"type":"object","properties":{"type":{"const":"SET_SEAM_DISTRIBUTION"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"distribution":{"anyOf":[{"$ref":"#/$defs/distribution"},{"type":"null"}]},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","connectionId","distribution"],"additionalProperties":false},"SET_SEAM_CONNECTION_TYPE":{"type":"object","properties":{"type":{"const":"SET_SEAM_CONNECTION_TYPE"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"connectionType":{"type":"string","enum":["stitch","zipper","velcro","buttons","snaps"]},"fastener":{"$ref":"#/$defs/fastener"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","connectionId","connectionType"],"additionalProperties":false},"ADD_ZIPPER":{"type":"object","properties":{"type":{"const":"ADD_ZIPPER"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"path":{"$ref":"#/$defs/path"},"fastener":{"$ref":"#/$defs/fastener"},"fastenerType":{"type":"string","enum":["zipper","velcro","buttons","snaps"]},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId"],"additionalProperties":false,"anyOf":[{"required":["edgeId"]},{"required":["path"]}]},"ADD_FASTENER":{"type":"object","properties":{"type":{"const":"ADD_FASTENER"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"path":{"$ref":"#/$defs/path"},"fastener":{"$ref":"#/$defs/fastener"},"fastenerType":{"type":"string","enum":["zipper","velcro","buttons","snaps"]},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","path","fastenerType"],"additionalProperties":false},"ADD_FASTENER_PATH_PAIR":{"type":"object","properties":{"type":{"const":"ADD_FASTENER_PATH_PAIR"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"paths":{"type":"object","properties":{"from":{"$ref":"#/$defs/path"},"to":{"$ref":"#/$defs/path"}},"required":["from","to"],"additionalProperties":false},"fastener":{"$ref":"#/$defs/fastener"},"fastenerType":{"type":"string","enum":["zipper","velcro","buttons","snaps"]},"direction":{"type":"string","enum":["same","opposite"]},"parameterDirection":{"type":"string","enum":["same","opposite"]},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","paths"],"additionalProperties":false},"SET_FASTENER_SETTINGS":{"type":"object","properties":{"type":{"const":"SET_FASTENER_SETTINGS"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"settings":{"$ref":"#/$defs/fastener"},"fastener":{"$ref":"#/$defs/fastener"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","connectionId"],"additionalProperties":false,"anyOf":[{"required":["settings"]},{"required":["fastener"]}]},"SET_ZIPPER_SETTINGS":{"type":"object","properties":{"type":{"const":"SET_ZIPPER_SETTINGS"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"settings":{"$ref":"#/$defs/fastener"},"fastener":{"$ref":"#/$defs/fastener"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","connectionId"],"additionalProperties":false,"anyOf":[{"required":["settings"]},{"required":["fastener"]}]},"SET_ZIPPER_PATH":{"type":"object","properties":{"type":{"const":"SET_ZIPPER_PATH"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"path":{"$ref":"#/$defs/path"},"side":{"type":"string","enum":["from","to"]},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","connectionId","path"],"additionalProperties":false},"SET_STITCH_PARAMETER_DIRECTION":{"type":"object","properties":{"type":{"const":"SET_STITCH_PARAMETER_DIRECTION"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"creaseId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"sewingPathId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"referenceType":{"type":"string","enum":["edge","crease","sewing-path"]},"instanceId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"projection":{"type":"string","enum":["canonical","mirrored","derived"]},"ratio":{"type":"number","minimum":0,"maximum":1},"startRatio":{"type":"number","minimum":0,"maximum":1},"endRatio":{"type":"number","minimum":0,"maximum":1},"anchorRatio":{"type":"number","minimum":0,"maximum":1},"parameterDirection":{"type":"string","enum":["same","opposite"]},"side":{"type":"string","enum":["from","to"]},"segmentIndex":{"type":"integer","minimum":0,"maximum":1024},"entryKey":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","connectionId","parameterDirection"],"additionalProperties":false},"SPLIT_STITCH_SEGMENT":{"type":"object","properties":{"type":{"const":"SPLIT_STITCH_SEGMENT"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"creaseId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"sewingPathId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"referenceType":{"type":"string","enum":["edge","crease","sewing-path"]},"instanceId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"projection":{"type":"string","enum":["canonical","mirrored","derived"]},"ratio":{"type":"number","minimum":1e-06,"maximum":0.999999},"startRatio":{"type":"number","minimum":0,"maximum":1},"endRatio":{"type":"number","minimum":0,"maximum":1},"anchorRatio":{"type":"number","minimum":0,"maximum":1},"parameterDirection":{"type":"string","enum":["same","opposite"]},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","ratio"],"additionalProperties":false},"MOVE_STITCH_ANCHOR":{"type":"object","properties":{"type":{"const":"MOVE_STITCH_ANCHOR"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"side":{"type":"string","enum":["from","to"]},"anchorId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"anchor":{"$ref":"#/$defs/segment"},"ratio":{"type":"number","minimum":0,"maximum":1},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","connectionId","side","anchor","ratio"],"additionalProperties":false},"ADD_STITCH_ANCHOR":{"type":"object","properties":{"type":{"const":"ADD_STITCH_ANCHOR"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"side":{"type":"string","enum":["from","to"]},"anchorId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"anchor":{"$ref":"#/$defs/segment"},"ratio":{"type":"number","minimum":0,"maximum":1},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","connectionId","side","anchor","ratio"],"additionalProperties":false},"REMOVE_SEAM_CONNECTION":{"type":"object","properties":{"type":{"const":"REMOVE_SEAM_CONNECTION"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","connectionId"],"additionalProperties":false},"ADD_INTERNAL_SEWING_PATH":{"type":"object","properties":{"type":{"const":"ADD_INTERNAL_SEWING_PATH"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"pathId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"name":{"$ref":"#/$defs/label"},"path":{"$ref":"#/$defs/path"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","path"],"additionalProperties":false},"ADD_EDGE_TRANSFER_PATH":{"type":"object","properties":{"type":{"const":"ADD_EDGE_TRANSFER_PATH"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"pathId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"name":{"$ref":"#/$defs/label"},"sources":{"type":"array","items":{"$ref":"#/$defs/segment"},"minItems":1,"maxItems":64},"target":{"type":"object","properties":{"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"projection":{"type":"string","enum":["canonical"]},"instanceId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"anchor":{"$ref":"#/$defs/point"}},"required":["partId"],"additionalProperties":false},"placement":{"$ref":"#/$defs/placement"},"lengthScale":{"type":"number","minimum":0.6,"maximum":1.5},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"direction":{"type":"string","enum":["same","opposite"]},"parameterDirection":{"type":"string","enum":["same","opposite"]},"linkedUpdateMode":{"type":"string","enum":["observer","manual-anchors","linked"]},"rule":{"type":"string","enum":["internal-attachment","stitch-connection"]},"instances":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"minItems":0,"maxItems":128},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","sources","target"],"additionalProperties":false},"UPDATE_INTERNAL_SEWING_PATH":{"type":"object","properties":{"type":{"const":"UPDATE_INTERNAL_SEWING_PATH"},"pathId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"path":{"$ref":"#/$defs/path"},"placement":{"$ref":"#/$defs/placement"},"lengthScale":{"type":"number","minimum":0.6,"maximum":1.5},"name":{"$ref":"#/$defs/label"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","pathId"],"additionalProperties":false},"REMOVE_INTERNAL_SEWING_PATH":{"type":"object","properties":{"type":{"const":"REMOVE_INTERNAL_SEWING_PATH"},"pathId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","pathId"],"additionalProperties":false},"ADD_TACK":{"type":"object","properties":{"type":{"const":"ADD_TACK"},"tack":{"$ref":"#/$defs/tack"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","tack"],"additionalProperties":false},"UPDATE_TACK":{"type":"object","properties":{"type":{"const":"UPDATE_TACK"},"tackId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"patch":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"label":{"type":"string","maxLength":256},"from":{"$ref":"#/$defs/tackAnchor"},"to":{"$ref":"#/$defs/tackAnchor"},"radiusMm":{"type":"number","minimum":0.1,"maximum":100},"strength":{"type":"number","minimum":0,"maximum":1},"enabled":{"type":"boolean"}},"required":[],"additionalProperties":false,"minProperties":1},"from":{"$ref":"#/$defs/tackAnchor"},"to":{"$ref":"#/$defs/tackAnchor"},"radiusMm":{"type":"number","minimum":0.1,"maximum":100},"strength":{"type":"number","minimum":0,"maximum":1},"enabled":{"type":"boolean"},"label":{"type":"string","maxLength":256},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","tackId"],"additionalProperties":false},"REMOVE_TACK":{"type":"object","properties":{"type":{"const":"REMOVE_TACK"},"tackId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","tackId"],"additionalProperties":false},"ADD_PATTERN_CUTOUT":{"type":"object","properties":{"type":{"const":"ADD_PATTERN_CUTOUT"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"cutout":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"name":{"type":"string","maxLength":256},"path":{"type":"object","properties":{"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"closed":{"const":true},"knots":{"type":"array","items":{"$ref":"#/$defs/knot"},"minItems":3,"maxItems":128}},"required":["partId","knots"],"additionalProperties":false}},"required":["id","path"],"additionalProperties":false},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","cutout"],"additionalProperties":false},"UPDATE_PATTERN_CUTOUT":{"type":"object","properties":{"type":{"const":"UPDATE_PATTERN_CUTOUT"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"cutoutId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"patch":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"name":{"type":"string","maxLength":256},"path":{"type":"object","properties":{"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"closed":{"const":true},"knots":{"type":"array","items":{"$ref":"#/$defs/knot"},"minItems":3,"maxItems":128}},"required":["partId","knots"],"additionalProperties":false}},"required":[],"additionalProperties":false,"minProperties":1},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","cutoutId","patch"],"additionalProperties":false},"DELETE_PATTERN_CUTOUT":{"type":"object","properties":{"type":{"const":"DELETE_PATTERN_CUTOUT"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"cutoutId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","cutoutId"],"additionalProperties":false},"ADD_PATTERN_GUIDE":{"type":"object","properties":{"type":{"const":"ADD_PATTERN_GUIDE"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"guideType":{"type":"string","enum":["fold","symmetry"]},"line":{"$ref":"#/$defs/guide"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","guideType","line"],"additionalProperties":false},"UPDATE_PATTERN_GUIDE":{"type":"object","properties":{"type":{"const":"UPDATE_PATTERN_GUIDE"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"guideType":{"type":"string","enum":["fold","symmetry"]},"nextGuideType":{"type":"string","enum":["fold","symmetry"]},"from":{"$ref":"#/$defs/point"},"to":{"$ref":"#/$defs/point"},"foldedSide":{"type":"string","enum":["left","right"]},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","guideType"],"additionalProperties":false},"REMOVE_PATTERN_GUIDE":{"type":"object","properties":{"type":{"const":"REMOVE_PATTERN_GUIDE"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"guideType":{"type":"string","enum":["fold","symmetry"]},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","guideType"],"additionalProperties":false},"ADD_CREASE":{"type":"object","properties":{"type":{"const":"ADD_CREASE"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"line":{"$ref":"#/$defs/crease"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","line"],"additionalProperties":false},"UPDATE_CREASE":{"type":"object","properties":{"type":{"const":"UPDATE_CREASE"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"creaseId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"patch":{"$ref":"#/$defs/crease"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","creaseId","patch"],"additionalProperties":false},"REMOVE_CREASE":{"type":"object","properties":{"type":{"const":"REMOVE_CREASE"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"creaseId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId","creaseId"],"additionalProperties":false},"SET_PART_SYMMETRY_SETTINGS":{"type":"object","properties":{"type":{"const":"SET_PART_SYMMETRY_SETTINGS"},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"enabled":{"type":"boolean"},"mirrorPair":{"type":"boolean"},"mirrorPreviewEnabled":{"type":"boolean"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","partId"],"additionalProperties":false},"ADD_REFERENCE_IMAGE":{"type":"object","properties":{"type":{"const":"ADD_REFERENCE_IMAGE"},"imageId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"sourceImageId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"partId":{"anyOf":[{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},{"type":"null"}]},"name":{"type":"string","maxLength":256},"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."},"sourceDataUrl":{"type":"string","maxLength":196608,"pattern":"^data:image/(?:png|jpeg|jpg|gif|webp);base64,[A-Za-z0-9+/]+={0,2}$","description":"Self-contained local raster bytes. Never a network URL."},"widthMm":{"type":"number","minimum":0.001,"maximum":100000},"heightMm":{"type":"number","minimum":0.001,"maximum":100000},"rotationDeg":{"type":"number","minimum":-36000,"maximum":36000},"opacity":{"type":"number","minimum":0,"maximum":1},"layer":{"type":"string","enum":["under","over"]},"visible":{"type":"boolean"}},"required":["type","imageId"],"additionalProperties":false,"oneOf":[{"required":["sourceImageId"]},{"required":["sourceDataUrl"]}]},"MOVE_REFERENCE_IMAGE":{"type":"object","properties":{"type":{"const":"MOVE_REFERENCE_IMAGE"},"imageId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"targetPartId":{"anyOf":[{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},{"type":"null"}]},"targetImageId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"position":{"type":"string","enum":["before","after","end"]},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","imageId"],"additionalProperties":false},"UPDATE_REFERENCE_IMAGE":{"type":"object","properties":{"type":{"const":"UPDATE_REFERENCE_IMAGE"},"imageId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"patch":{"$ref":"#/$defs/referencePatch"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","imageId","patch"],"additionalProperties":false},"REMOVE_REFERENCE_IMAGE":{"type":"object","properties":{"type":{"const":"REMOVE_REFERENCE_IMAGE"},"imageId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","imageId"],"additionalProperties":false},"TOGGLE_REFERENCE_IMAGE_VISIBILITY":{"type":"object","properties":{"type":{"const":"TOGGLE_REFERENCE_IMAGE_VISIBILITY"},"imageId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"visible":{"type":"boolean"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","imageId"],"additionalProperties":false},"SET_REFERENCE_IMAGE_TRANSFORM":{"type":"object","properties":{"type":{"const":"SET_REFERENCE_IMAGE_TRANSFORM"},"imageId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"transform":{"$ref":"#/$defs/referencePatch"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","imageId","transform"],"additionalProperties":false},"SET_REFERENCE_IMAGE_CALIBRATION":{"type":"object","properties":{"type":{"const":"SET_REFERENCE_IMAGE_CALIBRATION"},"imageId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"calibration":{"anyOf":[{"$ref":"#/$defs/calibration"},{"type":"null"}]},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","imageId","calibration"],"additionalProperties":false},"SET_REFERENCE_IMAGES_VISIBILITY":{"type":"object","properties":{"type":{"const":"SET_REFERENCE_IMAGES_VISIBILITY"},"visible":{"type":"boolean"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","visible"],"additionalProperties":false},"ADD_MEASUREMENT_LINE":{"type":"object","properties":{"type":{"const":"ADD_MEASUREMENT_LINE"},"measurementLineId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"line":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"from":{"$ref":"#/$defs/point"},"to":{"$ref":"#/$defs/point"},"visible":{"type":"boolean"}},"required":["from","to"],"additionalProperties":false},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","line"],"additionalProperties":false},"MOVE_MEASUREMENT_LINE":{"type":"object","properties":{"type":{"const":"MOVE_MEASUREMENT_LINE"},"measurementLineId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"transform":{"type":"object","properties":{"from":{"$ref":"#/$defs/point"},"to":{"$ref":"#/$defs/point"},"dxMm":{"type":"number","minimum":-100000,"maximum":100000},"dyMm":{"type":"number","minimum":-100000,"maximum":100000}},"required":[],"additionalProperties":false},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","measurementLineId","transform"],"additionalProperties":false},"REMOVE_MEASUREMENT_LINE":{"type":"object","properties":{"type":{"const":"REMOVE_MEASUREMENT_LINE"},"measurementLineId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","measurementLineId"],"additionalProperties":false},"SET_MEASUREMENT_LINES_VISIBILITY":{"type":"object","properties":{"type":{"const":"SET_MEASUREMENT_LINES_VISIBILITY"},"visible":{"type":"boolean"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","visible"],"additionalProperties":false},"ADD_ROPE":{"type":"object","properties":{"type":{"const":"ADD_ROPE"},"rope":{"$ref":"#/$defs/rope"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","rope"],"additionalProperties":false},"UPDATE_ROPE":{"type":"object","properties":{"type":{"const":"UPDATE_ROPE"},"ropeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"patch":{"$ref":"#/$defs/rope"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","ropeId","patch"],"additionalProperties":false},"REMOVE_ROPE":{"type":"object","properties":{"type":{"const":"REMOVE_ROPE"},"ropeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","ropeId"],"additionalProperties":false},"SET_ROPE_PHYSICS_PRESET":{"type":"object","properties":{"type":{"const":"SET_ROPE_PHYSICS_PRESET"},"presetId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"values":{"$ref":"#/$defs/ropePhysics"},"presetDefinition":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"label":{"type":"string","maxLength":256},"values":{"$ref":"#/$defs/ropePhysics"}},"required":[],"additionalProperties":false,"minProperties":1},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","presetId"],"additionalProperties":false,"anyOf":[{"required":["values"]},{"required":["presetDefinition"]}]},"ADD_ROPE_ATTACHMENT":{"type":"object","properties":{"type":{"const":"ADD_ROPE_ATTACHMENT"},"ropeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"attachment":{"$ref":"#/$defs/ropeAttachment"},"index":{"type":"integer","minimum":0,"maximum":128},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","ropeId","attachment"],"additionalProperties":false},"UPDATE_ROPE_ATTACHMENT":{"type":"object","properties":{"type":{"const":"UPDATE_ROPE_ATTACHMENT"},"ropeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"attachmentId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"patch":{"$ref":"#/$defs/ropeAttachment"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","ropeId","attachmentId","patch"],"additionalProperties":false},"REMOVE_ROPE_ATTACHMENT":{"type":"object","properties":{"type":{"const":"REMOVE_ROPE_ATTACHMENT"},"ropeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"attachmentId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","ropeId","attachmentId"],"additionalProperties":false},"ADD_ROPE_KNOT":{"type":"object","properties":{"type":{"const":"ADD_ROPE_KNOT"},"ropeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"knot":{"$ref":"#/$defs/ropeKnot"},"index":{"type":"integer","minimum":0,"maximum":256},"knotId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"attachment":{"$ref":"#/$defs/ropeAttachment"},"segmentIndex":{"type":"integer","minimum":0,"maximum":255},"segmentT":{"type":"number","minimum":2e-06,"maximum":0.999998},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","ropeId"],"additionalProperties":false},"UPDATE_ROPE_KNOT":{"type":"object","properties":{"type":{"const":"UPDATE_ROPE_KNOT"},"ropeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"knotId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"patch":{"$ref":"#/$defs/point"},"attachment":{"$ref":"#/$defs/ropeAttachment"},"removeAttachment":{"type":"boolean"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","ropeId","knotId"],"additionalProperties":false},"UPDATE_ROPE_KNOTS":{"type":"object","properties":{"type":{"const":"UPDATE_ROPE_KNOTS"},"ropeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"updates":{"type":"array","items":{"type":"object","properties":{"knotId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000}},"required":["knotId"],"additionalProperties":false},"minItems":1,"maxItems":128},"placements":{"type":"array","items":{"type":"object","properties":{"knotId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"attachment":{"$ref":"#/$defs/ropeAttachment"},"removeAttachment":{"type":"boolean"}},"required":["knotId"],"additionalProperties":false},"minItems":0,"maxItems":128},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","ropeId","updates"],"additionalProperties":false},"REMOVE_ROPE_KNOT":{"type":"object","properties":{"type":{"const":"REMOVE_ROPE_KNOT"},"ropeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"knotId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","ropeId","knotId"],"additionalProperties":false},"REMOVE_ROPE_KNOTS":{"type":"object","properties":{"type":{"const":"REMOVE_ROPE_KNOTS"},"ropeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"knotIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"minItems":1,"maxItems":128},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","ropeId","knotIds"],"additionalProperties":false},"ADD_ROPE_KNOT_HANDLES":{"type":"object","properties":{"type":{"const":"ADD_ROPE_KNOT_HANDLES"},"ropeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"knotId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"handleType":{"type":"string","enum":["in","out","both"]},"handleMode":{"type":"string","enum":["independent","aligned","mirrored"]},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","ropeId","knotId"],"additionalProperties":false},"REMOVE_ROPE_KNOT_HANDLES":{"type":"object","properties":{"type":{"const":"REMOVE_ROPE_KNOT_HANDLES"},"ropeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"knotId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"handleType":{"type":"string","enum":["in","out","both"]},"handleMode":{"type":"string","enum":["independent","aligned","mirrored"]},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","ropeId","knotId"],"additionalProperties":false},"UPDATE_ROPE_KNOT_HANDLE":{"type":"object","properties":{"type":{"const":"UPDATE_ROPE_KNOT_HANDLE"},"ropeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"knotId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"handleType":{"type":"string","enum":["in","out"]},"handleMode":{"type":"string","enum":["independent","aligned","mirrored"]},"vector":{"$ref":"#/$defs/point"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","ropeId","knotId","handleType","vector"],"additionalProperties":false},"DRAG_ROPE_KNOT_HANDLE":{"type":"object","properties":{"type":{"const":"DRAG_ROPE_KNOT_HANDLE"},"ropeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"knotId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"handleType":{"type":"string","enum":["in","out"]},"handleMode":{"type":"string","enum":["independent","aligned","mirrored"]},"vector":{"$ref":"#/$defs/point"},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean","description":"Keep symmetry propagation independent from automatic sewn-edge length adjustment."}},"required":["type","ropeId","knotId","handleType","vector"],"additionalProperties":false},"command":{"oneOf":[{"$ref":"#/$defs/ADD_PATTERN_PART"},{"$ref":"#/$defs/REMOVE_PATTERN_PART"},{"$ref":"#/$defs/SET_PART_NAME"},{"$ref":"#/$defs/SET_PART_MODEL_INCLUSION"},{"$ref":"#/$defs/SET_PART_MATERIAL"},{"$ref":"#/$defs/APPLY_PART_MATERIAL_PRESET"},{"$ref":"#/$defs/SET_MATERIAL_PHYSICS"},{"$ref":"#/$defs/MOVE_POINT"},{"$ref":"#/$defs/MOVE_POINTS"},{"$ref":"#/$defs/SET_PART_DIMENSION"},{"$ref":"#/$defs/SET_EDGE_LENGTH"},{"$ref":"#/$defs/SET_SEAM_ALLOWANCE"},{"$ref":"#/$defs/MOVE_EDGE"},{"$ref":"#/$defs/SMOOTH_EDGE"},{"$ref":"#/$defs/MIRROR_PART"},{"$ref":"#/$defs/ADD_POINT_ON_EDGE"},{"$ref":"#/$defs/REMOVE_POINT"},{"$ref":"#/$defs/ADD_BEZIER_HANDLES"},{"$ref":"#/$defs/DRAG_BEZIER_HANDLE"},{"$ref":"#/$defs/SET_BEZIER_HANDLE_ENABLED"},{"$ref":"#/$defs/SET_BEZIER_HANDLE_MODE"},{"$ref":"#/$defs/ADD_GRADING_SIZE"},{"$ref":"#/$defs/RENAME_GRADING_SIZE"},{"$ref":"#/$defs/REMOVE_GRADING_SIZE"},{"$ref":"#/$defs/SET_GRADING_VALUE"},{"$ref":"#/$defs/SET_BASE_SIZE"},{"$ref":"#/$defs/SET_MANNEQUIN_SIZE_SETTINGS"},{"$ref":"#/$defs/SET_SEAM_CONNECTION"},{"$ref":"#/$defs/CONNECT_STITCH_EDGES"},{"$ref":"#/$defs/CONNECT_STITCH_SEGMENTS"},{"$ref":"#/$defs/CONNECT_FASTENER_SEGMENTS"},{"$ref":"#/$defs/SET_SEAM_CONNECTION_NAME"},{"$ref":"#/$defs/SET_SEAM_DISTRIBUTION"},{"$ref":"#/$defs/SET_SEAM_CONNECTION_TYPE"},{"$ref":"#/$defs/ADD_ZIPPER"},{"$ref":"#/$defs/ADD_FASTENER"},{"$ref":"#/$defs/ADD_FASTENER_PATH_PAIR"},{"$ref":"#/$defs/SET_FASTENER_SETTINGS"},{"$ref":"#/$defs/SET_ZIPPER_SETTINGS"},{"$ref":"#/$defs/SET_ZIPPER_PATH"},{"$ref":"#/$defs/SET_STITCH_PARAMETER_DIRECTION"},{"$ref":"#/$defs/SPLIT_STITCH_SEGMENT"},{"$ref":"#/$defs/MOVE_STITCH_ANCHOR"},{"$ref":"#/$defs/ADD_STITCH_ANCHOR"},{"$ref":"#/$defs/REMOVE_SEAM_CONNECTION"},{"$ref":"#/$defs/ADD_INTERNAL_SEWING_PATH"},{"$ref":"#/$defs/ADD_EDGE_TRANSFER_PATH"},{"$ref":"#/$defs/UPDATE_INTERNAL_SEWING_PATH"},{"$ref":"#/$defs/REMOVE_INTERNAL_SEWING_PATH"},{"$ref":"#/$defs/ADD_TACK"},{"$ref":"#/$defs/UPDATE_TACK"},{"$ref":"#/$defs/REMOVE_TACK"},{"$ref":"#/$defs/ADD_PATTERN_CUTOUT"},{"$ref":"#/$defs/UPDATE_PATTERN_CUTOUT"},{"$ref":"#/$defs/DELETE_PATTERN_CUTOUT"},{"$ref":"#/$defs/ADD_PATTERN_GUIDE"},{"$ref":"#/$defs/UPDATE_PATTERN_GUIDE"},{"$ref":"#/$defs/REMOVE_PATTERN_GUIDE"},{"$ref":"#/$defs/ADD_CREASE"},{"$ref":"#/$defs/UPDATE_CREASE"},{"$ref":"#/$defs/REMOVE_CREASE"},{"$ref":"#/$defs/SET_PART_SYMMETRY_SETTINGS"},{"$ref":"#/$defs/ADD_REFERENCE_IMAGE"},{"$ref":"#/$defs/MOVE_REFERENCE_IMAGE"},{"$ref":"#/$defs/UPDATE_REFERENCE_IMAGE"},{"$ref":"#/$defs/REMOVE_REFERENCE_IMAGE"},{"$ref":"#/$defs/TOGGLE_REFERENCE_IMAGE_VISIBILITY"},{"$ref":"#/$defs/SET_REFERENCE_IMAGE_TRANSFORM"},{"$ref":"#/$defs/SET_REFERENCE_IMAGE_CALIBRATION"},{"$ref":"#/$defs/SET_REFERENCE_IMAGES_VISIBILITY"},{"$ref":"#/$defs/ADD_MEASUREMENT_LINE"},{"$ref":"#/$defs/MOVE_MEASUREMENT_LINE"},{"$ref":"#/$defs/REMOVE_MEASUREMENT_LINE"},{"$ref":"#/$defs/SET_MEASUREMENT_LINES_VISIBILITY"},{"$ref":"#/$defs/ADD_ROPE"},{"$ref":"#/$defs/UPDATE_ROPE"},{"$ref":"#/$defs/REMOVE_ROPE"},{"$ref":"#/$defs/SET_ROPE_PHYSICS_PRESET"},{"$ref":"#/$defs/ADD_ROPE_ATTACHMENT"},{"$ref":"#/$defs/UPDATE_ROPE_ATTACHMENT"},{"$ref":"#/$defs/REMOVE_ROPE_ATTACHMENT"},{"$ref":"#/$defs/ADD_ROPE_KNOT"},{"$ref":"#/$defs/UPDATE_ROPE_KNOT"},{"$ref":"#/$defs/UPDATE_ROPE_KNOTS"},{"$ref":"#/$defs/REMOVE_ROPE_KNOT"},{"$ref":"#/$defs/REMOVE_ROPE_KNOTS"},{"$ref":"#/$defs/ADD_ROPE_KNOT_HANDLES"},{"$ref":"#/$defs/REMOVE_ROPE_KNOT_HANDLES"},{"$ref":"#/$defs/UPDATE_ROPE_KNOT_HANDLE"},{"$ref":"#/$defs/DRAG_ROPE_KNOT_HANDLE"},{"$ref":"#/$defs/SET_STITCH_SEGMENT_RANGE"}]},"SET_STITCH_SEGMENT_RANGE":{"type":"object","properties":{"type":{"const":"SET_STITCH_SEGMENT_RANGE"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"side":{"type":"string","enum":["from","to"]},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"referenceType":{"type":"string","enum":["edge","crease","sewing-path"]},"instanceId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"projection":{"type":"string","enum":["canonical","mirrored","derived"]},"startRatio":{"type":"number","minimum":0,"maximum":1},"endRatio":{"type":"number","minimum":0,"maximum":1},"segmentIndex":{"type":"integer","minimum":0},"entryKey":{"type":"string","minLength":1,"maxLength":1024},"endpoint":{"type":"string","enum":["start","end"]},"ratio":{"type":"number","minimum":0,"maximum":1},"propagationMode":{"type":"string","enum":["auto","none"]},"linkedUpdates":{"type":"boolean"}},"required":["type","connectionId","side","partId","edgeId","endpoint","ratio"],"additionalProperties":false}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}},{"name":"pg_create_pattern","description":"Create a new custom pattern from an editable primitive or a simple polygon of 3–64 outline vertices. Polygon coordinates are local millimetres; xMm/yMm position it on the 2D canvas. If both coordinates are omitted, place it in free space beside existing parts. The part and outline are one Undo step. This does not position it in 3D: use pg_place_pattern_on_pattern for a patch pocket before simulation.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"expectedRevision":{"type":"integer","minimum":0},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"name":{"$ref":"#/$defs/label"},"shapeType":{"type":"string","enum":["rectangle","pocket-rounded","pocket-pointed","pocket-beveled","pocket-cargo-bellows","pocket-internal-rounded","pocket-internal-slanted","pocket-internal-welt"]},"widthMm":{"type":"number","minimum":0.1,"maximum":10000},"heightMm":{"type":"number","minimum":0.1,"maximum":10000},"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000},"rotationDeg":{"type":"number","minimum":-36000,"maximum":36000},"seamAllowanceMm":{"type":"number","minimum":0,"maximum":1000},"materialId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"outline":{"type":"array","items":{"$ref":"#/$defs/point"},"minItems":3,"maxItems":64}},"required":["projectId","expectedRevision","partId"],"additionalProperties":false,"$defs":{"point":{"type":"object","properties":{"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000}},"required":["xMm","yMm"],"additionalProperties":false},"label":{"anyOf":[{"type":"string","maxLength":256},{"type":"object","properties":{"pl":{"type":"string","maxLength":256},"en":{"type":"string","maxLength":256}},"required":[],"additionalProperties":false,"minProperties":1}]}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}},{"name":"pg_add_zipper","description":"Add a zipper on an eligible symmetry edge or an arbitrary bounded Bezier path on a pattern. An explicit fastenerType (zipper, buttons, snaps or velcro) is preserved; non-zipper fasteners require a custom path. Use pg_apply_project_commands for a paired fastener.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"expectedRevision":{"type":"integer","minimum":0},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"path":{"$ref":"#/$defs/path"},"fastener":{"$ref":"#/$defs/fastener"},"fastenerType":{"type":"string","enum":["zipper","velcro","buttons","snaps"]}},"required":["projectId","expectedRevision","partId"],"additionalProperties":false,"$defs":{"path":{"type":"object","properties":{"schemaVersion":{"const":1},"type":{"type":"string","enum":["cubic-bezier"]},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"closed":{"type":"boolean"},"knots":{"type":"array","items":{"$ref":"#/$defs/knot"},"minItems":2,"maxItems":128}},"required":["partId","knots"],"additionalProperties":false},"knot":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000},"handleIn":{"anyOf":[{"type":"object","properties":{"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000}},"required":["xMm","yMm"],"additionalProperties":false},{"type":"null"}]},"handleOut":{"anyOf":[{"type":"object","properties":{"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000}},"required":["xMm","yMm"],"additionalProperties":false},{"type":"null"}]},"handleMode":{"type":"string","enum":["free","smooth","aligned","mirrored"]},"attachment":{"anyOf":[{"$ref":"#/$defs/attachment"},{"type":"null"}]}},"required":["xMm","yMm"],"additionalProperties":false},"point":{"type":"object","properties":{"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000}},"required":["xMm","yMm"],"additionalProperties":false},"attachment":{"type":"object","properties":{"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"instanceId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"projection":{"type":"string","enum":["canonical","mirrored","derived"]},"ratio":{"type":"number","minimum":0,"maximum":1}},"required":["edgeId","ratio"],"additionalProperties":false},"fastener":{"type":"object","properties":{"type":{"type":"string","enum":["zipper","velcro","buttons","snaps"]},"openCount":{"type":"integer","minimum":0,"maximum":24},"attachmentPosition":{"type":"number","minimum":0,"maximum":1},"openRatio":{"type":"number","minimum":0,"maximum":1},"openFrom":{"type":"string","enum":["start","end"]},"separating":{"type":"boolean"},"strengthMultiplier":{"type":"number","minimum":0.25,"maximum":4},"overlapMm":{"type":"number","minimum":0,"maximum":500},"overlapPosition":{"type":"number","minimum":0,"maximum":1},"overlapOrder":{"type":"string","enum":["from-over-to","to-over-from"]},"layerGapMm":{"type":"number","minimum":0.1,"maximum":10},"itemCount":{"type":"integer","minimum":1,"maximum":24},"path":{"$ref":"#/$defs/path"},"paths":{"type":"object","properties":{"from":{"$ref":"#/$defs/path"},"to":{"$ref":"#/$defs/path"}},"required":["from","to"],"additionalProperties":false}},"required":[],"additionalProperties":false}},"anyOf":[{"required":["edgeId"]},{"required":["path"]}]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}},{"name":"pg_connect_seams","description":"Connect two outline, crease or internal-sewing-path segments, preserving instance/projection and partial parameter-range identity. Outline example: {partId:\"pocket\",edgeId:\"left\"}; surface-line example: {partId:\"front\",sewingPathId:\"pocket-on-front\",referenceType:\"sewing-path\"}. For an open outline chain transferred to the interior of another part, prefer pg_transfer_sewing_edges, which also creates its observer path. Returns new seam IDs as one Undo step; read pg_get_sewing_state to verify actual source/target connections.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"expectedRevision":{"type":"integer","minimum":0},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"from":{"$ref":"#/$defs/segment"},"to":{"$ref":"#/$defs/segment"},"direction":{"type":"string","enum":["same","opposite"]},"parameterDirection":{"type":"string","enum":["same","opposite"]},"toleranceMm":{"type":"number","minimum":0,"maximum":1000},"rule":{"type":"string","enum":["stitch-connection","fastener-connection","tension-allowed","equal-length"]},"linkedUpdateMode":{"type":"string","enum":["manual-anchors","linked","ratio","derived","observer","bidirectional-match-length","derived-proportional","body-drives-sleeve-curve"]},"distribution":{"$ref":"#/$defs/distribution"}},"required":["projectId","expectedRevision","from","to"],"additionalProperties":false,"$defs":{"segment":{"type":"object","properties":{"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"creaseId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"sewingPathId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"referenceType":{"type":"string","enum":["edge","crease","sewing-path"]},"instanceId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"projection":{"type":"string","enum":["canonical","mirrored","derived"]},"ratio":{"type":"number","minimum":0,"maximum":1},"startRatio":{"type":"number","minimum":0,"maximum":1},"endRatio":{"type":"number","minimum":0,"maximum":1},"anchorRatio":{"type":"number","minimum":0,"maximum":1},"parameterDirection":{"type":"string","enum":["same","opposite"]}},"required":["partId"],"additionalProperties":false,"anyOf":[{"required":["edgeId"]},{"required":["creaseId"]},{"required":["sewingPathId"]}]},"distribution":{"type":"object","properties":{"mode":{"type":"string","enum":["linear","accordion"]},"sizingMode":{"type":"string","enum":["count","spacing"]},"foldCount":{"type":"integer","minimum":1,"maximum":96},"spacingMm":{"type":"number","minimum":1,"maximum":1000},"passesPerFold":{"type":"integer","minimum":3,"maximum":9},"startDirection":{"type":"string","enum":["same","opposite"]}},"required":["mode"],"additionalProperties":false}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}},{"name":"pg_get_project_section","description":"Read bounded local authored records. For complete nested geometry/metadata pagination supply recordId and path (array of field names or array indices), then offset/limit. Media and private fields are omitted. The mannequinSizes section returns only sizing flags, preset identity, base and profile measurements; source assets are omitted.","inputSchema":{"type":"object","properties":{"section":{"type":"string","enum":["parts","seams","ropes","tacks","references","measurements","internalSewingPaths","materials","grading","ropePhysicsPresets","mannequinSizes"]},"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":25},"recordId":{"type":"string","minLength":1,"maxLength":1024},"path":{"type":"array","maxItems":40,"items":{"type":"string","minLength":1,"maxLength":1024}}},"required":["section"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pg_get_command_catalog","description":"Discover schema-validated project command names, domains, exclusions and primitive IDs. Request one commandType to obtain its complete input schema; all listed commands operate in the browser.","inputSchema":{"type":"object","properties":{"commandType":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"offset":{"type":"integer","minimum":0,"maximum":1000},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pg_transfer_sewing_edges","description":"Use the native Edge Transfer tool to attach one open continuous outline-edge chain from a source pattern onto the interior of another pattern. Creates its observer sewing path and internal-attachment seam atomically as one Undo step. Coordinates and placement anchor use target-part local millimetres. Native validation rejects disconnected/closed chains, unsupported projections and paths outside the target. For an open-top patch pocket, provide only its three joining sides and target the garment front; making two pocket parts is not this attachment. Read pg_get_sewing_state afterward; authored connections do not prove live solver constraints. Full curves and partial straight edges are supported. Partial curved/polyline ranges fail with AMBIGUOUS_CURVE_RANGE because native observer arc-length sampling differs from sewn-edge curve-parameter sampling; this tool does not change the solver. This authors sewing only; it does not move the source panel in 2D or 3D. Use pg_place_pattern_on_pattern to arrange a patch pocket in front of the target panel before simulation, then inspect compiled sewing.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"expectedRevision":{"type":"integer","minimum":0},"pathId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"connectionId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"name":{"$ref":"#/$defs/label"},"sources":{"type":"array","minItems":1,"maxItems":64,"items":{"type":"object","properties":{"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"edgeId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"startRatio":{"type":"number","minimum":0,"maximum":1},"endRatio":{"type":"number","minimum":0,"maximum":1},"parameterDirection":{"type":"string","enum":["same","opposite"]}},"required":["partId","edgeId"],"additionalProperties":false}},"target":{"type":"object","properties":{"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"anchor":{"$ref":"#/$defs/point"}},"required":["partId","anchor"],"additionalProperties":false},"placement":{"type":"object","properties":{"sourceAnchorRatio":{"type":"number","minimum":0,"maximum":1},"rotationDeg":{"type":"number","minimum":-36000,"maximum":36000},"scale":{"type":"number","minimum":0.001,"maximum":100},"flip":{"type":"boolean"}},"additionalProperties":false},"lengthScale":{"type":"number","minimum":0.6,"maximum":1.5},"direction":{"type":"string","enum":["same","opposite"]},"parameterDirection":{"type":"string","enum":["same","opposite"]}},"required":["projectId","expectedRevision","pathId","sources","target"],"additionalProperties":false,"$defs":{"point":{"type":"object","properties":{"xMm":{"type":"number","minimum":-100000,"maximum":100000},"yMm":{"type":"number","minimum":-100000,"maximum":100000}},"required":["xMm","yMm"],"additionalProperties":false},"label":{"anyOf":[{"type":"string","maxLength":256},{"type":"object","properties":{"pl":{"type":"string","maxLength":256},"en":{"type":"string","maxLength":256}},"required":[],"additionalProperties":false,"minProperties":1}]}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}},{"name":"pg_get_sewing_state","description":"Read bounded canonical/base-pattern sewing geometry and authored attachments for an existing part. These are not active graded-size measurements or simulated 3D coordinates. sections: edges returns native edge lengths/endpoints and seam-covered versus unsewn ranges by authored projection; paths returns resolved internal/observer path placement, sampled length and target-fit; connections returns actual source/target references, orientation and length differences. Fasteners are listed separately from continuous sewn ranges. This does not build/run the solver, inspect 3D gaps or prove live constraint presence; use pg_get_runtime_state after simulation. References default to16 per side/source, max32; use recordId and referenceOffset/referenceLimit to page a long connection or path. Side totals/differences are null until a complete side was inspected; pathological paths over native source/knots bounds remain uninspected. Edge references use native curve parameters; transferred observer sources use native arc fractions. Existing partial curved transfers are flagged as potentially mismatched. Path endpoint gaps are target-local 2D distances, not simulated 3D gaps.","inputSchema":{"type":"object","properties":{"partId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"section":{"type":"string","enum":["edges","paths","connections"]},"recordId":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9_.:@~\\[\\](),%+|=-]+$"},"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":25},"referenceOffset":{"type":"integer","minimum":0,"maximum":100000},"referenceLimit":{"type":"integer","minimum":1,"maximum":32}},"required":["partId"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pg_get_body_measurements","description":"Read the current native mannequin body contours in millimetres, authored height, calibrated ranges, readiness, physical proportions, silhouette weights and local preset availability. Requires the loaded human mannequin in Silhouette mode with animation/simulation stopped for current contour values. Loading/preview/fitting values are withheld rather than reporting retained display numbers. Shoulders is across-back surface-path width; limb circumferences average both sides; female chest is bust. Abdomen is the authored abdominal/waist station, not an alias for natural waist. Underbust, bra cup, inseam and unsupported human dimensions are reported explicitly. This is mannequin geometry, not a garment size chart or a clothing-fit guarantee. Read pg_get_grading separately for garment measurements.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_set_body_measurement","description":"Fit exactly one supported native mannequin contour to targetMm using the same awaited local fitter and Undo transaction as the Silhouette UI. Read pg_get_body_measurements first; the body and that contour's calibrated range must be ready and the target must be inside its current bounds. Shoulders is width; all other supported regions are circumferences. Natural waist, underbust, bra cup and inseam aliases are not accepted. Returns the real native measurementFit status, including matched/limited/unavailable and residual; this operation does not create a jobId. Re-read body measurements until readiness is stable, compare actual values, and then fit the next target: height and silhouette regions are coupled, so one fit can change earlier targets. A completed or limited fit does not guarantee a matched target or garment fit. No save, backend request, or joint multi-measurement fitting.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"regionId":{"type":"string","enum":["headNeck","chest","abdomen","shoulders","biceps","forearms","buttocks","thighs","calves"]},"targetMm":{"type":"number","minimum":1,"maximum":5000}},"required":["projectId","expectedRevision","regionId","targetMm"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_get_runtime_state","description":"Read the browser runtime state, mannequin bones/measurements, bindings, pins, collider IDs, panel curves and simulation/bake capabilities. Returns bounded metadata; no GLB, textures, GPU buffers or backend request. Includes native capabilities, current wind/collision/profile, animation catalog/rate, view and bake options, counts and next offsets. section:sewing reads only an existing running/paused simulation's compiled seam groups and unresolved reasons, paginated with offset/limit; connectionId filters exact runtime IDs. It never builds topology or proves visual fit/current fastener closure. Use pg_get_sewing_state separately for authored base geometry. Use bindingId and sampleOffset/sampleLimit for every binding sample.","inputSchema":{"type":"object","properties":{"section":{"type":"string","enum":["all","mannequin","simulation","bindings","pins","colliders","panels","scene","measurements","ropes","sewing"]},"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":100},"bindingId":{"type":"string","minLength":1,"maxLength":160},"connectionId":{"type":"string","minLength":1,"maxLength":2048,"description":"Exact connection ID from compiled sewing runtime metadata; expanded instance IDs may differ from authored IDs. Used only by section:sewing."},"sampleOffset":{"type":"integer","minimum":0,"maximum":100000},"sampleLimit":{"type":"integer","minimum":1,"maximum":100}},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_set_mannequin","description":"Select a locally available mannequin preset and edit height, material/appearance, arm angle, breast jiggle, opt-in display with published products and procedural box/tube controls. Uncached backend models fail LOCAL_ASSET_REQUIRED before selection; UI-loaded cached models or imported local/bundled resources are supported. Read localAssets and valid preset ranges first.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"presetId":{"type":"string","minLength":1,"maxLength":160},"settings":{"type":"object","properties":{"heightM":{"type":"number","minimum":0.01,"maximum":10},"upperArmDownAngleDeg":{"type":"number","minimum":20,"maximum":75},"mannequinBreastJiggleIntensity":{"type":"number","minimum":0,"maximum":2},"appearance":{"type":"string","enum":["solid","transparent"]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"opacity":{"type":"number","minimum":0.05,"maximum":0.95},"roughness":{"type":"number","minimum":0,"maximum":1},"metalness":{"type":"number","minimum":0,"maximum":1},"widthM":{"type":"number","minimum":0.01,"maximum":10},"depthM":{"type":"number","minimum":0.01,"maximum":10},"lengthM":{"type":"number","minimum":0.01,"maximum":10},"diameterM":{"type":"number","minimum":0.01,"maximum":10},"bevelM":{"type":"number","minimum":0,"maximum":5},"bevelSegments":{"type":"integer","minimum":1,"maximum":16},"elevationM":{"type":"number","minimum":-10,"maximum":10},"endRoundnessM":{"type":"number","minimum":0,"maximum":5},"positionXM":{"type":"number","minimum":-100,"maximum":100},"positionZM":{"type":"number","minimum":-100,"maximum":100},"rotationXDeg":{"type":"number","minimum":-180,"maximum":180},"rotationYDeg":{"type":"number","minimum":-180,"maximum":180},"rotationZDeg":{"type":"number","minimum":-180,"maximum":180},"showInProduct":{"type":"boolean"}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision"],"additionalProperties":false,"anyOf":[{"required":["presetId"]},{"required":["settings"]}]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_set_mannequin_silhouette","description":"Edit authored anatomical silhouette weights (-0.3 slimmer through 1 fuller), reset them, or await the native local fit of one region to targetCm. Shoulders is width; the other regions are circumferences. Returns mannequin.measurementFit with real fitting/matched/limited/unavailable status, convergence and residual metadata; no jobId is created. Prefer pg_get_body_measurements and pg_set_body_measurement for explicit millimetre units and calibrated-range validation. After fitting, re-read all body targets until readiness is stable because regions and height are coupled. A completed fit is not a garment-fit guarantee.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"weights":{"type":"object","properties":{"headNeck":{"type":"number","minimum":-0.3,"maximum":1},"chest":{"type":"number","minimum":-0.3,"maximum":1},"abdomen":{"type":"number","minimum":-0.3,"maximum":1},"shoulders":{"type":"number","minimum":-0.3,"maximum":1},"biceps":{"type":"number","minimum":-0.3,"maximum":1},"forearms":{"type":"number","minimum":-0.3,"maximum":1},"buttocks":{"type":"number","minimum":-0.3,"maximum":1},"thighs":{"type":"number","minimum":-0.3,"maximum":1},"calves":{"type":"number","minimum":-0.3,"maximum":1}},"required":[],"additionalProperties":false,"minProperties":1},"measurement":{"type":"object","properties":{"regionId":{"type":"string","enum":["headNeck","chest","abdomen","shoulders","biceps","forearms","buttocks","thighs","calves"]},"targetCm":{"type":"number","minimum":0.1,"maximum":500}},"required":["regionId","targetCm"],"additionalProperties":false},"reset":{"type":"boolean"}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_set_mannequin_pose","description":"Set local transforms on named bones, apply the existing arm-down pose preset, or reset named/all pose bones. Position uses the loaded bone local source units; read runtime bone transforms first. Quaternion XYZW and scale XYZ. space:auto edits visible bone transforms and stores native additive offsets while an animation is active; animation-offset writes relative offsets directly; absolute is available with the clip stopped.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"bones":{"type":"array","items":{"type":"object","properties":{"boneName":{"type":"string","minLength":1,"maxLength":160},"position":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"minItems":3,"maxItems":3},"quaternion":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":4,"maxItems":4},"scale":{"type":"array","items":{"type":"number","minimum":0.001,"maximum":100},"minItems":3,"maxItems":3}},"required":["boneName"],"additionalProperties":false,"minProperties":2},"minItems":1,"maxItems":100},"upperArmDownAngleDeg":{"type":"number","minimum":20,"maximum":75},"reset":{"type":"boolean"},"boneName":{"type":"string","minLength":1,"maxLength":160},"space":{"type":"string","enum":["auto","absolute","animation-offset"]}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_set_avatar_animation","description":"Select/clear the mannequin animation, set playback speed and pause/resume it. Read valid animation IDs for the current preset from runtime state. Selecting a clip requires an already cached source or an imported local/bundled asset; uncached backend downloads fail LOCAL_ASSET_REQUIRED. Clearing an animation and controlling existing playback are local.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"animationId":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"playbackRate":{"type":"number","minimum":0.25,"maximum":1},"paused":{"type":"boolean"}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_simulation_control","description":"Control the actual browser cloth solver. Start returns a local job if asynchronous. Reset/capture shape requires partId; reset-rope requires ropeId. Pause/resume/stop stay callable while the solver runs.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"action":{"type":"string","enum":["start","pause","resume","stop","reset-pattern","capture-pattern-shape","reset-rope"]},"mode":{"type":"string","enum":["static","animated"]},"partId":{"type":"string","minLength":1,"maxLength":160},"ropeId":{"type":"string","minLength":1,"maxLength":160}},"required":["projectId","expectedRevision","action"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_start_bake","description":"Start a local static or animated GLB bake using the existing viewport pipeline; returns jobId immediately. Poll pg_get_job, cancel with pg_cancel_job. Binary model data stays in the browser and no server save/export is performed.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","enum":["static","animated"]},"options":{"type":"object","properties":{"cycles":{"type":"integer","minimum":1,"maximum":2},"fps":{"type":"integer","minimum":12,"maximum":60},"frameCount":{"type":"integer","minimum":2,"maximum":240},"settleCycles":{"type":"integer","minimum":0,"maximum":3},"loopBlendEnabled":{"type":"boolean"},"loopBlendFrames":{"type":"integer","minimum":2,"maximum":30},"includeThickness":{"type":"boolean"},"thicknessCmByPartId":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":160},"additionalProperties":{"type":"number","minimum":0.1,"maximum":2},"maxProperties":100}},"required":[],"additionalProperties":false}},"required":["projectId","expectedRevision","kind"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_get_job","description":"Read a browser job status/progress/result summary. Project identity remains bound to the paired tab. No binary data or backend request.","inputSchema":{"type":"object","properties":{"jobId":{"type":"string","minLength":1,"maxLength":160}},"required":["jobId"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_cancel_job","description":"Cancel one owned local job; no delayed command is replayed. A bake may have already completed before cancellation; inspect its returned status.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobId":{"type":"string","minLength":1,"maxLength":160}},"required":["projectId","expectedRevision","jobId"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_upsert_binding","description":"Create or replace one authored point/circumference binding from explicit avatar triangle/barycentric and pattern rest anchors. Read mesh/triangle IDs from runtime state or existing bindings. Samples and selections stay in browser state.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"binding":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":160},"kind":{"type":"string","enum":["point","circumference"]},"label":{"type":"string","maxLength":256},"enabled":{"type":"boolean"},"strength":{"type":"number","minimum":0.1,"maximum":1},"animatedStrength":{"type":"number","minimum":0.1,"maximum":1},"influenceRadiusM":{"type":"number","minimum":0.005,"maximum":0.3},"pullDurationS":{"type":"number","minimum":0.1,"maximum":5},"slackM":{"type":"number","minimum":0,"maximum":0.1},"softness":{"type":"number","minimum":0,"maximum":1},"surfaceOffsetM":{"type":"number","minimum":0,"maximum":0.05},"circumferenceFit":{"type":"number","minimum":0,"maximum":1},"avatarLineAngleDeg":{"type":"number","minimum":-90,"maximum":90},"avatarLineRotationDeg":{"type":"array","items":{"type":"number","minimum":-180,"maximum":180},"minItems":3,"maxItems":3},"avatarArcStartRatio":{"type":"number","minimum":0,"maximum":1},"avatarArcEndRatio":{"type":"number","minimum":0,"maximum":1},"avatarArcCenterRatio":{"type":"number","minimum":0,"maximum":1},"patternArcStartRatio":{"type":"number","minimum":0,"maximum":1},"patternArcEndRatio":{"type":"number","minimum":0,"maximum":1},"patternLinePositionRatio":{"type":"number","minimum":0,"maximum":1},"sampleDensityPercent":{"type":"number","minimum":0,"maximum":100},"direction":{"type":"string","enum":["same","opposite"]},"avatarAnchor":{"type":"object","properties":{"avatarIdentity":{"type":["string","null"],"maxLength":256},"meshIndex":{"type":"integer","minimum":0,"maximum":10000000},"meshName":{"type":["string","null"],"minLength":1,"maxLength":160},"meshPath":{"type":["string","null"],"maxLength":512},"triangle":{"type":"array","items":{"type":"integer","minimum":0,"maximum":10000000},"minItems":3,"maxItems":3},"barycentric":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"minItems":3,"maxItems":3},"surfaceOffsetM":{"type":"number","minimum":0,"maximum":0.2}},"required":["meshIndex","triangle","barycentric"],"additionalProperties":false},"patternAnchor":{"type":"object","properties":{"panelId":{"type":"string","minLength":1,"maxLength":160},"partId":{"type":["string","null"],"minLength":1,"maxLength":160},"instanceId":{"type":["string","null"],"minLength":1,"maxLength":160},"projection":{"type":"string","enum":["rest-position-2d"]},"restPoint2D":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":2,"maxItems":2}},"required":["panelId","restPoint2D"],"additionalProperties":false},"samples":{"type":"array","items":{"type":"object","properties":{"avatarAnchor":{"type":"object","properties":{"avatarIdentity":{"type":["string","null"],"maxLength":256},"meshIndex":{"type":"integer","minimum":0,"maximum":10000000},"meshName":{"type":["string","null"],"minLength":1,"maxLength":160},"meshPath":{"type":["string","null"],"maxLength":512},"triangle":{"type":"array","items":{"type":"integer","minimum":0,"maximum":10000000},"minItems":3,"maxItems":3},"barycentric":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"minItems":3,"maxItems":3},"surfaceOffsetM":{"type":"number","minimum":0,"maximum":0.2}},"required":["meshIndex","triangle","barycentric"],"additionalProperties":false},"patternAnchor":{"type":"object","properties":{"panelId":{"type":"string","minLength":1,"maxLength":160},"partId":{"type":["string","null"],"minLength":1,"maxLength":160},"instanceId":{"type":["string","null"],"minLength":1,"maxLength":160},"projection":{"type":"string","enum":["rest-position-2d"]},"restPoint2D":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":2,"maxItems":2}},"required":["panelId","restPoint2D"],"additionalProperties":false},"patternSelectionId":{"type":"string","minLength":1,"maxLength":160},"patternArcRatio":{"type":"number","minimum":0,"maximum":1},"naturalOffsetFrameM":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":3,"maxItems":3},"fittedOffsetFrameM":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":3,"maxItems":3}},"required":["avatarAnchor","patternAnchor"],"additionalProperties":false},"minItems":2,"maxItems":512},"patternSelections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":160},"edgeSelection":{"type":"object","properties":{"panelId":{"type":"string","minLength":1,"maxLength":160},"partId":{"type":["string","null"],"minLength":1,"maxLength":160},"instanceId":{"type":["string","null"],"minLength":1,"maxLength":160},"edgeId":{"type":"string","minLength":1,"maxLength":160},"startRatio":{"type":"number","minimum":0,"maximum":1},"endRatio":{"type":"number","minimum":0,"maximum":1},"reversed":{"type":"boolean"}},"required":["panelId","edgeId"],"additionalProperties":false},"patternSelection":{"type":"object","properties":{"kind":{"type":"string","enum":["edge","surface-section"]},"panelId":{"type":"string","minLength":1,"maxLength":160},"partId":{"type":["string","null"],"minLength":1,"maxLength":160},"instanceId":{"type":["string","null"],"minLength":1,"maxLength":160},"edgeId":{"type":"string","minLength":1,"maxLength":160},"closed":{"type":"boolean"},"projection":{"type":"string","enum":["canonical","rest-position-2d"]},"planeNormalWorld":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":3,"maxItems":3},"linePositionMode":{"type":"string","enum":["rest-y"]},"linePositionRatio":{"type":"number","minimum":0,"maximum":1},"seedRestPoint2D":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":2,"maxItems":2},"seedLocalPoint3D":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":3,"maxItems":3}},"required":["panelId","kind"],"additionalProperties":false},"patternArcStartRatio":{"type":"number","minimum":0,"maximum":1},"patternArcEndRatio":{"type":"number","minimum":0,"maximum":1},"patternLinePositionRatio":{"type":"number","minimum":0,"maximum":1},"reversed":{"type":"boolean"}},"required":["id"],"additionalProperties":false,"anyOf":[{"required":["edgeSelection"]},{"required":["patternSelection"]}]},"minItems":1,"maxItems":16},"edgeSelection":{"type":"object","properties":{"panelId":{"type":"string","minLength":1,"maxLength":160},"partId":{"type":["string","null"],"minLength":1,"maxLength":160},"instanceId":{"type":["string","null"],"minLength":1,"maxLength":160},"edgeId":{"type":"string","minLength":1,"maxLength":160},"startRatio":{"type":"number","minimum":0,"maximum":1},"endRatio":{"type":"number","minimum":0,"maximum":1},"closed":{"type":"boolean"},"projection":{"type":"string","enum":["canonical","rest-position-2d"]}},"required":["panelId","edgeId"],"additionalProperties":false},"patternSelection":{"type":"object","properties":{"kind":{"type":"string","enum":["edge","surface-section"]},"panelId":{"type":"string","minLength":1,"maxLength":160},"partId":{"type":["string","null"],"minLength":1,"maxLength":160},"instanceId":{"type":["string","null"],"minLength":1,"maxLength":160},"edgeId":{"type":"string","minLength":1,"maxLength":160},"closed":{"type":"boolean"},"projection":{"type":"string","enum":["canonical","rest-position-2d"]},"planeNormalWorld":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":3,"maxItems":3},"linePositionMode":{"type":"string","enum":["rest-y"]},"linePositionRatio":{"type":"number","minimum":0,"maximum":1},"seedRestPoint2D":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":2,"maxItems":2},"seedLocalPoint3D":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":3,"maxItems":3}},"required":["panelId","kind"],"additionalProperties":false},"avatarSeedAnchor":{"type":"object","properties":{"avatarIdentity":{"type":["string","null"],"maxLength":256},"meshIndex":{"type":"integer","minimum":0,"maximum":10000000},"meshName":{"type":["string","null"],"minLength":1,"maxLength":160},"meshPath":{"type":["string","null"],"maxLength":512},"triangle":{"type":"array","items":{"type":"integer","minimum":0,"maximum":10000000},"minItems":3,"maxItems":3},"barycentric":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"minItems":3,"maxItems":3},"surfaceOffsetM":{"type":"number","minimum":0,"maximum":0.2}},"required":["meshIndex","triangle","barycentric"],"additionalProperties":false},"closed":{"type":"boolean"},"metrics":{"type":"object","properties":{"worldUnitsPerMeter":{"type":"number","minimum":1e-06,"maximum":1000000},"avatarLengthM":{"type":"number","minimum":0,"maximum":100},"patternLengthM":{"type":"number","minimum":0,"maximum":100}},"required":[],"additionalProperties":false},"avatarSelection":{"type":"object","properties":{"kind":{"type":"string","enum":["surface-arc"]},"seedAnchor":{"type":"object","properties":{"avatarIdentity":{"type":["string","null"],"maxLength":256},"meshIndex":{"type":"integer","minimum":0,"maximum":10000000},"meshName":{"type":["string","null"],"minLength":1,"maxLength":160},"meshPath":{"type":["string","null"],"maxLength":512},"triangle":{"type":"array","items":{"type":"integer","minimum":0,"maximum":10000000},"minItems":3,"maxItems":3},"barycentric":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"minItems":3,"maxItems":3},"surfaceOffsetM":{"type":"number","minimum":0,"maximum":0.2}},"required":["meshIndex","triangle","barycentric"],"additionalProperties":false},"startRatio":{"type":"number","minimum":0,"maximum":1},"endRatio":{"type":"number","minimum":0,"maximum":1},"centerRatio":{"type":"number","minimum":0,"maximum":1},"closed":{"type":"boolean"},"direction":{"type":"string","enum":["same","opposite"]},"planeAngleDeg":{"type":"number","minimum":-90,"maximum":90},"planeRotationDeg":{"type":"array","items":{"type":"number","minimum":-180,"maximum":180},"minItems":3,"maxItems":3},"planeNormalWorld":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":3,"maxItems":3},"planeRotationAxisWorld":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":3,"maxItems":3},"phaseRatio":{"type":"number","minimum":0,"maximum":1},"planeRotationOrder":{"type":"string","enum":["XYZ"]},"componentHint":{"type":"object","properties":{"version":{"type":"integer","minimum":1,"maximum":1},"lengthM":{"type":"number","minimum":1e-09,"maximum":1000000},"topologyComponentId":{"type":"integer","minimum":0,"maximum":10000000},"triangleSamples":{"type":"array","items":{"type":"array","items":{"type":"integer","minimum":0,"maximum":10000000},"minItems":3,"maxItems":3},"minItems":1,"maxItems":16}},"required":["triangleSamples"],"additionalProperties":false}},"required":["kind","seedAnchor"],"additionalProperties":false},"customName":{"type":"string","maxLength":256},"avatarLineRotationOrder":{"type":"string","enum":["XYZ"]},"fastenerSampleLayoutVersion":{"type":"integer","minimum":1,"maximum":100},"fastenerMappings":{"type":"array","items":{"type":"object","properties":{"version":{"type":"integer","minimum":2,"maximum":2},"connectionId":{"type":"string","minLength":1,"maxLength":160},"fastenerType":{"type":"string","minLength":1,"maxLength":160},"patternLengthM":{"type":"number","minimum":1e-06,"maximum":100},"fromPatternArcRatio":{"type":"number","minimum":0,"maximum":1},"toPatternArcRatio":{"type":"number","minimum":0,"maximum":1},"fromParameterRatio":{"type":"number","minimum":0,"maximum":1},"toParameterRatio":{"type":"number","minimum":0,"maximum":1},"parameterRatio":{"type":"number","minimum":0,"maximum":1},"authoredOverlapM":{"type":"number","minimum":0,"maximum":100},"branchRatios":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"minItems":2,"maxItems":2},"layerGapM":{"type":"number","minimum":0,"maximum":0.01},"mandatoryPatternArcRatios":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"minItems":1,"maxItems":16},"overlapM":{"type":"number","minimum":0,"maximum":100},"overlapOrder":{"type":"string","enum":["from-over-to","to-over-from"]},"overlapPosition":{"type":"number","minimum":0,"maximum":1},"overlapRatio":{"type":"number","minimum":0,"maximum":1},"periodM":{"type":"number","minimum":0,"maximum":100},"periodRatio":{"type":"number","minimum":0,"maximum":1},"targetReversed":{"type":"boolean"}},"required":["connectionId","fastenerType","patternLengthM","fromPatternArcRatio","toPatternArcRatio"],"additionalProperties":false},"minItems":0,"maxItems":32}},"required":["id","kind"],"additionalProperties":false,"anyOf":[{"required":["avatarAnchor","patternAnchor"]},{"required":["samples"]}]}},"required":["projectId","expectedRevision","binding"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_update_binding","description":"Edit an existing binding settings/anchor and static or animated strength. Other bindings remain unchanged. Circumference changes use the existing runtime rebuild methods.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"bindingId":{"type":"string","minLength":1,"maxLength":160},"profile":{"type":"string","enum":["static","animated"]},"settings":{"type":"object","properties":{"label":{"type":"string","maxLength":256},"enabled":{"type":"boolean"},"strength":{"type":"number","minimum":0.1,"maximum":1},"animatedStrength":{"type":"number","minimum":0.1,"maximum":1},"influenceRadiusM":{"type":"number","minimum":0.005,"maximum":0.3},"pullDurationS":{"type":"number","minimum":0.1,"maximum":5},"slackM":{"type":"number","minimum":0,"maximum":0.1},"softness":{"type":"number","minimum":0,"maximum":1},"surfaceOffsetM":{"type":"number","minimum":0,"maximum":0.05},"circumferenceFit":{"type":"number","minimum":0,"maximum":1},"avatarLineAngleDeg":{"type":"number","minimum":-90,"maximum":90},"avatarLineRotationDeg":{"type":"array","items":{"type":"number","minimum":-180,"maximum":180},"minItems":3,"maxItems":3},"avatarArcStartRatio":{"type":"number","minimum":0,"maximum":1},"avatarArcEndRatio":{"type":"number","minimum":0,"maximum":1},"avatarArcCenterRatio":{"type":"number","minimum":0,"maximum":1},"patternArcStartRatio":{"type":"number","minimum":0,"maximum":1},"patternArcEndRatio":{"type":"number","minimum":0,"maximum":1},"patternLinePositionRatio":{"type":"number","minimum":0,"maximum":1},"sampleDensityPercent":{"type":"number","minimum":0,"maximum":100},"direction":{"type":"string","enum":["same","opposite"]},"avatarAnchor":{"type":"object","properties":{"avatarIdentity":{"type":["string","null"],"maxLength":256},"meshIndex":{"type":"integer","minimum":0,"maximum":10000000},"meshName":{"type":["string","null"],"minLength":1,"maxLength":160},"meshPath":{"type":["string","null"],"maxLength":512},"triangle":{"type":"array","items":{"type":"integer","minimum":0,"maximum":10000000},"minItems":3,"maxItems":3},"barycentric":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"minItems":3,"maxItems":3},"surfaceOffsetM":{"type":"number","minimum":0,"maximum":0.2}},"required":["meshIndex","triangle","barycentric"],"additionalProperties":false}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","bindingId","settings"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_remove_binding","description":"Remove one existing binding or explicitly clear all bindings. Removing active constraints is reflected in the same viewport.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"bindingId":{"type":"string","minLength":1,"maxLength":160},"clearAll":{"type":"boolean"}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_edit_binding_pattern","description":"Select/add/update/remove one pattern selection on an existing circumference binding, move its rest curve, change trims/direction, or select its avatar/pattern edit target. Move reorders pattern selections by offset -1 or 1; add opens interactive selection unless a complete binding is supplied with pg_upsert_binding. For add, provide patternRay or edgeSelection to complete native automatic sampling immediately. A selection record also rebuilds the native composite geometry; omission starts the interactive draft only.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"bindingId":{"type":"string","minLength":1,"maxLength":160},"action":{"type":"string","enum":["add","update","remove","select","move","edit-target"]},"selectionId":{"type":"string","minLength":1,"maxLength":160},"selection":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":160},"edgeSelection":{"type":"object","properties":{"panelId":{"type":"string","minLength":1,"maxLength":160},"partId":{"type":["string","null"],"minLength":1,"maxLength":160},"instanceId":{"type":["string","null"],"minLength":1,"maxLength":160},"edgeId":{"type":"string","minLength":1,"maxLength":160},"startRatio":{"type":"number","minimum":0,"maximum":1},"endRatio":{"type":"number","minimum":0,"maximum":1},"reversed":{"type":"boolean"}},"required":["panelId","edgeId"],"additionalProperties":false},"patternSelection":{"type":"object","properties":{"kind":{"type":"string","enum":["edge","surface-section"]},"panelId":{"type":"string","minLength":1,"maxLength":160},"partId":{"type":["string","null"],"minLength":1,"maxLength":160},"instanceId":{"type":["string","null"],"minLength":1,"maxLength":160},"edgeId":{"type":"string","minLength":1,"maxLength":160},"closed":{"type":"boolean"},"projection":{"type":"string","enum":["canonical","rest-position-2d"]},"planeNormalWorld":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":3,"maxItems":3},"linePositionMode":{"type":"string","enum":["rest-y"]},"linePositionRatio":{"type":"number","minimum":0,"maximum":1},"seedRestPoint2D":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":2,"maxItems":2},"seedLocalPoint3D":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":3,"maxItems":3}},"required":["panelId","kind"],"additionalProperties":false},"patternArcStartRatio":{"type":"number","minimum":0,"maximum":1},"patternArcEndRatio":{"type":"number","minimum":0,"maximum":1},"patternLinePositionRatio":{"type":"number","minimum":0,"maximum":1},"reversed":{"type":"boolean"}},"required":["id"],"additionalProperties":false,"anyOf":[{"required":["edgeSelection"]},{"required":["patternSelection"]}]},"patch":{"type":"object","properties":{"patternArcStartRatio":{"type":"number","minimum":0,"maximum":1},"patternArcEndRatio":{"type":"number","minimum":0,"maximum":1},"patternLinePositionRatio":{"type":"number","minimum":0,"maximum":1},"reversed":{"type":"boolean"}},"required":[],"additionalProperties":false,"minProperties":1},"offset":{"type":"integer","enum":[-1,1]},"target":{"type":"string","enum":["avatar","pattern","none"]},"patternRay":{"type":"object","properties":{"origin":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"minItems":3,"maxItems":3},"direction":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"minItems":3,"maxItems":3}},"required":["origin","direction"],"additionalProperties":false},"edgeSelection":{"type":"object","properties":{"panelId":{"type":"string","minLength":1,"maxLength":160},"partId":{"type":["string","null"],"minLength":1,"maxLength":160},"instanceId":{"type":["string","null"],"minLength":1,"maxLength":160},"edgeId":{"type":"string","minLength":1,"maxLength":160},"startRatio":{"type":"number","minimum":0,"maximum":1},"endRatio":{"type":"number","minimum":0,"maximum":1},"closed":{"type":"boolean"},"projection":{"type":"string","enum":["canonical","rest-position-2d"]}},"required":["panelId","edgeId"],"additionalProperties":false}},"required":["projectId","expectedRevision","bindingId","action"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_upsert_pin","description":"Create or replace one cloth pin by explicit pattern/particle identity and target in metres. Body anchors additionally require an existing anchorId and local anchorOffsetM. Read live runtime pin capability/capacity first.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"pin":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":160},"label":{"type":"string","maxLength":256},"enabled":{"type":"boolean"},"type":{"type":"string","enum":["hard","soft","elastic"]},"anchorSpace":{"type":"string","enum":["world","body"]},"strength":{"type":"number","minimum":0.01,"maximum":1},"influenceRadiusM":{"type":"number","minimum":0.005,"maximum":0.3},"patternId":{"type":"string","minLength":1,"maxLength":160},"particleIndex":{"anyOf":[{"type":"integer","minimum":0,"maximum":10000000},{"type":"null"}]},"localParticleIndex":{"type":"integer","minimum":0,"maximum":10000000},"targetM":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":3,"maxItems":3},"normalM":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":3,"maxItems":3},"anchorId":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"anchorOffsetM":{"anyOf":[{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":3,"maxItems":3},{"type":"null"}]},"customName":{"type":"string","maxLength":256},"variantId":{"type":"string","enum":["hard-world","soft-world","elastic-world","hard-body"]}},"required":["id","patternId","targetM"],"additionalProperties":false}},"required":["projectId","expectedRevision","pin"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_update_pin","description":"Edit one existing cloth pin settings, type/strength, target or anchor. Uses the browser pin normalizer and actual runtime state; no artificial pointer click is needed.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"pinId":{"type":"string","minLength":1,"maxLength":160},"settings":{"type":"object","properties":{"label":{"type":"string","maxLength":256},"enabled":{"type":"boolean"},"type":{"type":"string","enum":["hard","soft","elastic"]},"anchorSpace":{"type":"string","enum":["world","body"]},"strength":{"type":"number","minimum":0.01,"maximum":1},"influenceRadiusM":{"type":"number","minimum":0.005,"maximum":0.3},"patternId":{"type":"string","minLength":1,"maxLength":160},"particleIndex":{"anyOf":[{"type":"integer","minimum":0,"maximum":10000000},{"type":"null"}]},"localParticleIndex":{"type":"integer","minimum":0,"maximum":10000000},"targetM":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":3,"maxItems":3},"normalM":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":3,"maxItems":3},"anchorId":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"anchorOffsetM":{"anyOf":[{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":3,"maxItems":3},{"type":"null"}]},"customName":{"type":"string","maxLength":256},"variantId":{"type":"string","enum":["hard-world","soft-world","elastic-world","hard-body"]}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","pinId","settings"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_remove_pin","description":"Remove one existing cloth pin or explicitly clear all pins.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"pinId":{"type":"string","minLength":1,"maxLength":160},"clearAll":{"type":"boolean"}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_set_collision_options","description":"Edit avatar collision mode, quality, influence threshold and enabled anatomical mesh regions. Options are applied to the local collider/runtime only.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"options":{"type":"object","properties":{"mode":{"type":"string","enum":["mesh","hybrid","primitives"]},"quality":{"type":"string","enum":["fast","balanced","precise"]},"influenceThreshold":{"type":"number","minimum":0,"maximum":1},"regions":{"type":"object","properties":{"head":{"type":"boolean"},"neck":{"type":"boolean"},"chest":{"type":"boolean"},"torso":{"type":"boolean"},"shoulders":{"type":"boolean"},"leftArm":{"type":"boolean"},"rightArm":{"type":"boolean"},"leftHand":{"type":"boolean"},"rightHand":{"type":"boolean"},"leftThigh":{"type":"boolean"},"rightThigh":{"type":"boolean"},"leftCalf":{"type":"boolean"},"rightCalf":{"type":"boolean"},"leftFoot":{"type":"boolean"},"rightFoot":{"type":"boolean"}},"required":[],"additionalProperties":false,"minProperties":1}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","options"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_edit_collider","description":"Select, update or reset a primitive collider. Radius and offsets use metres. Omitting colliderId is supported only for reset-all. action:export returns the native collider JSON definitions and connectors without downloading or saving anything.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"action":{"type":"string","enum":["select","update","reset","export"]},"colliderId":{"type":"string","minLength":1,"maxLength":160},"settings":{"type":"object","properties":{"radius":{"type":"number","minimum":0.001,"maximum":2},"offsetA":{"type":"array","items":{"type":"number","minimum":-5,"maximum":5},"minItems":3,"maxItems":3},"offsetB":{"type":"array","items":{"type":"number","minimum":-5,"maximum":5},"minItems":3,"maxItems":3}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","action"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_set_panel_transform","description":"Set or reset a 3D pattern panel local transform. Position/scale/rotation use existing preview-world coordinates. Reset all requires clearAll:true. Transform position is in preview world units; rotation is XYZ radians. Read current panel coordinates before editing.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"panelId":{"type":"string","minLength":1,"maxLength":160},"transform":{"type":"object","properties":{"position":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":3,"maxItems":3},"quaternion":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":4,"maxItems":4},"rotation":{"type":"array","items":{"type":"number","minimum":-62.83185307179586,"maximum":62.83185307179586},"minItems":3,"maxItems":3}},"required":[],"additionalProperties":false,"minProperties":1},"reset":{"type":"boolean"},"clearAll":{"type":"boolean"}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_place_pattern_on_pattern","description":"Arrange one existing 3D pattern panel on another before simulation, using native pattern-local millimetres rather than guessing world axes or scale. Read runtime panel IDs and pattern geometry first. Aligns the source anchor and its material surface orientation to the target point and outward surface frame, with 5 mm clearance by default (1–50 mm). sourceAnchorMm defaults to the source bounds centre; provide another material point if that centre lies in a cutout. Supports native grading, reflection and curved initial surfaces. Requires simulation, bake and avatar playback stopped. Records one local Undo step and preserves outlines, 2D layout, deformations and sewing. This is rigid initial arrangement, not a simulation or a guarantee of collision-free fit over the whole panel. Returns verified actual transform, target world point, outward normal and source anchor world point; inspect after simulation for sewn fit. Use the existing MOVE_POINTS partTranslations operation separately to keep the 2D canvas layout clear.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"panelId":{"type":"string","minLength":1,"maxLength":160},"targetPanelId":{"type":"string","minLength":1,"maxLength":160},"targetPointMm":{"type":"object","properties":{"xMm":{"type":"number","minimum":-10000,"maximum":10000},"yMm":{"type":"number","minimum":-10000,"maximum":10000}},"required":["xMm","yMm"],"additionalProperties":false},"sourceAnchorMm":{"type":"object","properties":{"xMm":{"type":"number","minimum":-10000,"maximum":10000},"yMm":{"type":"number","minimum":-10000,"maximum":10000}},"required":["xMm","yMm"],"additionalProperties":false},"outwardClearanceMm":{"type":"number","minimum":1,"maximum":50,"default":5}},"required":["projectId","expectedRevision","panelId","targetPanelId","targetPointMm"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_edit_panel_curve","description":"Add/select/remove/reposition an existing 3D panel curve, set interpolation, place its UV control point, reset a bend, or anchor to an existing limb bone chain.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"action":{"type":"string","enum":["add","select","remove","interpolation","reposition","place-point","cancel","reset","bone-anchor"]},"panelId":{"type":"string","minLength":1,"maxLength":160},"curveId":{"type":"string","minLength":1,"maxLength":160},"type":{"type":"string","enum":["bezier-surface","bone-curve"]},"chain":{"anyOf":[{"type":"string","enum":["left-arm","right-arm","left-leg","right-leg"]},{"type":"null"}]},"interpolation":{"type":"string","enum":["bezier","linear"]},"uv":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"minItems":2,"maxItems":2},"worldPoint":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":3,"maxItems":3}},"required":["projectId","expectedRevision","action"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_set_panel_wrapping","description":"Edit the existing cylindrical cross-section of one 3D panel bend; centre/edge control curves, interpolation and profile position are independently selectable.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"panelId":{"type":"string","minLength":1,"maxLength":160},"bendId":{"type":"string","minLength":1,"maxLength":160},"action":{"type":"string","enum":["set","reset","position","edit"]},"crossSection":{"type":"object","properties":{"controlPoints":{"type":"array","items":{"type":"array","items":{"type":"number","minimum":-10,"maximum":10},"minItems":2,"maxItems":2},"minItems":4,"maxItems":4},"edgeControlPoints":{"type":"array","items":{"type":"array","items":{"type":"number","minimum":-10,"maximum":10},"minItems":2,"maxItems":2},"minItems":4,"maxItems":4},"arcLengthSamples":{"type":"integer","minimum":24,"maximum":256},"interpolation":{"type":"string","enum":["bezier","linear"]},"edgeInterpolation":{"type":"string","enum":["bezier","linear"]}},"required":["controlPoints"],"additionalProperties":false},"profilePosition":{"type":"string","enum":["center","edges"]}},"required":["projectId","expectedRevision","panelId","action"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_set_wind","description":"Edit the scene wind vector, intensity, gust period and turbulence in the local simulation. Direction must be a nonzero XYZ vector.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"settings":{"type":"object","properties":{"enabled":{"type":"boolean"},"direction":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":3,"maxItems":3},"intensity":{"type":"number","minimum":0,"maximum":5},"turbulence":{"type":"number","minimum":0,"maximum":1},"gustPeriodSeconds":{"type":"number","minimum":0,"maximum":10}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","settings"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_set_scene_debug","description":"Set existing viewport helper/visibility toggles. This changes the browser preview without changing project geometry.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"settings":{"type":"object","properties":{"avatarVisible":{"type":"boolean"},"patternsVisible":{"type":"boolean"},"colliderWireframe":{"type":"boolean"},"avatarMeshColliderWireframe":{"type":"boolean"},"bones":{"type":"boolean"},"boneNames":{"type":"boolean"},"clothWireframe":{"type":"boolean"},"clothUvGrid":{"type":"boolean"},"seamsVisible":{"type":"boolean"}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","settings"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_set_runtime_tool","description":"Activate existing runtime manipulation controls for mannequin bones, panels, rope placement, pins or bindings. This selects a real tool; structured authoring tools perform exact edits.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"target":{"type":"string","enum":["mannequin","panel","rope","pin","binding"]},"mode":{"type":"string","enum":["none","translate","rotate","scale","add","remove","move","arc"]},"id":{"type":"string","minLength":1,"maxLength":160},"selectionId":{"type":"string","minLength":1,"maxLength":160},"mirrorEnabled":{"type":"boolean"},"creationKind":{"type":"string","enum":["point","circumference"]},"editTarget":{"type":"string","enum":["avatar","pattern","none"]},"anchorSpace":{"type":"string","enum":["world","body"]},"pinType":{"type":"string","enum":["hard","soft","elastic"]},"strength":{"type":"number","minimum":0.01,"maximum":1}},"required":["projectId","expectedRevision","target"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_set_rope_transform","description":"Select or reset an existing rope initial placement. Explicit transforms use the same authored initial placement callback as the viewport rope gizmo. Transform position is in preview world units; rotation is XYZ radians. Read current panel coordinates before editing.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"ropeId":{"type":"string","minLength":1,"maxLength":160},"transform":{"type":"object","properties":{"position":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":3,"maxItems":3},"quaternion":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":4,"maxItems":4},"rotation":{"type":"array","items":{"type":"number","minimum":-62.83185307179586,"maximum":62.83185307179586},"minItems":3,"maxItems":3}},"required":[],"additionalProperties":false,"minProperties":1},"reset":{"type":"boolean"}},"required":["projectId","expectedRevision","ropeId"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_resolve_surface_anchor","description":"Raycast the current visible avatar or pattern in preview world coordinates to obtain a persistent binding anchor, world point and normal. Read panel and camera coordinates first. No mesh vertices or binary assets are returned. target:cloth refreshes the live hit proxy and returns panel/particle identity, solver target and nearest body anchor for pins.","inputSchema":{"type":"object","properties":{"target":{"type":"string","enum":["avatar","pattern","cloth"]},"origin":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"minItems":3,"maxItems":3},"direction":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"minItems":3,"maxItems":3},"partId":{"type":"string","minLength":1,"maxLength":160},"surfaceOffsetM":{"type":"number","minimum":0,"maximum":0.05}},"required":["target","origin","direction"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_get_panel_deformation","description":"Read one live panel bend definition, including its four Bezier control points or cylindrical parameters. Coordinates use the same preview and normalized axes as the editor controls.","inputSchema":{"type":"object","properties":{"panelId":{"type":"string","minLength":1,"maxLength":160},"bendId":{"type":"string","minLength":1,"maxLength":160}},"required":["panelId","bendId"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_set_panel_deformation","description":"Move numeric Bezier curve handles or edit cylindrical angle/radius/depth parameters on an existing panel bend. Uses the existing geometry normalizers, runtime restoration and undo history; read the bend definition first.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"panelId":{"type":"string","minLength":1,"maxLength":160},"bendId":{"type":"string","minLength":1,"maxLength":160},"settings":{"type":"object","properties":{"controlPoints":{"anyOf":[{"type":"array","items":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":2,"maxItems":2},"minItems":4,"maxItems":4},{"type":"array","items":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":3,"maxItems":3},"minItems":4,"maxItems":4}]},"angleDeg":{"type":"number","minimum":0.01,"maximum":359.99},"radiusWorld":{"type":"number","minimum":0,"maximum":100},"depthRatio":{"type":"number","minimum":0.5,"maximum":2},"widthRatio":{"type":"number","minimum":0.05,"maximum":2},"anchorUv":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"minItems":2,"maxItems":2},"directionUv":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":2,"maxItems":2}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","panelId","bendId","settings"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_cloth_grab","description":"Temporarily grab running cloth or a rope with a world ray; update its world-space target, then end/cancel to release the native magnet. Does not create a persistent pin.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"action":{"type":"string","enum":["begin","update","end","cancel"]},"origin":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"minItems":3,"maxItems":3},"direction":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"minItems":3,"maxItems":3},"worldPoint":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"minItems":3,"maxItems":3},"strength":{"type":"number","minimum":0.01,"maximum":1}},"required":["projectId","expectedRevision","action"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_garment_measurements","description":"Get cached garment measurement results, show/hide overlay or refresh actual 3D measurements. Showing/refreshing pauses a running solver, as the UI does. Results are paged metadata without geometry.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"action":{"type":"string","enum":["get","show","hide","refresh"]},"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":["projectId","expectedRevision","action"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_set_scene_options","description":"Change local 3D floor grid or anatomical/wrapped pattern preview, using the same controlled options as the viewport.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"settings":{"type":"object","properties":{"floorGridVisible":{"type":"boolean"},"anatomicalPreview":{"type":"boolean"}},"minProperties":1,"additionalProperties":false}},"required":["projectId","expectedRevision","settings"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_reset_runtime_settings","description":"Restore a physics section to its captured opening values, using the native UI reset baseline. Read openingSettingsAvailable first. Solver/collision resets require idle simulation.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"section":{"type":"string","enum":["sewing","solver","animation","forces-stability","simulation-quality","mannequin","wind"]},"profile":{"type":"string","enum":["static","animated"]}},"required":["projectId","expectedRevision","section"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_create_binding","description":"Create a complete native point/circumference binding from an avatar anchor and a pattern ray or native edge selection. Circumference samples are built in the browser by the existing UI geometry builder; no manually authored samples or backend are needed.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","enum":["point","circumference"]},"avatarAnchor":{"type":"object","properties":{"avatarIdentity":{"type":["string","null"],"maxLength":256},"meshIndex":{"type":"integer","minimum":0,"maximum":10000000},"meshName":{"type":["string","null"],"minLength":1,"maxLength":160},"meshPath":{"type":["string","null"],"maxLength":512},"triangle":{"type":"array","items":{"type":"integer","minimum":0,"maximum":10000000},"minItems":3,"maxItems":3},"barycentric":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"minItems":3,"maxItems":3},"surfaceOffsetM":{"type":"number","minimum":0,"maximum":0.2}},"required":["meshIndex","triangle","barycentric"],"additionalProperties":false},"patternAnchor":{"type":"object","properties":{"panelId":{"type":"string","minLength":1,"maxLength":160},"partId":{"type":["string","null"],"minLength":1,"maxLength":160},"instanceId":{"type":["string","null"],"minLength":1,"maxLength":160},"projection":{"type":"string","enum":["rest-position-2d"]},"restPoint2D":{"type":"array","items":{"type":"number","minimum":-100,"maximum":100},"minItems":2,"maxItems":2}},"required":["panelId","restPoint2D"],"additionalProperties":false},"patternRay":{"type":"object","properties":{"origin":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"minItems":3,"maxItems":3},"direction":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"minItems":3,"maxItems":3}},"required":["origin","direction"],"additionalProperties":false},"edgeSelection":{"type":"object","properties":{"panelId":{"type":"string","minLength":1,"maxLength":160},"partId":{"type":["string","null"],"minLength":1,"maxLength":160},"instanceId":{"type":["string","null"],"minLength":1,"maxLength":160},"edgeId":{"type":"string","minLength":1,"maxLength":160},"startRatio":{"type":"number","minimum":0,"maximum":1},"endRatio":{"type":"number","minimum":0,"maximum":1},"closed":{"type":"boolean"},"projection":{"type":"string","enum":["canonical","rest-position-2d"]}},"required":["panelId","edgeId"],"additionalProperties":false},"label":{"type":"string","minLength":1,"maxLength":80}},"required":["projectId","expectedRevision","kind","avatarAnchor"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"alterproduct/runtime":true}},{"name":"pg_compare_garment_fit","description":"Read-only numerical comparison of selected authored garment size measurements with the current stable measured mannequin. Supply explicit body-key to garment-measurement mappings; names are never matched automatically. Declare garmentMeasurementKind only when the full garment dimension is semantically comparable with that native body measurement. Missing or incompatible semantics and unavailable/stale body measurements are reported unassessed. Optional targetEaseMm ranges are your explicit criteria; there are no garment-style or lingerie ease defaults, no automatic size recommendation, and no guarantee of physical or simulated 3D fit. Flat garment widths are not converted to circumferences. Read pg_get_grading and pg_get_body_measurements first. This does not fit the mannequin, change grading, run measurements, pause simulation, or save.","inputSchema":{"type":"object","properties":{"sizeIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":64,"uniqueItems":true},"mappings":{"type":"array","minItems":1,"maxItems":16,"items":{"type":"object","properties":{"bodyMeasurementKey":{"type":"string","minLength":1,"maxLength":64,"description":"Exact key returned by pg_get_body_measurements. No anatomical synonyms or left/right limb measurements are inferred. Authored height is not a sampled body tape and remains unassessed here."},"garmentMeasurementId":{"type":"string","minLength":1,"maxLength":160},"garmentMeasurementKind":{"type":"string","enum":["circumference","width","height","length"],"description":"Explicit assertion of the full garment dimension's meaning. It must match the native measured body's kind. Omit when unknown to obtain an unassessed comparison; a matching name alone is not sufficient."},"targetEaseMm":{"type":"object","properties":{"min":{"type":"number","minimum":-100000,"maximum":100000},"max":{"type":"number","minimum":-100000,"maximum":100000}},"required":["min","max"],"additionalProperties":false,"description":"Explicit inclusive range for garment minus body in millimetres. Negative ease is allowed only as your supplied criterion. No target is supplied or inferred when omitted."}},"required":["bodyMeasurementKey","garmentMeasurementId"],"additionalProperties":false}}},"required":["sizeIds","mappings"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"editorDomain":"garment-body-comparison"}},{"name":"pg_save_project","description":"Explicitly persist the current Generator draft through its native project snapshot, artifact upload and revision-save pipeline. Requires account OAuth projects:write access; ordinary geometry edits never save automatically. Returns a jobId: poll pg_get_job until complete and read result.persistence.generatorProjectId/revision, then read pg_get_state again for the fresh MCP editorRevision. This launch saves one bound server project; it does not fork, publish a global asset, run bake automatically, or create a Designer. A saved authoring draft may not contain a Designer-ready model; ed_create_project_from_generator verifies the actual owned release separately. Server ownership, quotas and expected revision checks remain enforced. Cancellation or failure can leave a bound draft, uploaded artifacts or a committed revision; read pg_get_workspace.persistence and current state before retrying within this same binding. Never open a new launch automatically to retry an uncertain save. A durable save is not undone by pg_undo or cancellation.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":160}},"required":["projectId","expectedRevision","name"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true},"_meta":{"editorDomain":"persistence"}},{"name":"pg_get_workspace","description":"Read current local editor mode, active tool, selection, viewport settings and available Inspector/Painter/Mockup controllers. inspectorReady confirms a loaded usable scene; inspectorLoadState distinguishes controller availability, loading, and load errors. A completed bake alone does not prove Inspector rendering. templateAssets reports native template texture preparation; wait while preparing and report any error before baking. This is separate from Inspector scene readiness.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"editorDomain":"workspace"}},{"name":"pg_set_workspace","description":"Switch the visible local generator workspace with cache-only asset checks. Inspector/Mockup require a locally loaded bake. Mockup transfer returns a job; poll pg_get_job until complete before editing the new workspace.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"mode":{"type":"string","enum":["mannequin","silhouette","reference","shape","symmetry","allowance","sizes","stitch","ropes","simulation","model-inspector","mockup"]}},"required":["projectId","expectedRevision","mode"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"workspace"}},{"name":"pg_set_canvas_tool","description":"Choose a supported canvas authoring tool. Geometry changes use dedicated project tools.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"tool":{"type":"string","enum":["select","pan","measure","pattern-add","pattern-cutout","shape-point-add","shape-point-remove","bezier","crease","zipper","tack","stitch-connect","stitch-split","stitch-draw-path","stitch-transfer-edge","rope-draw","rope-point-add","rope-attach","rope-bezier","reference-add-image"]},"fastenerMode":{"type":"string","enum":["cut","edge-pair"]},"bezierHandleMode":{"type":"string","enum":["independent","mirror-angle","mirror-length"]},"patternShapePreset":{"type":"string","enum":["rectangle","pocket-rounded","pocket-pointed","pocket-beveled","pocket-cargo-bellows","pocket-internal-rounded","pocket-internal-slanted","pocket-internal-welt"]}},"required":["projectId","expectedRevision","tool"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"workspace"}},{"name":"pg_select_editor_items","description":"Select existing local pattern geometry, grading size or measurement in the UI.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"partId":{"type":"string","minLength":1,"maxLength":160},"pointId":{"type":"string","minLength":1,"maxLength":160},"edgeId":{"type":"string","minLength":1,"maxLength":160},"sizeId":{"type":"string","minLength":1,"maxLength":160},"measurementId":{"type":"string","minLength":1,"maxLength":160},"referenceImageId":{"type":"string","minLength":1,"maxLength":160},"measurementLineId":{"type":"string","minLength":1,"maxLength":160},"connectionId":{"type":"string","minLength":1,"maxLength":160},"ropeId":{"type":"string","minLength":1,"maxLength":160},"knotId":{"type":"string","minLength":1,"maxLength":160},"attachmentId":{"type":"string","minLength":1,"maxLength":160},"tackId":{"type":"string","minLength":1,"maxLength":160},"cutoutId":{"type":"string","minLength":1,"maxLength":160},"guideId":{"type":"string","minLength":1,"maxLength":160},"creaseId":{"type":"string","minLength":1,"maxLength":160},"pointIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":256,"uniqueItems":true},"knotIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":256,"uniqueItems":true},"guideType":{"type":"string","enum":["symmetry","fold"]},"clear":{"type":"boolean"}},"required":["projectId","expectedRevision"],"additionalProperties":false,"minProperties":3},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"workspace"}},{"name":"pg_set_view_options","description":"Change local 2D/3D viewport layout, visibility and snap/grid/label display flags.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"layout":{"type":"string","enum":["2d","3d","split"]},"visiblePartId":{"type":"string","minLength":1,"maxLength":160},"showGrid":{"type":"boolean"},"snapEnabled":{"type":"boolean"},"showEdgeNames":{"type":"boolean"},"showNumericLengths":{"type":"boolean"},"showPartNames":{"type":"boolean"},"showSymmetry":{"type":"boolean"},"showFoldLines":{"type":"boolean"},"showNotches":{"type":"boolean"},"showOverlays":{"type":"boolean"},"showSeamAllowance":{"type":"boolean"},"patternView":{"type":"string","enum":["half","full"]},"seamViewMode":{"type":"string","enum":["all","selected"]},"autoAdjustSewnPatterns":{"type":"boolean"},"showFullGradingTable":{"type":"boolean"},"measurementUnit":{"type":"string","enum":["mm","cm","in"]},"qualityId":{"type":"integer","minimum":0,"maximum":2},"showMeasurementLines":{"type":"boolean"},"showReferenceImages":{"type":"boolean"}},"required":["projectId","expectedRevision"],"additionalProperties":false,"minProperties":3},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"workspace"}},{"name":"pg_camera","description":"Inspect or edit the camera of the active simulation, Inspector or Mockup viewport. Angles fov/alpha/beta use the target viewport native units reported by get. Simulation/Inspector FOV is degrees; Mockup alpha/beta/FOV are radians. Inspector camera uses position,target,FOV; Mockup uses orbit alpha,beta,radius,target,projection,orthoScale. Canvas uses zoom as a scale factor and pan in CSS pixels; get returns viewportTransform.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"scope":{"type":"string","enum":["simulation","inspector","mockup","canvas"]},"operation":{"type":"string","enum":["get","set","fit","reset","zoom-in","zoom-out"]},"position":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"maxItems":3,"minItems":3},"target":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"maxItems":3,"minItems":3},"zoom":{"type":"number","minimum":0.01,"maximum":100},"fov":{"type":"number","minimum":0.01,"maximum":179},"alpha":{"type":"number","minimum":-100,"maximum":100},"beta":{"type":"number","minimum":0.001,"maximum":3.1405926535897932},"radius":{"type":"number","minimum":0.001,"maximum":10000},"projection":{"type":"string","enum":["perspective","orthographic"]},"orthoScale":{"type":"number","minimum":0.001,"maximum":10000},"pan":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"minItems":2,"maxItems":2}},"required":["projectId","expectedRevision","scope","operation"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"workspace"}},{"name":"pg_get_inspector","description":"Read bounded object/material/layer identifiers and local Inspector state. No texture pixels, GLB or remote resources are returned.","inputSchema":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":100},"materialId":{"type":"string","maxLength":160,"minLength":1},"layerId":{"type":"string","maxLength":160,"minLength":1},"objectId":{"type":"string","maxLength":160,"minLength":1},"faceOffset":{"type":"integer","minimum":0,"maximum":2147483647},"includeCatalogs":{"type":"boolean"},"strokeId":{"type":"string","minLength":1,"maxLength":160}},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"editorDomain":"inspector"}},{"name":"pg_edit_inspector","description":"Edit local Inspector object visibility, modifiers, UV layout, material channels, camera, playback and loaded accessories. Remote asset creation/import is unavailable.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"request":{"oneOf":[{"type":"object","properties":{"operation":{"const":"selectObject"},"objectId":{"type":"string","minLength":1,"maxLength":160},"selectionMode":{"type":"string","enum":["replace","toggle","range"]}},"required":["operation","objectId"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"visibility"},"objectId":{"type":"string","minLength":1,"maxLength":160},"visible":{"type":"boolean"}},"required":["operation","objectId","visible"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"modifier"},"objectId":{"type":"string","minLength":1,"maxLength":160},"settings":{"type":"object","properties":{"correctiveSmooth":{"type":"object","properties":{"enabled":{"type":"boolean"},"viewportVisible":{"type":"boolean"},"factor":{"type":"number","minimum":0,"maximum":1},"repeat":{"type":"integer","minimum":1,"maximum":30},"smoothType":{"type":"string","enum":["simple","length-weight"]}},"required":[],"additionalProperties":false},"solidify":{"type":"object","properties":{"enabled":{"type":"boolean"},"viewportVisible":{"type":"boolean"},"edgeSegments":{"type":"integer","minimum":2,"maximum":8},"foldFromInsideWall":{"type":"boolean"},"foldThicknessEnabled":{"type":"boolean"},"foldThicknessCm":{"type":"number","minimum":0.01,"maximum":0.5},"invertDirection":{"type":"boolean"},"omitSewnEdges":{"type":"boolean"},"stackInsideWalls":{"type":"boolean"},"thicknessCm":{"type":"number","minimum":0.01,"maximum":2}},"required":[],"additionalProperties":false},"subdivisionSurface":{"type":"object","properties":{"enabled":{"type":"boolean"},"viewportVisible":{"type":"boolean"},"afterCorrectiveSmooth":{"type":"boolean"},"levels":{"type":"integer","minimum":0,"maximum":2},"smoothBoundaryEdges":{"type":"boolean"}},"required":[],"additionalProperties":false},"seamAllowance":{"type":"object","properties":{"enabled":{"type":"boolean"},"viewportVisible":{"type":"boolean"}},"required":[],"additionalProperties":false},"predictedSize":{"type":"object","properties":{"enabled":{"type":"boolean"},"viewportVisible":{"type":"boolean"},"relaxIterations":{"type":"integer","minimum":0,"maximum":64},"relaxStrength":{"type":"number","minimum":0,"maximum":1},"remapUvFromTargetPattern":{"type":"boolean"},"targetSizeId":{"type":"string","maxLength":160},"method":{"type":"string","enum":["pattern-grading","mannequin-anatomical"]},"mannequin":{"type":"object","description":"Anatomical sizing profiles. The source rig and baked base are captured locally; do not supply asset URLs or source data. Static Bake only; this does not run cloth simulation.","properties":{"profilesBySize":{"type":"object","maxProperties":64,"propertyNames":{"type":"string","minLength":1,"maxLength":128},"additionalProperties":{"type":"object","properties":{"heightM":{"type":"number","minimum":1.4,"maximum":2.2},"silhouette":{"type":"object","properties":{"headNeck":{"type":"number","minimum":-0.3,"maximum":1},"chest":{"type":"number","minimum":-0.3,"maximum":1},"abdomen":{"type":"number","minimum":-0.3,"maximum":1},"shoulders":{"type":"number","minimum":-0.3,"maximum":1},"biceps":{"type":"number","minimum":-0.3,"maximum":1},"forearms":{"type":"number","minimum":-0.3,"maximum":1},"buttocks":{"type":"number","minimum":-0.3,"maximum":1},"thighs":{"type":"number","minimum":-0.3,"maximum":1},"calves":{"type":"number","minimum":-0.3,"maximum":1}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}}},"required":[],"additionalProperties":false},"patternGradingMannequin":{"type":"object","description":"Presentation-only absolute native body corrections for Pattern grading. Replace the entire sparse per-size map; remove a size to reset it to automatic values. Does not change the garment or UVs.","properties":{"schemaVersion":{"const":1},"profilesBySize":{"type":"object","maxProperties":64,"propertyNames":{"type":"string","minLength":1,"maxLength":128},"additionalProperties":{"type":"object","properties":{"heightM":{"type":"number","minimum":1.4,"maximum":2.2},"silhouette":{"type":"object","properties":{"headNeck":{"type":"number","minimum":-0.3,"maximum":1},"chest":{"type":"number","minimum":-0.3,"maximum":1},"abdomen":{"type":"number","minimum":-0.3,"maximum":1},"shoulders":{"type":"number","minimum":-0.3,"maximum":1},"biceps":{"type":"number","minimum":-0.3,"maximum":1},"forearms":{"type":"number","minimum":-0.3,"maximum":1},"buttocks":{"type":"number","minimum":-0.3,"maximum":1},"thighs":{"type":"number","minimum":-0.3,"maximum":1},"calves":{"type":"number","minimum":-0.3,"maximum":1}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}}},"required":["schemaVersion","profilesBySize"],"additionalProperties":false},"animationFitQuality":{"type":"string","enum":["fast","accurate","simulation"],"description":"Anatomical animated fitting: Fast follows body shape with quick corrections on selected animation frames; Accurate preserves detailed sampled fitting; Simulation fits every saved animation frame. Defaults to Fast."}},"required":[],"additionalProperties":false},"clippingHeal":{"type":"object","properties":{"enabled":{"type":"boolean"},"viewportVisible":{"type":"boolean"},"strokes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":0},"falloff":{"type":"string","enum":["constant","linear","smooth"]},"mode":{"type":"string","enum":["hide","pull","push","restore"]},"radiusWorld":{"type":"number","minimum":1e-10,"maximum":1000},"strengthWorld":{"type":"number","minimum":0,"maximum":100},"targetLayer":{"type":"string","enum":["outer","solidify-inside"]},"samples":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":0},"localNormal":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"localPosition":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"sourceFaceId":{"oneOf":[{"type":"integer","minimum":0,"maximum":2147483647},{"type":"null"}]},"topologyKey":{"type":"string","maxLength":160,"minLength":0}},"required":["localPosition","localNormal"],"additionalProperties":false},"maxItems":2048,"minItems":1}},"required":["mode","radiusWorld","samples"],"additionalProperties":false},"maxItems":500,"minItems":0}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false,"minProperties":1},"garmentWide":{"type":"boolean"}},"required":["operation","objectId","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"uvLayout"},"settings":{"type":"object","properties":{"referencePanelId":{"type":["string","null"],"maxLength":512},"panelScaleById":{"type":"object","properties":{},"additionalProperties":{"type":"number","minimum":0.1,"maximum":1},"maxProperties":100,"propertyNames":{"type":"string","minLength":1,"maxLength":512}}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"channel"},"materialId":{"type":"string","minLength":1,"maxLength":160},"property":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"baseIntensity":{"type":"number","minimum":0,"maximum":10},"enabled":{"type":"boolean"}},"required":["operation","materialId","property"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"material"},"materialId":{"type":"string","minLength":1,"maxLength":160},"doubleSided":{"type":"boolean"},"textureResolution":{"type":"integer","enum":[256,512,1024,2048,4096]},"distanceTextureSmoothing":{"type":"boolean"},"opacitySettings":{"type":"object","properties":{"opacityMode":{"type":"string","enum":["blend","mask"]},"alphaTest":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false}},"required":["operation","materialId"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"playback"},"playing":{"type":"boolean"},"time":{"type":"number","minimum":0,"maximum":36000}},"required":["operation"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"camera"},"operationType":{"type":"string","enum":["get","set","fit","reset"]},"position":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"maxItems":3,"minItems":3},"target":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"maxItems":3,"minItems":3},"zoom":{"type":"number","minimum":0.01,"maximum":100},"fov":{"type":"number","minimum":0.01,"maximum":179},"alpha":{"type":"number","minimum":-100,"maximum":100},"beta":{"type":"number","minimum":0.001,"maximum":3.1405926535897932},"radius":{"type":"number","minimum":0.001,"maximum":10000},"projection":{"type":"string","enum":["perspective","orthographic"]},"orthoScale":{"type":"number","minimum":0.001,"maximum":10000}},"required":["operation","operationType"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"deleteAccessory"},"instanceId":{"type":"string","minLength":1,"maxLength":160}},"required":["operation","instanceId"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"accessoryTransform"},"instanceId":{"type":"string","minLength":1,"maxLength":160},"settings":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":256},"enabled":{"type":"boolean"},"transform":{"type":"object","properties":{"offsetMm":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"maxItems":3,"minItems":3},"scale":{"type":"array","items":{"type":"number","minimum":0.001,"maximum":100},"minItems":3,"maxItems":3},"rotation":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":4,"maxItems":4},"orientationMode":{"type":"string","enum":["surface","world-up"]}},"required":[],"additionalProperties":false},"parameters":{"type":"object","properties":{"buttonSettings":{"$ref":"#/$defs/accessorySettings/properties/button"},"ropeSettings":{"$ref":"#/$defs/accessorySettings/properties/rope"},"snapSettings":{"$ref":"#/$defs/accessorySettings/properties/snap"},"zipperSettings":{"$ref":"#/$defs/accessorySettings/properties/zipper"},"velcroSettings":{"$ref":"#/$defs/accessorySettings/properties/velcro"}},"required":[],"additionalProperties":false},"quality":{"type":"string","enum":["low","medium","high"]},"useTexture":{"type":"boolean"}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","instanceId","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"cancelModifiers"}},"required":["operation"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"addAccessory"},"assetId":{"type":"string","maxLength":160,"minLength":1},"hit":{"$ref":"#/$defs/hit"}},"required":["operation","assetId","hit"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"duplicateAccessory"},"instanceId":{"type":"string","maxLength":160,"minLength":1},"hit":{"$ref":"#/$defs/hit"}},"required":["operation","instanceId","hit"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"accessoryPose"},"objectId":{"type":"string","maxLength":160,"minLength":1},"position":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"quaternion":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"maxItems":4,"minItems":4}},"required":["operation","objectId","position","quaternion"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"accessoryTracking"},"objectId":{"type":"string","maxLength":160,"minLength":1},"points":{"type":"array","items":{"type":"object","properties":{"pointId":{"type":"string","maxLength":160,"minLength":1},"hit":{"$ref":"#/$defs/hit"},"worldPosition":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3}},"required":["pointId"],"additionalProperties":false},"maxItems":32,"minItems":1}},"required":["operation","objectId","points"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"fastenerSettings"},"category":{"const":"button"},"connectionId":{"type":"string","maxLength":160,"minLength":1},"settings":{"$ref":"#/$defs/accessorySettings/properties/button"}},"required":["operation","category","connectionId","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"fastenerSettings"},"category":{"const":"rope"},"connectionId":{"type":"string","maxLength":160,"minLength":1},"settings":{"$ref":"#/$defs/accessorySettings/properties/rope"}},"required":["operation","category","connectionId","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"fastenerSettings"},"category":{"const":"snap"},"connectionId":{"type":"string","maxLength":160,"minLength":1},"settings":{"$ref":"#/$defs/accessorySettings/properties/snap"}},"required":["operation","category","connectionId","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"fastenerSettings"},"category":{"const":"zipper"},"connectionId":{"type":"string","maxLength":160,"minLength":1},"settings":{"$ref":"#/$defs/accessorySettings/properties/zipper"}},"required":["operation","category","connectionId","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"fastenerSettings"},"category":{"const":"velcro"},"connectionId":{"type":"string","maxLength":160,"minLength":1},"settings":{"$ref":"#/$defs/accessorySettings/properties/velcro"}},"required":["operation","category","connectionId","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"clippingStroke"},"objectId":{"type":"string","maxLength":160,"minLength":1},"stroke":{"$ref":"#/$defs/clipStroke"}},"required":["operation","objectId","stroke"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"deleteClippingStrokes"},"objectId":{"type":"string","maxLength":160,"minLength":1},"strokeIds":{"type":"array","items":{"type":"string","maxLength":160,"minLength":1},"maxItems":500,"minItems":0}},"required":["operation","objectId","strokeIds"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"ambientOcclusionSettings"},"settings":{"$ref":"#/$defs/aoSettings"}},"required":["operation","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"ambientOcclusionIntensity"},"value":{"type":"number","minimum":0,"maximum":1}},"required":["operation","value"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"viewport"},"scope":{"type":"string","enum":["model","uv"]},"tool":{"type":"string","enum":["hand","select","vector-add-point","vector-anchor-pattern","vector-bezier","vector-cut","vector-fill","vector-hook-pattern","vector-pen","vector-remove-point","vector-select","brush-paint","brush-erase"]},"settingId":{"type":"string","enum":["modelWireframeMode","modelGridVisible","modelOutlineVisible","uvGridVisible","uvLabelsVisible","uvPatternGuidesVisible","uvWireframeVisible"]},"enabled":{"oneOf":[{"type":"boolean"},{"type":"string","enum":["off","surface","through"]}]},"handleMode":{"type":"string","enum":["independent","mirrored","mirrored-angle"]},"navigation":{"type":"string","enum":["fit","focus","zoomIn","zoomOut"]},"accessoryTransformMode":{"oneOf":[{"type":"string","enum":["translate","rotate"]},{"type":"null"}]},"cropAction":{"type":"string","enum":["start","confirm","cancel"]},"selectedPathId":{"type":"string","maxLength":160},"pointObservation":{"type":"object","properties":{"observePosition":{"type":"boolean"},"observeBezier":{"type":"boolean"}},"required":[],"additionalProperties":false},"resetAccessoryTransform":{"type":"boolean"}},"required":["operation","scope"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"clippingSession"},"action":{"type":"string","enum":["start","accept","cancel","clear","undo"]}},"required":["operation","action"],"additionalProperties":false}]}},"required":["projectId","expectedRevision","request"],"additionalProperties":false,"$defs":{"aoSettings":{"type":"object","properties":{"resolution":{"type":"integer","enum":[256,512,1024]},"samples":{"type":"integer","enum":[16,32,64,128]},"distanceMode":{"type":"string","enum":["model","custom"]},"distanceCm":{"type":"number","minimum":0.1,"maximum":20},"intensity":{"type":"number","minimum":0,"maximum":1},"useSubdivision":{"type":"boolean"},"useCorrectiveSmooth":{"type":"boolean"}},"required":[],"additionalProperties":false},"hit":{"type":"object","properties":{"objectId":{"type":"string","maxLength":160,"minLength":1},"faceIndex":{"type":"integer","minimum":0,"maximum":2147483647},"barycentric":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":3,"minItems":3},"normalOffsetMm":{"type":"number","minimum":-100,"maximum":100}},"required":["objectId"],"additionalProperties":false},"clipStroke":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":0},"falloff":{"type":"string","enum":["constant","linear","smooth"]},"mode":{"type":"string","enum":["hide","pull","push","restore"]},"radiusWorld":{"type":"number","minimum":1e-10,"maximum":1000},"strengthWorld":{"type":"number","minimum":0,"maximum":100},"targetLayer":{"type":"string","enum":["outer","solidify-inside"]},"samples":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":0},"localNormal":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"localPosition":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"sourceFaceId":{"oneOf":[{"type":"integer","minimum":0,"maximum":2147483647},{"type":"null"}]},"topologyKey":{"type":"string","maxLength":160,"minLength":0}},"required":["localPosition","localNormal"],"additionalProperties":false},"maxItems":2048,"minItems":1}},"required":["mode","radiusWorld","samples"],"additionalProperties":false},"accessorySettings":{"type":"object","properties":{"button":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"construction":{"type":"string","enum":["jeans","sew-through","shank","toggle"]},"enabled":{"type":"boolean"},"holeCount":{"type":"integer","enum":[2,4]},"metalness":{"type":"number","minimum":-1000000,"maximum":1000000},"profile":{"type":"string","enum":["concave","convex","flat"]},"quality":{"type":"string","enum":["low","medium","high"]},"reuseGeometryInstances":{"type":"boolean"},"roughness":{"type":"number","minimum":-1000000,"maximum":1000000},"shape":{"type":"string","enum":["rectangular","round"]},"sizeMm":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessMm":{"type":"number","minimum":-1000000,"maximum":1000000},"threadColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"transformCorrection":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000000,"maximum":1000000},"along":{"type":"number","minimum":-1000000,"maximum":1000000},"normal":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","maxLength":160,"minLength":0},"pathDirection":{"type":"string","maxLength":160,"minLength":0},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-1000000,"maximum":1000000},"along":{"type":"number","minimum":-1000000,"maximum":1000000},"normal":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"type":{"type":"string","maxLength":160,"minLength":0},"useTexture":{"type":"boolean"},"itemTransformCorrections":{"type":"object","properties":{},"additionalProperties":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000000,"maximum":1000000},"along":{"type":"number","minimum":-1000000,"maximum":1000000},"normal":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","maxLength":160,"minLength":0},"pathDirection":{"type":"string","maxLength":160,"minLength":0},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-1000000,"maximum":1000000},"along":{"type":"number","minimum":-1000000,"maximum":1000000},"normal":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"maxProperties":256,"propertyNames":{"type":"string","minLength":1,"maxLength":160}}},"required":[],"additionalProperties":false},"rope":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endCappedEndSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"endEndStyle":{"type":"string","maxLength":160,"minLength":0},"endSurfaceEntrySettings":{"type":"object","properties":{"depthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"eyelet":{"type":"object","properties":{"enabled":{"type":"boolean"},"type":{"type":"string","maxLength":160,"minLength":0},"holeDiameterMm":{"type":"number","minimum":-1000000,"maximum":1000000},"rimWidthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"endFoldedEndSettings":{"type":"object","properties":{"distanceMm":{"type":"number","minimum":-1000000,"maximum":1000000},"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"endKnotSettings":{"type":"object","properties":{"offsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"sizePercent":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"endMetalTipSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"endPlasticTipSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"offsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"wallThicknessMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"enabled":{"type":"boolean"},"metalness":{"type":"number","minimum":-1000000,"maximum":1000000},"patternOffsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"patternOffsetSigned":{"type":"boolean"},"quality":{"type":"string","enum":["low","medium","high"]},"roughness":{"type":"number","minimum":-1000000,"maximum":1000000},"ropeSmoothing":{"type":"object","properties":{"enabled":{"type":"boolean"},"iterations":{"type":"number","minimum":-1000000,"maximum":1000000},"strength":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"startCappedEndSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"startEndStyle":{"type":"string","maxLength":160,"minLength":0},"startSurfaceEntrySettings":{"type":"object","properties":{"depthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"eyelet":{"type":"object","properties":{"enabled":{"type":"boolean"},"type":{"type":"string","maxLength":160,"minLength":0},"holeDiameterMm":{"type":"number","minimum":-1000000,"maximum":1000000},"rimWidthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"startFoldedEndSettings":{"type":"object","properties":{"distanceMm":{"type":"number","minimum":-1000000,"maximum":1000000},"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"startKnotSettings":{"type":"object","properties":{"offsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"sizePercent":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"startMetalTipSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"startPlasticTipSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"offsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"wallThicknessMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"transformCorrection":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000000,"maximum":1000000},"along":{"type":"number","minimum":-1000000,"maximum":1000000},"normal":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","maxLength":160,"minLength":0},"pathDirection":{"type":"string","maxLength":160,"minLength":0},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-1000000,"maximum":1000000},"along":{"type":"number","minimum":-1000000,"maximum":1000000},"normal":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"useTexture":{"type":"boolean"},"chainResizeAnchor":{"type":"string","maxLength":160,"minLength":0},"type":{"type":"string","maxLength":160,"minLength":0},"sizeMm":{"type":"number","minimum":0.5,"maximum":40},"diameterMm":{"type":"number","minimum":0.5,"maximum":40},"linkLengthMm":{"type":"number","minimum":3,"maximum":200},"linkWidthMm":{"type":"number","minimum":2,"maximum":160},"lengthMm":{"type":"number","minimum":1,"maximum":10000},"loopDiameterMm":{"type":"number","minimum":1,"maximum":10000},"loopRadiusMm":{"type":"number","minimum":1,"maximum":10000},"thicknessMm":{"type":"number","minimum":0.1,"maximum":20}},"required":[],"additionalProperties":false},"snap":{"type":"object","properties":{"autoConnectHalves":{"type":"boolean"},"capSocketEnabled":{"type":"boolean"},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"enabled":{"type":"boolean"},"itemCount":{"oneOf":[{"type":"integer","minimum":1,"maximum":256},{"type":"null"}]},"metalness":{"type":"number","minimum":-1000000,"maximum":1000000},"quality":{"type":"string","enum":["low","medium","high"]},"reuseGeometryInstances":{"type":"boolean"},"roughness":{"type":"number","minimum":-1000000,"maximum":1000000},"sizeMm":{"type":"number","minimum":-1000000,"maximum":1000000},"studPostEnabled":{"type":"boolean"},"transformCorrection":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000000,"maximum":1000000},"along":{"type":"number","minimum":-1000000,"maximum":1000000},"normal":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","maxLength":160,"minLength":0},"pathDirection":{"type":"string","maxLength":160,"minLength":0},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-1000000,"maximum":1000000},"along":{"type":"number","minimum":-1000000,"maximum":1000000},"normal":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"type":{"type":"string","maxLength":160,"minLength":0},"useTexture":{"type":"boolean"}},"required":[],"additionalProperties":false},"zipper":{"type":"object","properties":{"elementColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"enabled":{"type":"boolean"},"finish":{"type":"string","maxLength":160,"minLength":0},"metalness":{"type":"number","minimum":-1000000,"maximum":1000000},"pullTabGeometry":{"type":"object","properties":{"lengthScale":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessScale":{"type":"number","minimum":-1000000,"maximum":1000000},"widthScale":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"pullType":{"type":"string","maxLength":160,"minLength":0},"quality":{"type":"string","enum":["low","medium","high"]},"roughness":{"type":"number","minimum":-1000000,"maximum":1000000},"size":{"type":"number","minimum":-1000000,"maximum":1000000},"sliderColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"sliderEnabled":{"type":"boolean"},"sliderMetalness":{"type":"number","minimum":-1000000,"maximum":1000000},"sliderRoughness":{"type":"number","minimum":-1000000,"maximum":1000000},"tapeColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"tapeEnabled":{"type":"boolean"},"tapeGeometry":{"type":"object","properties":{"bendAngleDeg":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessScale":{"type":"number","minimum":-1000000,"maximum":1000000},"widthScale":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"teethEnabled":{"type":"boolean"},"terminals":{"type":"object","properties":{"endStopsEnabled":{"type":"boolean"},"startBoxPinEnabled":{"type":"boolean"},"startInsertPinEnabled":{"type":"boolean"},"startRetainerBoxEnabled":{"type":"boolean"},"startStopEnabled":{"type":"boolean"}},"required":[],"additionalProperties":false},"toothGeometry":{"type":"object","properties":{"lengthScale":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessScale":{"type":"number","minimum":-1000000,"maximum":1000000},"widthRatio":{"type":"number","minimum":0.3,"maximum":0.65}},"required":[],"additionalProperties":false},"transformCorrection":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000000,"maximum":1000000},"along":{"type":"number","minimum":-1000000,"maximum":1000000},"normal":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","maxLength":160,"minLength":0},"pathDirection":{"type":"string","maxLength":160,"minLength":0},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-1000000,"maximum":1000000},"along":{"type":"number","minimum":-1000000,"maximum":1000000},"normal":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"useTexture":{"type":"boolean"},"toothDensity":{"type":"number","minimum":-1000000,"maximum":1000000},"type":{"type":"string","maxLength":160,"minLength":0}},"required":[],"additionalProperties":false},"velcro":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"enabled":{"type":"boolean"},"density":{"type":"number","minimum":-1000000,"maximum":1000000},"featureThicknessRatio":{"type":"number","minimum":-1000000,"maximum":1000000},"featureWidthRatio":{"type":"number","minimum":-1000000,"maximum":1000000},"hookColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"layoutMode":{"type":"string","maxLength":160,"minLength":0},"loopColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"metalness":{"type":"number","minimum":-1000000,"maximum":1000000},"pairGapMm":{"type":"number","minimum":-1000000,"maximum":1000000},"quality":{"type":"string","enum":["low","medium","high"]},"roughness":{"type":"number","minimum":-1000000,"maximum":1000000},"side":{"type":"string","maxLength":160,"minLength":0},"transformCorrection":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000000,"maximum":1000000},"along":{"type":"number","minimum":-1000000,"maximum":1000000},"normal":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","maxLength":160,"minLength":0},"pathDirection":{"type":"string","maxLength":160,"minLength":0},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-1000000,"maximum":1000000},"along":{"type":"number","minimum":-1000000,"maximum":1000000},"normal":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"type":{"type":"string","maxLength":160,"minLength":0},"useTexture":{"type":"boolean"},"widthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"inspector"}},{"name":"pg_edit_painter","description":"Edit local Painter layer/group/mask structure and procedural fill/pattern/vector/brush layers. Images/fonts needing network access are excluded.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"request":{"oneOf":[{"type":"object","properties":{"operation":{"const":"selectLayer"},"materialId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160}},"required":["operation","materialId","layerId"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"addLayer"},"materialId":{"type":"string","minLength":1,"maxLength":160},"type":{"type":"string","enum":["fill","pattern","vector","brush","text","image"]},"patch":{"$ref":"#/$defs/layerPatch"}},"required":["operation","materialId","type"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"updateLayer"},"materialId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"patch":{"$ref":"#/$defs/layerPatch"}},"required":["operation","materialId","layerId","patch"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"duplicateLayer"},"materialId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160}},"required":["operation","materialId","layerId"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"deleteLayer"},"materialId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160}},"required":["operation","materialId","layerId"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"reorderLayer"},"materialId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"toIndex":{"type":"integer","minimum":0,"maximum":999}},"required":["operation","materialId","layerId","toIndex"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"addGroup"},"materialId":{"type":"string","minLength":1,"maxLength":160},"patch":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":256},"visible":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay"]},"order":{"type":"integer","minimum":0,"maximum":999}},"required":[],"additionalProperties":false},"initialLayerId":{"type":"string","minLength":1,"maxLength":160}},"required":["operation","materialId"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"updateGroup"},"materialId":{"type":"string","minLength":1,"maxLength":160},"groupId":{"type":"string","minLength":1,"maxLength":160},"patch":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":256},"visible":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay"]},"order":{"type":"integer","minimum":0,"maximum":999}},"required":[],"additionalProperties":false}},"required":["operation","materialId","groupId","patch"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"deleteGroup"},"materialId":{"type":"string","minLength":1,"maxLength":160},"groupId":{"type":"string","minLength":1,"maxLength":160}},"required":["operation","materialId","groupId"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"assignGroup"},"materialId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"groupId":{"type":"string","maxLength":160}},"required":["operation","materialId","layerId","groupId"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"addMask"},"materialId":{"type":"string","minLength":1,"maxLength":160},"targetId":{"type":"string","minLength":1,"maxLength":160},"targetType":{"type":"string","enum":["layer","group"]},"type":{"type":"string","enum":["fill","pattern","vector","brush"]},"patch":{"$ref":"#/$defs/layerPatch"}},"required":["operation","materialId","targetId","targetType","type"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"copyLayer"},"materialId":{"type":"string","minLength":1,"maxLength":160},"layerIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"maxItems":100,"minItems":1}},"required":["operation","materialId","layerIds"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"pasteLayer"},"materialId":{"type":"string","minLength":1,"maxLength":160},"targetLayerId":{"type":"string","minLength":1,"maxLength":160}},"required":["operation","materialId"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"brushStroke"},"materialId":{"type":"string","maxLength":160,"minLength":1},"layerId":{"type":"string","maxLength":160,"minLength":1},"stroke":{"$ref":"#/$defs/brushStroke"}},"required":["operation","materialId","layerId","stroke"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"deleteBrushStrokes"},"materialId":{"type":"string","maxLength":160,"minLength":1},"layerId":{"type":"string","maxLength":160,"minLength":1},"strokeIds":{"type":"array","items":{"type":"string","maxLength":160,"minLength":1},"maxItems":100,"minItems":0}},"required":["operation","materialId","layerId","strokeIds"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"graphEdit"},"materialId":{"type":"string","maxLength":160,"minLength":1},"layerId":{"type":"string","maxLength":160,"minLength":1},"upsertNodes":{"type":"array","items":{"$ref":"#/$defs/graphNode"},"maxItems":64,"minItems":0},"removeNodeIds":{"type":"array","items":{"type":"string","maxLength":160,"minLength":1},"maxItems":64,"minItems":0},"upsertConnections":{"type":"array","items":{"$ref":"#/$defs/graphConnection"},"maxItems":128,"minItems":0},"removeConnectionIds":{"type":"array","items":{"type":"string","maxLength":160,"minLength":1},"maxItems":128,"minItems":0}},"required":["operation","materialId","layerId"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"vectorEdit"},"materialId":{"type":"string","maxLength":160,"minLength":1},"layerId":{"type":"string","maxLength":160,"minLength":1},"upsertPaths":{"type":"array","items":{"$ref":"#/$defs/vectorPath"},"maxItems":20,"minItems":0},"removePathIds":{"type":"array","items":{"type":"string","maxLength":160,"minLength":1},"maxItems":100,"minItems":0}},"required":["operation","materialId","layerId"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"textureAsset"},"materialId":{"type":"string","maxLength":160,"minLength":1},"layerId":{"type":"string","maxLength":160,"minLength":1},"property":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"assetId":{"type":"string","maxLength":160,"minLength":1}},"required":["operation","materialId","layerId","property","assetId"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"clearTexture"},"materialId":{"type":"string","maxLength":160,"minLength":1},"layerId":{"type":"string","maxLength":160,"minLength":1},"property":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]}},"required":["operation","materialId","layerId","property"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"customPattern"},"patternId":{"type":"string","maxLength":160,"minLength":0},"name":{"type":"string","maxLength":256,"minLength":1},"graph":{"$ref":"#/$defs/graph"},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]}},"required":["operation","name","graph"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"deleteCustomPattern"},"patternId":{"type":"string","maxLength":160,"minLength":1}},"required":["operation","patternId"],"additionalProperties":false}]}},"required":["projectId","expectedRevision","request"],"additionalProperties":false,"$defs":{"graph":{"type":"object","properties":{"name":{"type":"string","maxLength":256,"minLength":0},"version":{"type":"integer","minimum":1,"maximum":100},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"nodes":{"type":"array","items":{"$ref":"#/$defs/graphNode"},"maxItems":256,"minItems":1},"connections":{"type":"array","items":{"$ref":"#/$defs/graphConnection"},"maxItems":1024,"minItems":0},"subgraphs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"label":{"type":"string","maxLength":256,"minLength":0},"nodeIds":{"type":"array","items":{"type":"string","maxLength":160,"minLength":1},"maxItems":256,"minItems":0},"x":{"type":"number","minimum":-1000000,"maximum":1000000},"y":{"type":"number","minimum":-1000000,"maximum":1000000},"collapsed":{"type":"boolean"}},"required":["id","nodeIds"],"additionalProperties":false},"maxItems":64,"minItems":0},"exposedControls":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"label":{"type":"string","maxLength":256,"minLength":0},"type":{"type":"string","enum":["range","color","select","checkbox","number"]},"min":{"type":"number","minimum":-1000000,"maximum":1000000},"max":{"type":"number","minimum":-1000000,"maximum":1000000},"step":{"type":"number","minimum":1e-06,"maximum":1000000},"value":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000},{"type":"boolean"},{"type":"null"}]},"bindings":{"type":"array","items":{"type":"object","properties":{"nodeId":{"type":"string","maxLength":160,"minLength":1},"parameterPath":{"type":"array","items":{"type":"string","maxLength":80,"minLength":1},"maxItems":8,"minItems":1}},"required":["nodeId","parameterPath"],"additionalProperties":false},"maxItems":64,"minItems":0}},"required":["id","type","bindings"],"additionalProperties":false},"maxItems":64,"minItems":0}},"required":["nodes","connections"],"additionalProperties":false},"vector":{"type":"object","properties":{"version":{"type":"integer","minimum":1,"maximum":100},"paths":{"type":"array","items":{"$ref":"#/$defs/vectorPath"},"maxItems":100,"minItems":0},"appearance":{"type":"object","properties":{"fill":{"type":"object","properties":{"enabled":{"type":"boolean"},"ao":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"emissive":{"type":"number","minimum":0,"maximum":1},"metalness":{"type":"number","minimum":0,"maximum":1},"normalStrength":{"type":"number","minimum":-1,"maximum":1},"opacity":{"type":"number","minimum":0,"maximum":1},"reliefWidthUv":{"type":"number","minimum":0.0001,"maximum":1},"roughness":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false},"stroke":{"type":"object","properties":{"enabled":{"type":"boolean"},"mode":{"type":"string","enum":["none","preset","solid"]}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"generator":{"type":"object","properties":{"type":{"type":"string","enum":["straight-stitch"]},"preset":{"type":"string","maxLength":160,"minLength":0},"settings":{"type":"object","properties":{"ao":{"type":"number","minimum":-100,"maximum":100},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"emissive":{"type":"number","minimum":-100,"maximum":100},"gapLengthUv":{"type":"number","minimum":-100,"maximum":100},"gatherBandWidthUv":{"type":"number","minimum":-100,"maximum":100},"gatherCreaseWidthUv":{"type":"number","minimum":-100,"maximum":100},"gatherIrregularity":{"type":"number","minimum":-100,"maximum":100},"gatherSeed":{"type":"number","minimum":-100,"maximum":100},"gatherSpacingUv":{"type":"number","minimum":-100,"maximum":100},"metalness":{"type":"number","minimum":-100,"maximum":100},"normalStrength":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":-100,"maximum":100},"overlockNeedleLineCount":{"type":"number","minimum":-100,"maximum":100},"overlockNeedleLineSpacingUv":{"type":"number","minimum":-100,"maximum":100},"phaseUv":{"type":"number","minimum":-100,"maximum":100},"roughness":{"type":"number","minimum":-100,"maximum":100},"seamCreaseDepth":{"type":"number","minimum":-100,"maximum":100},"seamCreaseWidthUv":{"type":"number","minimum":-100,"maximum":100},"seamReliefAsymmetry":{"type":"number","minimum":-100,"maximum":100},"seamColorStrength":{"type":"number","minimum":-100,"maximum":100},"seamReliefSoftness":{"type":"number","minimum":-100,"maximum":100},"seamReliefWidthUv":{"type":"number","minimum":-100,"maximum":100},"stitchLengthUv":{"type":"number","minimum":-100,"maximum":100},"stitchStyle":{"type":"string","maxLength":80,"minLength":0},"threadCount":{"type":"number","minimum":-100,"maximum":100},"threadSpacingUv":{"type":"number","minimum":-100,"maximum":100},"threadWidthUv":{"type":"number","minimum":-100,"maximum":100},"motifWidthUv":{"type":"number","minimum":-100,"maximum":100}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"procedural":{"type":"object","properties":{"preset":{"type":"string","maxLength":160,"minLength":0},"settings":{"type":"object","properties":{"aoStrength":{"type":"number","minimum":-100000,"maximum":100000},"baseColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"contrast":{"type":"number","minimum":-100000,"maximum":100000},"irregularity":{"type":"number","minimum":-100000,"maximum":100000},"materialFamily":{"oneOf":[{"type":"string","maxLength":160,"minLength":0},{"type":"null"}]},"normalStrength":{"type":"number","minimum":-100000,"maximum":100000},"repeats":{"type":"number","minimum":-100000,"maximum":100000},"roughness":{"type":"number","minimum":-100000,"maximum":100000},"secondaryColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"structure":{"oneOf":[{"type":"string","maxLength":160,"minLength":0},{"type":"null"}]},"surface":{"oneOf":[{"type":"string","maxLength":160,"minLength":0},{"type":"null"}]},"weave":{"oneOf":[{"type":"string","maxLength":160,"minLength":0},{"type":"null"}]},"metallic":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false},"graph":{"$ref":"#/$defs/graph"},"customPatternId":{"type":"string","maxLength":160,"minLength":0},"customPatternRevision":{"type":"integer","minimum":1,"maximum":2147483647}},"required":[],"additionalProperties":false},"brush":{"type":"object","properties":{"version":{"type":"integer","minimum":1,"maximum":100},"referenceResolution":{"type":"integer","enum":[256,512,1024,2048,4096]},"tool":{"type":"string","enum":["brush-paint","brush-erase"]},"settings":{"$ref":"#/$defs/brushSettings"},"channels":{"$ref":"#/$defs/brushChannels"},"strokes":{"type":"array","items":{"$ref":"#/$defs/brushStroke"},"maxItems":100,"minItems":0}},"required":[],"additionalProperties":false},"text":{"type":"object","properties":{"text":{"type":"string","maxLength":1000,"minLength":0},"fontFamily":{"type":"string","maxLength":160,"minLength":0},"fontId":{"oneOf":[{"type":"string","maxLength":160,"minLength":0},{"type":"integer","minimum":0,"maximum":2147483647},{"type":"null"}]},"fontSize":{"type":"number","minimum":1,"maximum":1000},"fontStyle":{"type":"string","enum":["normal","italic"]},"fontWeight":{"type":"string","maxLength":10,"minLength":0},"textAlign":{"type":"string","enum":["left","center","right","justify"]},"textEffect":{"type":"string","enum":["bridge","curved","normal","oblique"]},"textTransform":{"type":"string","enum":["capitalize","lowercase","normal","uppercase"]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"emissive":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"alpha":{"type":"number","minimum":0,"maximum":1},"ao":{"type":"number","minimum":0,"maximum":1},"metalness":{"type":"number","minimum":0,"maximum":1},"roughness":{"type":"number","minimum":0,"maximum":1},"opacity":{"type":"number","minimum":0,"maximum":1},"normal":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":3,"minItems":3},"bridgeEdgeThickness":{"type":"number","minimum":0,"maximum":1000},"bridgeMiddleThickness":{"type":"number","minimum":0,"maximum":1000},"bridgeOffsetY":{"type":"number","minimum":-1000,"maximum":1000},"bridgeSmoothing":{"type":"number","minimum":0,"maximum":100},"charSpacing":{"type":"number","minimum":-1000,"maximum":1000},"curve":{"type":"number","minimum":-1000,"maximum":1000},"curveDistance":{"type":"number","minimum":-1000,"maximum":1000},"lineHeight":{"type":"number","minimum":0.01,"maximum":10},"linethrough":{"type":"boolean"},"obliqueEnd":{"type":"number","minimum":-1000,"maximum":1000},"obliqueHeight":{"type":"number","minimum":-1000,"maximum":1000},"obliqueStart":{"type":"number","minimum":-1000,"maximum":1000},"underline":{"type":"boolean"}},"required":[],"additionalProperties":false},"layerPatch":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":256},"visible":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"channels":{"type":"object","properties":{"map":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"normalMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"bumpMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"displacementMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"roughnessMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"metalnessMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"aoMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"emissiveMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"alphaMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"transform":{"type":"object","properties":{"cropHeight":{"type":"number","minimum":0.01,"maximum":1},"cropWidth":{"type":"number","minimum":0.01,"maximum":1},"cropX":{"type":"number","minimum":0,"maximum":0.99},"cropY":{"type":"number","minimum":0,"maximum":0.99},"offsetX":{"type":"number","minimum":-1000000,"maximum":1000000},"offsetY":{"type":"number","minimum":-1000000,"maximum":1000000},"repeatX":{"type":"number","minimum":1,"maximum":64},"repeatY":{"type":"number","minimum":1,"maximum":64},"repeatSpacingX":{"type":"number","minimum":0,"maximum":5},"repeatSpacingY":{"type":"number","minimum":0,"maximum":5},"rotationDeg":{"type":"number","minimum":-180,"maximum":180},"scale":{"type":"number","minimum":0.01,"maximum":6},"scaleX":{"type":"number","minimum":0.01,"maximum":6},"scaleY":{"type":"number","minimum":0.01,"maximum":6},"sourceAspect":{"type":"number","minimum":0.02,"maximum":50}},"required":[],"additionalProperties":false},"groupId":{"type":"string","maxLength":160},"maskInverted":{"type":"boolean"},"type":{"type":"string","enum":["fill","pattern","vector","brush","text","image"]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"procedural":{"$ref":"#/$defs/procedural"},"proceduralVector":{"$ref":"#/$defs/vector"},"brush":{"$ref":"#/$defs/brush"},"text":{"$ref":"#/$defs/text"},"maskChannels":{"type":"array","items":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"maxItems":9,"minItems":0},"customName":{"type":"string","maxLength":256,"minLength":0},"targetZoneId":{"type":"string","maxLength":320,"minLength":0}},"required":[],"additionalProperties":false},"graphNode":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"type":{"type":"string","enum":["uv-coordinate","value","color","combine-xy","separate-xy","vector-math","tile-coordinate","hash-random","sdf-primitive","segment-distance","sdf-combine","sdf-to-mask","compare","smoothstep","blend","brightness-contrast","blur","brick","checker","color-ramp","fabric-pattern","fibers","felt-fibers","hook-array","imperfection","invert","gradient-map","hue-saturation","knit-cell","leather-grain","math","levels","curves","map-range","rgb-to-bw","material-output","pile-cell","noise","set-alpha","normal-from-height","ao-from-height","surface-finish","transform","voronoi","warp","wave","weave","waffle-cell"]},"name":{"type":"string","maxLength":256,"minLength":0},"label":{"type":"string","maxLength":256,"minLength":0},"x":{"type":"number","minimum":-1000000,"maximum":1000000},"y":{"type":"number","minimum":-1000000,"maximum":1000000},"width":{"type":"number","minimum":32,"maximum":10000},"collapsed":{"type":"boolean"},"parameters":{"type":"object","properties":{"value":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"color":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"x":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"y":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"angle":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"operation":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"scale":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"vectorAX":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"vectorAY":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"vectorBX":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"vectorBY":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"columns":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"rows":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"seed":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"stagger":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"algorithm":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"periodX":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"periodY":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"centerX":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"centerY":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"endX":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"endY":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"falloff":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"feather":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"innerRadius":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"points":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":0},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["x","y"],"additionalProperties":false},"maxItems":64,"minItems":2},"radius":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"rotation":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"shape":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"sides":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"sizeX":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"sizeY":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"startX":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"startY":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"thickness":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"smoothness":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"valueA":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"valueB":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"invert":{"type":"boolean"},"mode":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"epsilon":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"edge0":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"edge1":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"opacity":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"brightness":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"contrast":{"anyOf":[{"anyOf":[{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},{"type":"number","minimum":-1000000,"maximum":1000000}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},"factor":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"samples":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"bevel":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"mortar":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"offset":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"colorA":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"colorB":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"scaleX":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"scaleY":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"interpolation":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":32,"minItems":2},"aoStrength":{"anyOf":[{"anyOf":[{"type":"number","minimum":-1000000,"maximum":1000000},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},"baseColor":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"irregularity":{"anyOf":[{"anyOf":[{"anyOf":[{"anyOf":[{"anyOf":[{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number","minimum":-1000000,"maximum":1000000},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},"materialFamily":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"normalStrength":{"anyOf":[{"anyOf":[{"type":"number","minimum":-1000000,"maximum":1000000},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},"preset":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"repeats":{"anyOf":[{"anyOf":[{"anyOf":[{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number","minimum":-1000000,"maximum":1000000},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},"roughness":{"anyOf":[{"anyOf":[{"type":"number","minimum":-1000000,"maximum":1000000},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},"secondaryColor":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"structure":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"null"}]},"surface":{"anyOf":[{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"null"}]},{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}]},"weave":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"density":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"disorder":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"length":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"variant":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"waviness":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"width":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"broadSeed":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"coarseFiberSeed":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"fineFiberSeed":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"microSeed":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"cellSeed":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"noiseSeed":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"fineSeed":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"mediumSeed":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"worleySeed":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"repeat":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"hue":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"saturation":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"style":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"coarseSeed":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"grainSeed":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"clamp":{"type":"boolean"},"gamma":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"inputBlack":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"inputWhite":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"outputBlack":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"outputWhite":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"fromMax":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"fromMin":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"toMax":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"toMin":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"metallicStrength":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"roughnessStrength":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"detail":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"lacunarity":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"threshold":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"alpha":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"intensity":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"invertY":{"type":"boolean"},"repeatsX":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"repeatsY":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"bias":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"depth":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"response":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"strength":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"aoDepth":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"aoResponse":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"disableAo":{"type":"boolean"},"maskColorByCoverage":{"type":"boolean"},"roughnessVariation":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"separateOpacity":{"type":"boolean"},"offsetX":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"offsetY":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"distance":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"randomness":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"phase":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"softness":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"pattern":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"threadWidth":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"warpCount":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]},"weftCount":{"oneOf":[{"type":"string","maxLength":256,"minLength":0},{"type":"number","minimum":-1000000,"maximum":1000000}]}},"required":[],"additionalProperties":false}},"required":["id","type"],"additionalProperties":false},"graphConnection":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"from":{"type":"object","properties":{"nodeId":{"type":"string","maxLength":160,"minLength":1},"portId":{"type":"string","maxLength":160,"minLength":1}},"required":["nodeId","portId"],"additionalProperties":false},"to":{"type":"object","properties":{"nodeId":{"type":"string","maxLength":160,"minLength":1},"portId":{"type":"string","maxLength":160,"minLength":1}},"required":["nodeId","portId"],"additionalProperties":false}},"required":["id","from","to"],"additionalProperties":false},"vectorPath":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"name":{"type":"string","maxLength":256,"minLength":0},"customName":{"type":"string","maxLength":256,"minLength":0},"compoundId":{"type":"string","maxLength":160,"minLength":0},"closed":{"type":"boolean"},"fillClosed":{"type":"boolean"},"fillRule":{"type":"string","enum":["evenodd","nonzero"]},"regionFill":{"type":"string","enum":["empty","filled"]},"binding":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["pattern-edge","pattern-point"]},"anchors":{"type":"array","items":{"type":"object","properties":{"anchorId":{"type":"string","maxLength":160,"minLength":1},"inHandle":{"oneOf":[{"type":"object","properties":{"normalMm":{"type":"number","minimum":-1000000,"maximum":1000000},"tangentMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":["normalMm","tangentMm"],"additionalProperties":false},{"type":"null"}]},"outHandle":{"oneOf":[{"type":"object","properties":{"normalMm":{"type":"number","minimum":-1000000,"maximum":1000000},"tangentMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":["normalMm","tangentMm"],"additionalProperties":false},{"type":"null"}]},"normalMm":{"type":"number","minimum":-1000000,"maximum":1000000},"tangentMm":{"type":"number","minimum":-1000000,"maximum":1000000},"s":{"type":"number","minimum":0,"maximum":1},"observeBezier":{"type":"boolean"},"observePosition":{"type":"boolean"},"bezierReverse":{"type":"boolean"},"offsetUv":{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100}},"required":["x","y"],"additionalProperties":false},"offsetMm":{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100}},"required":["x","y"],"additionalProperties":false},"target":{"type":"object","properties":{"artifactId":{"type":"string","maxLength":512,"minLength":0},"edgeId":{"type":"string","maxLength":160,"minLength":0},"panelId":{"type":"string","maxLength":512,"minLength":0},"partId":{"type":"string","maxLength":160,"minLength":0},"projection":{"type":"string","maxLength":160,"minLength":0},"instance":{"type":"string","maxLength":160,"minLength":0},"pointId":{"type":"string","maxLength":160,"minLength":0},"ratio":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false}},"required":["anchorId"],"additionalProperties":false},"maxItems":512,"minItems":0},"target":{"type":"object","properties":{"artifactId":{"type":"string","maxLength":512,"minLength":0},"edgeId":{"type":"string","maxLength":160,"minLength":0},"panelId":{"type":"string","maxLength":512,"minLength":0},"partId":{"type":"string","maxLength":160,"minLength":0},"projection":{"type":"string","maxLength":160,"minLength":0},"instance":{"type":"string","maxLength":160,"minLength":0},"pointId":{"type":"string","maxLength":160,"minLength":0},"ratio":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false},"offsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"reverse":{"type":"boolean"},"uvOrientation":{"type":"string","maxLength":160,"minLength":0}},"required":["kind"],"additionalProperties":false},{"type":"null"}]},"anchors":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100},"inHandle":{"oneOf":[{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100}},"required":["x","y"],"additionalProperties":false},{"type":"null"}]},"outHandle":{"oneOf":[{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100}},"required":["x","y"],"additionalProperties":false},{"type":"null"}]},"handleMode":{"type":"string","enum":["independent","mirrored","mirrored-angle"]}},"required":["id","x","y"],"additionalProperties":false},"maxItems":512,"minItems":1}},"required":["id","anchors"],"additionalProperties":false},"brushStroke":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":0},"mode":{"type":"string","enum":["paint","erase"]},"tool":{"type":"string","enum":["brush-paint","brush-erase"]},"seed":{"type":"integer","minimum":0,"maximum":2147483647},"points":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1},"pressure":{"type":"number","minimum":0.01,"maximum":1}},"required":["x","y"],"additionalProperties":false},"maxItems":4096,"minItems":1},"settings":{"$ref":"#/$defs/brushSettings"},"channels":{"$ref":"#/$defs/brushChannels"}},"required":["points"],"additionalProperties":false},"brushSettings":{"type":"object","properties":{"preset":{"type":"string","maxLength":80,"minLength":0},"applicationMode":{"type":"string","enum":["stamp","stroke"]},"focalShift":{"type":"number","minimum":-1,"maximum":1},"foldCount":{"type":"integer","minimum":1,"maximum":16},"foldSpacing":{"type":"number","minimum":0,"maximum":1},"followStroke":{"type":"boolean"},"sculptProfile":{"type":"string","enum":["crease","fold","none","wrinkles"]},"smoothing":{"type":"number","minimum":0,"maximum":1},"tipTaper":{"type":"number","minimum":0,"maximum":1},"zIntensity":{"type":"number","minimum":0,"maximum":2},"flow":{"type":"number","minimum":0,"maximum":1},"hardness":{"type":"number","minimum":0,"maximum":1},"sizePx":{"type":"number","minimum":1,"maximum":4096},"sizeUv":{"type":"number","minimum":1e-05,"maximum":4},"spacing":{"type":"number","minimum":0.01,"maximum":1},"tipAngle":{"type":"number","minimum":-180,"maximum":180},"tipAspect":{"type":"number","minimum":0.05,"maximum":2.5},"tipShape":{"type":"string","enum":["bristle","chisel","ellipse","round"]}},"required":[],"additionalProperties":false},"brushChannels":{"type":"object","properties":{"map":{"type":"object","properties":{"enabled":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1},"intensity":{"type":"number","minimum":0,"maximum":10},"value":{"oneOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},{"type":"number","minimum":-100,"maximum":100},{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":3,"minItems":3}]}},"required":[],"additionalProperties":false},"normalMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1},"intensity":{"type":"number","minimum":0,"maximum":10},"value":{"oneOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},{"type":"number","minimum":-100,"maximum":100},{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":3,"minItems":3}]}},"required":[],"additionalProperties":false},"bumpMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1},"intensity":{"type":"number","minimum":0,"maximum":10},"value":{"oneOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},{"type":"number","minimum":-100,"maximum":100},{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":3,"minItems":3}]}},"required":[],"additionalProperties":false},"displacementMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1},"intensity":{"type":"number","minimum":0,"maximum":10},"value":{"oneOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},{"type":"number","minimum":-100,"maximum":100},{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":3,"minItems":3}]}},"required":[],"additionalProperties":false},"roughnessMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1},"intensity":{"type":"number","minimum":0,"maximum":10},"value":{"oneOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},{"type":"number","minimum":-100,"maximum":100},{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":3,"minItems":3}]}},"required":[],"additionalProperties":false},"metalnessMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1},"intensity":{"type":"number","minimum":0,"maximum":10},"value":{"oneOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},{"type":"number","minimum":-100,"maximum":100},{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":3,"minItems":3}]}},"required":[],"additionalProperties":false},"aoMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1},"intensity":{"type":"number","minimum":0,"maximum":10},"value":{"oneOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},{"type":"number","minimum":-100,"maximum":100},{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":3,"minItems":3}]}},"required":[],"additionalProperties":false},"emissiveMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1},"intensity":{"type":"number","minimum":0,"maximum":10},"value":{"oneOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},{"type":"number","minimum":-100,"maximum":100},{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":3,"minItems":3}]}},"required":[],"additionalProperties":false},"alphaMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1},"intensity":{"type":"number","minimum":0,"maximum":10},"value":{"oneOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},{"type":"number","minimum":-100,"maximum":100},{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":3,"minItems":3}]}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"textureModifier":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"type":{"const":"filter"},"enabled":{"type":"boolean"},"settings":{"type":"object","properties":{"blackAndWhite":{"type":"boolean"},"brightness":{"type":"number","minimum":-1,"maximum":1},"blurRadius":{"type":"number","minimum":0,"maximum":32},"colorizeAmount":{"type":"number","minimum":0,"maximum":1},"colorizeColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"colorizeEnabled":{"type":"boolean"},"contrast":{"type":"number","minimum":-1,"maximum":1},"exposure":{"type":"number","minimum":-5,"maximum":5},"gamma":{"type":"number","minimum":0.1,"maximum":3},"hue":{"type":"number","minimum":-180,"maximum":180},"lightness":{"type":"number","minimum":-1,"maximum":1},"saturation":{"type":"number","minimum":-1,"maximum":1},"threshold":{"type":"number","minimum":0,"maximum":1},"thresholdEnabled":{"type":"boolean"},"colorizeHue":{"type":"number","minimum":0,"maximum":360},"colorizeSaturation":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"type":{"const":"pbr-generator"},"enabled":{"type":"boolean"},"settings":{"type":"object","properties":{"aoBias":{"type":"number","minimum":0,"maximum":1},"aoRadius":{"type":"number","minimum":0,"maximum":1},"aoStrength":{"type":"number","minimum":0,"maximum":1},"invertHeight":{"type":"boolean"},"metalnessAmount":{"type":"number","minimum":0,"maximum":1},"metalnessThreshold":{"type":"number","minimum":0,"maximum":1},"normalStrength":{"type":"number","minimum":0,"maximum":1},"roughnessBase":{"type":"number","minimum":0,"maximum":1},"roughnessContrast":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false},"outputs":{"type":"object","properties":{"alphaMap":{"type":"boolean"},"aoMap":{"type":"boolean"},"metalnessMap":{"type":"boolean"},"normalMap":{"type":"boolean"},"roughnessMap":{"type":"boolean"}},"required":[],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"type":{"const":"seamless"},"enabled":{"type":"boolean"},"settings":{"type":"object","properties":{"algorithmVersion":{"type":"integer","minimum":1,"maximum":999},"edgeFeather":{"type":"number","minimum":0.01,"maximum":0.5},"edgeIrregularity":{"type":"number","minimum":0,"maximum":1},"edgeSmoothing":{"type":"number","minimum":0,"maximum":1},"method":{"type":"string","enum":["edge-pair-feather","graphcut-seam","image-quilting","legacy-offset-feather","offset-multiband","scatter-patches"]},"seed":{"type":"integer","minimum":0,"maximum":9999}},"required":[],"additionalProperties":false}},"required":["type"],"additionalProperties":false}]}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"painter"}},{"name":"pg_get_mockup","description":"Read bounded local Mockup document settings, camera and pass metadata without image pixels or private asset URLs.","inputSchema":{"type":"object","properties":{"includeGeometry":{"type":"boolean"},"includePhotoFit":{"type":"boolean"},"offset":{"type":"integer","minimum":0,"maximum":1000000},"limit":{"type":"integer","minimum":1,"maximum":100},"warpGridId":{"type":"string","minLength":1,"maxLength":160},"meshId":{"type":"string","minLength":1,"maxLength":160},"puppetPinId":{"type":"string","minLength":1,"maxLength":160},"includeAssets":{"type":"boolean"},"pathId":{"type":"string","minLength":1,"maxLength":160},"anchorOffset":{"type":"integer","minimum":0,"maximum":1000000},"anchorLimit":{"type":"integer","minimum":1,"maximum":100}},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"editorDomain":"mockup"}},{"name":"pg_edit_mockup","description":"Edit the local Mockup camera, output dimensions, lighting, passes, background transforms and post-processing; no upload or AI generation.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"request":{"oneOf":[{"type":"object","properties":{"operation":{"const":"camera"},"settings":{"type":"object","properties":{"position":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"maxItems":3,"minItems":3},"target":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"maxItems":3,"minItems":3},"zoom":{"type":"number","minimum":0.01,"maximum":100},"fov":{"type":"number","minimum":0.01,"maximum":179},"alpha":{"type":"number","minimum":-100,"maximum":100},"beta":{"type":"number","minimum":0.001,"maximum":3.1405926535897932},"radius":{"type":"number","minimum":0.001,"maximum":10000},"projection":{"type":"string","enum":["perspective","orthographic"]},"orthoScale":{"type":"number","minimum":0.001,"maximum":10000}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"fitCamera"}},"required":["operation"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"output"},"settings":{"type":"object","properties":{"width":{"type":"integer","minimum":64,"maximum":8192},"height":{"type":"integer","minimum":64,"maximum":8192}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"environment"},"settings":{"type":"object","properties":{"intensity":{"type":"number","minimum":0,"maximum":10},"hemisphereIntensity":{"type":"number","minimum":0,"maximum":10},"rotation":{"type":"number","minimum":-36000,"maximum":36000},"blur":{"type":"number","minimum":0,"maximum":1},"backgroundVisible":{"type":"boolean"}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"pass"},"passId":{"type":"string","enum":["background","printMask","shadow","highlight"]},"settings":{"type":"object","properties":{"enabled":{"type":"boolean"},"backgroundColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"backgroundColor2":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"colorEnabled":{"type":"boolean"},"fillType":{"type":"string","enum":["solid","linear","radial"]},"gradientAngle":{"type":"number","minimum":-36000,"maximum":36000},"channel":{"const":"alpha"},"edgeShift":{"type":"number","minimum":-100,"maximum":100},"featherGamma":{"type":"number","minimum":0.01,"maximum":10},"featherRadius":{"type":"number","minimum":0,"maximum":100},"invert":{"type":"boolean"},"softness":{"type":"number","minimum":0,"maximum":100},"threshold":{"type":"number","minimum":0,"maximum":1},"gamma":{"type":"number","minimum":0.01,"maximum":10},"referencePercentile":{"type":"number","minimum":0,"maximum":1},"strength":{"type":"number","minimum":0,"maximum":10}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","passId","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"studioBackground"},"settings":{"type":"object","properties":{"behindScene":{"type":"boolean"},"enabled":{"type":"boolean"},"fit":{"type":"string","enum":["cover","contain","stretch"]},"offsetX":{"type":"number","minimum":-10000,"maximum":10000},"offsetY":{"type":"number","minimum":-10000,"maximum":10000},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","minimum":-36000,"maximum":36000},"scale":{"type":"number","minimum":0.001,"maximum":100},"scaleX":{"type":"number","minimum":0.001,"maximum":100},"scaleY":{"type":"number","minimum":0.001,"maximum":100}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"studioShadow"},"kind":{"type":"string","enum":["floor","wall"]},"settings":{"type":"object","properties":{"enabled":{"type":"boolean"},"offset":{"type":"number","minimum":-100,"maximum":100},"distance":{"type":"number","minimum":0,"maximum":100},"opacity":{"type":"number","minimum":0,"maximum":1},"softness":{"type":"number","minimum":0,"maximum":10},"spread":{"type":"number","minimum":0,"maximum":10}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","kind","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"backgroundSource"},"source":{"type":"string","enum":["environment","color","image"]},"enabled":{"type":"boolean"}},"required":["operation","source","enabled"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"postProcessing"},"section":{"const":"ambientOcclusion"},"settings":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","section","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"postProcessing"},"section":{"const":"antiAliasing"},"settings":{"type":"object","properties":{"fxaaEnabled":{"type":"boolean"},"msaaSamples":{"type":"integer","enum":[1,2,4]}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","section","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"postProcessing"},"section":{"const":"bloom"},"settings":{"type":"object","properties":{"enabled":{"type":"boolean"},"kernel":{"type":"integer","minimum":1,"maximum":500},"scale":{"type":"number","minimum":0.1,"maximum":1},"threshold":{"type":"number","minimum":0,"maximum":1},"weight":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","section","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"postProcessing"},"section":{"const":"chromaticAberration"},"settings":{"type":"object","properties":{"enabled":{"type":"boolean"},"amount":{"type":"number","minimum":-1000,"maximum":1000},"direction":{"type":"number","minimum":0,"maximum":360},"radialIntensity":{"type":"number","minimum":0,"maximum":5}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","section","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"postProcessing"},"section":{"const":"colorCurves"},"settings":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","section","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"postProcessing"},"section":{"const":"depthOfField"},"settings":{"type":"object","properties":{"enabled":{"type":"boolean"},"blurLevel":{"type":"integer","minimum":0,"maximum":2},"fStop":{"type":"number","minimum":0.7,"maximum":32},"focalLength":{"type":"number","minimum":1,"maximum":300},"focusDistance":{"type":"number","minimum":1,"maximum":50000}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","section","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"postProcessing"},"section":{"const":"grain"},"settings":{"type":"object","properties":{"enabled":{"type":"boolean"},"animated":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":100}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","section","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"postProcessing"},"section":{"const":"imageProcessing"},"settings":{"type":"object","properties":{"contrast":{"type":"number","minimum":0,"maximum":4},"exposure":{"type":"number","minimum":0,"maximum":4},"toneMappingEnabled":{"type":"boolean"},"toneMappingType":{"type":"string","enum":["aces","neutral","standard"]}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","section","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"postProcessing"},"section":{"const":"sharpen"},"settings":{"type":"object","properties":{"enabled":{"type":"boolean"},"colorAmount":{"type":"number","minimum":0,"maximum":1},"edgeAmount":{"type":"number","minimum":0,"maximum":2}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","section","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"postProcessing"},"section":{"const":"vignette"},"settings":{"type":"object","properties":{"enabled":{"type":"boolean"},"blendMode":{"type":"string","enum":["opaque","multiply"]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"weight":{"type":"number","minimum":0,"maximum":10}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","section","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"textureResolution"},"value":{"type":"integer","enum":[256,512,1024,2048,4096]}},"required":["operation","value"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"colorCurve"},"band":{"type":"string","enum":["global","highlights","midtones","shadows"]},"settings":{"type":"object","properties":{"density":{"type":"number","minimum":-100,"maximum":100},"exposure":{"type":"number","minimum":-100,"maximum":100},"hue":{"type":"number","minimum":0,"maximum":360},"saturation":{"type":"number","minimum":-100,"maximum":100}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["operation","band","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"photoFit"},"settings":{"$ref":"#/$defs/photoFit"}},"required":["operation","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"resetPhotoFit"}},"required":["operation"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"photoFitTool"},"tool":{"type":"string","enum":["hand","camera","scale","proportional","proportional-rotate","warp","puppet"]}},"required":["operation","tool"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"photoFitBone"},"boneName":{"type":"string","maxLength":160,"minLength":1},"settings":{"type":"object","properties":{"position":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"quaternion":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"maxItems":4,"minItems":4},"length":{"type":"number","minimum":0.05,"maximum":20}},"required":[],"additionalProperties":false}},"required":["operation","boneName","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"vectorGeometry"},"settings":{"$ref":"#/$defs/vector"}},"required":["operation","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"vectorEdit"},"upsertPaths":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"name":{"type":"string","maxLength":256,"minLength":0},"customName":{"type":"string","maxLength":256,"minLength":0},"compoundId":{"type":"string","maxLength":160,"minLength":0},"closed":{"type":"boolean"},"fillClosed":{"type":"boolean"},"fillRule":{"type":"string","enum":["evenodd","nonzero"]},"regionFill":{"type":"string","enum":["empty","filled"]},"binding":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["pattern-edge","pattern-point"]},"anchors":{"type":"array","items":{"type":"object","properties":{"anchorId":{"type":"string","maxLength":160,"minLength":1},"inHandle":{"oneOf":[{"type":"object","properties":{"normalMm":{"type":"number","minimum":-1000000,"maximum":1000000},"tangentMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":["normalMm","tangentMm"],"additionalProperties":false},{"type":"null"}]},"outHandle":{"oneOf":[{"type":"object","properties":{"normalMm":{"type":"number","minimum":-1000000,"maximum":1000000},"tangentMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":["normalMm","tangentMm"],"additionalProperties":false},{"type":"null"}]},"normalMm":{"type":"number","minimum":-1000000,"maximum":1000000},"tangentMm":{"type":"number","minimum":-1000000,"maximum":1000000},"s":{"type":"number","minimum":0,"maximum":1},"observeBezier":{"type":"boolean"},"observePosition":{"type":"boolean"},"bezierReverse":{"type":"boolean"},"offsetUv":{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100}},"required":["x","y"],"additionalProperties":false},"offsetMm":{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100}},"required":["x","y"],"additionalProperties":false},"target":{"type":"object","properties":{"artifactId":{"type":"string","maxLength":512,"minLength":0},"edgeId":{"type":"string","maxLength":160,"minLength":0},"panelId":{"type":"string","maxLength":512,"minLength":0},"partId":{"type":"string","maxLength":160,"minLength":0},"projection":{"type":"string","maxLength":160,"minLength":0},"instance":{"type":"string","maxLength":160,"minLength":0},"pointId":{"type":"string","maxLength":160,"minLength":0},"ratio":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false}},"required":["anchorId"],"additionalProperties":false},"maxItems":512,"minItems":0},"target":{"type":"object","properties":{"artifactId":{"type":"string","maxLength":512,"minLength":0},"edgeId":{"type":"string","maxLength":160,"minLength":0},"panelId":{"type":"string","maxLength":512,"minLength":0},"partId":{"type":"string","maxLength":160,"minLength":0},"projection":{"type":"string","maxLength":160,"minLength":0},"instance":{"type":"string","maxLength":160,"minLength":0},"pointId":{"type":"string","maxLength":160,"minLength":0},"ratio":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false},"offsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"reverse":{"type":"boolean"},"uvOrientation":{"type":"string","maxLength":160,"minLength":0}},"required":["kind"],"additionalProperties":false},{"type":"null"}]},"anchors":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100},"inHandle":{"oneOf":[{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100}},"required":["x","y"],"additionalProperties":false},{"type":"null"}]},"outHandle":{"oneOf":[{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100}},"required":["x","y"],"additionalProperties":false},{"type":"null"}]},"handleMode":{"type":"string","enum":["independent","mirrored","mirrored-angle"]}},"required":["id","x","y"],"additionalProperties":false},"maxItems":512,"minItems":1}},"required":["id","anchors"],"additionalProperties":false},"maxItems":20,"minItems":0},"removePathIds":{"type":"array","items":{"type":"string","maxLength":160,"minLength":1},"maxItems":100,"minItems":0}},"required":["operation"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"meshRole"},"meshId":{"type":"string","maxLength":160,"minLength":1},"role":{"type":"string","enum":["base","excluded","occluder","print"]}},"required":["operation","meshId","role"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"meshMaterialKey"},"meshId":{"type":"string","maxLength":160,"minLength":1},"key":{"type":"string","maxLength":160,"minLength":1}},"required":["operation","meshId","key"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"testPrint"},"partId":{"type":"string","maxLength":160,"minLength":1},"preset":{"type":"string","enum":["none","checkerboard","text","placeholder"]}},"required":["operation","partId","preset"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"testProductColor"},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["operation","color"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"testPartColor"},"partId":{"type":"string","maxLength":160,"minLength":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["operation","partId","color"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"viewport"},"scope":{"type":"string","enum":["result","base","photoFit","scene"]},"navigation":{"type":"string","enum":["fit","focus","zoomIn","zoomOut"]},"tool":{"type":"string","enum":["hand","select","camera","proportional","proportional-rotate","warp","puppet","vector-add-point","vector-bezier","vector-cut","vector-fill","vector-pen","vector-remove-point","vector-select","scale"]},"preview":{"type":"string","enum":["scene","photoFit","mapping"]},"patternOutlinesVisible":{"type":"boolean"},"checkerboardVisible":{"type":"boolean"},"handleMode":{"type":"string","enum":["independent","mirrored","mirrored-angle"]},"selectedPathId":{"type":["string","null"],"maxLength":160},"boneName":{"type":["string","null"],"maxLength":160},"boneMirrorEnabled":{"type":"boolean"},"boneEditorMode":{"enum":[null,"translate","rotate"]},"bonesVisible":{"type":"boolean"},"puppetAdding":{"type":"boolean"},"puppetEditMode":{"type":"string","enum":["move","rotate"]},"warpGridId":{"type":["string","null"],"maxLength":160},"puppetPinId":{"type":["string","null"],"maxLength":160},"radiusWheelEnabled":{"type":"boolean"},"viewportZoom":{"type":"number","minimum":25,"maximum":400}},"required":["operation","scope"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"clearStudioBackground"}},"required":["operation"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"createWarpGrid"},"settings":{"type":"object","properties":{"targetId":{"type":"string","maxLength":160,"minLength":0},"section":{"type":"string","enum":["camera","front-back","left-right","top-bottom"]},"depthPercent":{"type":"number"},"columns":{"type":"integer","minimum":3,"maximum":31},"rows":{"type":"integer","minimum":3,"maximum":31},"radius":{"type":"number","minimum":0,"maximum":1000000},"name":{"type":"string","maxLength":256,"minLength":0}},"required":[],"additionalProperties":false}},"required":["operation","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"updateWarpGrid"},"id":{"type":"string","maxLength":160,"minLength":1},"settings":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"name":{"type":"string","maxLength":256,"minLength":0},"targetId":{"type":"string","maxLength":160,"minLength":0},"columns":{"type":"integer","minimum":3,"maximum":31},"rows":{"type":"integer","minimum":3,"maximum":31},"radius":{"type":"number","minimum":1e-06,"maximum":1000000},"enabled":{"type":"boolean"},"placement":{"type":"object","properties":{"type":{"const":"plane"},"side":{"type":"string","enum":["front","back","left","right","top","bottom"]},"position":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"size":{"type":"array","items":{"type":"number","minimum":1e-06,"maximum":1000000},"maxItems":2,"minItems":2},"depthRadius":{"type":"number","minimum":1e-06,"maximum":1000000}},"required":["type","side","position","size"],"additionalProperties":false},"points":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"meshKey":{"type":"string","maxLength":160,"minLength":1},"vertexIndex":{"type":"integer","minimum":0,"maximum":2147483647},"position":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"offset":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3}},"required":["position"],"additionalProperties":false},{"type":"null"}]},"maxItems":961,"minItems":0},"section":{"type":"string","enum":["camera","front-back","left-right","top-bottom"]},"depthPercent":{"type":"number"}},"required":[],"additionalProperties":false}},"required":["operation","id","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"updatePuppetPin"},"id":{"type":"string","maxLength":160,"minLength":1},"settings":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"name":{"type":"string","maxLength":256,"minLength":0},"enabled":{"type":"boolean"},"targetId":{"type":"string","maxLength":160,"minLength":0},"meshKey":{"type":"string","maxLength":160,"minLength":1},"vertexIndex":{"type":"integer","minimum":0,"maximum":2147483647},"vertices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":2147483647},"maxItems":3,"minItems":3},"weights":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":3,"minItems":3},"position":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"offset":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"rotation":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"maxItems":4,"minItems":4},"radius":{"type":"number","minimum":1e-06,"maximum":1000000},"parentId":{"type":"string","maxLength":160,"minLength":0}},"required":[],"additionalProperties":false}},"required":["operation","id","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"puppetSettings"},"settings":{"type":"object","properties":{"distanceMode":{"type":"string","enum":["spatial","surface"]}},"required":[],"additionalProperties":false}},"required":["operation","settings"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"deleteWarpGrid"},"id":{"type":"string","minLength":1,"maxLength":160}},"required":["operation","id"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"deletePuppetPin"},"id":{"type":"string","minLength":1,"maxLength":160}},"required":["operation","id"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"clearPass"},"passId":{"type":"string","enum":["background","printMask","shadow","highlight"]}},"required":["operation","passId"],"additionalProperties":false},{"type":"object","properties":{"operation":{"const":"createPuppetPin"},"meshId":{"type":"string","minLength":1,"maxLength":160},"vertexIndex":{"type":"integer","minimum":0,"maximum":100000000},"faceIndex":{"type":"integer","minimum":0,"maximum":100000000},"weights":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"minItems":3,"maxItems":3},"settings":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":160},"name":{"type":"string","maxLength":256},"radius":{"type":"number","minimum":1e-05,"maximum":100000},"parentId":{"type":["string","null"],"maxLength":160},"offset":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"minItems":3,"maxItems":3},"rotation":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":4,"maxItems":4}},"required":[],"additionalProperties":false}},"required":["operation","meshId"],"additionalProperties":false}]}},"required":["projectId","expectedRevision","request"],"additionalProperties":false,"$defs":{"vector":{"type":"object","properties":{"version":{"type":"integer","minimum":1,"maximum":100},"paths":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"name":{"type":"string","maxLength":256,"minLength":0},"customName":{"type":"string","maxLength":256,"minLength":0},"compoundId":{"type":"string","maxLength":160,"minLength":0},"closed":{"type":"boolean"},"fillClosed":{"type":"boolean"},"fillRule":{"type":"string","enum":["evenodd","nonzero"]},"regionFill":{"type":"string","enum":["empty","filled"]},"binding":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["pattern-edge","pattern-point"]},"anchors":{"type":"array","items":{"type":"object","properties":{"anchorId":{"type":"string","maxLength":160,"minLength":1},"inHandle":{"oneOf":[{"type":"object","properties":{"normalMm":{"type":"number","minimum":-1000000,"maximum":1000000},"tangentMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":["normalMm","tangentMm"],"additionalProperties":false},{"type":"null"}]},"outHandle":{"oneOf":[{"type":"object","properties":{"normalMm":{"type":"number","minimum":-1000000,"maximum":1000000},"tangentMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":["normalMm","tangentMm"],"additionalProperties":false},{"type":"null"}]},"normalMm":{"type":"number","minimum":-1000000,"maximum":1000000},"tangentMm":{"type":"number","minimum":-1000000,"maximum":1000000},"s":{"type":"number","minimum":0,"maximum":1},"observeBezier":{"type":"boolean"},"observePosition":{"type":"boolean"},"bezierReverse":{"type":"boolean"},"offsetUv":{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100}},"required":["x","y"],"additionalProperties":false},"offsetMm":{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100}},"required":["x","y"],"additionalProperties":false},"target":{"type":"object","properties":{"artifactId":{"type":"string","maxLength":512,"minLength":0},"edgeId":{"type":"string","maxLength":160,"minLength":0},"panelId":{"type":"string","maxLength":512,"minLength":0},"partId":{"type":"string","maxLength":160,"minLength":0},"projection":{"type":"string","maxLength":160,"minLength":0},"instance":{"type":"string","maxLength":160,"minLength":0},"pointId":{"type":"string","maxLength":160,"minLength":0},"ratio":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false}},"required":["anchorId"],"additionalProperties":false},"maxItems":512,"minItems":0},"target":{"type":"object","properties":{"artifactId":{"type":"string","maxLength":512,"minLength":0},"edgeId":{"type":"string","maxLength":160,"minLength":0},"panelId":{"type":"string","maxLength":512,"minLength":0},"partId":{"type":"string","maxLength":160,"minLength":0},"projection":{"type":"string","maxLength":160,"minLength":0},"instance":{"type":"string","maxLength":160,"minLength":0},"pointId":{"type":"string","maxLength":160,"minLength":0},"ratio":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false},"offsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"reverse":{"type":"boolean"},"uvOrientation":{"type":"string","maxLength":160,"minLength":0}},"required":["kind"],"additionalProperties":false},{"type":"null"}]},"anchors":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100},"inHandle":{"oneOf":[{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100}},"required":["x","y"],"additionalProperties":false},{"type":"null"}]},"outHandle":{"oneOf":[{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100}},"required":["x","y"],"additionalProperties":false},{"type":"null"}]},"handleMode":{"type":"string","enum":["independent","mirrored","mirrored-angle"]}},"required":["id","x","y"],"additionalProperties":false},"maxItems":512,"minItems":1}},"required":["id","anchors"],"additionalProperties":false},"maxItems":100,"minItems":0},"appearance":{"type":"object","properties":{"fill":{"type":"object","properties":{"enabled":{"type":"boolean"},"ao":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"emissive":{"type":"number","minimum":0,"maximum":1},"metalness":{"type":"number","minimum":0,"maximum":1},"normalStrength":{"type":"number","minimum":-1,"maximum":1},"opacity":{"type":"number","minimum":0,"maximum":1},"reliefWidthUv":{"type":"number","minimum":0.0001,"maximum":1},"roughness":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false},"stroke":{"type":"object","properties":{"enabled":{"type":"boolean"},"mode":{"type":"string","enum":["none","preset","solid"]}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"generator":{"type":"object","properties":{"type":{"type":"string","enum":["straight-stitch"]},"preset":{"type":"string","maxLength":160,"minLength":0},"settings":{"type":"object","properties":{"ao":{"type":"number","minimum":-100,"maximum":100},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"emissive":{"type":"number","minimum":-100,"maximum":100},"gapLengthUv":{"type":"number","minimum":-100,"maximum":100},"gatherBandWidthUv":{"type":"number","minimum":-100,"maximum":100},"gatherCreaseWidthUv":{"type":"number","minimum":-100,"maximum":100},"gatherIrregularity":{"type":"number","minimum":-100,"maximum":100},"gatherSeed":{"type":"number","minimum":-100,"maximum":100},"gatherSpacingUv":{"type":"number","minimum":-100,"maximum":100},"metalness":{"type":"number","minimum":-100,"maximum":100},"normalStrength":{"type":"number","minimum":-100,"maximum":100},"opacity":{"type":"number","minimum":-100,"maximum":100},"overlockNeedleLineCount":{"type":"number","minimum":-100,"maximum":100},"overlockNeedleLineSpacingUv":{"type":"number","minimum":-100,"maximum":100},"phaseUv":{"type":"number","minimum":-100,"maximum":100},"roughness":{"type":"number","minimum":-100,"maximum":100},"seamCreaseDepth":{"type":"number","minimum":-100,"maximum":100},"seamCreaseWidthUv":{"type":"number","minimum":-100,"maximum":100},"seamReliefAsymmetry":{"type":"number","minimum":-100,"maximum":100},"seamColorStrength":{"type":"number","minimum":-100,"maximum":100},"seamReliefSoftness":{"type":"number","minimum":-100,"maximum":100},"seamReliefWidthUv":{"type":"number","minimum":-100,"maximum":100},"stitchLengthUv":{"type":"number","minimum":-100,"maximum":100},"stitchStyle":{"type":"string","maxLength":80,"minLength":0},"threadCount":{"type":"number","minimum":-100,"maximum":100},"threadSpacingUv":{"type":"number","minimum":-100,"maximum":100},"threadWidthUv":{"type":"number","minimum":-100,"maximum":100},"motifWidthUv":{"type":"number","minimum":-100,"maximum":100}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"photoFit":{"type":"object","properties":{"transform":{"type":"object","properties":{"position":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"rotation":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"scale":{"type":"array","items":{"type":"number","minimum":0.001,"maximum":1000},"maxItems":3,"minItems":3}},"required":[],"additionalProperties":false},"overlay":{"type":"object","properties":{"opacity":{"type":"number","minimum":0,"maximum":1},"outline":{"type":"boolean"},"uvChecker":{"type":"boolean"},"wireframe":{"type":"boolean"}},"required":[],"additionalProperties":false},"deformationMode":{"type":"string","enum":["brush","warp"]},"deformation":{"type":"object","properties":{"radius":{"type":"number","minimum":1e-06,"maximum":1000000},"strength":{"type":"number","minimum":-100,"maximum":100},"falloff":{"type":"string","enum":["smooth","linear","sphere","sharp"]},"operations":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["translate","rotate"]},"center":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"radius":{"type":"number","minimum":1e-06,"maximum":1000000},"strength":{"type":"number","minimum":-100,"maximum":100},"falloff":{"type":"string","enum":["smooth","linear","sphere","sharp"]},"surface":{"type":"object","properties":{"meshKey":{"type":"string","maxLength":160,"minLength":1},"vertexIndex":{"type":"integer","minimum":0,"maximum":2147483647},"position":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3}},"required":["meshKey","vertexIndex","position"],"additionalProperties":false},"axis":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"angle":{"type":"number","minimum":-100,"maximum":100},"delta":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3}},"required":["type","center","radius"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"projected-fit"},"version":{"const":1},"modelToClip":{"type":"array","items":{"type":"number","minimum":-1000000000000,"maximum":1000000000000},"maxItems":16,"minItems":16},"controlPoints":{"type":"array","items":{"type":"object","properties":{"confidence":{"type":"number","minimum":0.65,"maximum":1},"source":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":2,"minItems":2},"target":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":2,"minItems":2}},"required":["confidence","source","target"],"additionalProperties":false},"maxItems":32,"minItems":6}},"required":["type","version","modelToClip","controlPoints"],"additionalProperties":false}]},"maxItems":64,"minItems":0}},"required":[],"additionalProperties":false},"warp":{"type":"object","properties":{"grids":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"name":{"type":"string","maxLength":256,"minLength":0},"targetId":{"type":"string","maxLength":160,"minLength":0},"columns":{"type":"integer","minimum":3,"maximum":31},"rows":{"type":"integer","minimum":3,"maximum":31},"radius":{"type":"number","minimum":1e-06,"maximum":1000000},"enabled":{"type":"boolean"},"placement":{"type":"object","properties":{"type":{"const":"plane"},"side":{"type":"string","enum":["front","back","left","right","top","bottom"]},"position":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"size":{"type":"array","items":{"type":"number","minimum":1e-06,"maximum":1000000},"maxItems":2,"minItems":2},"depthRadius":{"type":"number","minimum":1e-06,"maximum":1000000}},"required":["type","side","position","size"],"additionalProperties":false},"points":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"meshKey":{"type":"string","maxLength":160,"minLength":1},"vertexIndex":{"type":"integer","minimum":0,"maximum":2147483647},"position":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"offset":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3}},"required":["position"],"additionalProperties":false},{"type":"null"}]},"maxItems":961,"minItems":0}},"required":["id","columns","rows"],"additionalProperties":false},"maxItems":16,"minItems":0}},"required":[],"additionalProperties":false},"puppet":{"type":"object","properties":{"distanceMode":{"type":"string","enum":["spatial","surface"]},"pins":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"name":{"type":"string","maxLength":256,"minLength":0},"enabled":{"type":"boolean"},"targetId":{"type":"string","maxLength":160,"minLength":0},"meshKey":{"type":"string","maxLength":160,"minLength":1},"vertexIndex":{"type":"integer","minimum":0,"maximum":2147483647},"vertices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":2147483647},"maxItems":3,"minItems":3},"weights":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":3,"minItems":3},"position":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"offset":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"rotation":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"maxItems":4,"minItems":4},"radius":{"type":"number","minimum":1e-06,"maximum":1000000},"parentId":{"type":"string","maxLength":160,"minLength":0}},"required":["id","meshKey","vertexIndex","position"],"additionalProperties":false},"maxItems":256,"minItems":0}},"required":[],"additionalProperties":false},"rig":{"type":"object","properties":{"enabled":{"type":"boolean"},"pose":{"type":"object","properties":{"left":{"type":"object","properties":{"down":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172},"forward":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172},"twist":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172},"elbow":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172}},"required":[],"additionalProperties":false},"right":{"type":"object","properties":{"down":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172},"forward":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172},"twist":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172},"elbow":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172}},"required":[],"additionalProperties":false},"torso":{"type":"object","properties":{"bend":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172},"side":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172},"twist":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172}},"required":[],"additionalProperties":false},"legs":{"type":"object","properties":{"left":{"type":"object","properties":{"hipForward":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172},"hipSide":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172},"knee":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172}},"required":[],"additionalProperties":false},"right":{"type":"object","properties":{"hipForward":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172},"hipSide":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172},"knee":{"type":"number","minimum":-12.566370614359172,"maximum":12.566370614359172}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"stretch":{"type":"object","properties":{"torso":{"type":"number","minimum":0.05,"maximum":20},"left":{"type":"object","properties":{"upperArm":{"type":"number","minimum":0.05,"maximum":20},"foreArm":{"type":"number","minimum":0.05,"maximum":20}},"required":[],"additionalProperties":false},"right":{"type":"object","properties":{"upperArm":{"type":"number","minimum":0.05,"maximum":20},"foreArm":{"type":"number","minimum":0.05,"maximum":20}},"required":[],"additionalProperties":false},"legs":{"type":"object","properties":{"left":{"type":"object","properties":{"upperLeg":{"type":"number","minimum":0.05,"maximum":20},"lowerLeg":{"type":"number","minimum":0.05,"maximum":20}},"required":[],"additionalProperties":false},"right":{"type":"object","properties":{"upperLeg":{"type":"number","minimum":0.05,"maximum":20},"lowerLeg":{"type":"number","minimum":0.05,"maximum":20}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"bones":{"type":"object","properties":{},"additionalProperties":{"type":"object","properties":{"position":{"type":"array","items":{"type":"number","minimum":-1000000,"maximum":1000000},"maxItems":3,"minItems":3},"quaternion":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"maxItems":4,"minItems":4},"length":{"type":"number","minimum":0.05,"maximum":20}},"required":[],"additionalProperties":false},"maxProperties":256,"propertyNames":{"type":"string","maxLength":160,"minLength":1}}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"mockup"}},{"name":"pg_manage_mockups","description":"Create, select, remove or reorder local mockup documents without rendering/uploading or server save.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"operation":{"type":"string","enum":["create","select","remove","reorder","generateViews"]},"mockupId":{"type":"string","minLength":1,"maxLength":160},"orderedIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"maxItems":100,"minItems":1}},"required":["projectId","expectedRevision","operation"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"mockup"}},{"name":"pg_render_mockup","description":"Start local GPU rendering of selected existing mockup passes as a cancellable job. Returns job metadata; rendered images remain in the browser.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"passIds":{"type":"array","items":{"type":"string","enum":["background","printMask","shadow","highlight"]},"maxItems":4,"minItems":1,"uniqueItems":true},"options":{"type":"object","properties":{"refreshGeometry":{"type":"boolean"},"preserveAuthoredGeometry":{"type":"boolean"},"preservePassSettings":{"type":"boolean"},"selectPreview":{"enum":[false,"scene","mapping","photoFit"]}},"required":[],"additionalProperties":false}},"required":["projectId","expectedRevision","passIds"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"mockup"}},{"name":"pg_inspector_job","description":"Start local Inspector AO bake or generated texture preparation. Poll the returned local job; no backend save, upload or download.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","maxLength":160,"minLength":1},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"operation":{"type":"string","enum":["ambientOcclusionBake","generatedTextures"]},"objectIds":{"type":"array","items":{"type":"string","maxLength":160,"minLength":1},"maxItems":100,"minItems":1},"settings":{"type":"object","properties":{"resolution":{"type":"integer","enum":[256,512,1024]},"samples":{"type":"integer","enum":[16,32,64,128]},"distanceMode":{"type":"string","enum":["model","custom"]},"distanceCm":{"type":"number","minimum":0.1,"maximum":20},"intensity":{"type":"number","minimum":0,"maximum":1},"useSubdivision":{"type":"boolean"},"useCorrectiveSmooth":{"type":"boolean"}},"required":[],"additionalProperties":false}},"required":["projectId","expectedRevision","operation"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"inspector"}},{"name":"pg_generate_grading","description":"Run native grading generation locally, preserving manual overrides unless resetManualOverrides is explicitly true. One shared undo step.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"resetManualOverrides":{"type":"boolean"}},"required":["projectId","expectedRevision"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"grading"}},{"name":"pg_select_model_variant","description":"Select an already loaded local static/animated bake variant for Inspector or Mockup. Never hydrates missing remote model buffers or textures.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","enum":["static","animated"]},"quality":{"type":"string","enum":["low","medium","high"]}},"required":["projectId","expectedRevision","kind","quality"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"workspace"}},{"name":"pg_get_easy_size","description":"Read the local Easy Size family, size labels, measurement matrix and valid ranges. Uses already loaded project data or immutable frontend static JSON assets; never calls the catalog/backend.","inputSchema":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":10000},"limit":{"type":"integer","minimum":1,"maximum":64}},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"editorDomain":"easy-size"}},{"name":"pg_apply_easy_size","description":"Rebuild the selected size family locally from its pinned template using the existing Easy Creator geometry planner. Applies one undoable transaction. Measurements are millimetres and must satisfy the same coupled garment constraints as the UI.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"baseSizeId":{"type":"string","minLength":1,"maxLength":160},"sizeOrder":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":64,"uniqueItems":true},"sizeLabelsById":{"type":"object","properties":{},"propertyNames":{"type":"string","minLength":1,"maxLength":160,"pattern":"^[^:]+$"},"additionalProperties":{"type":"string","minLength":1,"maxLength":256},"maxProperties":64},"valuesBySize":{"type":"object","properties":{},"propertyNames":{"type":"string","minLength":1,"maxLength":160,"pattern":"^[^:]+$"},"additionalProperties":{"type":"object","properties":{},"propertyNames":{"type":"string","minLength":1,"maxLength":160,"pattern":"^[^:]+$"},"additionalProperties":{"type":"number","minimum":0,"maximum":100000},"maxProperties":128},"maxProperties":64},"options":{"type":"object","properties":{"necklineType":{"type":"string","enum":["round-neck","scoop-neck","v-neck","deep-v-neck"]},"waistShaping":{"type":"string","enum":["measured","straight"]}},"additionalProperties":false},"inputState":{"type":"object","properties":{"version":{"type":"integer","enum":[1]},"draft":{"type":"object","properties":{},"propertyNames":{"type":"string","minLength":1,"maxLength":160,"pattern":"^[^:]+$"},"additionalProperties":{"type":"object","properties":{},"propertyNames":{"type":"string","minLength":1,"maxLength":160,"pattern":"^[^:]+$"},"additionalProperties":{"type":"string","maxLength":128},"maxProperties":128},"maxProperties":64},"autoModes":{"type":"object","properties":{},"propertyNames":{"type":"string","minLength":1,"maxLength":160,"pattern":"^[^:]+$"},"additionalProperties":{"type":"object","properties":{},"propertyNames":{"type":"string","minLength":1,"maxLength":160,"pattern":"^[^:]+$"},"additionalProperties":{"type":"boolean"},"maxProperties":128},"maxProperties":64},"referenceValuesBySize":{"type":"object","properties":{},"propertyNames":{"type":"string","minLength":1,"maxLength":160,"pattern":"^[^:]+$"},"additionalProperties":{"type":"object","properties":{},"propertyNames":{"type":"string","minLength":1,"maxLength":160,"pattern":"^[^:]+$"},"additionalProperties":{"type":"number","minimum":0,"maximum":100000},"maxProperties":128},"maxProperties":64}},"required":["version","draft","autoModes","referenceValuesBySize"],"additionalProperties":false},"autoModes":{"type":"object","properties":{},"propertyNames":{"type":"string","minLength":1,"maxLength":160,"pattern":"^[^:]+$"},"additionalProperties":{"type":"object","properties":{},"propertyNames":{"type":"string","minLength":1,"maxLength":160,"pattern":"^[^:]+$"},"additionalProperties":{"type":"boolean"},"maxProperties":128},"maxProperties":64,"description":"Patch AUTO/manual flags by size and measurement. AUTO cells are derived with the same reference-curve solver as the UI; explicit numeric non-base edits become manual unless overridden here."}},"required":["projectId","expectedRevision","baseSizeId"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"easy-size"}},{"name":"pg_import_easy_size_table","description":"Read a bounded self-contained JSON/CSV table or base64 XLSX, using the same compatibility parser as Easy Size UI. dryRun defaults true and returns missing/review reports; dryRun:false applies valid inputs in one Undo step. No URLs, filepicker, backend or arbitrary project graph. Preview rows are bounded and paginated with sizeOffset/limit; nextOffset advances through the same input table.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"format":{"type":"string","enum":["json","csv","xlsx"]},"text":{"type":"string","maxLength":196608},"dataBase64":{"type":"string","maxLength":196608,"pattern":"^[A-Za-z0-9+/]+={0,2}$"},"dryRun":{"type":"boolean"},"language":{"type":"string","enum":["pl","en"]},"sizeOffset":{"type":"integer","minimum":0,"maximum":10000},"limit":{"type":"integer","minimum":1,"maximum":10}},"required":["projectId","expectedRevision","format"],"additionalProperties":false,"oneOf":[{"properties":{"format":{"enum":["json","csv"]}},"required":["text"]},{"properties":{"format":{"const":"xlsx"}},"required":["dataBase64"]}]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"easy-size"}},{"name":"pg_export_easy_size_table","description":"Export current resolved Easy Size inputs as bounded JSON/CSV text or base64 XLSX. download:true starts a local browser download and returns metadata, allowing larger tables. Includes resource provenance, AUTO flags and labels; no backend/save APIs.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"format":{"type":"string","enum":["json","csv","xlsx"]},"measurementUnit":{"type":"string","enum":["mm","cm","in"]},"language":{"type":"string","enum":["pl","en"]},"download":{"type":"boolean"}},"required":["projectId","expectedRevision","format"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"easy-size"}},{"name":"pg_get_easy_creator_definition","description":"Read the custom per-pattern Easy Creator definition and supported geometry target types. Returns null when only a catalog recipe exists; never loads resources. Measurement definitions are bounded and paginated with offset/limit and nextOffset; pg_get_easy_size returns a compact summary.","inputSchema":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":10000},"limit":{"type":"integer","minimum":1,"maximum":32}},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"editorDomain":"easy-size"}},{"name":"pg_define_easy_creator","description":"Create or update a local Easy Creator for the current user pattern using typed measurement-to-geometry selectors. Supports part width/height, point distance, axis-constrained distance, vertical points and straight edge length. Reuses native grading bindings and one Undo transaction. No code, geometry injection, resource fetch or server persistence. Existing catalog recipes require replaceExisting:true; resetValues:true regenerates the numeric matrix.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"definition":{"type":"object","properties":{"schemaVersion":{"const":1},"id":{"type":"string","minLength":1,"maxLength":160,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9][A-Za-z0-9_.-]*$"},"name":{"type":"string","minLength":1,"maxLength":160},"measurements":{"type":"array","minItems":1,"maxItems":32,"items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":160,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9][A-Za-z0-9_.-]*$"},"label":{"type":"string","minLength":1,"maxLength":160},"description":{"type":"string","maxLength":512},"minMm":{"type":"number","minimum":0.001,"maximum":100000},"maxMm":{"type":"number","minimum":0.001,"maximum":100000},"precisionMm":{"type":"number","minimum":0.001,"maximum":100},"incrementMm":{"type":"number","minimum":-10000,"maximum":10000},"targets":{"type":"array","minItems":1,"maxItems":16,"items":{"oneOf":[{"type":"object","properties":{"type":{"const":"part-width"},"partId":{"type":"string","minLength":1,"maxLength":160,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9][A-Za-z0-9_.-]*$"},"factor":{"type":"number","minimum":0.001,"maximum":100}},"required":["type","partId"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"part-height"},"partId":{"type":"string","minLength":1,"maxLength":160,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9][A-Za-z0-9_.-]*$"},"factor":{"type":"number","minimum":0.001,"maximum":100}},"required":["type","partId"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"point-distance"},"partId":{"type":"string","minLength":1,"maxLength":160,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9][A-Za-z0-9_.-]*$"},"factor":{"type":"number","minimum":0.001,"maximum":100},"pointIds":{"type":"array","minItems":2,"maxItems":2,"uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":160,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9][A-Za-z0-9_.-]*$"}}},"required":["type","partId","pointIds"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"axis-distance"},"partId":{"type":"string","minLength":1,"maxLength":160,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9][A-Za-z0-9_.-]*$"},"axis":{"type":"string","enum":["x","y"]},"anchorPointId":{"type":"string","minLength":1,"maxLength":160,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9][A-Za-z0-9_.-]*$"},"pointIds":{"type":"array","minItems":1,"maxItems":64,"uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":160,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9][A-Za-z0-9_.-]*$"}}},"required":["type","partId","axis","anchorPointId","pointIds"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"point-y"},"partId":{"type":"string","minLength":1,"maxLength":160,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9][A-Za-z0-9_.-]*$"},"factor":{"type":"number","minimum":0.001,"maximum":100},"anchorPointId":{"type":"string","minLength":1,"maxLength":160,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9][A-Za-z0-9_.-]*$"},"pointIds":{"type":"array","minItems":1,"maxItems":64,"uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":160,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9][A-Za-z0-9_.-]*$"}}},"required":["type","partId","anchorPointId","pointIds"],"additionalProperties":false,"description":"Controls the mean absolute vertical distance from the anchor, preserving different authored offsets within the group. Each mover must start away from the anchor height; factor maps the measurement to geometry."},{"type":"object","properties":{"type":{"const":"edge-length"},"partId":{"type":"string","minLength":1,"maxLength":160,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9][A-Za-z0-9_.-]*$"},"edgeId":{"type":"string","minLength":1,"maxLength":160,"pattern":"^(?!__proto__$|constructor$|prototype$)[A-Za-z0-9][A-Za-z0-9_.-]*$"}},"required":["type","partId","edgeId"],"additionalProperties":false}]}}},"required":["id","label","targets"],"additionalProperties":false}}},"required":["schemaVersion","id","name","measurements"],"additionalProperties":false},"replaceExisting":{"type":"boolean"},"resetValues":{"type":"boolean"}},"required":["projectId","expectedRevision","definition"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"easy-size"}},{"name":"pg_get_export_options","description":"Read available local pattern sizes/parts, PDF/SVG package and GLB variants, and the current authenticated download license. Metadata only; no persisted assets are downloaded.","inputSchema":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"editorDomain":"export"}},{"name":"pg_export_local","description":"Start a local browser download job for a pattern or a model. GLB defaults to the current authored Inspector scene; modelSource:bake explicitly exports a raw local bake. Supports native texture/compression/geometry and predicted-size options. Refuses unavailable local assets before loaders; no save/upload API calls or binary data through MCP.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"format":{"type":"string","enum":["pattern-zip","pattern-preview","model-glb"]},"source":{"type":"string","enum":["local"]},"patternFormat":{"type":"string","enum":["pdf","svg"]},"sizeIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":64,"uniqueItems":true},"partIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":1,"maxItems":256,"uniqueItems":true},"fileOptions":{"type":"object","properties":{"editorStateJson":{"type":"boolean"},"overlaySvg":{"type":"boolean"},"projectJson":{"type":"boolean"},"sizeSvgs":{"type":"boolean"},"techPackPdf":{"type":"boolean"}},"additionalProperties":false},"layerOptions":{"type":"object","properties":{"includeSizeOverlays":{"type":"boolean"},"includeEdgeLengths":{"type":"boolean"},"includeEdgeNames":{"type":"boolean"},"includeGrainlines":{"type":"boolean"},"includeMeasurementLines":{"type":"boolean"},"includeNotches":{"type":"boolean"},"includeConstructionLines":{"type":"boolean"},"includePartNames":{"type":"boolean"},"includeProductionLabels":{"type":"boolean"},"includePrintGuide":{"type":"boolean"},"includeReferenceImages":{"type":"boolean"},"includeSeamAllowances":{"type":"boolean"},"includeSeamConnections":{"type":"boolean"}},"additionalProperties":false},"previewMode":{"type":"string","enum":["single","overlay"]},"previewSizeId":{"type":"string","minLength":1,"maxLength":160},"measurementUnit":{"type":"string","enum":["mm","cm","in"]},"language":{"type":"string","enum":["pl","en"]},"kind":{"type":"string","enum":["static","animated"]},"quality":{"type":"string","enum":["low","medium","high"]},"modelSource":{"type":"string","enum":["inspector","bake"]},"modelOptions":{"type":"object","properties":{"compressionLevel":{"type":"string","enum":["low","medium","high"]},"compressionType":{"type":"string","enum":["none","draco","meshopt"]},"geometryLevel":{"type":"string","enum":["low","medium","high"]},"textureFormat":{"type":"string","enum":["original","png","webp"]},"textureMode":{"type":"string","enum":["with-textures","without-textures"]},"texturePlacement":{"type":"string","enum":["embedded","separate"]},"textureQuality":{"type":"string","enum":["low","medium","high"]}},"required":[],"additionalProperties":false},"predictedSizeExportMode":{"type":"string","enum":["separate-files","separate-models","shape-keys"]},"predictedSizeTextureMode":{"type":"string","enum":["auto","base-shared","per-size"]},"predictedSizeFamilySizes":{"type":"array","minItems":2,"maxItems":64,"items":{"type":"object","properties":{"sizeId":{"type":"string","minLength":1,"maxLength":160},"label":{"type":"string","maxLength":256},"base":{"type":"boolean"}},"required":["sizeId","base"],"additionalProperties":false}}},"required":["projectId","expectedRevision","format"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"export"}},{"name":"pg_get_inspector_accessories","description":"Read the local accessory catalog, complete manual parameters and generated settings, component/group hierarchy, mesh/material IDs, and placement transforms. No media URLs.","inputSchema":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":100},"instanceId":{"type":"string","minLength":1,"maxLength":160},"category":{"type":"string","enum":["button","rope","snap","zipper","velcro"]},"connectionId":{"type":"string","minLength":1,"maxLength":512}},"required":[],"additionalProperties":false,"$defs":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"editorDomain":"inspector"}},{"name":"pg_place_inspector_accessory","description":"Place a local procedural accessory on a loaded model surface and apply its typed initial geometry/transform settings in one Inspector history action.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"assetId":{"type":"string","minLength":1,"maxLength":160},"hit":{"$ref":"#/$defs/hit"},"settings":{"$ref":"#/$defs/manualSettings"}},"required":["projectId","expectedRevision","assetId","hit"],"additionalProperties":false,"$defs":{"hit":{"type":"object","properties":{"objectId":{"type":"string","maxLength":160,"minLength":1},"faceIndex":{"type":"integer","minimum":0,"maximum":2147483647},"barycentric":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":3,"minItems":3},"normalOffsetMm":{"type":"number","minimum":-100,"maximum":100}},"required":["objectId"],"additionalProperties":false},"manualSettings":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":256},"enabled":{"type":"boolean"},"transform":{"type":"object","properties":{"offsetMm":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"maxItems":3,"minItems":3},"scale":{"type":"array","items":{"type":"number","minimum":0.001,"maximum":100},"minItems":3,"maxItems":3},"rotation":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":4,"maxItems":4},"orientationMode":{"type":"string","enum":["surface","world-up"]}},"required":[],"additionalProperties":false},"parameters":{"type":"object","properties":{"buttonSettings":{"$ref":"#/$defs/accessorySettings/properties/button"},"ropeSettings":{"$ref":"#/$defs/accessorySettings/properties/rope"},"snapSettings":{"$ref":"#/$defs/accessorySettings/properties/snap"},"zipperSettings":{"$ref":"#/$defs/accessorySettings/properties/zipper"},"velcroSettings":{"$ref":"#/$defs/accessorySettings/properties/velcro"}},"required":[],"additionalProperties":false},"quality":{"type":"string","enum":["low","medium","high"]},"useTexture":{"type":"boolean"}},"required":[],"additionalProperties":false,"minProperties":1},"accessorySettings":{"type":"object","properties":{"button":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"construction":{"type":"string","enum":["jeans","sew-through","shank","toggle"]},"enabled":{"type":"boolean"},"holeCount":{"type":"integer","enum":[2,4]},"metalness":{"type":"number","minimum":-1000000,"maximum":1000000},"profile":{"type":"string","enum":["concave","convex","flat"]},"quality":{"type":"string","enum":["low","medium","high"]},"reuseGeometryInstances":{"type":"boolean"},"roughness":{"type":"number","minimum":-1000000,"maximum":1000000},"shape":{"type":"string","enum":["rectangular","round"]},"sizeMm":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessMm":{"type":"number","minimum":-1000000,"maximum":1000000},"threadColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"transformCorrection":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"type":{"type":"string","maxLength":160,"minLength":0},"useTexture":{"type":"boolean"},"itemTransformCorrections":{"type":"object","properties":{},"additionalProperties":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000000,"maximum":1000000},"along":{"type":"number","minimum":-1000000,"maximum":1000000},"normal":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","maxLength":160,"minLength":0},"pathDirection":{"type":"string","maxLength":160,"minLength":0},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-1000000,"maximum":1000000},"along":{"type":"number","minimum":-1000000,"maximum":1000000},"normal":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"maxProperties":256,"propertyNames":{"type":"string","minLength":1,"maxLength":160}},"componentTransformCorrections":{"type":"object","properties":{"body":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"thread":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"rope":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endCappedEndSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"endEndStyle":{"type":"string","maxLength":160,"minLength":0},"endSurfaceEntrySettings":{"type":"object","properties":{"depthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"eyelet":{"type":"object","properties":{"enabled":{"type":"boolean"},"type":{"type":"string","maxLength":160,"minLength":0},"holeDiameterMm":{"type":"number","minimum":-1000000,"maximum":1000000},"rimWidthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"endFoldedEndSettings":{"type":"object","properties":{"distanceMm":{"type":"number","minimum":-1000000,"maximum":1000000},"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"endKnotSettings":{"type":"object","properties":{"offsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"sizePercent":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"endMetalTipSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"endPlasticTipSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"offsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"wallThicknessMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"enabled":{"type":"boolean"},"metalness":{"type":"number","minimum":-1000000,"maximum":1000000},"patternOffsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"patternOffsetSigned":{"type":"boolean"},"quality":{"type":"string","enum":["low","medium","high"]},"roughness":{"type":"number","minimum":-1000000,"maximum":1000000},"ropeSmoothing":{"type":"object","properties":{"enabled":{"type":"boolean"},"iterations":{"type":"number","minimum":-1000000,"maximum":1000000},"strength":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"startCappedEndSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"startEndStyle":{"type":"string","maxLength":160,"minLength":0},"startSurfaceEntrySettings":{"type":"object","properties":{"depthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"eyelet":{"type":"object","properties":{"enabled":{"type":"boolean"},"type":{"type":"string","maxLength":160,"minLength":0},"holeDiameterMm":{"type":"number","minimum":-1000000,"maximum":1000000},"rimWidthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"startFoldedEndSettings":{"type":"object","properties":{"distanceMm":{"type":"number","minimum":-1000000,"maximum":1000000},"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"startKnotSettings":{"type":"object","properties":{"offsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"sizePercent":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"startMetalTipSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"startPlasticTipSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"offsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"wallThicknessMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"transformCorrection":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"useTexture":{"type":"boolean"},"chainResizeAnchor":{"type":"string","maxLength":160,"minLength":0},"type":{"type":"string","maxLength":160,"minLength":0},"sizeMm":{"type":"number","minimum":0.5,"maximum":40},"diameterMm":{"type":"number","minimum":0.5,"maximum":40},"linkLengthMm":{"type":"number","minimum":3,"maximum":200},"linkWidthMm":{"type":"number","minimum":2,"maximum":160},"lengthMm":{"type":"number","minimum":1,"maximum":10000},"loopDiameterMm":{"type":"number","minimum":1,"maximum":10000},"loopRadiusMm":{"type":"number","minimum":1,"maximum":10000},"thicknessMm":{"type":"number","minimum":0.1,"maximum":20},"componentTransformCorrections":{"type":"object","properties":{"body":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"start-end":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"end-end":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"snap":{"type":"object","properties":{"autoConnectHalves":{"type":"boolean"},"capSocketEnabled":{"type":"boolean"},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"enabled":{"type":"boolean"},"itemCount":{"oneOf":[{"type":"integer","minimum":1,"maximum":256},{"type":"null"}]},"metalness":{"type":"number","minimum":-1000000,"maximum":1000000},"quality":{"type":"string","enum":["low","medium","high"]},"reuseGeometryInstances":{"type":"boolean"},"roughness":{"type":"number","minimum":-1000000,"maximum":1000000},"sizeMm":{"type":"number","minimum":-1000000,"maximum":1000000},"studPostEnabled":{"type":"boolean"},"transformCorrection":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"type":{"type":"string","maxLength":160,"minLength":0},"useTexture":{"type":"boolean"},"componentTransformCorrections":{"type":"object","properties":{"cap-socket":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"stud-post":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"zipper":{"type":"object","properties":{"elementColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"enabled":{"type":"boolean"},"finish":{"type":"string","maxLength":160,"minLength":0},"metalness":{"type":"number","minimum":-1000000,"maximum":1000000},"pullTabGeometry":{"type":"object","properties":{"lengthScale":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessScale":{"type":"number","minimum":-1000000,"maximum":1000000},"widthScale":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"pullType":{"type":"string","maxLength":160,"minLength":0},"quality":{"type":"string","enum":["low","medium","high"]},"roughness":{"type":"number","minimum":-1000000,"maximum":1000000},"size":{"type":"number","minimum":-1000000,"maximum":1000000},"sliderColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"sliderEnabled":{"type":"boolean"},"sliderMetalness":{"type":"number","minimum":-1000000,"maximum":1000000},"sliderRoughness":{"type":"number","minimum":-1000000,"maximum":1000000},"tapeColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"tapeEnabled":{"type":"boolean"},"tapeGeometry":{"type":"object","properties":{"bendAngleDeg":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessScale":{"type":"number","minimum":-1000000,"maximum":1000000},"widthScale":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"teethEnabled":{"type":"boolean"},"terminals":{"type":"object","properties":{"endStopsEnabled":{"type":"boolean"},"startBoxPinEnabled":{"type":"boolean"},"startInsertPinEnabled":{"type":"boolean"},"startRetainerBoxEnabled":{"type":"boolean"},"startStopEnabled":{"type":"boolean"}},"required":[],"additionalProperties":false},"toothGeometry":{"type":"object","properties":{"lengthScale":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessScale":{"type":"number","minimum":-1000000,"maximum":1000000},"widthRatio":{"type":"number","minimum":0.3,"maximum":0.65}},"required":[],"additionalProperties":false},"transformCorrection":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"useTexture":{"type":"boolean"},"toothDensity":{"type":"number","minimum":-1000000,"maximum":1000000},"type":{"type":"string","maxLength":160,"minLength":0},"componentTransformCorrections":{"type":"object","properties":{"tape":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"teeth":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"slider":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"end-stops":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"start-stop":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"start-insert-pin":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"start-box-pin":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"start-retainer-box":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"velcro":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"enabled":{"type":"boolean"},"density":{"type":"number","minimum":-1000000,"maximum":1000000},"featureThicknessRatio":{"type":"number","minimum":-1000000,"maximum":1000000},"featureWidthRatio":{"type":"number","minimum":-1000000,"maximum":1000000},"hookColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"layoutMode":{"type":"string","maxLength":160,"minLength":0},"loopColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"metalness":{"type":"number","minimum":-1000000,"maximum":1000000},"pairGapMm":{"type":"number","minimum":-1000000,"maximum":1000000},"quality":{"type":"string","enum":["low","medium","high"]},"roughness":{"type":"number","minimum":-1000000,"maximum":1000000},"side":{"type":"string","maxLength":160,"minLength":0},"transformCorrection":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"type":{"type":"string","maxLength":160,"minLength":0},"useTexture":{"type":"boolean"},"widthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"componentTransformCorrections":{"type":"object","properties":{"backing":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"hook":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"loop":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"inspector"}},{"name":"pg_edit_inspector_accessory","description":"Edit a manual accessory instance or generated connection, including geometry, individual components/items, texture use and placement; retains unrelated settings.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"instanceId":{"type":"string","minLength":1,"maxLength":160},"category":{"type":"string","enum":["button","rope","snap","zipper","velcro"]},"connectionId":{"type":"string","minLength":1,"maxLength":160},"settings":{"anyOf":[{"$ref":"#/$defs/manualSettings"},{"$ref":"#/$defs/accessorySettings/properties/button"},{"$ref":"#/$defs/accessorySettings/properties/rope"},{"$ref":"#/$defs/accessorySettings/properties/snap"},{"$ref":"#/$defs/accessorySettings/properties/zipper"},{"$ref":"#/$defs/accessorySettings/properties/velcro"}]}},"required":["projectId","expectedRevision","settings"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"instanceId":{"type":"string","minLength":1,"maxLength":160},"settings":{"$ref":"#/$defs/manualSettings"}},"required":["projectId","expectedRevision","instanceId","settings"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"category":{"const":"button"},"connectionId":{"type":"string","minLength":1,"maxLength":160},"settings":{"$ref":"#/$defs/accessorySettings/properties/button"}},"required":["projectId","expectedRevision","category","connectionId","settings"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"category":{"const":"rope"},"connectionId":{"type":"string","minLength":1,"maxLength":160},"settings":{"$ref":"#/$defs/accessorySettings/properties/rope"}},"required":["projectId","expectedRevision","category","connectionId","settings"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"category":{"const":"snap"},"connectionId":{"type":"string","minLength":1,"maxLength":160},"settings":{"$ref":"#/$defs/accessorySettings/properties/snap"}},"required":["projectId","expectedRevision","category","connectionId","settings"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"category":{"const":"zipper"},"connectionId":{"type":"string","minLength":1,"maxLength":160},"settings":{"$ref":"#/$defs/accessorySettings/properties/zipper"}},"required":["projectId","expectedRevision","category","connectionId","settings"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"category":{"const":"velcro"},"connectionId":{"type":"string","minLength":1,"maxLength":160},"settings":{"$ref":"#/$defs/accessorySettings/properties/velcro"}},"required":["projectId","expectedRevision","category","connectionId","settings"],"additionalProperties":false}],"$defs":{"manualSettings":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":256},"enabled":{"type":"boolean"},"transform":{"type":"object","properties":{"offsetMm":{"type":"array","items":{"type":"number","minimum":-100000,"maximum":100000},"maxItems":3,"minItems":3},"scale":{"type":"array","items":{"type":"number","minimum":0.001,"maximum":100},"minItems":3,"maxItems":3},"rotation":{"type":"array","items":{"type":"number","minimum":-1,"maximum":1},"minItems":4,"maxItems":4},"orientationMode":{"type":"string","enum":["surface","world-up"]}},"required":[],"additionalProperties":false},"parameters":{"type":"object","properties":{"buttonSettings":{"$ref":"#/$defs/accessorySettings/properties/button"},"ropeSettings":{"$ref":"#/$defs/accessorySettings/properties/rope"},"snapSettings":{"$ref":"#/$defs/accessorySettings/properties/snap"},"zipperSettings":{"$ref":"#/$defs/accessorySettings/properties/zipper"},"velcroSettings":{"$ref":"#/$defs/accessorySettings/properties/velcro"}},"required":[],"additionalProperties":false},"quality":{"type":"string","enum":["low","medium","high"]},"useTexture":{"type":"boolean"}},"required":[],"additionalProperties":false,"minProperties":1},"accessorySettings":{"type":"object","properties":{"button":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"construction":{"type":"string","enum":["jeans","sew-through","shank","toggle"]},"enabled":{"type":"boolean"},"holeCount":{"type":"integer","enum":[2,4]},"metalness":{"type":"number","minimum":-1000000,"maximum":1000000},"profile":{"type":"string","enum":["concave","convex","flat"]},"quality":{"type":"string","enum":["low","medium","high"]},"reuseGeometryInstances":{"type":"boolean"},"roughness":{"type":"number","minimum":-1000000,"maximum":1000000},"shape":{"type":"string","enum":["rectangular","round"]},"sizeMm":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessMm":{"type":"number","minimum":-1000000,"maximum":1000000},"threadColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"transformCorrection":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"type":{"type":"string","maxLength":160,"minLength":0},"useTexture":{"type":"boolean"},"itemTransformCorrections":{"type":"object","properties":{},"additionalProperties":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000000,"maximum":1000000},"along":{"type":"number","minimum":-1000000,"maximum":1000000},"normal":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","maxLength":160,"minLength":0},"pathDirection":{"type":"string","maxLength":160,"minLength":0},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-1000000,"maximum":1000000},"along":{"type":"number","minimum":-1000000,"maximum":1000000},"normal":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"maxProperties":256,"propertyNames":{"type":"string","minLength":1,"maxLength":160}},"componentTransformCorrections":{"type":"object","properties":{"body":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"thread":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"rope":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endCappedEndSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"endEndStyle":{"type":"string","maxLength":160,"minLength":0},"endSurfaceEntrySettings":{"type":"object","properties":{"depthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"eyelet":{"type":"object","properties":{"enabled":{"type":"boolean"},"type":{"type":"string","maxLength":160,"minLength":0},"holeDiameterMm":{"type":"number","minimum":-1000000,"maximum":1000000},"rimWidthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"endFoldedEndSettings":{"type":"object","properties":{"distanceMm":{"type":"number","minimum":-1000000,"maximum":1000000},"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"endKnotSettings":{"type":"object","properties":{"offsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"sizePercent":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"endMetalTipSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"endPlasticTipSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"offsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"wallThicknessMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"enabled":{"type":"boolean"},"metalness":{"type":"number","minimum":-1000000,"maximum":1000000},"patternOffsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"patternOffsetSigned":{"type":"boolean"},"quality":{"type":"string","enum":["low","medium","high"]},"roughness":{"type":"number","minimum":-1000000,"maximum":1000000},"ropeSmoothing":{"type":"object","properties":{"enabled":{"type":"boolean"},"iterations":{"type":"number","minimum":-1000000,"maximum":1000000},"strength":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"startCappedEndSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"startEndStyle":{"type":"string","maxLength":160,"minLength":0},"startSurfaceEntrySettings":{"type":"object","properties":{"depthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"eyelet":{"type":"object","properties":{"enabled":{"type":"boolean"},"type":{"type":"string","maxLength":160,"minLength":0},"holeDiameterMm":{"type":"number","minimum":-1000000,"maximum":1000000},"rimWidthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"startFoldedEndSettings":{"type":"object","properties":{"distanceMm":{"type":"number","minimum":-1000000,"maximum":1000000},"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"startKnotSettings":{"type":"object","properties":{"offsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"sizePercent":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"startMetalTipSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"startPlasticTipSettings":{"type":"object","properties":{"lengthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"offsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"wallThicknessMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"transformCorrection":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"useTexture":{"type":"boolean"},"chainResizeAnchor":{"type":"string","maxLength":160,"minLength":0},"type":{"type":"string","maxLength":160,"minLength":0},"sizeMm":{"type":"number","minimum":0.5,"maximum":40},"diameterMm":{"type":"number","minimum":0.5,"maximum":40},"linkLengthMm":{"type":"number","minimum":3,"maximum":200},"linkWidthMm":{"type":"number","minimum":2,"maximum":160},"lengthMm":{"type":"number","minimum":1,"maximum":10000},"loopDiameterMm":{"type":"number","minimum":1,"maximum":10000},"loopRadiusMm":{"type":"number","minimum":1,"maximum":10000},"thicknessMm":{"type":"number","minimum":0.1,"maximum":20},"componentTransformCorrections":{"type":"object","properties":{"body":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"start-end":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"end-end":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"snap":{"type":"object","properties":{"autoConnectHalves":{"type":"boolean"},"capSocketEnabled":{"type":"boolean"},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"enabled":{"type":"boolean"},"itemCount":{"oneOf":[{"type":"integer","minimum":1,"maximum":256},{"type":"null"}]},"metalness":{"type":"number","minimum":-1000000,"maximum":1000000},"quality":{"type":"string","enum":["low","medium","high"]},"reuseGeometryInstances":{"type":"boolean"},"roughness":{"type":"number","minimum":-1000000,"maximum":1000000},"sizeMm":{"type":"number","minimum":-1000000,"maximum":1000000},"studPostEnabled":{"type":"boolean"},"transformCorrection":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"type":{"type":"string","maxLength":160,"minLength":0},"useTexture":{"type":"boolean"},"componentTransformCorrections":{"type":"object","properties":{"cap-socket":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"stud-post":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"zipper":{"type":"object","properties":{"elementColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"enabled":{"type":"boolean"},"finish":{"type":"string","maxLength":160,"minLength":0},"metalness":{"type":"number","minimum":-1000000,"maximum":1000000},"pullTabGeometry":{"type":"object","properties":{"lengthScale":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessScale":{"type":"number","minimum":-1000000,"maximum":1000000},"widthScale":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"pullType":{"type":"string","maxLength":160,"minLength":0},"quality":{"type":"string","enum":["low","medium","high"]},"roughness":{"type":"number","minimum":-1000000,"maximum":1000000},"size":{"type":"number","minimum":-1000000,"maximum":1000000},"sliderColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"sliderEnabled":{"type":"boolean"},"sliderMetalness":{"type":"number","minimum":-1000000,"maximum":1000000},"sliderRoughness":{"type":"number","minimum":-1000000,"maximum":1000000},"tapeColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"tapeEnabled":{"type":"boolean"},"tapeGeometry":{"type":"object","properties":{"bendAngleDeg":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessScale":{"type":"number","minimum":-1000000,"maximum":1000000},"widthScale":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"teethEnabled":{"type":"boolean"},"terminals":{"type":"object","properties":{"endStopsEnabled":{"type":"boolean"},"startBoxPinEnabled":{"type":"boolean"},"startInsertPinEnabled":{"type":"boolean"},"startRetainerBoxEnabled":{"type":"boolean"},"startStopEnabled":{"type":"boolean"}},"required":[],"additionalProperties":false},"toothGeometry":{"type":"object","properties":{"lengthScale":{"type":"number","minimum":-1000000,"maximum":1000000},"thicknessScale":{"type":"number","minimum":-1000000,"maximum":1000000},"widthRatio":{"type":"number","minimum":0.3,"maximum":0.65}},"required":[],"additionalProperties":false},"transformCorrection":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"useTexture":{"type":"boolean"},"toothDensity":{"type":"number","minimum":-1000000,"maximum":1000000},"type":{"type":"string","maxLength":160,"minLength":0},"componentTransformCorrections":{"type":"object","properties":{"tape":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"teeth":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"slider":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"end-stops":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"start-stop":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"start-insert-pin":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"start-box-pin":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"start-retainer-box":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"velcro":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"enabled":{"type":"boolean"},"density":{"type":"number","minimum":-1000000,"maximum":1000000},"featureThicknessRatio":{"type":"number","minimum":-1000000,"maximum":1000000},"featureWidthRatio":{"type":"number","minimum":-1000000,"maximum":1000000},"hookColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"layoutMode":{"type":"string","maxLength":160,"minLength":0},"loopColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"metalness":{"type":"number","minimum":-1000000,"maximum":1000000},"pairGapMm":{"type":"number","minimum":-1000000,"maximum":1000000},"quality":{"type":"string","enum":["low","medium","high"]},"roughness":{"type":"number","minimum":-1000000,"maximum":1000000},"side":{"type":"string","maxLength":160,"minLength":0},"transformCorrection":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"type":{"type":"string","maxLength":160,"minLength":0},"useTexture":{"type":"boolean"},"widthMm":{"type":"number","minimum":-1000000,"maximum":1000000},"componentTransformCorrections":{"type":"object","properties":{"backing":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"hook":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"loop":{"type":"object","properties":{"offsetMm":{"type":"object","properties":{"across":{"type":"number","minimum":-1000,"maximum":1000},"along":{"type":"number","minimum":-1000,"maximum":1000},"normal":{"type":"number","minimum":-1000,"maximum":1000}},"required":[],"additionalProperties":false},"orientationMode":{"type":"string","enum":["surface","world-up"]},"pathDirection":{"type":"string","enum":["authored","reversed"]},"rotationDeg":{"type":"object","properties":{"across":{"type":"number","minimum":-360000,"maximum":360000},"along":{"type":"number","minimum":-360000,"maximum":360000},"normal":{"type":"number","minimum":-360000,"maximum":360000}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"inspector"}},{"name":"pg_get_stitch_presets","description":"Discover native stitch/overlock/seam-relief presets and exact parameter bounds. With materialId reads UV calibration and named pattern guides; layerId also reads current paths and settings in UV and millimetres.","inputSchema":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":100},"materialId":{"type":"string","minLength":1,"maxLength":512},"layerId":{"type":"string","minLength":1,"maxLength":160},"objectId":{"type":"string","minLength":1,"maxLength":512,"description":"Choose the material-owning mesh when a material is shared by several UV panels."},"pathId":{"type":"string","minLength":1,"maxLength":160},"anchorOffset":{"type":"integer","minimum":0,"maximum":100000},"anchorLimit":{"type":"integer","minimum":1,"maximum":100},"guideId":{"type":"string","minLength":1,"maxLength":160},"pointOffset":{"type":"integer","minimum":0,"maximum":2147483647},"pointLimit":{"type":"integer","minimum":1,"maximum":100}},"required":[],"additionalProperties":false,"$defs":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"editorDomain":"inspector"}},{"name":"pg_create_stitch_layer","description":"Create a native Vector thread/overlock/seam-relief layer with the preset channel defaults (color, normal, roughness, AO). Lengths can use calibrated millimetres; optional authored UV paths.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"materialId":{"type":"string","minLength":1,"maxLength":512},"presetId":{"type":"string","enum":["machine-lockstitch","machine-zigzag","machine-overlock","construction-solid-stroke","construction-seam-relief","construction-elastic-gathering","hand-running-stitch","hand-backstitch","hand-cross-stitch","hand-blanket-stitch"]},"name":{"type":"string","minLength":1,"maxLength":256},"settings":{"$ref":"#/$defs/stitchSettings"},"settingsMm":{"$ref":"#/$defs/physicalSettings"},"appearance":{"$ref":"#/$defs/appearance"},"paths":{"type":"array","items":{"$ref":"#/$defs/vectorPath"},"minItems":0,"maxItems":100},"objectId":{"type":"string","minLength":1,"maxLength":512,"description":"Choose the material-owning mesh when a material is shared by several UV panels."}},"required":["projectId","expectedRevision","materialId","presetId"],"additionalProperties":false,"$defs":{"stitchSettings":{"type":"object","properties":{"ao":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"emissive":{"type":"number","minimum":0,"maximum":1},"gapLengthUv":{"type":"number","minimum":0,"maximum":1},"gatherBandWidthUv":{"type":"number","minimum":0.005,"maximum":0.5},"gatherCreaseWidthUv":{"type":"number","minimum":0.0005,"maximum":0.08},"gatherIrregularity":{"type":"number","minimum":0,"maximum":1},"gatherSeed":{"type":"integer","minimum":0,"maximum":9999},"gatherSpacingUv":{"type":"number","minimum":0.001,"maximum":0.1},"metalness":{"type":"number","minimum":0,"maximum":1},"motifWidthUv":{"type":"number","minimum":0.0001,"maximum":0.25},"normalStrength":{"type":"number","minimum":-1,"maximum":1},"opacity":{"type":"number","minimum":0,"maximum":1},"overlockNeedleLineCount":{"type":"integer","minimum":1,"maximum":2},"overlockNeedleLineSpacingUv":{"type":"number","minimum":0.0001,"maximum":0.05},"phaseUv":{"type":"number","minimum":-1,"maximum":1},"roughness":{"type":"number","minimum":0,"maximum":1},"seamCreaseDepth":{"type":"number","minimum":0,"maximum":1},"seamCreaseWidthUv":{"type":"number","minimum":0.0002,"maximum":0.1},"seamColorStrength":{"type":"number","minimum":0,"maximum":1},"seamReliefAsymmetry":{"type":"number","minimum":-1,"maximum":1},"seamReliefSoftness":{"type":"number","minimum":0.05,"maximum":1},"seamReliefWidthUv":{"type":"number","minimum":0.001,"maximum":0.25},"stitchLengthUv":{"type":"number","minimum":0.0001,"maximum":1},"stitchStyle":{"type":"string","enum":["backstitch","blanket","cross","elastic-gathering","overlock","running","seam-relief","straight","zigzag"]},"threadCount":{"type":"integer","minimum":1,"maximum":8},"threadSpacingUv":{"type":"number","minimum":0.0001,"maximum":0.05},"threadWidthUv":{"type":"number","minimum":0.0001,"maximum":0.25}},"required":[],"additionalProperties":false},"physicalSettings":{"type":"object","properties":{"gapLengthMm":{"type":"number","minimum":0,"maximum":100000},"gatherBandWidthMm":{"type":"number","minimum":0,"maximum":100000},"gatherCreaseWidthMm":{"type":"number","minimum":0,"maximum":100000},"gatherSpacingMm":{"type":"number","minimum":0,"maximum":100000},"motifWidthMm":{"type":"number","minimum":0,"maximum":100000},"overlockNeedleLineSpacingMm":{"type":"number","minimum":0,"maximum":100000},"phaseMm":{"type":"number","minimum":-100000,"maximum":100000},"seamCreaseWidthMm":{"type":"number","minimum":0,"maximum":100000},"seamReliefWidthMm":{"type":"number","minimum":0,"maximum":100000},"stitchLengthMm":{"type":"number","minimum":0,"maximum":100000},"threadSpacingMm":{"type":"number","minimum":0,"maximum":100000},"threadWidthMm":{"type":"number","minimum":0,"maximum":100000}},"required":[],"additionalProperties":false},"appearance":{"type":"object","properties":{"fill":{"type":"object","properties":{"enabled":{"type":"boolean"},"ao":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"emissive":{"type":"number","minimum":0,"maximum":1},"metalness":{"type":"number","minimum":0,"maximum":1},"normalStrength":{"type":"number","minimum":-1,"maximum":1},"opacity":{"type":"number","minimum":0,"maximum":1},"reliefWidthUv":{"type":"number","minimum":0.0001,"maximum":1},"roughness":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false},"stroke":{"type":"object","properties":{"enabled":{"type":"boolean"},"mode":{"type":"string","enum":["none","preset","solid"]}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"vectorPath":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"name":{"type":"string","maxLength":256,"minLength":0},"customName":{"type":"string","maxLength":256,"minLength":0},"compoundId":{"type":"string","maxLength":160,"minLength":0},"closed":{"type":"boolean"},"fillClosed":{"type":"boolean"},"fillRule":{"type":"string","enum":["evenodd","nonzero"]},"regionFill":{"type":"string","enum":["empty","filled"]},"binding":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["pattern-edge","pattern-point"]},"anchors":{"type":"array","items":{"type":"object","properties":{"anchorId":{"type":"string","maxLength":160,"minLength":1},"inHandle":{"oneOf":[{"type":"object","properties":{"normalMm":{"type":"number","minimum":-1000000,"maximum":1000000},"tangentMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":["normalMm","tangentMm"],"additionalProperties":false},{"type":"null"}]},"outHandle":{"oneOf":[{"type":"object","properties":{"normalMm":{"type":"number","minimum":-1000000,"maximum":1000000},"tangentMm":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":["normalMm","tangentMm"],"additionalProperties":false},{"type":"null"}]},"normalMm":{"type":"number","minimum":-1000000,"maximum":1000000},"tangentMm":{"type":"number","minimum":-1000000,"maximum":1000000},"s":{"type":"number","minimum":0,"maximum":1},"observeBezier":{"type":"boolean"},"observePosition":{"type":"boolean"},"bezierReverse":{"type":"boolean"},"offsetUv":{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100}},"required":["x","y"],"additionalProperties":false},"offsetMm":{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100}},"required":["x","y"],"additionalProperties":false},"target":{"type":"object","properties":{"artifactId":{"type":"string","maxLength":512,"minLength":0},"edgeId":{"type":"string","maxLength":160,"minLength":0},"panelId":{"type":"string","maxLength":512,"minLength":0},"partId":{"type":"string","maxLength":160,"minLength":0},"projection":{"type":"string","maxLength":160,"minLength":0},"instance":{"type":"string","maxLength":160,"minLength":0},"pointId":{"type":"string","maxLength":160,"minLength":0},"ratio":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false}},"required":["anchorId"],"additionalProperties":false},"maxItems":512,"minItems":0},"target":{"type":"object","properties":{"artifactId":{"type":"string","maxLength":512,"minLength":0},"edgeId":{"type":"string","maxLength":160,"minLength":0},"panelId":{"type":"string","maxLength":512,"minLength":0},"partId":{"type":"string","maxLength":160,"minLength":0},"projection":{"type":"string","maxLength":160,"minLength":0},"instance":{"type":"string","maxLength":160,"minLength":0},"pointId":{"type":"string","maxLength":160,"minLength":0},"ratio":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false},"offsetMm":{"type":"number","minimum":-1000000,"maximum":1000000},"reverse":{"type":"boolean"},"uvOrientation":{"type":"string","maxLength":160,"minLength":0}},"required":["kind"],"additionalProperties":false},{"type":"null"}]},"anchors":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100},"inHandle":{"oneOf":[{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100}},"required":["x","y"],"additionalProperties":false},{"type":"null"}]},"outHandle":{"oneOf":[{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100}},"required":["x","y"],"additionalProperties":false},{"type":"null"}]},"handleMode":{"type":"string","enum":["independent","mirrored","mirrored-angle"]}},"required":["id","x","y"],"additionalProperties":false},"maxItems":512,"minItems":1}},"required":["id","anchors"],"additionalProperties":false}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"inspector"}},{"name":"pg_set_stitch_style","description":"Apply a stitch preset and/or edit its thread width, stitch/gap length, counts, overlock needle rows, PBR values, seam relief and gathering while preserving paths/bindings.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"materialId":{"type":"string","minLength":1,"maxLength":512},"layerId":{"type":"string","minLength":1,"maxLength":160},"presetId":{"type":"string","enum":["machine-lockstitch","machine-zigzag","machine-overlock","construction-solid-stroke","construction-seam-relief","construction-elastic-gathering","hand-running-stitch","hand-backstitch","hand-cross-stitch","hand-blanket-stitch"]},"settings":{"$ref":"#/$defs/stitchSettings"},"settingsMm":{"$ref":"#/$defs/physicalSettings"},"appearance":{"$ref":"#/$defs/appearance"},"objectId":{"type":"string","minLength":1,"maxLength":512,"description":"Choose the material-owning mesh when a material is shared by several UV panels."}},"required":["projectId","expectedRevision","materialId","layerId"],"additionalProperties":false,"anyOf":[{"required":["presetId"]},{"required":["settings"]},{"required":["settingsMm"]},{"required":["appearance"]}],"$defs":{"stitchSettings":{"type":"object","properties":{"ao":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"emissive":{"type":"number","minimum":0,"maximum":1},"gapLengthUv":{"type":"number","minimum":0,"maximum":1},"gatherBandWidthUv":{"type":"number","minimum":0.005,"maximum":0.5},"gatherCreaseWidthUv":{"type":"number","minimum":0.0005,"maximum":0.08},"gatherIrregularity":{"type":"number","minimum":0,"maximum":1},"gatherSeed":{"type":"integer","minimum":0,"maximum":9999},"gatherSpacingUv":{"type":"number","minimum":0.001,"maximum":0.1},"metalness":{"type":"number","minimum":0,"maximum":1},"motifWidthUv":{"type":"number","minimum":0.0001,"maximum":0.25},"normalStrength":{"type":"number","minimum":-1,"maximum":1},"opacity":{"type":"number","minimum":0,"maximum":1},"overlockNeedleLineCount":{"type":"integer","minimum":1,"maximum":2},"overlockNeedleLineSpacingUv":{"type":"number","minimum":0.0001,"maximum":0.05},"phaseUv":{"type":"number","minimum":-1,"maximum":1},"roughness":{"type":"number","minimum":0,"maximum":1},"seamCreaseDepth":{"type":"number","minimum":0,"maximum":1},"seamCreaseWidthUv":{"type":"number","minimum":0.0002,"maximum":0.1},"seamColorStrength":{"type":"number","minimum":0,"maximum":1},"seamReliefAsymmetry":{"type":"number","minimum":-1,"maximum":1},"seamReliefSoftness":{"type":"number","minimum":0.05,"maximum":1},"seamReliefWidthUv":{"type":"number","minimum":0.001,"maximum":0.25},"stitchLengthUv":{"type":"number","minimum":0.0001,"maximum":1},"stitchStyle":{"type":"string","enum":["backstitch","blanket","cross","elastic-gathering","overlock","running","seam-relief","straight","zigzag"]},"threadCount":{"type":"integer","minimum":1,"maximum":8},"threadSpacingUv":{"type":"number","minimum":0.0001,"maximum":0.05},"threadWidthUv":{"type":"number","minimum":0.0001,"maximum":0.25}},"required":[],"additionalProperties":false},"physicalSettings":{"type":"object","properties":{"gapLengthMm":{"type":"number","minimum":0,"maximum":100000},"gatherBandWidthMm":{"type":"number","minimum":0,"maximum":100000},"gatherCreaseWidthMm":{"type":"number","minimum":0,"maximum":100000},"gatherSpacingMm":{"type":"number","minimum":0,"maximum":100000},"motifWidthMm":{"type":"number","minimum":0,"maximum":100000},"overlockNeedleLineSpacingMm":{"type":"number","minimum":0,"maximum":100000},"phaseMm":{"type":"number","minimum":-100000,"maximum":100000},"seamCreaseWidthMm":{"type":"number","minimum":0,"maximum":100000},"seamReliefWidthMm":{"type":"number","minimum":0,"maximum":100000},"stitchLengthMm":{"type":"number","minimum":0,"maximum":100000},"threadSpacingMm":{"type":"number","minimum":0,"maximum":100000},"threadWidthMm":{"type":"number","minimum":0,"maximum":100000}},"required":[],"additionalProperties":false},"appearance":{"type":"object","properties":{"fill":{"type":"object","properties":{"enabled":{"type":"boolean"},"ao":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"emissive":{"type":"number","minimum":0,"maximum":1},"metalness":{"type":"number","minimum":0,"maximum":1},"normalStrength":{"type":"number","minimum":-1,"maximum":1},"opacity":{"type":"number","minimum":0,"maximum":1},"reliefWidthUv":{"type":"number","minimum":0.0001,"maximum":1},"roughness":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false},"stroke":{"type":"object","properties":{"enabled":{"type":"boolean"},"mode":{"type":"string","enum":["none","preset","solid"]}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"inspector"}},{"name":"pg_bind_stitch_path","description":"Use native pattern-edge/point hooks for a stitch path: bind an existing path, create an offset whole-edge path, observe an anchor, or detach while keeping its current UV shape.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"materialId":{"type":"string","minLength":1,"maxLength":512},"layerId":{"type":"string","minLength":1,"maxLength":160},"action":{"type":"string","enum":["bind","unbind","anchor-point"]},"pathId":{"type":"string","minLength":1,"maxLength":160},"createWholeEdge":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":256},"anchorId":{"type":"string","minLength":1,"maxLength":160},"target":{"type":"object","properties":{"artifactId":{"type":"string","maxLength":512,"minLength":0},"edgeId":{"type":"string","maxLength":160,"minLength":0},"panelId":{"type":"string","maxLength":512,"minLength":0},"partId":{"type":"string","maxLength":160,"minLength":0},"projection":{"type":"string","maxLength":160,"minLength":0},"instance":{"type":"string","maxLength":160,"minLength":0},"pointId":{"type":"string","maxLength":160,"minLength":0},"ratio":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false},"offsetMm":{"type":"number","minimum":-100000,"maximum":100000},"reverse":{"type":"boolean"},"captureShape":{"type":"boolean"},"observePosition":{"type":"boolean"},"observeBezier":{"type":"boolean"},"objectId":{"type":"string","minLength":1,"maxLength":512,"description":"Choose the material-owning mesh when a material is shared by several UV panels."}},"required":["projectId","expectedRevision","materialId","layerId","action"],"additionalProperties":false,"$defs":{}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"inspector"}},{"name":"pg_get_material","description":"Read complete local Inspector material appearance, PBR channel base values and enablement, opacity, render settings, layer transforms and a selected layer recipe. Supports paging and returns local asset IDs without image pixels or URLs. With objectId, accessory components resolve their shared Painter atlas and zone; new layers are scoped to that component, preventing edits to other accessories.","inputSchema":{"type":"object","properties":{"materialId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":100},"objectId":{"type":"string","minLength":1,"maxLength":160},"targetZoneId":{"type":"string","minLength":1,"maxLength":160},"pathId":{"type":"string","minLength":1,"maxLength":160},"strokeId":{"type":"string","minLength":1,"maxLength":160},"anchorOffset":{"type":"integer","minimum":0,"maximum":2147483647},"pointOffset":{"type":"integer","minimum":0,"maximum":2147483647},"anchorLimit":{"type":"integer","minimum":1,"maximum":100},"pointLimit":{"type":"integer","minimum":1,"maximum":100},"modifierOffset":{"type":"integer","minimum":0,"maximum":1000000},"modifierLimit":{"type":"integer","minimum":1,"maximum":32},"modifierProperty":{"type":"string","enum":["map","roughnessMap","metalnessMap","normalMap","aoMap","alphaMap","emissiveMap"]}},"required":[],"additionalProperties":false,"anyOf":[{"required":["materialId"]},{"required":["objectId"]}]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"editorDomain":"painter"}},{"name":"pg_set_material_appearance","description":"Edit local Inspector PBR base color, roughness, metalness, opacity/emission, render options, a layer texture transform/appearance and already-loaded texture assignments. Applies one native history boundary; remote images are not fetched. With objectId, accessory components resolve their shared Painter atlas and zone; new layers are scoped to that component, preventing edits to other accessories.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"materialId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"channels":{"type":"object","properties":{"map":{"type":"object","properties":{"enabled":{"type":"boolean"},"value":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":[],"additionalProperties":false,"minProperties":1},"normalMap":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":[],"additionalProperties":false,"minProperties":1},"aoMap":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":[],"additionalProperties":false,"minProperties":1},"roughnessMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"value":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false,"minProperties":1},"metalnessMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"value":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false,"minProperties":1},"alphaMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"value":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false,"minProperties":1},"emissiveMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"value":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"baseIntensity":{"type":"number","minimum":0,"maximum":10}},"required":[],"additionalProperties":false,"minProperties":1}},"required":[],"additionalProperties":false,"minProperties":1},"rendering":{"type":"object","properties":{"doubleSided":{"type":"boolean"},"textureResolution":{"type":"integer","enum":[256,512,1024,2048,4096]},"distanceTextureSmoothing":{"type":"boolean"},"opacitySettings":{"type":"object","properties":{"opacityMode":{"type":"string","enum":["blend","mask"]},"alphaTest":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false,"minProperties":1},"layer":{"type":"object","properties":{"opacity":{"type":"number","minimum":0,"maximum":1},"visible":{"type":"boolean"},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"channels":{"type":"object","properties":{"map":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"normalMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"bumpMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"displacementMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"roughnessMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"metalnessMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"aoMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"emissiveMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"alphaMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"transform":{"type":"object","properties":{"cropHeight":{"type":"number","minimum":0.01,"maximum":1},"cropWidth":{"type":"number","minimum":0.01,"maximum":1},"cropX":{"type":"number","minimum":0,"maximum":0.99},"cropY":{"type":"number","minimum":0,"maximum":0.99},"offsetX":{"type":"number","minimum":-1000000,"maximum":1000000},"offsetY":{"type":"number","minimum":-1000000,"maximum":1000000},"repeatX":{"type":"number","minimum":1,"maximum":64},"repeatY":{"type":"number","minimum":1,"maximum":64},"repeatSpacingX":{"type":"number","minimum":0,"maximum":5},"repeatSpacingY":{"type":"number","minimum":0,"maximum":5},"rotationDeg":{"type":"number","minimum":-180,"maximum":180},"scale":{"type":"number","minimum":0.01,"maximum":6},"scaleX":{"type":"number","minimum":0.01,"maximum":6},"scaleY":{"type":"number","minimum":0.01,"maximum":6},"sourceAspect":{"type":"number","minimum":0.02,"maximum":50}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false,"minProperties":1},"textures":{"type":"array","items":{"type":"object","properties":{"property":{"type":"string","enum":["map","normalMap","aoMap","roughnessMap","metalnessMap","alphaMap","emissiveMap"]},"assetId":{"oneOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]}},"required":["property","assetId"],"additionalProperties":false},"minItems":1,"maxItems":7},"objectId":{"type":"string","minLength":1,"maxLength":160},"targetZoneId":{"type":"string","minLength":1,"maxLength":160}},"required":["projectId","expectedRevision"],"additionalProperties":false,"$defs":{"textureModifier":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"type":{"const":"filter"},"enabled":{"type":"boolean"},"name":{"type":"string","maxLength":256,"minLength":0},"settings":{"type":"object","properties":{"blackAndWhite":{"type":"boolean"},"brightness":{"type":"number","minimum":-1000000,"maximum":1000000},"blurRadius":{"type":"number","minimum":-1000000,"maximum":1000000},"colorizeAmount":{"type":"number","minimum":-1000000,"maximum":1000000},"colorizeColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"colorizeEnabled":{"type":"boolean"},"contrast":{"type":"number","minimum":-1000000,"maximum":1000000},"exposure":{"type":"number","minimum":-1000000,"maximum":1000000},"gamma":{"type":"number","minimum":-1000000,"maximum":1000000},"hue":{"type":"number","minimum":-1000000,"maximum":1000000},"lightness":{"type":"number","minimum":-1000000,"maximum":1000000},"saturation":{"type":"number","minimum":-1000000,"maximum":1000000},"threshold":{"type":"number","minimum":-1000000,"maximum":1000000},"thresholdEnabled":{"type":"boolean"}},"required":[],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"type":{"const":"pbr-generator"},"enabled":{"type":"boolean"},"name":{"type":"string","maxLength":256,"minLength":0},"settings":{"type":"object","properties":{"aoBias":{"type":"number","minimum":-1000000,"maximum":1000000},"aoRadius":{"type":"number","minimum":-1000000,"maximum":1000000},"aoStrength":{"type":"number","minimum":-1000000,"maximum":1000000},"invertHeight":{"type":"boolean"},"metalnessAmount":{"type":"number","minimum":-1000000,"maximum":1000000},"metalnessThreshold":{"type":"number","minimum":-1000000,"maximum":1000000},"normalStrength":{"type":"number","minimum":-1000000,"maximum":1000000},"roughnessBase":{"type":"number","minimum":-1000000,"maximum":1000000},"roughnessContrast":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"outputs":{"type":"object","properties":{"alphaMap":{"type":"boolean"},"aoMap":{"type":"boolean"},"metalnessMap":{"type":"boolean"},"normalMap":{"type":"boolean"},"roughnessMap":{"type":"boolean"}},"required":[],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"type":{"const":"seamless"},"enabled":{"type":"boolean"},"name":{"type":"string","maxLength":256,"minLength":0},"settings":{"type":"object","properties":{"algorithmVersion":{"type":"number","minimum":-1000000,"maximum":1000000},"edgeFeather":{"type":"number","minimum":-1000000,"maximum":1000000},"edgeIrregularity":{"type":"number","minimum":-1000000,"maximum":1000000},"edgeSmoothing":{"type":"number","minimum":-1000000,"maximum":1000000},"method":{"type":"string","enum":["edge-pair-feather","graphcut-seam","image-quilting","legacy-offset-feather","offset-multiband","scatter-patches"]},"seed":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":["type"],"additionalProperties":false}]}},"anyOf":[{"required":["materialId","channels"]},{"required":["materialId","rendering"]},{"required":["materialId","layer"]},{"required":["materialId","textures"]},{"required":["objectId","channels"]},{"required":["objectId","rendering"]},{"required":["objectId","layer"]},{"required":["objectId","textures"]}]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"painter"}},{"name":"pg_get_material_patterns","description":"Discover built-in fabric/weave/knit/leather/home-textile material presets and locally saved custom node patterns. Read a selected custom graph with graphOffset/graphLimit before modifying it; never fetches a library from the backend.","inputSchema":{"type":"object","properties":{"source":{"type":"string","enum":["all","builtin","custom"]},"patternId":{"type":"string","minLength":1,"maxLength":160},"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":100},"graphOffset":{"type":"integer","minimum":0,"maximum":100000},"graphLimit":{"type":"integer","minimum":1,"maximum":100}},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"editorDomain":"painter"}},{"name":"pg_apply_material_pattern","description":"Create a native Pattern material layer or replace an existing Pattern recipe using one built-in preset or a locally saved custom graph. Optional settings control weave, colors, roughness, normal/AO strength, metallic mesh and repeats; keeps existing layer transforms unless explicitly changed. With objectId, accessory components resolve their shared Painter atlas and zone; new layers are scoped to that component, preventing edits to other accessories.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"materialId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"presetId":{"type":"string","minLength":1,"maxLength":160},"customPatternId":{"type":"string","minLength":1,"maxLength":160},"settings":{"type":"object","properties":{"aoStrength":{"type":"number","minimum":0,"maximum":1},"baseColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"contrast":{"type":"number","minimum":0,"maximum":1},"irregularity":{"type":"number","minimum":0,"maximum":1},"materialFamily":{"oneOf":[{"type":"string","maxLength":160,"minLength":0},{"type":"null"}]},"normalStrength":{"type":"number","minimum":0,"maximum":1},"repeats":{"type":"integer","minimum":4,"maximum":256},"roughness":{"type":"number","minimum":0,"maximum":1},"secondaryColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"structure":{"oneOf":[{"type":"string","maxLength":160,"minLength":0},{"type":"null"}]},"surface":{"oneOf":[{"type":"string","maxLength":160,"minLength":0},{"type":"null"}]},"weave":{"oneOf":[{"type":"string","maxLength":160,"minLength":0},{"type":"null"}]},"metallic":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false},"name":{"type":"string","minLength":1,"maxLength":256},"visible":{"type":"boolean"},"opacity":{"type":"number","minimum":0,"maximum":1},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"groupId":{"type":"string","maxLength":160},"transform":{"type":"object","properties":{"cropHeight":{"type":"number","minimum":0.01,"maximum":1},"cropWidth":{"type":"number","minimum":0.01,"maximum":1},"cropX":{"type":"number","minimum":0,"maximum":0.99},"cropY":{"type":"number","minimum":0,"maximum":0.99},"offsetX":{"type":"number","minimum":-1000000,"maximum":1000000},"offsetY":{"type":"number","minimum":-1000000,"maximum":1000000},"repeatX":{"type":"number","minimum":1,"maximum":64},"repeatY":{"type":"number","minimum":1,"maximum":64},"repeatSpacingX":{"type":"number","minimum":0,"maximum":5},"repeatSpacingY":{"type":"number","minimum":0,"maximum":5},"rotationDeg":{"type":"number","minimum":-180,"maximum":180},"scale":{"type":"number","minimum":0.01,"maximum":6},"scaleX":{"type":"number","minimum":0.01,"maximum":6},"scaleY":{"type":"number","minimum":0.01,"maximum":6},"sourceAspect":{"type":"number","minimum":0.02,"maximum":50}},"required":[],"additionalProperties":false},"channels":{"type":"object","properties":{"map":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"normalMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"bumpMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"displacementMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"roughnessMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"metalnessMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"aoMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"emissiveMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false},"alphaMap":{"type":"object","properties":{"enabled":{"type":"boolean"},"intensity":{"type":"number","minimum":0,"maximum":10},"opacity":{"type":"number","minimum":0,"maximum":1},"value":{"oneOf":[{"type":"number","minimum":-100,"maximum":100},{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"kind":{"type":"string","enum":["value","texture","procedural","procedural-vector","brush","material-text"]},"blendMode":{"type":"string","enum":["source-over","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","destination-in","destination-out"]},"maskProperty":{"type":"string","enum":["map","normalMap","bumpMap","displacementMap","roughnessMap","metalnessMap","aoMap","emissiveMap","alphaMap"]},"gradient":{"type":"object","properties":{"type":{"type":"string","enum":["solid","linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360},"centerX":{"type":"number","minimum":0,"maximum":1},"centerY":{"type":"number","minimum":0,"maximum":1},"radius":{"type":"number","minimum":0.05,"maximum":1},"startColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"endColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":0},"position":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7}},"required":["position","color"],"additionalProperties":false},"maxItems":16,"minItems":2}},"required":[],"additionalProperties":false},"modifiers":{"type":"array","items":{"$ref":"#/$defs/textureModifier"},"maxItems":32,"minItems":0}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"objectId":{"type":"string","minLength":1,"maxLength":160},"targetZoneId":{"type":"string","minLength":1,"maxLength":160}},"required":["projectId","expectedRevision"],"additionalProperties":false,"oneOf":[{"required":["presetId"]},{"required":["customPatternId"]}],"$defs":{"textureModifier":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"type":{"const":"filter"},"enabled":{"type":"boolean"},"name":{"type":"string","maxLength":256,"minLength":0},"settings":{"type":"object","properties":{"blackAndWhite":{"type":"boolean"},"brightness":{"type":"number","minimum":-1000000,"maximum":1000000},"blurRadius":{"type":"number","minimum":-1000000,"maximum":1000000},"colorizeAmount":{"type":"number","minimum":-1000000,"maximum":1000000},"colorizeColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"colorizeEnabled":{"type":"boolean"},"contrast":{"type":"number","minimum":-1000000,"maximum":1000000},"exposure":{"type":"number","minimum":-1000000,"maximum":1000000},"gamma":{"type":"number","minimum":-1000000,"maximum":1000000},"hue":{"type":"number","minimum":-1000000,"maximum":1000000},"lightness":{"type":"number","minimum":-1000000,"maximum":1000000},"saturation":{"type":"number","minimum":-1000000,"maximum":1000000},"threshold":{"type":"number","minimum":-1000000,"maximum":1000000},"thresholdEnabled":{"type":"boolean"}},"required":[],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"type":{"const":"pbr-generator"},"enabled":{"type":"boolean"},"name":{"type":"string","maxLength":256,"minLength":0},"settings":{"type":"object","properties":{"aoBias":{"type":"number","minimum":-1000000,"maximum":1000000},"aoRadius":{"type":"number","minimum":-1000000,"maximum":1000000},"aoStrength":{"type":"number","minimum":-1000000,"maximum":1000000},"invertHeight":{"type":"boolean"},"metalnessAmount":{"type":"number","minimum":-1000000,"maximum":1000000},"metalnessThreshold":{"type":"number","minimum":-1000000,"maximum":1000000},"normalStrength":{"type":"number","minimum":-1000000,"maximum":1000000},"roughnessBase":{"type":"number","minimum":-1000000,"maximum":1000000},"roughnessContrast":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false},"outputs":{"type":"object","properties":{"alphaMap":{"type":"boolean"},"aoMap":{"type":"boolean"},"metalnessMap":{"type":"boolean"},"normalMap":{"type":"boolean"},"roughnessMap":{"type":"boolean"}},"required":[],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"type":{"const":"seamless"},"enabled":{"type":"boolean"},"name":{"type":"string","maxLength":256,"minLength":0},"settings":{"type":"object","properties":{"algorithmVersion":{"type":"number","minimum":-1000000,"maximum":1000000},"edgeFeather":{"type":"number","minimum":-1000000,"maximum":1000000},"edgeIrregularity":{"type":"number","minimum":-1000000,"maximum":1000000},"edgeSmoothing":{"type":"number","minimum":-1000000,"maximum":1000000},"method":{"type":"string","enum":["edge-pair-feather","graphcut-seam","image-quilting","legacy-offset-feather","offset-multiband","scatter-patches"]},"seed":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":[],"additionalProperties":false}},"required":["type"],"additionalProperties":false}]}},"anyOf":[{"required":["materialId"]},{"required":["objectId"]}]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"painter"}},{"name":"pg_get_painter_capabilities","description":"Discover actual native Painter layer kinds, texture filters, PBR/seamless ranges and local workflows. Optional material/object/layer returns scoped source/stack constraints. Does not load assets.","inputSchema":{"type":"object","properties":{"materialId":{"type":"string","minLength":1,"maxLength":160},"objectId":{"type":"string","minLength":1,"maxLength":160},"targetZoneId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"editorDomain":"painter"}},{"name":"pg_edit_material_modifier","description":"Add, update, remove or reorder an existing local texture-slot filter, PBR generator or seamless modifier by ID. Preserves unrelated parameters and component atlas scope; refuses unavailable slots and silent clamps.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"materialId":{"type":"string","minLength":1,"maxLength":160},"objectId":{"type":"string","minLength":1,"maxLength":160},"targetZoneId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"property":{"type":"string","enum":["map","roughnessMap","metalnessMap","normalMap","aoMap","alphaMap","emissiveMap"]},"action":{"type":"string","enum":["add","update","remove","reorder"]},"modifierId":{"type":"string","minLength":1,"maxLength":160},"modifier":{"$ref":"#/$defs/textureModifier"},"orderedIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":0,"maxItems":1024,"uniqueItems":true}},"required":["projectId","expectedRevision","layerId","property","action"],"anyOf":[{"required":["materialId"]},{"required":["objectId"]}],"allOf":[{"if":{"properties":{"action":{"const":"add"}}},"then":{"required":["modifier"]}},{"if":{"properties":{"action":{"const":"update"}}},"then":{"required":["modifierId","modifier"]}},{"if":{"properties":{"action":{"const":"remove"}}},"then":{"required":["modifierId"]}},{"if":{"properties":{"action":{"const":"reorder"}}},"then":{"required":["orderedIds"]}}],"additionalProperties":false,"$defs":{"textureModifier":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"type":{"const":"filter"},"enabled":{"type":"boolean"},"settings":{"type":"object","properties":{"blackAndWhite":{"type":"boolean"},"brightness":{"type":"number","minimum":-1,"maximum":1},"blurRadius":{"type":"number","minimum":0,"maximum":32},"colorizeAmount":{"type":"number","minimum":0,"maximum":1},"colorizeColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","minLength":7,"maxLength":7},"colorizeEnabled":{"type":"boolean"},"contrast":{"type":"number","minimum":-1,"maximum":1},"exposure":{"type":"number","minimum":-5,"maximum":5},"gamma":{"type":"number","minimum":0.1,"maximum":3},"hue":{"type":"number","minimum":-180,"maximum":180},"lightness":{"type":"number","minimum":-1,"maximum":1},"saturation":{"type":"number","minimum":-1,"maximum":1},"threshold":{"type":"number","minimum":0,"maximum":1},"thresholdEnabled":{"type":"boolean"},"colorizeHue":{"type":"number","minimum":0,"maximum":360},"colorizeSaturation":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"type":{"const":"pbr-generator"},"enabled":{"type":"boolean"},"settings":{"type":"object","properties":{"aoBias":{"type":"number","minimum":0,"maximum":1},"aoRadius":{"type":"number","minimum":0,"maximum":1},"aoStrength":{"type":"number","minimum":0,"maximum":1},"invertHeight":{"type":"boolean"},"metalnessAmount":{"type":"number","minimum":0,"maximum":1},"metalnessThreshold":{"type":"number","minimum":0,"maximum":1},"normalStrength":{"type":"number","minimum":0,"maximum":1},"roughnessBase":{"type":"number","minimum":0,"maximum":1},"roughnessContrast":{"type":"number","minimum":0,"maximum":1}},"required":[],"additionalProperties":false},"outputs":{"type":"object","properties":{"alphaMap":{"type":"boolean"},"aoMap":{"type":"boolean"},"metalnessMap":{"type":"boolean"},"normalMap":{"type":"boolean"},"roughnessMap":{"type":"boolean"}},"required":[],"additionalProperties":false}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"type":{"const":"seamless"},"enabled":{"type":"boolean"},"settings":{"type":"object","properties":{"algorithmVersion":{"type":"integer","minimum":1,"maximum":999},"edgeFeather":{"type":"number","minimum":0.01,"maximum":0.5},"edgeIrregularity":{"type":"number","minimum":0,"maximum":1},"edgeSmoothing":{"type":"number","minimum":0,"maximum":1},"method":{"type":"string","enum":["edge-pair-feather","graphcut-seam","image-quilting","legacy-offset-feather","offset-multiband","scatter-patches"]},"seed":{"type":"integer","minimum":0,"maximum":9999}},"required":[],"additionalProperties":false}},"required":["type"],"additionalProperties":false}]}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"painter"}},{"name":"pg_export_material_texture","description":"Start a local browser image download job for a loaded texture slot: original decoded image or processed crop/filter/seamless/PBR output. Never fetches a private image or sends model data to a backend. Poll pg_get_job.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"materialId":{"type":"string","minLength":1,"maxLength":160},"objectId":{"type":"string","minLength":1,"maxLength":160},"targetZoneId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"property":{"type":"string","enum":["map","roughnessMap","metalnessMap","normalMap","aoMap","alphaMap","emissiveMap"]},"sourceProperty":{"type":"string","enum":["map","roughnessMap","metalnessMap","normalMap","aoMap","alphaMap","emissiveMap"]},"mode":{"type":"string","enum":["original","processed"]}},"required":["projectId","expectedRevision","layerId","property"],"anyOf":[{"required":["materialId"]},{"required":["objectId"]}],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"_meta":{"editorDomain":"painter"}},{"name":"pg_get_inspector_scene","description":"Read the local Inspector hierarchy, accessory component roles/material IDs, animation and loop preview, AO status/settings, compatible predicted sizes and per-object modifier availability. Metadata only; loaded meshes and images stay in the browser.","inputSchema":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":100},"objectId":{"type":"string","minLength":1,"maxLength":160},"includeBones":{"type":"boolean"}},"required":[],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"editorDomain":"inspector"}},{"name":"pg_set_inspector_lighting","description":"Change the current loaded Inspector environment intensity/rotation/background and designer-runtime lighting sharing through native editor history. Does not switch or fetch environment assets.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"settings":{"type":"object","properties":{"intensity":{"type":"number","minimum":0,"maximum":4},"rotation":{"type":"number","minimum":0,"maximum":360},"backgroundBlur":{"type":"number","minimum":0,"maximum":1},"backgroundVisible":{"type":"boolean"},"applyToDesignerRuntime":{"type":"boolean"}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","settings"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"editorDomain":"inspector"}},{"name":"pg_set_inspector_playback","description":"Seek an existing local animated bake by time or frame, play/pause it, and adjust live loop preview. Loop blend does not start a rebake; use pg_start_bake explicitly when needed.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"settings":{"type":"object","properties":{"time":{"type":"number","minimum":0,"maximum":86400},"frame":{"type":"integer","minimum":0,"maximum":1000000},"playing":{"type":"boolean"},"loopBlendFrames":{"type":"integer","minimum":2,"maximum":30},"loopPreviewEnabled":{"type":"boolean"}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","settings"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"editorDomain":"inspector"}},{"name":"pg_transform_inspector_texture","description":"Atomically edit an existing local Painter layer texture's crop, offset, rotation, scale and repeat with the native transform normalizer. Preserves other transform settings and records one Inspector history edit; does not open an interactive crop gesture.","inputSchema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":160},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"materialId":{"type":"string","minLength":1,"maxLength":160},"layerId":{"type":"string","minLength":1,"maxLength":160},"transform":{"type":"object","properties":{"cropX":{"type":"number","minimum":0,"maximum":0.99},"cropY":{"type":"number","minimum":0,"maximum":0.99},"cropWidth":{"type":"number","minimum":0.01,"maximum":1},"cropHeight":{"type":"number","minimum":0.01,"maximum":1},"offsetX":{"type":"number","minimum":-1000000,"maximum":1000000},"offsetY":{"type":"number","minimum":-1000000,"maximum":1000000},"rotationDeg":{"type":"number","minimum":-180,"maximum":180},"scale":{"type":"number","minimum":0.01,"maximum":6},"scaleX":{"type":"number","minimum":0.01,"maximum":6},"scaleY":{"type":"number","minimum":0.01,"maximum":6},"repeatX":{"type":"number","minimum":1,"maximum":64},"repeatY":{"type":"number","minimum":1,"maximum":64},"repeatSpacingX":{"type":"number","minimum":0,"maximum":5},"repeatSpacingY":{"type":"number","minimum":0,"maximum":5}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["projectId","expectedRevision","materialId","layerId","transform"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"_meta":{"editorDomain":"inspector"}}]
