{
  "type": "datetime-input",
  "description": "Date, time, or datetime input with optional param sync.",
  "hasChildren": false,
  "propsSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
      "label": {
        "description": "Label text displayed above the datetime input",
        "type": "string"
      },
      "param": {
        "description": "The canvas parameter name to sync with, or form field name if inside a Form component. If omitted, works as a regular datetime input.",
        "type": "string"
      },
      "mode": {
        "default": "date",
        "description": "Input mode. Use date for YYYY-MM-DD, time for HH:mm, or datetime for YYYY-MM-DDTHH:mm.",
        "type": "string",
        "enum": [
          "date",
          "time",
          "datetime"
        ]
      },
      "defaultValue": {
        "default": "",
        "type": "string"
      },
      "min": {
        "type": "string"
      },
      "max": {
        "type": "string"
      },
      "step": {
        "type": "number",
        "exclusiveMinimum": 0
      },
      "disabled": {
        "default": false,
        "type": "boolean"
      },
      "readOnly": {
        "default": false,
        "type": "boolean"
      },
      "style": {
        "description": "Inline CSS styles as a plain CSS string (e.g., \"color: red; font-size: 16px\")",
        "type": "string"
      }
    },
    "description": "A date, time, or local datetime input that can optionally sync string values with canvas parameters. Values are stored without timezone conversion."
  }
}
