Sha256: 6668cb2a375749a3603fbef5d65295799472347a70b902ea4f139fbdeb01d8fe
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
# frozen_string_literal: true module Niso module Jats class SubjGroup < Lutaml::Model::Serializable attribute :assigning_authority, :string attribute :id, :string attribute :specific_use, :string attribute :subj_group_type, :string attribute :vocab, :string attribute :vocab_identifier, :string attribute :lang, :string attribute :subject, Subject, collection: true attribute :compound_subject, CompoundSubject, collection: true attribute :subj_group, SubjGroup, collection: true xml do root "subj-group" map_attribute "assigning-authority", to: :assigning_authority map_attribute "id", to: :id map_attribute "specific-use", to: :specific_use map_attribute "subj-group-type", to: :subj_group_type 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 "subject", to: :subject map_element "compound-subject", to: :compound_subject map_element "subj-group", to: :subj_group end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/subj_group.rb |