Sha256: 151ce145dbbe26aef29f6914b0d79257b1648447ccdbec39f2a8823c37a8102f
Contents?: true
Size: 1.12 KB
Versions: 1
Compression:
Stored size: 1.12 KB
Contents
# frozen_string_literal: true module Niso module Jats class NestedKwd < Lutaml::Model::Serializable attribute :assigning_authority, :string attribute :content_type, :string attribute :id, :string attribute :vocab, :string attribute :vocab_identifier, :string attribute :vocab_term, :string attribute :vocab_term_identifier, :string attribute :kwd, Kwd, collection: true attribute :compound_kwd, CompoundKwd, collection: true attribute :nested_kwd, NestedKwd, collection: true xml do root "nested-kwd" map_attribute "assigning-authority", to: :assigning_authority map_attribute "content-type", to: :content_type 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 map_element "kwd", to: :kwd map_element "compound-kwd", to: :compound_kwd map_element "nested-kwd", to: :nested_kwd end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/nested_kwd.rb |