Sha256: c78aa90103ebffa862b70f679eb0a2a51f5bd89e2ae8452c4a04041e5b28b77a

Contents?: true

Size: 990 Bytes

Versions: 1

Compression:

Stored size: 990 Bytes

Contents

# frozen_string_literal: true

module Niso
  module Jats
    class ExtendedBy < Lutaml::Model::Serializable
      attribute :content, :string
      attribute :assigning_authority, :string
      attribute :designator, :string
      attribute :hreflang, :string
      attribute :id, :string
      attribute :vocab, :string
      attribute :vocab_identifier, :string
      attribute :vocab_term, :string
      attribute :vocab_term_identifier, :string

      xml do
        root "extended-by"

        map_content to: :content
        map_attribute "assigning-authority", to: :assigning_authority
        map_attribute "designator", to: :designator
        map_attribute "hreflang", to: :hreflang
        map_attribute "id", to: :id
        map_attribute "vocab", to: :vocab
        map_attribute "vocab-identifier", to: :vocab_identifier
        map_attribute "vocab-term", to: :vocab_term
        map_attribute "vocab-term-identifier", to: :vocab_term_identifier
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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