var $schema = "../schema.json";
var schemaVersion = "v1";
var pluginType = "alertmanager";
var pluginName = "Alertmanager";
var docURL = "https://grafana.com/docs/grafana/latest/datasources/alertmanager/";
var fields = [
	{
		id: "jsonData.implementation",
		key: "implementation",
		label: "Implementation",
		description: "The Alertmanager implementation type.",
		valueType: "string",
		target: "jsonData",
		defaultValue: "mimir",
		validations: [
			{
				type: "allowedValues",
				values: [
					"cortex",
					"mimir",
					"prometheus"
				]
			}
		],
		ui: {
			component: "select",
			options: [
				{
					label: "Mimir",
					value: "mimir"
				},
				{
					label: "Cortex",
					value: "cortex"
				},
				{
					label: "Prometheus",
					value: "prometheus"
				}
			]
		}
	},
	{
		id: "jsonData.handleGrafanaManagedAlerts",
		key: "handleGrafanaManagedAlerts",
		label: "Receive Grafana Alerts",
		description: "When enabled, Grafana-managed alerts are sent to this Alertmanager.",
		valueType: "boolean",
		target: "jsonData",
		defaultValue: false,
		ui: {
			component: "switch"
		}
	}
];
var groups = [
	{
		id: "settings",
		title: "Alertmanager Settings",
		fieldRefs: [
			"jsonData.implementation",
			"jsonData.handleGrafanaManagedAlerts"
		]
	}
];
var alertmanagerSchema = {
	$schema: $schema,
	schemaVersion: schemaVersion,
	pluginType: pluginType,
	pluginName: pluginName,
	docURL: docURL,
	fields: fields,
	groups: groups
};

export { $schema, alertmanagerSchema as default, docURL, fields, groups, pluginName, pluginType, schemaVersion };
//# sourceMappingURL=alertmanager.schema.json.js.map
