public function create(string $resourceClass, string $property, array $options = []): PropertyMetadata
    {
        $propertyMetadata = $this->propertyMetadata->create($resourceClass, $property, $options);

        if ('code' === $property && is_a($resourceClass, FamilyInterface::class, true)) {
            return $propertyMetadata->withIdentifier(true);
        }

        return $propertyMetadata;
    }