1let ListenOn = < Inet: { interface: Text, port: Natural } | Unix: Text >
  2in
  3{
  4	component = {
  5		jid = "component.localhost",
  6		secret = "secret"
  7	},
  8	server = {
  9		host = "localhost",
 10		port = 5347
 11	},
 12	sgx = "component2.localhost",
 13	web = ListenOn.Inet { interface = "::1", port = env:PORT ? 8080 },
 14	web_root = "https://example.com",
 15	ogm_path = "/var/www/media.example.com",
 16	ogm_web_root = "https://media.example.com",
 17	creds = {
 18		account = "00000",
 19		username = "dashboard user",
 20		password = "dashboard password"
 21	},
 22	web_register = {
 23		to = "cheogram",
 24		from = "jmp-register@localhost"
 25	},
 26	bandwidth_site = "",
 27	bandwidth_peer = "",
 28	braintree = {
 29		environment = "sandbox",
 30		merchant_id = "",
 31		public_key = "",
 32		private_key = "",
 33		merchant_accounts = {
 34			USD = "",
 35			CAD = ""
 36		}
 37	},
 38	xep0157 = [
 39		{ var = "support-addresses", value = "xmpp:+14169938000@cheogram.com", label = "Support" }
 40	],
 41	sip = {
 42		realm = "",
 43		app = ""
 44	},
 45	notify_admin = "muc@example.com",
 46	sip_host = "sip.jmp.chat",
 47	plans = [
 48		{
 49			name = "plan_name",
 50			currency = < CAD | USD >.USD,
 51			monthly_price = 29900,
 52			minutes = <
 53				unlimited |
 54				limited: { included: Natural, price: Natural }
 55			>.limited { included = 120, price = 87 },
 56			messages = <
 57				unlimited |
 58				limited: { included: Natural, price: Natural }
 59			>.unlimited,
 60			allow_register = True,
 61			subaccount_discount = 0
 62		}
 63	],
 64	sims = {
 65		sim = [
 66			{ mapKey = <CAD|USD>.CAD, mapValue = { price = 1, plan = "$1 / GB + $1 / year" } }
 67		],
 68		esim = [
 69			{ mapKey = <CAD|USD>.CAD, mapValue = { price = 1, plan = "$1 / GB + $1 / year" } }
 70		]
 71	},
 72	electrum = {
 73		rpc_uri = "",
 74		rpc_username = "",
 75		rpc_password = "",
 76		currency = ""
 77	},
 78	electrum_bch = {
 79		rpc_uri = "",
 80		rpc_username = "",
 81		rpc_password = "",
 82		currency = ""
 83	},
 84	oxr_app_id = "",
 85	activation_amount = 15,
 86	activation_amount_accept = 15,
 87	credit_card_url = \(jid: Text) -> \(customer_id: Text) ->
 88		"https://pay.jmp.chat/${jid}/credit_cards?customer_id=${customer_id}",
 89	electrum_notify_url = \(address: Text) -> \(customer_id: Text) -> \(currency: Text) ->
 90		"https://pay.jmp.chat/electrum_notify?address=${address}&customer_id=${customer_id}¤cy=${currency}",
 91	adr = "",
 92	interac = "",
 93	payable = "",
 94	notify_from = "+15551234567@example.net",
 95	admins = ["test\\40example.com@example.net"],
 96	direct_targets = toMap {
 97		`+15551234567` = "support@example.com"
 98	},
 99	direct_sources = toMap {
100		`support@example.com` = "+15551234567"
101	},
102	keep_area_codes = ["555"],
103	keep_area_codes_in = { account = "", site_id = "", sip_peer_id = "" },
104	snikket_hosting_api = "",
105	onboarding_domain = "",
106	rev_ai_token = "",
107	upstream_domain = "example.net",
108	approved_domains = toMap { `example.com` = Some "customer_id" },
109	parented_domains = toMap { `example.com` = { customer_id = "customer_id", plan_name = "usd" } },
110	keepgo = Some { api_key = "", access_token = "" },
111	simpleswap_api_key = "",
112	reachability_senders = [ "+14445556666" ],
113	support_link = \(customer_jid: Text) ->
114		"http://localhost:3002/app/accounts/2/contacts/custom_attributes/jid/${customer_jid}"
115}