> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentvolumes.org/llms.txt
> Use this file to discover all available pages before exploring further.

# SPDX external dependency JSON-LD context

> Published JSON-LD context for compact Agent Volumes SPDX external dependency declaration terms.

Agent Volumes publishes a JSON-LD context for the versioned SPDX external dependency declaration namespace. Use it when you want compact terms such as `declarationKey` and `resolvedEvidence` to expand to the Agent Volumes-owned namespace IRIs.

```text theme={null}
https://agentvolumes.org/contexts/spdx-external-dependency-declarations-v0.1.jsonld
```

The context is the stable canonical remote context for the namespace documented at `https://agentvolumes.org/ns/spdx/external-dependency-declarations/v0.1#`. It does not replace the specification, mapping fixtures, or schema artifacts. This release archive also preserves an identical copy under `/spec/0.1.0-rc.1/contexts/...` for audit and release evidence.

## Published context

The canonical context document is available at [`/contexts/spdx-external-dependency-declarations-v0.1.jsonld`](/contexts/spdx-external-dependency-declarations-v0.1.jsonld).

The v0.1.0-rc.1 archived copy is available at [`/spec/0.1.0-rc.1/contexts/spdx-external-dependency-declarations-v0.1.jsonld`](/spec/0.1.0-rc.1/contexts/spdx-external-dependency-declarations-v0.1.jsonld). The artifact validator checks that both copies match.

It defines:

| Compact term                    | Expanded identifier                                                                                    |
| ------------------------------- | ------------------------------------------------------------------------------------------------------ |
| `ExternalDependencyDeclaration` | `https://agentvolumes.org/ns/spdx/external-dependency-declarations/v0.1#ExternalDependencyDeclaration` |
| `declarationKey`                | `https://agentvolumes.org/ns/spdx/external-dependency-declarations/v0.1#declarationKey`                |
| `purl`                          | `https://agentvolumes.org/ns/spdx/external-dependency-declarations/v0.1#purl`                          |
| `constraint`                    | `https://agentvolumes.org/ns/spdx/external-dependency-declarations/v0.1#constraint`                    |
| `purpose`                       | `https://agentvolumes.org/ns/spdx/external-dependency-declarations/v0.1#purpose`                       |
| `scope`                         | `https://agentvolumes.org/ns/spdx/external-dependency-declarations/v0.1#scope`                         |
| `declarationOnly`               | `https://agentvolumes.org/ns/spdx/external-dependency-declarations/v0.1#declarationOnly`               |
| `resolvedEvidence`              | `https://agentvolumes.org/ns/spdx/external-dependency-declarations/v0.1#resolvedEvidence`              |

## Example usage

```json theme={null}
{
  "@context": "https://agentvolumes.org/contexts/spdx-external-dependency-declarations-v0.1.jsonld",
  "@type": "ExternalDependencyDeclaration",
  "declarationKey": "av-extdep-v1:sha256:70439a6f77abdfe30f4e7e59f2ed7d5404570bf4d9a7d989192e27bdf4c46bbc",
  "purl": "pkg:npm/%40modelcontextprotocol/sdk",
  "constraint": "vers:npm/>=1.7.0|<2.0.0",
  "purpose": "runtime",
  "scope": [],
  "declarationOnly": true,
  "resolvedEvidence": false
}
```

## Related sources

* [SPDX external dependency namespace](/spec/0.1.0-rc.1/uri-publications/spdx-external-dependency-namespace)
* [Canonical JSON-LD context](/contexts/spdx-external-dependency-declarations-v0.1.jsonld)
* [Mapping sample fixture](https://github.com/agent-volumes/agent-volumes-spec/blob/main/conformance/fixtures/mapping-sample.json)
* [ADR-0141](https://github.com/agent-volumes/agent-volumes-spec/blob/main/docs/decisions/0141-use-uri-backed-namespaces-for-spdx-agent-volumes-extension-terms.md)
