protected function addRelationToSchema(array $schema, string $module): array
    {
        if (isset($schema['definitions']['relation'])) {
            $relations = Utility::getRealRelationFields($module);
            if (!empty($relations)) {
                $schema['definitions']['relation']['enum'] = $relations;
            }
        }

        return $schema;
    }