context-atoms-atom-v1

draft 1.0.0 json-schema
idschema-atoms/json-schema/context-atoms-atom-v1
created2026-05-26

context-atoms-atom-v1.json json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://context-atoms.com/schemas/atom-v1.json",
  "title": "context-atoms v1 atom",
  "description": "A single atom in the context-atoms catalog. Discriminated by `type`. Type-specific subschemas (situational_frame, environment_descriptor, conversation_scope, working_memory_shape, attention_budget) will be added in a future revision once atom publication begins.",
  "type": "object",
  "required": ["schema", "type", "id", "version", "name"],
  "additionalProperties": true,
  "properties": {
    "schema": {
      "type": "string",
      "const": "https://context-atoms.com/schemas/atom-v1.json"
    },
    "type": {
      "type": "string",
      "enum": [
        "situational-frame",
        "environment-descriptor",
        "conversation-scope",
        "working-memory-shape",
        "attention-budget"
      ]
    },
    "id": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]{1,62}[a-z0-9]$" },
    "version": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+(?:-[A-Za-z0-9.-]+)?$" },
    "name": { "type": "string", "minLength": 1, "maxLength": 80 },
    "description": { "type": "string", "maxLength": 500 },
    "tags": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 40 }, "uniqueItems": true }
  }
}

atom.toml
id          = "schema-atoms/json-schema/context-atoms-atom-v1"
version     = "1.0.0"
content_hash = ""
lifecycle   = "draft"
created_at  = "2026-05-26T00:00:00Z"

[spec]
class          = "json-schema"
schema_version = "2020-12"
root_schema_id = "https://context-atoms.com/schemas/atom-v1.json"
asset          = "context-atoms-atom-v1.json"

[protocol]
provenance = "https://github.com/convergent-systems-co/context-atoms/blob/main/schemas/atom-v1.json"
license    = "Apache-2.0"