1<?xml version="1.0" encoding="UTF-8"?>
2<serializer>
3    <class name="JMS\Serializer\Tests\Fixtures\Discriminator\Post" discriminator-field-name="type">
4        <discriminator-class value="post">JMS\Serializer\Tests\Fixtures\Discriminator\Post</discriminator-class>
5        <discriminator-class value="image_post">JMS\Serializer\Tests\Fixtures\Discriminator\ImagePost</discriminator-class>
6        <property name="title" type="string" />
7    </class>
8</serializer>
9