(proto-ds_source-proto)=

# `proto/ds_source.proto`

**Normative.** `proto/**` is part of `specs/` ([STYL.2.14.1]); message names, field numbers, types and `reserved` ranges carry the same force as a clause of English ([STYL.2.14.2]). Cite this file as `proto/ds_source.proto` and a message within it as `proto/ds_source.proto#<Message>` ([STYL.2.14.3]). This page is the protobuf source, rendered.

```protobuf
/* SPDX-FileCopyrightText: 2026 Dan Finster and the Desert Sage Contributors */
/* SPDX-License-Identifier: BSD-4-Clause OR AGPL-3.0-or-later */
syntax = "proto3";

package ds.v1;

import "common.proto";
```

(proto-ds_source-proto-DsSource)=

## `DsSource`

```protobuf
// DsSource atom body. Per [RDSC.14.2].
//
// `module_id` joins this DsSource to its module's per-module metadata
// atoms. The `file` field stays as the human-readable display path
// (used by tooling to render the source location) but the runtime
// joins atoms by module_id, not by file string.
message DsSource {
  string      file        = 1;
  Compression compression = 2;
  bytes       data        = 3;
  uint32      module_id   = 10;
}
```

