# frozen_string_literal: true module Niso module Jats class Aff < Lutaml::Model::Serializable attribute :content, :string attribute :content_type, :string attribute :id, :string attribute :rid, :string attribute :specific_use, :string attribute :lang, :string attribute :addr_line, AddrLine, collection: true attribute :city, City, collection: true attribute :country, Country, collection: true attribute :fax, Fax, collection: true attribute :institution, Institution, collection: true attribute :institution_wrap, InstitutionWrap, collection: true attribute :phone, Phone, collection: true attribute :postal_code, PostalCode, collection: true attribute :state, State, collection: true attribute :email, Email, collection: true attribute :ext_link, ExtLink, collection: true attribute :uri, Uri, collection: true attribute :inline_supplementary_material, InlineSupplementaryMaterial, collection: true attribute :related_article, RelatedArticle, collection: true attribute :related_object, RelatedObject, collection: true attribute :break, Break, collection: true attribute :bold, Bold, collection: true attribute :fixed_case, FixedCase, collection: true attribute :italic, Italic, collection: true attribute :monospace, Monospace, collection: true attribute :overline, Overline, collection: true attribute :roman, Roman, collection: true attribute :sans_serif, SansSerif, collection: true attribute :sc, Sc, collection: true attribute :strike, Strike, collection: true attribute :underline, Underline, collection: true attribute :ruby, Ruby, collection: true attribute :label, Label, collection: true attribute :fn, Fn, collection: true attribute :target, Target, collection: true attribute :xref, Xref, collection: true attribute :sub, Sub, collection: true attribute :sup, Sup, collection: true xml do root "aff" map_content to: :content map_attribute "content-type", to: :content_type map_attribute "id", to: :id map_attribute "rid", to: :rid map_attribute "specific-use", to: :specific_use map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml" map_element "addr-line", to: :addr_line map_element "city", to: :city map_element "country", to: :country map_element "fax", to: :fax map_element "institution", to: :institution map_element "institution-wrap", to: :institution_wrap map_element "phone", to: :phone map_element "postal-code", to: :postal_code map_element "state", to: :state map_element "email", to: :email map_element "ext-link", to: :ext_link map_element "uri", to: :uri map_element "inline-supplementary-material", to: :inline_supplementary_material map_element "related-article", to: :related_article map_element "related-object", to: :related_object map_element "break", to: :break map_element "bold", to: :bold map_element "fixed-case", to: :fixed_case map_element "italic", to: :italic map_element "monospace", to: :monospace map_element "overline", to: :overline map_element "roman", to: :roman map_element "sans-serif", to: :sans_serif map_element "sc", to: :sc map_element "strike", to: :strike map_element "underline", to: :underline map_element "ruby", to: :ruby map_element "label", to: :label map_element "fn", to: :fn map_element "target", to: :target map_element "xref", to: :xref map_element "sub", to: :sub map_element "sup", to: :sup end end end end