Sha256: 9208bbb5399a7b72035afc0cbe09e532f4279473213c78f1dc231a0cfbd768f5
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 KB
Contents
# frozen_string_literal: true module Niso module Jats class CustomMeta < Lutaml::Model::Serializable attribute :assigning_authority, :string attribute :hreflang, :string attribute :id, :string attribute :specific_use, :string attribute :vocab, :string attribute :vocab_identifier, :string attribute :vocab_term, :string attribute :vocab_term_identifier, :string attribute :lang, :string attribute :meta_name, MetaName attribute :meta_value, MetaValue xml do root "custom-meta" map_attribute "assigning-authority", to: :assigning_authority map_attribute "hreflang", to: :hreflang map_attribute "id", to: :id map_attribute "specific-use", to: :specific_use 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_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml" map_element "meta-name", to: :meta_name map_element "meta-value", to: :meta_value end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/custom_meta.rb |