Sha256: 963d109574ed2ed1c4ee4cc93eb6350fde06370b3ad6940ea73097266ea56d13
Contents?: true
Size: 1.14 KB
Versions: 1
Compression:
Stored size: 1.14 KB
Contents
# frozen_string_literal: true module Niso module Jats class Ref < Lutaml::Model::Serializable attribute :content_type, :string attribute :id, :string attribute :specific_use, :string attribute :lang, :string attribute :label, Label attribute :citation_alternatives, CitationAlternatives, collection: true attribute :element_citation, ElementCitation, collection: true attribute :mixed_citation, MixedCitation, collection: true attribute :nlm_citation, NlmCitation, collection: true attribute :note, Note, collection: true xml do root "ref" map_attribute "content-type", to: :content_type map_attribute "id", to: :id map_attribute "specific-use", to: :specific_use map_attribute "lang", to: :lang map_element "label", to: :label map_element "citation-alternatives", to: :citation_alternatives map_element "element-citation", to: :element_citation map_element "mixed-citation", to: :mixed_citation map_element "nlm-citation", to: :nlm_citation map_element "note", to: :note end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/ref.rb |