Sha256: 484949be76a630ca93f18fd25d51d0cef69767db07e43e68386b6dc3bf1f54e4
Contents?: true
Size: 1001 Bytes
Versions: 1
Compression:
Stored size: 1001 Bytes
Contents
# frozen_string_literal: true module Niso module Jats class PrincipalInvestigator < Lutaml::Model::Serializable attribute :content, :string attribute :id, :string attribute :specific_use, :string attribute :lang, :string attribute :contrib_id, ContribId, collection: true attribute :name, Name, collection: true attribute :name_alternatives, NameAlternatives, collection: true attribute :string_name, StringName, collection: true xml do root "principal-investigator" map_content to: :content map_attribute "id", to: :id map_attribute "specific-use", to: :specific_use map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml" map_element "contrib-id", to: :contrib_id map_element "name", to: :name map_element "name-alternatives", to: :name_alternatives map_element "string-name", to: :string_name end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/principal_investigator.rb |