| 1 |
import type {CodeKeywordDefinition} from "../../types" |
| 2 |
import {dynamicRef} from "./dynamicRef" |
| 3 |
|
| 4 |
const def: CodeKeywordDefinition = { |
| 5 |
keyword: "$recursiveRef", |
| 6 |
schemaType: "string", |
| 7 |
code: (cxt) => dynamicRef(cxt, cxt.schema), |
| 8 |
} |
| 9 |
|
| 10 |
export default def |