{"text-token-configuration": {
  "data": {
    "areas-fixed": {},
    "areas-relative": {
      "comparison-group": {
        "identifier": "Unknown",
        "label": "Unknown",
        "short-label": "Unknown",
        "with-area-label": "Unknown",
        "index": 1
      }
    },
    "ranked-metric-type-options": {
      "label": {
        "identifier": "label",
        "label": "label",
        "index": 1
      },
      "short-label": {
        "identifier": "shortLabel",
        "label": "short label",
        "index": 2
      },
      "lower-case-label": {
        "identifier": "lowerCaseLabel",
        "label": "lower case label",
        "index": 3
      },
      "value": {
        "identifier": "value",
        "label": "value",
        "index": 4
      },
      "value-with-units": {
        "identifier": "valueWithUnits",
        "label": "value with units",
        "index": 5
      },
      "percent": {
        "identifier": "percent",
        "label": "percent of whole dimension",
        "index": 6
      },
      "value-with-full-derivation": {
        "identifier": "valueWithFullDerivation",
        "label": "value with derivation",
        "index": 7
      },
      "value-with-units-full-derivation": {
        "identifier": "valueWithUnitsFullDerivation",
        "label": "value with units and derivation",
        "index": 8
      },
      "dimension-label": {
        "identifier": "dimensionlabel",
        "label": "dimension label",
        "index": 9
      }
    },
    "ranked-period-options": {
      "label": {
        "identifier": "label",
        "label": "label",
        "index": 1
      },
      "identifier": {
        "identifier": "identifier",
        "label": "identifier",
        "index": 2
      }
    },
    "ranked-area-options": {
      "label": {
        "identifier": "label",
        "label": "label",
        "index": 1
      },
      "short-label": {
        "identifier": "shortLabel",
        "label": "short label",
        "index": 2
      },
      "lower-case-label": {
        "identifier": "lowerCaseLabel",
        "label": "lower case label",
        "index": 3
      },
      "area-identifier": {
        "identifier": "identifier",
        "label": "area identifier",
        "index": 11
      },
      "value": {
        "identifier": "value",
        "label": "value",
        "index": 4
      },
      "value-with-units": {
        "identifier": "valueWithUnits",
        "label": "value with units",
        "index": 5
      },
      "percent": {
        "identifier": "percent",
        "label": "percent of whole dimension",
        "index": 6
      },
      "qualified-area-label": {
        "identifier": "qualifiedAreaLabel",
        "label": "qualified area label",
        "index": 7,
        "showId": "labelType"
      },
      "long-area-label": {
        "identifier": "longAreaLabel",
        "label": "long area label",
        "index": 8
      },
      "value-with-full-derivation": {
        "identifier": "valueWithFullDerivation",
        "label": "value with derivation",
        "index": 9
      },
      "value-with-units-full-derivation": {
        "identifier": "valueWithUnitsFullDerivation",
        "label": "value with units and derivation",
        "index": 10
      }
    },
    "ranked-area-area-type-options": {},
    "metadata-options": {
      "label": {
        "identifier": "label",
        "label": "label",
        "index": 1
      },
      "short-label": {
        "identifier": "shortLabel",
        "label": "short label",
        "index": 2
      },
      "source": {
        "identifier": "source",
        "label": "source",
        "index": 3
      },
      "identifier": {
        "identifier": "identifier",
        "label": "identifier",
        "index": 4
      },
      "collection": {
        "identifier": "collection",
        "label": "collection",
        "index": 5
      },
      "collection-with-link": {
        "identifier": "collectionWithLink",
        "label": "collection with link",
        "index": 6
      },
      "help-text": {
        "identifier": "helpText",
        "label": "help text",
        "index": 7
      },
      "formatted-help-text": {
        "identifier": "formattedHelpText",
        "label": "formatted help text",
        "index": 8
      },
      "polarity": {
        "identifier": "polarity",
        "label": "polarity",
        "index": 9
      },
      "data-last-updated": {
        "identifier": "dataLastUpdated",
        "label": "data last updated",
        "index": 10
      },
      "discontinued-or-replaced": {
        "identifier": "discontinuedOrReplaced",
        "label": "discontinued or replaced",
        "index": 11
      }
    },
    "metric-value-options": {
      "value": {
        "identifier": "value",
        "label": "value",
        "index": 1
      },
      "value-with-units": {
        "identifier": "valueWithUnits",
        "label": "value with units",
        "index": 2
      },
      "period-label": {
        "identifier": "periodLabel",
        "label": "period label",
        "index": 3
      },
      "degree-of-fit": {
        "identifier": "degreeOfFit",
        "label": "degree of fit",
        "index": 4
      },
      "value-with-full-derivation": {
        "identifier": "valueWithFullDerivation",
        "label": "value with derivation if applicable",
        "index": 5
      },
      "value-with-units-full-derivation": {
        "identifier": "valueWithUnitsFullDerivation",
        "label": "value with units and derivation",
        "index": 6
      },
      "metric-type-derivation": {
        "identifier": "metricTypeDerivation",
        "label": "metric type only derivation",
        "index": 7
      },
      "full-derivation": {
        "identifier": "fullDerivation",
        "label": "derivation",
        "index": 8
      }
    },
    "equivalent-options": {
      "value": {
        "identifier": "value",
        "label": "value",
        "index": 1
      },
      "value-with-units": {
        "identifier": "valueWithUnits",
        "label": "value with units",
        "index": 2
      },
      "period-label": {
        "identifier": "periodLabel",
        "label": "period label",
        "index": 3
      },
      "degree-of-fit": {
        "identifier": "degreeOfFit",
        "label": "degree of fit",
        "index": 4
      },
      "value-with-full-derivation": {
        "identifier": "valueWithFullDerivation",
        "label": "value with derivation",
        "index": 5
      },
      "value-with-units-full-derivation": {
        "identifier": "valueWithUnitsFullDerivation",
        "label": "value with units and derivation",
        "index": 6
      },
      "metric-type-derivation": {
        "identifier": "metricTypeDerivation",
        "label": "metric type only derivation",
        "index": 7
      },
      "full-derivation": {
        "identifier": "fullDerivation",
        "label": "derivation",
        "index": 8
      }
    },
    "rank-options": {
      "number": {
        "identifier": "number",
        "label": "number",
        "index": 1
      },
      "ordinal": {
        "identifier": "ordinal",
        "label": "ordinal number",
        "index": 2
      },
      "ordinalWithBase": {
        "identifier": "ordinalWithBase",
        "label": "ordinal number with base",
        "index": 3
      }
    },
    "derived-options": {
      "value": {
        "identifier": "value",
        "label": "value",
        "index": 1
      },
      "value-with-units": {
        "identifier": "valueWithUnits",
        "label": "value with units",
        "index": 2
      },
      "ordinal-with-base": {
        "identifier": "ordinalWithBase",
        "label": "ordinal with base",
        "index": 3
      },
      "value-with-full-derivation": {
        "identifier": "valueWithFullDerivation",
        "label": "value with derivation if applicable",
        "index": 4
      },
      "value-with-units-full-derivation": {
        "identifier": "valueWithUnitsFullDerivation",
        "label": "value with units and derivation",
        "index": 5
      },
      "metric-type-derivation": {
        "identifier": "metricTypeDerivation",
        "label": "metric type only derivation",
        "index": 6
      },
      "full-derivation": {
        "identifier": "fullDerivation",
        "label": "derivation",
        "index": 7
      }
    },
    "percent-options": {
      "value": {
        "identifier": "value",
        "label": "value",
        "index": 1
      },
      "value-with-full-derivation": {
        "identifier": "valueWithFullDerivation",
        "label": "value with derivation if applicable",
        "index": 2
      },
      "value-with-units-full-derivation": {
        "identifier": "valueWithUnitsFullDerivation",
        "label": "value with units and derivation",
        "index": 3
      },
      "metric-type-derivation": {
        "identifier": "metricTypeDerivation",
        "label": "metric type only derivation",
        "index": 4
      },
      "full-derivation": {
        "identifier": "fullDerivation",
        "label": "derivation",
        "index": 5
      }
    },
    "summary-type-options": {
      "sum": {
        "identifier": "sum",
        "label": "Total",
        "index": 1
      },
      "min": {
        "identifier": "min",
        "label": "Minimum",
        "index": 2
      },
      "max": {
        "identifier": "max",
        "label": "Maximum",
        "index": 3
      },
      "mean": {
        "identifier": "mean",
        "label": "Mean",
        "index": 4
      },
      "median": {
        "identifier": "median",
        "label": "Median",
        "index": 5
      },
      "band-4-1": {
        "identifier": "[band][4][1]",
        "label": "25th percentile",
        "index": 6
      },
      "band-4-3": {
        "identifier": "[band][4][3]",
        "label": "75th percentile",
        "index": 7
      },
      "band-100-10": {
        "identifier": "[band][100][10]",
        "label": "10th percentile",
        "index": 8
      },
      "band-100-90": {
        "identifier": "[band][100][90]",
        "label": "90th percentile",
        "index": 9
      }
    },
    "summary-type-return-options": {
      "value": {
        "identifier": "value",
        "label": "value",
        "index": 1
      },
      "value-with-units": {
        "identifier": "valueWithUnits",
        "label": "value with units",
        "index": 2
      }
    },
    "value-type-options": {
      "raw": {
        "identifier": "raw",
        "label": "Raw value",
        "index": 1
      },
      "direction": {
        "identifier": "direction",
        "label": "Direction",
        "index": 2
      },
      "rank": {
        "identifier": "rank",
        "label": "Rank",
        "index": 3
      },
      "equalRanges": {
        "identifier": "equalRanges",
        "label": "Equal ranges",
        "index": 4
      },
      "band-4": {
        "identifier": "[band][4]",
        "label": "Quartiles",
        "index": 5
      },
      "band-10": {
        "identifier": "[band][10]",
        "label": "Deciles",
        "index": 6
      },
      "band-100": {
        "identifier": "[band][100]",
        "label": "Percentiles",
        "index": 7
      },
      "standardDeviations": {
        "identifier": "standardDeviations",
        "label": "Standard deviations",
        "index": 8
      },
      "difference": {
        "identifier": "difference",
        "label": "Difference",
        "index": 9
      },
      "adjusted": {
        "identifier": "adjusted",
        "label": "Adjusted",
        "index": 10
      },
      "percentDifferenceFromLast": {
        "identifier": "percentDifferenceFromLast",
        "label": "Percent difference from last",
        "index": 11
      },
      "percentDifferenceFromEquivalent": {
        "identifier": "percentDifferenceFromEquivalent",
        "label": "Percent difference from equivalent",
        "index": 12
      },
      "olympicRank": {
        "identifier": "olympicRank",
        "label": "Olympic rank",
        "index": 13
      },
      "percentOlympicRank": {
        "identifier": "percentOlympicRank",
        "label": "Percent Olympic rank",
        "index": 14
      },
      "sumFrom": {
        "identifier": "sumFrom",
        "label": "Sum from",
        "index": 15
      },
      "directionFromArea": {
        "identifier": "directionFromArea",
        "label": "Area direction",
        "index": 16
      },
      "differenceFromArea": {
        "identifier": "differenceFromArea",
        "label": "Area difference",
        "index": 17
      },
      "percentDifferenceFromArea": {
        "identifier": "percentDifferenceFromArea",
        "label": "Area percent difference",
        "index": 18
      }
    },
    "value-type-derived-options": {
      "direction": {
        "identifier": "direction",
        "label": "Direction",
        "index": 1
      },
      "rank": {
        "identifier": "rank",
        "label": "Rank",
        "index": 2
      },
      "equalRanges": {
        "identifier": "equalRanges",
        "label": "Equal ranges",
        "index": 3
      },
      "band-4": {
        "identifier": "[band][4]",
        "label": "Quartiles",
        "index": 4
      },
      "band-10": {
        "identifier": "[band][10]",
        "label": "Deciles",
        "index": 5
      },
      "band-100": {
        "identifier": "[band][100]",
        "label": "Percentiles",
        "index": 6
      },
      "standardDeviations": {
        "identifier": "standardDeviations",
        "label": "Standard deviations",
        "index": 7
      },
      "difference": {
        "identifier": "difference",
        "label": "Difference",
        "index": 8,
        "showId": "decimalPlaces"
      },
      "adjusted": {
        "identifier": "adjusted",
        "label": "Adjusted",
        "index": 9,
        "showId": "decimalPlaces"
      },
      "adjustedDifference": {
        "identifier": "adjustedDifference",
        "label": "Adjusted difference",
        "index": 10,
        "showId": "decimalPlaces"
      },
      "percentDifferenceFromLast": {
        "identifier": "percentDifferenceFromLast",
        "label": "Percent difference from last",
        "index": 11,
        "showId": "decimalPlaces"
      },
      "percentDifferenceFromEquivalent": {
        "identifier": "percentDifferenceFromEquivalent",
        "label": "Percent difference from equivalent",
        "index": 12,
        "showId": "decimalPlaces"
      },
      "olympicRank": {
        "identifier": "olympicRank",
        "label": "Olympic rank",
        "index": 13
      },
      "percentOlympicRank": {
        "identifier": "percentOlympicRank",
        "label": "Percent Olympic rank",
        "index": 14,
        "showId": "decimalPlaces"
      },
      "sumFrom": {
        "identifier": "sumFrom",
        "label": "Sum from",
        "index": 15
      },
      "directionFromArea": {
        "identifier": "directionFromArea",
        "label": "Area direction",
        "index": 16
      },
      "differenceFromArea": {
        "identifier": "differenceFromArea",
        "label": "Area difference",
        "index": 17
      },
      "percentDifferenceFromArea": {
        "identifier": "percentDifferenceFromArea",
        "label": "Area percent difference",
        "index": 18,
        "showId": "decimalPlaces"
      },
      "adjustedPercentDifference": {
        "identifier": "adjustedPercentDifference",
        "label": "Adjusted percent difference",
        "index": 19
      }
    },
    "value-type-areas-within-band-options": {
      "equalRanges": {
        "identifier": "equalRanges",
        "label": "Equal ranges",
        "index": 1
      },
      "band-4": {
        "identifier": "[band][4]",
        "label": "Quartiles",
        "index": 2
      },
      "band-10": {
        "identifier": "[band][10]",
        "label": "Deciles",
        "index": 3
      },
      "band-100": {
        "identifier": "[band][100]",
        "label": "Percentiles",
        "index": 4
      },
      "standardDeviations": {
        "identifier": "standardDeviations",
        "label": "Standard deviations",
        "index": 5
      }
    },
    "comparison-group": {
      "identifier": "Unknown",
      "label": "Unknown"
    },
    "label-length-options": {
      "label": {
        "identifier": "-label",
        "label": "Label",
        "index": 1
      },
      "short-label": {
        "identifier": "-short-label",
        "label": "Short label",
        "index": 2
      },
      "long-label": {
        "identifier": "-long-label",
        "label": "Long label",
        "index": 3
      }
    },
    "label-case-options": {
      "case": {
        "identifier": "-case",
        "label": "Singular",
        "index": 1
      },
      "plural": {
        "identifier": "-plural",
        "label": "Plural",
        "index": 2
      },
      "both": {
        "identifier": "-both",
        "label": "Both",
        "index": 3
      }
    },
    "capitalisation-options": {
      "capitalisation": {
        "identifier": "-capitalisation",
        "label": "Title case",
        "index": 1
      },
      "nocaps": {
        "identifier": "-nocaps",
        "label": "Lower case",
        "index": 2
      }
    }
  },
  "tab-array": [
    {
      "identifier": "areas-fixed",
      "label": "Areas (fixed)",
      "index": 1,
      "tab-type": "Fields",
      "description": "A set of tokens for the areas covered by the report and areas within which it falls. These fixed areas do NOT work for reports intended to apply to both local authorities and natural neighbourhoods.",
      "field-array": []
    },
    {
      "identifier": "areas-relative",
      "label": "Areas (relative)",
      "index": 2,
      "tab-type": "Fields",
      "description": "A set of tokens for the areas covered by the report and areas within which is falls.  Where possible, use these areas, which are relative to the main area of the report, so reports work for both local authorities and natural neighbourhoods.",
      "field-array": [
        {
          "identifier": "comparison-group-identifier",
          "label": "Comparison group identifier",
          "hint": "The identifier of the selected comparison group",
          "hidden": false
        },
        {
          "identifier": "comparison-group-label",
          "label": "Comparison group label",
          "hint": "The label of the selected comparison group",
          "hidden": false
        },
        {
          "identifier": "comparison-group-short-label",
          "label": "Comparison group short label",
          "hint": "The short label of the selected comparison group",
          "hidden": false
        },
        {
          "identifier": "comparison-group-with-area-label",
          "label": "Comparison group with area label",
          "hint": "The area label of the selected comparison group",
          "hidden": false
        }
      ]
    },
    {
      "identifier": "area-types",
      "label": "Area types",
      "index": 3,
      "tab-type": "Fields",
      "description": "This section contains list of area type and their possible combination outputs.",
      "field-array": []
    },
    {
      "identifier": "areasWithinBand",
      "label": "Areas within band",
      "index": 4,
      "tab-type": "Function",
      "description": "The number of areas within a selected band",
      "output-text": "areas within band",
      "field-array": [
        {
          "identifier": "metricType",
          "label": "metric type",
          "hint": "by default this will use the first metric type used by the component",
          "options": "metricTypeSearch",
          "hidden": false
        },
        {
          "identifier": "area",
          "label": "area",
          "options": "boundedComparisonGroupAllTypes",
          "default": "main-area:child-area-type",
          "hidden": false
        },
        {
          "identifier": "period",
          "label": "period",
          "options": "periodFilterByMetricType",
          "default": "latest",
          "hidden": false
        },
        {
          "identifier": "valueType",
          "label": "value type",
          "options": "valueTypeAreasWithinBands",
          "default": "[band][4]",
          "hidden": false
        },
        {
          "identifier": "number",
          "label": "return band count",
          "options": "bandInteger",
          "default": "1",
          "hidden": false
        }
      ]
    },
    {
      "identifier": "compare",
      "label": "Comparison",
      "index": 5,
      "tab-type": "Function",
      "description": "Text describing if one value is greater than, equal to or less than another",
      "field-array": [
        {
          "identifier": "metricType",
          "label": "metric type",
          "hint": "by default this will use the first metric type used by the component",
          "options": "metricTypeSearch",
          "hidden": false
        },
        {
          "identifier": "area",
          "label": "area",
          "options": "areas-all",
          "default": "main-area",
          "hidden": false
        },
        {
          "identifier": "withArea",
          "label": "withArea",
          "options": "boundedComparisonGroupAllTypes",
          "default": "ancestor-1",
          "hidden": false
        },
        {
          "identifier": "withSummaryType",
          "label": "with summary type",
          "options": "listType",
          "default": "mean",
          "listTypeOptions": "summary-type-options",
          "hidden": false
        },
        {
          "identifier": "period",
          "label": "period",
          "options": "periodFilterByMetricType",
          "default": "latest",
          "hidden": false
        },
        {
          "identifier": "withPeriod",
          "label": "withPeriod",
          "options": "periodFilterByMetricType",
          "default": "latest",
          "hidden": false
        },
        {
          "identifier": "greater",
          "label": "greater than text",
          "options": "plainText",
          "default": "greater than",
          "hidden": false
        },
        {
          "identifier": "equal",
          "label": "equal to text",
          "options": "plainText",
          "default": "equal to",
          "hidden": false
        },
        {
          "identifier": "less",
          "label": "less than text",
          "options": "plainText",
          "default": "less than",
          "hidden": false
        },
        {
          "identifier": "summaryType",
          "label": "summary type",
          "options": "listType",
          "default": "mean",
          "hidden": true
        }
      ]
    },
    {
      "identifier": "countAreas",
      "label": "Count of areas",
      "index": 6,
      "tab-type": "Function",
      "description": "A count of the areas in a given bounding area",
      "output-text": "number of areas within the bounding area",
      "field-array": [
        {
          "identifier": "area",
          "label": "area",
          "options": "boundedComparisonGroupAllTypes",
          "default": "main-area:child-area-type",
          "hidden": false
        }
      ]
    },
    {
      "identifier": "derived",
      "label": "Derived values",
      "index": 7,
      "tab-type": "Function",
      "description": "The derived value for a chosen value type for a particular metric type, area and period",
      "output-text": "derived value",
      "field-array": [
        {
          "identifier": "metricType",
          "label": "metric type",
          "hint": "by default this will use the first metric type used by the component",
          "options": "metricTypeSearch",
          "hidden": false
        },
        {
          "identifier": "area",
          "label": "area",
          "options": "areas-all",
          "default": "main-area",
          "hidden": false
        },
        {
          "identifier": "withArea",
          "label": "withArea",
          "options": "boundedComparisonGroupAllTypes",
          "default": "main-area:child-area-type",
          "hidden": false
        },
        {
          "identifier": "period",
          "label": "period",
          "options": "periodFilterByMetricType",
          "default": "latest",
          "hidden": false
        },
        {
          "identifier": "withPeriod",
          "label": "withPeriod",
          "options": "periodFilterByMetricType",
          "default": "latest",
          "hidden": false
        },
        {
          "identifier": "valueType",
          "label": "valueType",
          "options": "listType",
          "default": "direction",
          "listTypeOptions": "value-type-derived-options",
          "hidden": false
        },
        {
          "identifier": "returnValue",
          "label": "return value",
          "options": "listType",
          "default": "valueWithFullDerivation",
          "listTypeOptions": "derived-options",
          "hidden": false
        },
        {
          "identifier": "decimalPlaces",
          "label": "Decimal Places",
          "options": "number",
          "default": "0",
          "hidden": true
        }
      ]
    },
    {
      "identifier": "equivalent",
      "label": "Equivalent",
      "index": 8,
      "tab-type": "Function",
      "description": "The predominant metric type for an area expressed as a value for a different area",
      "output-text": "equivalent metric value",
      "field-array": [
        {
          "identifier": "metricDimension",
          "label": "Dimension",
          "options": "metricDimensionSearch",
          "hidden": false
        },
        {
          "identifier": "area",
          "label": "area",
          "options": "areas-all",
          "default": "main-area",
          "hidden": false
        },
        {
          "identifier": "period",
          "label": "period",
          "options": "periodFilterByMetricDimension",
          "default": "latest",
          "hidden": false
        },
        {
          "identifier": "rank",
          "label": "rank",
          "options": "rankInteger",
          "default": "1",
          "hidden": false
        },
        {
          "identifier": "for",
          "label": "for area",
          "options": "areas-all",
          "default": "ancestor-1",
          "hidden": false
        },
        {
          "identifier": "returnValue",
          "label": "return value",
          "options": "listType",
          "default": "valueWithFullDerivation",
          "listTypeOptions": "equivalent-options",
          "hidden": false
        }
      ]
    },
    {
      "identifier": "metricTypeMetadata",
      "label": "Metadata",
      "index": 9,
      "tab-type": "Function",
      "description": "A metadata property for a selected metric type",
      "output-text": "metadata property for this metric value",
      "field-array": [
        {
          "identifier": "metricType",
          "label": "metric type",
          "hint": "by default this will use the first metric type used by the component",
          "options": "metricTypeSearch",
          "hidden": false
        },
        {
          "identifier": "returnValue",
          "label": "return value",
          "options": "listType",
          "default": "label",
          "listTypeOptions": "metadata-options",
          "hidden": false
        },
        {
          "identifier": "showLabel",
          "label": "show label",
          "options": "boolean",
          "default": "false",
          "hidden": false
        }
      ]
    },
    {
      "identifier": "value",
      "label": "Metric value",
      "index": 10,
      "tab-type": "Function",
      "description": "A token to insert the value of a metric. You must specify the metric type and can also define a time period and area.",
      "output-text": "metric value with units for the selected metric type, area and time period",
      "field-array": [
        {
          "identifier": "metricType",
          "label": "metric type",
          "hint": "by default this will use the first metric type used by the component",
          "options": "metricTypeSearch",
          "hidden": false
        },
        {
          "identifier": "area",
          "label": "area",
          "hint": "by default this will use the area chosen for the report",
          "options": "areas-all",
          "default": "main-area",
          "hidden": false
        },
        {
          "identifier": "period",
          "label": "period",
          "hint": "by default this will use most recent data",
          "options": "periodFilterByMetricType",
          "default": "latest",
          "hidden": false
        },
        {
          "identifier": "returnValue",
          "label": "return value",
          "options": "listType",
          "default": "valueWithFullDerivation",
          "listTypeOptions": "metric-value-options",
          "hidden": false
        }
      ]
    },
    {
      "identifier": "percent",
      "label": "Percent",
      "index": 11,
      "tab-type": "Function",
      "description": "The percentage of one value over another for a metric type for two areas",
      "output-text": "percentage of the the metric values for the two areas",
      "field-array": [
        {
          "identifier": "metricType",
          "label": "metric type",
          "hint": "by default this will use the first metric type used by the component",
          "options": "metricTypeSearch",
          "hidden": false
        },
        {
          "identifier": "area",
          "label": "area",
          "options": "areas-all",
          "default": "main-area",
          "hidden": false
        },
        {
          "identifier": "withArea",
          "label": "withArea",
          "options": "areas-all",
          "default": "ancestor-1",
          "hidden": false
        },
        {
          "identifier": "period",
          "label": "period",
          "options": "periodFilterByMetricType",
          "default": "latest",
          "hidden": false
        },
        {
          "identifier": "withPeriod",
          "label": "withPeriod",
          "options": "periodFilterByMetricType",
          "default": "latest",
          "hidden": false
        },
        {
          "identifier": "returnValue",
          "label": "return value",
          "options": "listType",
          "default": "valueWithFullDerivation",
          "listTypeOptions": "percent-options",
          "hidden": false
        }
      ]
    },
    {
      "identifier": "rank",
      "label": "Rank",
      "index": 12,
      "tab-type": "Function",
      "description": "The rank of an area within a bounding area for a specified metric type",
      "output-text": "rank for this metric type",
      "field-array": [
        {
          "identifier": "metricType",
          "label": "metric type",
          "hint": "by default this will use the first metric type used by the component",
          "options": "metricTypeSearch",
          "hidden": false
        },
        {
          "identifier": "area",
          "label": "area",
          "options": "areas-all",
          "default": "main-area",
          "hidden": false
        },
        {
          "identifier": "period",
          "label": "period",
          "options": "periodFilterByMetricType",
          "default": "latest",
          "hidden": false
        },
        {
          "identifier": "within",
          "label": "within",
          "options": "boundedComparisonGroupAllTypes",
          "default": "main-area:child-area-type",
          "hidden": false
        },
        {
          "identifier": "returnValue",
          "label": "return value",
          "options": "listType",
          "default": "number",
          "listTypeOptions": "rank-options",
          "hidden": false
        }
      ]
    },
    {
      "identifier": "rankedArea",
      "label": "Ranked area",
      "index": 13,
      "tab-type": "Function",
      "description": "The nth ranked area within a bounding area for a specified metric type",
      "output-text": "area of the specified ranking",
      "field-array": [
        {
          "identifier": "metricType",
          "label": "metric type",
          "hint": "by default this will use the first metric type used by the component",
          "options": "metricTypeSearch",
          "hidden": false
        },
        {
          "identifier": "area",
          "label": "area",
          "options": "boundedComparisonGroupAllTypes",
          "default": "main-area:child-area-type",
          "hidden": false
        },
        {
          "identifier": "period",
          "label": "period",
          "options": "periodFilterByMetricType",
          "default": "latest",
          "hidden": false
        },
        {
          "identifier": "rank",
          "label": "rank",
          "options": "rankInteger",
          "default": "1",
          "hidden": false
        },
        {
          "identifier": "returnValue",
          "label": "return value",
          "options": "listType",
          "default": "label",
          "listTypeOptions": "ranked-area-options",
          "hidden": false
        },
        {
          "identifier": "labelType",
          "label": "label area type",
          "options": "listType",
          "listTypeOptions": "ranked-area-area-type-options",
          "hidden": true
        }
      ]
    },
    {
      "identifier": "rankedMetricType",
      "label": "Ranked metric",
      "index": 14,
      "tab-type": "Function",
      "description": "The label or value of the predominant metric type within a dimension for an area",
      "output-text": "ranked metric type",
      "field-array": [
        {
          "identifier": "metricDimension",
          "label": "Dimension",
          "options": "metricDimensionSearch",
          "hidden": false
        },
        {
          "identifier": "area",
          "label": "area",
          "options": "areas-all",
          "default": "main-area",
          "hidden": false
        },
        {
          "identifier": "period",
          "label": "period",
          "options": "periodFilterByMetricDimension",
          "default": "latest",
          "hidden": false
        },
        {
          "identifier": "rank",
          "label": "rank",
          "options": "rankInteger",
          "default": "1",
          "hidden": false
        },
        {
          "identifier": "returnValue",
          "label": "return value",
          "options": "listType",
          "default": "label",
          "listTypeOptions": "ranked-metric-type-options",
          "hidden": false
        }
      ]
    },
    {
      "identifier": "rankedPeriod",
      "label": "Ranked period",
      "index": 15,
      "tab-type": "Function",
      "description": "The label of the ranked period for a specified metric type",
      "output-text": "ranked period",
      "field-array": [
        {
          "identifier": "metricType",
          "label": "metric type",
          "hint": "by default this will use the first metric type used by the component",
          "options": "metricTypeSearch",
          "hidden": false
        },
        {
          "identifier": "area",
          "label": "area",
          "options": "areas-all",
          "default": "main-area",
          "hidden": false
        },
        {
          "identifier": "period",
          "label": "from period",
          "options": "periodFilterByMetricType",
          "default": "latest",
          "hidden": false
        },
        {
          "identifier": "rank",
          "label": "rank",
          "options": "rankInteger",
          "default": "1",
          "hidden": false
        },
        {
          "identifier": "returnValue",
          "label": "return value",
          "options": "listType",
          "default": "label",
          "listTypeOptions": "ranked-period-options",
          "hidden": false
        }
      ]
    },
    {
      "identifier": "summary",
      "label": "Summary value",
      "index": 16,
      "tab-type": "Function",
      "description": "The summary value of the metric type",
      "output-text": "summary metric value",
      "field-array": [
        {
          "identifier": "metricType",
          "label": "metric type",
          "hint": "by default this will use the first metric type used by the component",
          "options": "metricTypeSearch",
          "hidden": false
        },
        {
          "identifier": "area",
          "label": "area",
          "options": "boundedComparisonGroupAllTypes",
          "default": "main-area:child-area-type",
          "hidden": false
        },
        {
          "identifier": "period",
          "label": "period",
          "options": "periodFilterByMetricType",
          "default": "latest",
          "hidden": false
        },
        {
          "identifier": "summaryType",
          "label": "summary type",
          "options": "listType",
          "default": "sum",
          "listTypeOptions": "summary-type-options",
          "hidden": false
        },
        {
          "identifier": "returnValue",
          "label": "return value",
          "options": "listType",
          "default": "label",
          "listTypeOptions": "summary-type-return-options",
          "hidden": false
        },
        {
          "identifier": "decimalPlaces",
          "label": "decimal places",
          "options": "number",
          "default": "0",
          "hidden": false
        }
      ]
    },
    {
      "identifier": "free-text",
      "label": "Free text",
      "index": 17,
      "tab-type": "Function",
      "field-array": [
        {
          "label": "Free text",
          "hint": "Input a field name or '='folowed by a function name",
          "options": "plainText",
          "hidden": false
        }
      ]
    }
  ]
}}