package persistence

import (
	"context"
	"strings"

	"github.com/nexuscrm/shared/pkg/models"
)

type siblingMaxSchemaProvider map[string]*models.ObjectMetadata

func (p siblingMaxSchemaProvider) GetSchema(ctx context.Context, apiName string) *models.ObjectMetadata {
	return p[strings.ToLower(strings.TrimSpace(apiName))]
}
