@php
$references = $graph->edges
->filter(fn($edge) => $edge->field === $field->name && $edge->source === $record->id)
->map(fn($edge) => $graph->records->firstWhere("id", $edge->target));
$collectionSchemas = $schemas->whereIn("name",$field->collections);
@endphp
@if(count($field->collections) === 1)
@else