[
  {
    "name": "XAS Composition",
    "alwaysExpanded": true,
    "filters": [
      {
        "name": "Edge",
        "params": ["edge"],
        "tooltip": "The interaction edge for the spectra",
        "type": "SELECT",
        "props": {
          "options": [
            {
              "label": "K-edge",
              "value": "K"
            },
            {
              "label": "L₂-edge",
              "value": "L2"
            },
            {
              "label": "L₃-edge",
              "value": "L3"
            },
            {
              "label": "L₂₃-edge",
              "value": "L2,3"
            }
          ],
          "defaultValue": "K",
          "isClearable": false
        }
      },
      {
        "name": "Spectrum Type",
        "params": ["spectrum_type"],
        "type": "SELECT",
        "props": {
          "options": [
            {
              "label": "XANES",
              "value": "XANES"
            },
            {
              "label": "EXAFS",
              "value": "EXAFS"
            },
            {
              "label": "XAFS",
              "value": "XAFS"
            }
          ],
          "isClearable": false
        }
      },
      {
        "name": "Absorbing Element",
        "params": ["absorbing_element"],
        "tooltip": "Enter one element symbol to find spectra with that element as their absorbing element.",
        "type": "MATERIALS_INPUT",
        "props": {
          "type": "elements",
          "periodicTableMode": "focus",
          "errorMessage": "Please enter a valid element symbol"
        }
      },
      {
        "name": "Other Elements",
        "params": ["elements"],
        "tooltip": "Enter a \" , \" or \" - \" separated list of element symbols to find spectra for materials that contain certain elements in their formula. Select the checkbox to find materials that contain only the elements you have entered.",
        "type": "MATERIALS_INPUT",
        "props": {
          "type": "elements",
          "periodicTableMode": "focus",
          "errorMessage": "Please enter a valid list of element symbols separated by a comma (for records with at least these elements) or a hyphen (for records with only these elements)."
        }
      },
      {
        "name": "Formula",
        "params": ["formula"],
        "tooltip": "Enter a chemical formula to find spectra for materials with this exact formula. Use the \"*\" symbol to specify a wildcard element.",
        "type": "MATERIALS_INPUT",
        "props": {
          "type": "formula",
          "periodicTableMode": "focus",
          "errorMessage": "Please enter a valid chemical formula (e.g. CeZn5)."
        }
      }
    ]
  }
]
