public function serialize(FieldChoiceCategory $fieldChoiceCategory)
    {
        $serialized = [
            'id' => $fieldChoiceCategory->getUuid(),
            'field' => $this->fieldSerializer->serialize($fieldChoiceCategory->getField(), [Options::SERIALIZE_MINIMAL]),
            'category' => [
                'id' => $fieldChoiceCategory->getCategory()->getUuid(),
            ],
            'value' => $fieldChoiceCategory->getValue(),
        ];

        return $serialized;
    }