"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.legacyExperimentalFieldMap = void 0;
var _ruleDataUtils = require("@kbn/rule-data-utils");
/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License
 * 2.0 and the Server Side Public License, v 1; you may not use this file except
 * in compliance with, at your election, the Elastic License 2.0 or the Server
 * Side Public License, v 1.
 */

const legacyExperimentalFieldMap = {
  [_ruleDataUtils.ALERT_EVALUATION_THRESHOLD]: {
    type: 'scaled_float',
    scaling_factor: 100,
    required: false
  },
  [_ruleDataUtils.ALERT_EVALUATION_VALUE]: {
    type: 'scaled_float',
    scaling_factor: 100,
    required: false
  },
  [_ruleDataUtils.ALERT_CONTEXT]: {
    type: 'object',
    array: false,
    required: false
  },
  [_ruleDataUtils.ALERT_EVALUATION_VALUES]: {
    type: 'scaled_float',
    scaling_factor: 100,
    required: false,
    array: true
  },
  [_ruleDataUtils.ALERT_GROUP]: {
    type: 'object',
    array: true,
    required: false
  },
  [_ruleDataUtils.ALERT_GROUP_FIELD]: {
    type: 'keyword',
    array: false,
    required: false
  },
  [_ruleDataUtils.ALERT_GROUP_VALUE]: {
    type: 'keyword',
    array: false,
    required: false
  }
};
exports.legacyExperimentalFieldMap = legacyExperimentalFieldMap;