1<?xml version="1.0" encoding="UTF-8"?>
2<serializer>
3    <class name="JMS\Serializer\Tests\Fixtures\Discriminator\Vehicle" discriminator-field-name="type">
4        <discriminator-class value="car">JMS\Serializer\Tests\Fixtures\Discriminator\Car</discriminator-class>
5        <discriminator-class value="moped">JMS\Serializer\Tests\Fixtures\Discriminator\Moped</discriminator-class>
6        <property name="km" type="integer" />
7    </class>
8</serializer>