gRPC Spec Class Specification

Normative definition of the grpc-spec atom class in schema-atoms.

draft 1.0.0-draft design-spec
idschema-atoms/design-spec/grpc-spec-class-spec
authorsconvergent-systems-co
conforms_toschema-atoms/design-spec/atom-spec@1.1.0
created2026-05-23

gRPC Spec Class Specification

Class: grpc-spec Version: 1.0.0-draft Conforms to: schema-atoms/design-spec/atom-spec@1.1.0

What This Class Covers

The grpc-spec class represents gRPC service contracts expressed as Protocol Buffer (Protobuf) service definition files. It captures service definitions, RPC method signatures, request/response message types, and streaming modalities (unary, server-streaming, client-streaming, bidirectional) for gRPC APIs.

Accepted Asset Formats

Normative Requirements

Example Atom Reference

schema-atoms/api-spec/inventory-grpc@1.0.0
├── atom.toml   (class = "grpc-spec")
└── inventory.proto

This atom would declare the gRPC service contract for an inventory management service, including rpc GetItem, rpc ListItems, and associated Item message types in proto3.


atom.toml
# atom.toml — class specification atom for grpc-spec
id          = "schema-atoms/design-spec/grpc-spec-class-spec"
version     = "1.0.0-draft"
content_hash = ""
lifecycle   = "draft"
created_at  = "2026-05-23T00:00:00Z"

[spec]
class       = "design-spec"
title       = "gRPC Spec Class Specification"
summary     = "Normative definition of the grpc-spec atom class in schema-atoms."
authors     = ["convergent-systems-co"]
conforms_to = "schema-atoms/design-spec/atom-spec@1.1.0"
asset       = "spec.md"