Sha256: ba75de196d5c3229064f4a1dbaa9443da012e48cb9c5f88b58904f6bb0ea397c
Contents?: true
Size: 1006 Bytes
Versions: 1
Compression:
Stored size: 1006 Bytes
Contents
# frozen_string_literal: true module Niso module Jats class CompoundSubject < 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 :compound_subject_part, CompoundSubjectPart, collection: true xml do root "compound-subject" 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 "compound-subject-part", to: :compound_subject_part end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/compound_subject.rb |