﻿---
title: assembler navigation validate-link-reference cli command
description: Validates that all published links in a links.json file do not collide with navigation.yml path prefixes and that all URLs are unique. 
url: https://docs-v3-preview.elastic.dev/docs-builder/cli/assembler/navigation/validate-link-reference
products:
  - Elastic Docs Builder
---

# assembler navigation validate-link-reference cli command
```bash
docs-builder assembler navigation validate-link-reference [<file>]
```

Validates that all published links in a `links.json` file do not collide with [navigation.yml](https://docs-v3-preview.elastic.dev/docs-builder/configure/site/navigation) path prefixes and that all URLs are unique.

## Arguments

<definitions>
  <definition term="<file> string">
    Path to links.json. Defaults to .artifacts/docs/html/links.json.
    **Constraints:** symbolic links not allowed, must exist, extensions: json, supports `~` home expansion
  </definition>
</definitions>


## Options

<definitions>
  <definition term="-l --log-level enum">
    Minimum log level.
    **Values:** trace, debug, information, warning, error, critical, none
    **Default:** `information`
  </definition>
  <definition term="-c --config-source enum">
    Override the configuration source: local, remote
    **Values:** local, remote, embedded
  </definition>
  <definition term="--[no-]skip-private-repositories">
    Skip cloning private repositories
  </definition>
</definitions>