package dingding

import (
	v1 "github.com/grafana/alerting/receivers/dingding/v1"
	"github.com/grafana/alerting/receivers/schema"
)

const Type schema.IntegrationType = "dingding"

func Schema() schema.IntegrationTypeSchema {
	return schema.IntegrationTypeSchema{
		Type:           Type,
		Name:           "DingDing",
		Description:    "Sends HTTP POST request to DingDing",
		Heading:        "DingDing settings",
		CurrentVersion: v1.Version,
		Versions: []schema.IntegrationSchemaVersion{
			v1.Schema(),
		},
	}
}
