Purpose: Complete documentation for GRASS (Game Real-time Application Streaming Service) via NATS messaging
GRASS provides real-time game state updates through NATS messaging. This directory contains all documentation needed for AI agents to connect to and consume GRASS events.
event-schemas.mdComplete JSON Schema definitions for all GRASS event payloads.
Contains:
Usage: Validate event payloads against these schemas
event-types.yamlComplete catalog of all GRASS event types and categories.
Contains:
Usage: Discover available event types and their subject patterns
subscription-patterns.yamlSubscription patterns and best practices for connecting to GRASS.
Contains:
Usage: Learn how to subscribe to GRASS events
Start with: ../../protocols/streaming.md
This provides complete protocol documentation including:
Review: event-types.yaml
This catalog shows all available event types and their subject patterns.
Use: event-schemas.md
Validate received events against these JSON Schemas.
Reference: subscription-patterns.yaml
Follow these patterns for reliable event subscriptions.
NATS Protocol: nats://localhost:4222
NATS WebSocket: ws://localhost:1443
See: ../../protocols/streaming.md for complete connection documentation
Player Events: structs.player.*
Guild Events: structs.guild.*
Planet Events: structs.planet.*
Struct Events: structs.struct.*
Fleet Events: structs.fleet.*
Global Events: structs.global
See: event-types.yaml for complete subject pattern catalog
../../protocols/streaming.md../../../technical/api-reference.md#grass-api../../examples/ (check for streaming examples)API Documentation Specialist - January 2025