====================================
Dimension, With Identity and Parents
====================================

module corpus_test_dimension is

  dimension Campaigns is
    identity campaign -> CampaignId
    parent portfolio -> Portfolio
  end

end

---

(module
  name: (identifier)
  body: (module_body
    (dimension_def
      name: (identifier)
      body: (dimension_body
        identity: (entity_identity
          identity: (member
            (member_def
              name: (identifier)
              target: (type_reference
                (identifier_reference
                  (identifier))))))
        (dimension_parent
          name: (identifier)
          parent: (identifier_reference
            (identifier)))))))
