# toSchemaComponentRef

FUNCTION in `@skmtc/core 0.63.4`

The ref of the schema component named `refName`: `refPath`
`#/components/schemas`. For code that holds a component's name but no
`OasRef`, such as the engine's sweep over `components.schemas`.

## Signature

```ts
import { toSchemaComponentRef } from '@skmtc/core'

toSchemaComponentRef(refName: RefName): RefParts
```

## Parameters

- `refName` (RefName, required)

## Returns

`RefParts`
