let domain_type = [|
  'Language,
  'Runtime,
  'Architecture,
  'Tooling,
  'Pattern,
  'Debugging,
  'Security,
  'Performance,
|] in

let insight_type = {
  id         | String,
  domain     | domain_type,
  applies_to | Array String | default = [],
  tags       | Array String | default = [],
  reusable   | Bool         | default = true,
} in

{
  Domain  = domain_type,
  Insight = insight_type,
}
