{
  "name": "Pega_DXIL_MyTimeOfDay",
  "label": "My TimeOfDay",
  "description": "My TimeOfDay",
  "organization": "Pega",
  "version": "0.0.1",
  "library": "DXIL",
  "componentKey": "Pega_DXIL_MyTimeOfDay",
  "type": "Field",
  "subtype": "TimeOfDay",
  "icon": "images/pz-date-time-active.svg",
  "properties": [
    {
      "name": "label",
      "label": "Field label",
      "format": "TEXT",
      "required": true
    },
    {
      "name": "readOnly",
      "label": "Edit mode",
      "format": "READONLY"
    },
    {
      "format": "SELECT",
      "name": "clockFormat",
      "label": "Clock",
      "defaultValue": "use locale",
      "source": [
        {
          "key": 0,
          "value": "use locale"
        },
        {
          "key": 12,
          "value": "12 hours"
        },
        {
          "key": 24,
          "value": "24 hours"
        }
      ]
    },
    {
      "name": "withSeconds",
      "label": "Display Seconds",
      "format": "BOOLEAN"
    },
    {
      "label": "Input settings",
      "format": "GROUP",
      "visibility": "(!readOnly = true)",
      "properties": [
        {
          "format": "SELECT",
          "name": "pickerInterval",
          "label": "Time picker",
          "defaultValue": "30",
          "source": [
            {
              "key": "5",
              "value": "5 min"
            },
            {
              "key": "10",
              "value": "10 min"
            },
            {
              "key": "15",
              "value": "15 min"
            },
            {
              "key": "20",
              "value": "20 min"
            },
            {
              "key": "30",
              "value": "30 min"
            },
            {
              "key": "60",
              "value": "1 hr"
            }
          ]
        },
        {
          "name": "helperText",
          "label": "Helper text",
          "format": "TEXT"
        }
      ]
    },
    {
      "label": "Conditions",
      "format": "GROUP",
      "properties": [
        {
          "name": "required",
          "label": "Required",
          "format": "REQUIRED",
          "visibility": "(!readOnly = true)"
        },
        {
          "name": "disabled",
          "label": "Disabled",
          "format": "DISABLED",
          "visibility": "(!readOnly = true)"
        },
        {
          "name": "visibility",
          "label": "Visibility",
          "format": "VISIBILITY"
        }
      ]
    },
    {
      "label": "Advanced",
      "format": "GROUP",
      "collapsible": true,
      "properties": [
        {
          "name": "testId",
          "label": "Test ID",
          "format": "TEXT",
          "ignorePattern": "[^-_\\p{N}\\p{L}]",
          "includeAnnotations": false
        }
      ]
    }
  ],
  "defaultConfig": {
    "label": "@L $this.label"
  }
}
