Sha256: 517e8722d3c1c139514b6f3b7ea5a3dd3d428a1f893d2eea658e465bf2eec0d5
Contents?: true
Size: 757 Bytes
Versions: 1
Compression:
Stored size: 757 Bytes
Contents
# frozen_string_literal: true module Niso module Jats class License < Lutaml::Model::Serializable attribute :hreflang, :string attribute :id, :string attribute :license_type, :string attribute :specific_use, :string attribute :lang, :string attribute :license_p, LicenseParagraph, collection: true xml do root "license" map_attribute "hreflang", to: :hreflang map_attribute "id", to: :id map_attribute "license-type", to: :license_type map_attribute "specific-use", to: :specific_use map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml" map_element "license-p", to: :license_p end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/license.rb |