1JMS\Serializer\Tests\Fixtures\Discriminator\Post:
2    discriminator:
3        field_name: type
4        map:
5            post: JMS\Serializer\Tests\Fixtures\Discriminator\Post
6            image_post: JMS\Serializer\Tests\Fixtures\Discriminator\ImagePost
7
8    properties:
9        title:
10            type: string
11