Skip to main content

Light Sources

LightSource Description

LightSources is the fifth child-element of GeneralDefinitions - the part in the XML where global and reusable elements are defined (imagine them as the building blocks of each luminaire). The definition of LightSources is optional.

Location in XSD

LightSource location in XSD

LightSource types

There are three fundamentally different types that can be distinguished, how a LightSource can be defined:

Optional light source types
  1. ChangeableLightSource
    Represents a classic user-replaceable light source with a socket. Typically, such a lamp determines the light color, luminous flux and the nominal power.
  2. FixedLightSource
    This light source is permanently installed, and the end user no longer has any influence on light color, luminous flux and rated power. This is almost always true for LEDs.
  3. MultiChannelLightSource
    As the name already suggests and in contrast to the first two, the MultiChannelLightSource supports multiple light channels. Supporting applications like DIALux allows to control each channel seperatly and adjust the lumanire to the current requirements of a lighting scene.

XSD of ChangeableLightSource

Changeable light source

XSD of FixedLightSource

Fixed light source

XSD of MultiChannelLightSource

Multichannel light source

XML example

Below is a longer example where all three types are defined with minimal data. In real product data, if possible, many more properties should be defined to better describe the product.

<Root xmlns:xsi=""
<!-- Skipped for clarity. See "Header" documentation -->
<File id="phptometryFile" contentType="ldc/eulumdat"
<File id="spectrumRedFile" contentType="spectrum/text"
<File id="spectrumGreenFile" contentType="spectrum/text"
<File id="spectrumBlueFile" contentType="spectrum/text"
<Photometry id="photometry">
<PhotometryFileReference fileId="phptometryFile" />
<Spectrum id="spectrumRed">
<SpectrumFileReference fileId="spectrumRedFile" />
<Spectrum id="spectrumGreen">
<SpectrumFileReference fileId="spectrumGreenFile" />
<Spectrum id="spectrumBlue">
<SpectrumFileReference fileId="spectrumBlueFile" />
<!-- Create a changeable light source with E27 socket -->
<ChangeableLightSource id="lightSource-changeable">
<Locale language="en">Incandescent lamp</Locale>
<!-- Create a fixed LED light source -->
<FixedLightSource id="lightSource-fixed">
<Locale language="de">LED</Locale>
<!-- Create RGB multi channel light source -->
<MultiChannelLightSource id="lightSource-multiChannel">
<Locale language="en">RGB light source</Locale>
<Channel type="Red">
<Locale language="en">Red channel</Locale>
<SpectrumReference spectrumId="spectrumRed" />
<PhotometryReference photometryId="photometry" />
<Channel type="Green">
<Locale language="en">Green channel</Locale>
<SpectrumReference spectrumId="spectrumGreen" />
<PhotometryReference photometryId="photometry" />
<Channel type="Blue">
<Locale language="en">Blue channel</Locale>
<SpectrumReference spectrumId="spectrumBlue" />
<PhotometryReference photometryId="photometry" />
<!-- Reference the changeable light source in an equipment first -->
<Equipment id="equipment">
<LightSourceReference changeableLightSourceId="lightSource-changeable" />
<!-- Reference the equipment to finally use the defined changeable light source -->
<Emitter id="changeableLight-emitter">
<PhotometryReference photometryId="photometry" />
<EquipmentReference equipmentId="equipment" />
<!-- Reference the fixed light source directly and add a photometry here -->
<Emitter id="fixedLight-emitter">
<PhotometryReference photometryId="photometry" />
<LightSourceReference fixedLightSourceId="lightSource-fixed" />
<!-- Reference the multi channel light source -->
<Emitter id="multiChannel-emitter">
<LightSourceReference multiChannelLightSourceId="lightSource-multiChannel" />
<!-- Finally, use the Emitter to define the product here -->
<!-- (Skipped for clarity. See "Global Product Data" documentation) -->

Referencing a light source

Once declared, all light sources can be referenced in subsequent XML elements via their id attribute one or several times.


What is particularly remarkable about the XML example above is how differently ChangeableLightSource and FixedLightSource are referenced. While at first glance this adds complexity, it better represents the reality:

For the usage of a ChangeableLightSource an element of the type Equipment must be defined first. Which combines a ChangeableLightSource with an optional ControlGear. Subsequently, this Equipment is finally referenced in the Emitter. The FixedLightSource however, is referenced directly in the Emitter itself. This also applies to the luminous flux, which is defined directly in the Emitter, and not the light source, as well.

This occurs because a fixed light source like LED is an integral part of the entire luminaire. They are not interchangeable at all, and therefore can only be measured as a whole. Whereas a ChangeableLightSource - like classic bulbs with a socket - can also be photometrically measured on their own. And are therefore defined separately in a likewise exchangeable Equipment element.

Optional metadata

It is possible to optionally specify various metadata inside a light source to complement its description with further details:

  • Name
    Translatable name of the light source
  • Description
    Translatable description of the light source
  • Manufacturer
    Manufacturer name of the light source
  • GTIN
    Global Trade Item Number (GTIN) of the light source
  • RatedInputPower
    Input power consumed by the light source, when the luminaire is turned on
  • RatedInputVoltage
    Voltage at which the light source operates normally
  • PowerRange
    Minimal, maximal and recommended light source power
  • LightSourcePositionOfUsage
    Light source usage position (Horizontal/Vertical), possibly with range of angle
  • EnergyLabels
    European Union energy label, accoring to the energy consumption labelling scheme
  • SpectrumReference
    Spectrum of radiation. See Spectrum
  • ActivePowerTable
    Consumption of the power corresponding to the dim level of the light source. It is described as a table of power factor between 0-1 in relation to the luminous flux factor between 0-1
  • ColorInformation
    Light source color appearance
  • LightSourceImages
    List of images depicting the light source