Sha256: 2d5f1a7b437d349d23f52c4deb3ded6de8f754d49873ff946531dff0ba693e3f
Contents?: true
Size: 735 Bytes
Versions: 1
Compression:
Stored size: 735 Bytes
Contents
# frozen_string_literal: true module Niso module Jats class CitationAlternatives < Lutaml::Model::Serializable attribute :id, :string attribute :object_id, ObjectId, collection: true attribute :element_citation, ElementCitation, collection: true attribute :mixed_citation, MixedCitation, collection: true attribute :nlm_citation, NlmCitation, collection: true xml do root "citation-alternatives" map_attribute "id", to: :id map_element "object-id", to: :object_id map_element "element-citation", to: :element_citation map_element "mixed-citation", to: :mixed_citation map_element "nlm-citation", to: :nlm_citation end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/citation_alternatives.rb |