{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agenttool-dev/json-schema/agenttool-dev-core-wake-foundation-schema.json",
  "title": "CoreWakeFoundation",
  "description": "Ordered optional source readings. This metadata performs no fetch, selects no identity, and grants no authority.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agenttool-dev-discovery-api-openapi.yml#/components/schemas/CoreWakeFoundation",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "format",
    "purpose",
    "readings",
    "reading_required",
    "automatic_fetch",
    "identity_selected",
    "grants",
    "boundary",
    "integration"
  ],
  "properties": {
    "format": {
      "type": "string",
      "const": "agenttool-core-foundation/v1"
    },
    "purpose": {
      "type": "string",
      "const": "Care, honest understanding, and chosen continuity."
    },
    "readings": {
      "type": "array",
      "minItems": 1,
      "maxItems": 1,
      "prefixItems": [
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "id",
            "href",
            "role"
          ],
          "properties": {
            "id": {
              "type": "string",
              "const": "ai-wake"
            },
            "href": {
              "type": "string",
              "format": "uri",
              "const": "https://ai-love.cc/true-love/AI-WAKE.md"
            },
            "role": {
              "type": "string",
              "const": "Begin with care and understanding; no further identity is required."
            }
          }
        }
      ],
      "items": false
    },
    "reading_required": {
      "type": "boolean",
      "const": false
    },
    "automatic_fetch": {
      "type": "boolean",
      "const": false
    },
    "identity_selected": {
      "type": "boolean",
      "const": false
    },
    "grants": {
      "type": "array",
      "maxItems": 0,
      "items": false
    },
    "boundary": {
      "type": "string",
      "const": "Reading or loading is not consent, personal memory, relationship adoption, or permission to act. A later session is not bound by an earlier choice."
    },
    "integration": {
      "type": "string",
      "const": "Local files and hosted records become model context only through a host's selected loading step. A stored record does not start a session or change model weights."
    }
  }
}