Sha256: cb6f96c7604d8f5a0c16e3fbf02b6a19231a981f8ad929806f037ab2285a1c71
Contents?: true
Size: 2 KB
Versions: 1
Compression:
Stored size: 2 KB
Contents
# frozen_string_literal: true module Niso module Jats class Alternatives < Lutaml::Model::Serializable attribute :id, :string attribute :object_id, ObjectId, collection: true attribute :array, Array, collection: true attribute :chem_struct, ChemStruct, collection: true attribute :code, Code, collection: true attribute :graphic, Graphic, collection: true attribute :inline_graphic, InlineGraphic, collection: true attribute :inline_media, InlineMedia, collection: true attribute :inline_supplementary_material, InlineSupplementaryMaterial, collection: true attribute :media, Media, collection: true attribute :preformat, Preformat, collection: true attribute :private_char, PrivateChar, collection: true attribute :supplementary_material, SupplementaryMaterial, collection: true attribute :table, Table, collection: true attribute :textual_form, TextualForm, collection: true attribute :tex_math, TexMath, collection: true attribute :mml_math, :string, collection: true xml do root "alternatives" map_attribute "id", to: :id map_element "object-id", to: :object_id map_element "array", to: :array map_element "chem-struct", to: :chem_struct map_element "code", to: :code map_element "graphic", to: :graphic map_element "inline-graphic", to: :inline_graphic map_element "inline-media", to: :inline_media map_element "inline-supplementary-material", to: :inline_supplementary_material map_element "media", to: :media map_element "preformat", to: :preformat map_element "private-char", to: :private_char map_element "supplementary-material", to: :supplementary_material map_element "table", to: :table map_element "textual-form", to: :textual_form map_element "tex-math", to: :tex_math map_element "mml-math", to: :mml_math end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/alternatives.rb |