====================
Entity, With Members
====================

module corpus_test_entity is

  entity Campaign is

    identity id -> xs:string

    a -> xsd:string
    b -> xsd:integer

  end

end

---

(module
  name: (identifier)
  body: (module_body
    (entity_def
      name: (identifier)
      body: (entity_body
        identity: (entity_identity
          identity: (member
            (member_def
              name: (identifier)
              target: (type_reference
                (identifier_reference
                  (qualified_identifier
                    module: (identifier)
                    member: (identifier)))))))
        (member
          (member_def
            name: (identifier)
            target: (type_reference
              (identifier_reference
                (qualified_identifier
                  module: (identifier)
                  member: (identifier))))))
        (member
          (member_def
            name: (identifier)
            target: (type_reference
              (identifier_reference
                (qualified_identifier
                  module: (identifier)
                  member: (identifier))))))))))
