var $schema = "../schema.json";
var schemaVersion = "v1";
var pluginType = "grafana-looker-datasource";
var pluginName = "Looker";
var fields = [
	{
		id: "jsonData.base_url",
		key: "base_url",
		label: "Base URL",
		description: "Looker instance API URL (e.g. https://mycompany.looker.com).",
		valueType: "string",
		semanticType: "url",
		target: "jsonData",
		required: true
	},
	{
		id: "jsonData.auth_type",
		key: "auth_type",
		label: "Authentication Type",
		description: "Looker authentication type.",
		valueType: "string",
		target: "jsonData",
		required: true,
		defaultValue: "client_credentials",
		validations: [
			{
				type: "allowedValues",
				values: [
					"client_credentials"
				]
			}
		]
	},
	{
		id: "jsonData.client_id",
		key: "client_id",
		label: "Client ID",
		description: "Looker API client ID.",
		valueType: "string",
		target: "jsonData",
		required: true
	},
	{
		id: "secureJsonData.client_secret",
		key: "client_secret",
		label: "Client Secret",
		description: "Looker API client secret.",
		valueType: "string",
		target: "secureJsonData",
		required: true,
		semanticType: "token"
	}
];
var groups = [
	{
		id: "connection",
		title: "Connection",
		fieldRefs: [
			"jsonData.base_url"
		]
	},
	{
		id: "auth",
		title: "Client Credentials",
		fieldRefs: [
			"jsonData.auth_type",
			"jsonData.client_id",
			"secureJsonData.client_secret"
		]
	}
];
var grafanaLookerDatasourceSchema = {
	$schema: $schema,
	schemaVersion: schemaVersion,
	pluginType: pluginType,
	pluginName: pluginName,
	fields: fields,
	groups: groups
};

export { $schema, grafanaLookerDatasourceSchema as default, fields, groups, pluginName, pluginType, schemaVersion };
//# sourceMappingURL=grafana-looker-datasource.schema.json.js.map
