1JMS\Serializer\Tests\Fixtures\Discriminator\Vehicle:
2    discriminator:
3        field_name: type
4        map:
5            car: JMS\Serializer\Tests\Fixtures\Discriminator\Car
6            moped: JMS\Serializer\Tests\Fixtures\Discriminator\Moped
7
8    properties:
9        km:
10            type: integer