proto/common.proto

Contents

proto/common.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/common.proto and a message within it as proto/common.proto#<Message> ([STYL.2.14.3]). This page is the protobuf source, rendered.

/* 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;

Compression#

// Compression codec for atom bodies that carry bulk text or
// bytes (DsSource, SchemaDef). COMPRESSION_NONE is the only supported
// codec ([RDSC.4.4], [RDSC.4.5]).
enum Compression {
  COMPRESSION_UNSPECIFIED = 0;
  COMPRESSION_NONE        = 1;
  reserved 2;  // never reused
}