Class: Tbx::Xref

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/tbx/xref.rb

Overview

External cross-reference element ‘<xref>`.

The ‘target` attribute holds a URI (http/https) pointing to an external resource. Unlike `Ref`, which uses IDREF for internal references, Xref uses anyURI for external resources.

Permitted ‘type` values:

  • Min module: ‘externalCrossReference` — reference to an external resource

  • Basic module: ‘externalCrossReference` — external reference (DC-226), `xGraphic` — graphic image associated with the concept (DC-2920)

Schema source: TBXcoreStructV03.rng ‘<define name=“xref”>`; data categories: Basic.tbxmd.

Constant Summary collapse

TYPES =
Modules::Min::XREF_TYPES
.merge(Modules::Basic::XREF_TYPES).freeze