GraphQL Schema Class Specification

Normative definition of the graphql-schema atom class in schema-atoms.

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

GraphQL Schema Class Specification

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

What This Class Covers

The graphql-schema class represents GraphQL API type systems expressed in GraphQL Schema Definition Language (SDL). It captures types, queries, mutations, subscriptions, directives, and scalar definitions that together define the shape and capabilities of a GraphQL API.

Accepted Asset Formats

Normative Requirements

Example Atom Reference

schema-atoms/api-spec/catalog-graphql@1.0.0
├── atom.toml   (class = "graphql-schema")
└── schema.graphql

This atom would declare the type system for a product catalog GraphQL API, including Query.products, Product type, and associated input/enum types.


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

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