Sha256: aac7dd759b7960ef7f6eef9f16250aa50b9a7e81bae65919422eddd592a9a165
Contents?: true
Size: 1.28 KB
Versions: 1
Compression:
Stored size: 1.28 KB
Contents
# frozen_string_literal: true module Niso module Jats class KwdGroup < Lutaml::Model::Serializable attribute :assigning_authority, :string attribute :id, :string attribute :kwd_group_type, :string attribute :specific_use, :string attribute :vocab, :string attribute :vocab_identifier, :string attribute :lang, :string attribute :label, Label attribute :title, Title attribute :kwd, Kwd, collection: true attribute :compound_kwd, CompoundKwd, collection: true attribute :nested_kwd, NestedKwd, collection: true xml do root "kwd-group" map_attribute "assigning-authority", to: :assigning_authority map_attribute "id", to: :id map_attribute "kwd-group-type", to: :kwd_group_type map_attribute "specific-use", to: :specific_use map_attribute "vocab", to: :vocab map_attribute "vocab-identifier", to: :vocab_identifier map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml" map_element "label", to: :label map_element "title", to: :title 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/kwd_group.rb |