{
"type": "object",
"properties": {
"modelUrl": {
"type": "string",
"description": "Required: URL or path to the GLB/GLTF 3D model file (e.g., \"https://example.com/model.glb\" or \"model.glb\")"
},
"title": {
"type": "string",
"default": "3D Model Viewer",
"description": "Title displayed above the viewer (default: \"3D Model Viewer\")"
},
"alt": {
"type": "string",
"default": "3D Model",
"description": "Accessible description of the model (default: \"3D Model\")"
},
"autoRotate": {
"type": "boolean",
"default": true,
"description": "Enable automatic rotation of the model (default: true)"
},
"autoRotateDelay": {
"type": "number",
"default": 3000,
"description": "Delay in milliseconds before auto-rotation starts (default: 3000)"
},
"rotationPerSecond": {
"type": "string",
"default": "30deg",
"description": "Speed of auto-rotation (default: \"30deg\")"
},
"shadowIntensity": {
"type": "number",
"default": 1,
"description": "Shadow strength from 0 to 1 (default: 1)"
},
"cameraControls": {
"type": "boolean",
"default": true,
"description": "Enable mouse/touch controls for rotating and zooming (default: true)"
},
"height": {
"type": "string",
"default": "600px",
"description": "Height of the viewer (default: \"600px\")"
},
"backgroundColor": {
"type": "string",
"default": "#f8f9fa",
"description": "Background color of the viewer (default: \"#f8f9fa\")"
},
"showInstructions": {
"type": "boolean",
"default": true,
"description": "Show usage instructions below the viewer (default: true)"
}
},
"required": [
"modelUrl"
]
}