Sha256: c21aa623db9200dff748f27b5c05f40a2f811f2d6b588dafe38afb83ba13f509

Contents?: true

Size: 815 Bytes

Versions: 1

Compression:

Stored size: 815 Bytes

Contents

# frozen_string_literal: true

module Niso
  module Jats
    class AuthorNotes < Lutaml::Model::Serializable
      attribute :id, :string
      attribute :rid, :string
      attribute :specific_use, :string
      attribute :label, Label
      attribute :title, Title
      attribute :corresp, Corresp, collection: true
      attribute :fn, Fn, collection: true
      attribute :p, Paragraph, collection: true

      xml do
        root "author-notes", ordered: true

        map_attribute "id", to: :id
        map_attribute "rid", to: :rid
        map_attribute "specific-use", to: :specific_use
        map_element "label", to: :label
        map_element "title", to: :title
        map_element "p", to: :p
        map_element "corresp", to: :corresp
        map_element "fn", to: :fn
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
niso-jats-0.1.1 lib/niso/jats/author_notes.rb