3 json.timestamp relation.timestamp.xmlschema
4 json.version relation.version
5 json.changeset relation.changeset_id
6 json.user relation.changeset.user.display_name
7 json.uid relation.changeset.user_id
9 json.visible relation.visible unless relation.visible
11 unless relation.relation_members.empty?
12 json.members(relation.relation_members) do |m|
13 json.type m.member_type.downcase
15 json.role m.member_role
19 json.tags relation.tags unless relation.tags.empty?