protected function addFieldsToSchema(array $schema, string $module): array
    {
        if (isset($schema['definitions']['fieldName'])) {
            $fields = Utility::getRealModuleFields($module, false);
            if (!empty($fields)) {
                $schema['definitions']['fieldName']['enum'] = $fields;
            }
        }

        return $schema;
    }