ACP LogoACP LogoACP Protocol
  • 5-Minute Quickstart
  • ACP vs MCP: Purpose-Built Context vs Repurposed Capabilities
  • ACP vs RAG: Why Deterministic Context Beats Probabilistic Retrieval
  • ACP Design Philosophy
  • Why ACP? Understanding the AI Context Problem
  • How to Annotate Your Codebase
  • How to Integrate ACP with Cursor
  • How to Protect Critical Code
  • ACP CLI Documentation
  • ACP Daemon Service
  • ACP MCP Server
  • ACP VS Code Extension
  • Introduction
  • Terminology
  • Cache File Format Specification
  • Config File Specification
  • Annotation Syntax Specification
  • Constraint System Specification
  • Variable System Specification
  • Inheritance & Cascade Specification
  • File Discovery Specification
  • Query Interface Specification
  • Tool Integration
  • Protocol Versioning Specification
  • Debug Sessions & Hack Tracking Specification
  • Bootstrap & AI Integration Specification
  • Chapter 15: Documentation System Bridging
  • Attempts Schema
  • Cache Schema
  • Config Schema
  • Primer Schema
  • Sync Schema
  • Vars Schema

On this page

  • Available Schemas
  • Usage
DocsReferenceJSON Schemas

JSON Schemas

ACP JSON Schema definitions for validation

JSON Schemas

ACP uses JSON Schema for validating configuration and cache files.

Available Schemas

  • Vars Schema
  • Sync Schema
  • Primer Schema
  • Config Schema
  • Cache Schema
  • Attempts Schema

Usage

Add schema validation to your files:

{
  "$schema": "https://raw.githubusercontent.com/acp-protocol/acp-spec/main/schemas/v1/cache.schema.json"
}