protected function addVirtualFieldsToSchema(array $schema, string $module): array
    {
        if (isset($schema['definitions']['virtualFieldName'])) {
            $virtualFields = Utility::getVirtualModuleFields($module, false);
            if (!empty($virtualFields)) {
                $schema['definitions']['virtualFieldName']['enum'] = array_keys($virtualFields);
            }
        }

        return $schema;
    }