proto/schema_source.proto

Contents

proto/schema_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/schema_source.proto and a message within it as proto/schema_source.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;

SchemaSource#

// SchemaSource atom body. Per [RDSC.5.7].
//
// `module_id` attributes the schema to its declaring module. Display
// path resolves to DsSource[module_id].file at view time.
message SchemaSource {
  string schema_name = 1;
  reserved             2;
  uint32 line        = 3;
  uint32 col         = 4;
  uint32 module_id   = 10;
}