{
  "version": "1.3.0",
  "service": "SFCR AI discovery index",
  "purpose": "Entry point for browser-based AI clients that need to create SFCR notebook source. YAML is preferred for authoring; JSON remains available for validation and runtime interchange.",
  "resources": {
    "notebooks": {
      "manifest": "./sfcr-notebook-guide.json",
      "guide": "../notebook-guide.md",
      "schema": "../sfcr-notebook.schema.json",
      "prompt": "../ai-prompts/create-sfcr-notebook-yaml.md",
      "jsonPrompt": "../ai-prompts/create-sfcr-notebook.md",
      "starterTemplate": "../notebook-examples/starter.example.notebook.yaml",
      "starterTemplateJson": "../notebook-examples/starter.example.notebook.json",
      "examples": [
        {
          "id": "starter",
          "url": "../notebook-examples/starter.example.notebook.yaml",
          "jsonUrl": "../notebook-examples/starter.example.notebook.json",
          "focus": ["minimum valid scaffold", "matrices", "sequences", "baseline"]
        },
        {
          "id": "sim",
          "url": "../notebook-examples/sim.example.notebook.yaml",
          "jsonUrl": "../notebook-examples/sim.example.notebook.json",
          "focus": ["canonical SIM model", "baseline", "scenario", "government spending shock"]
        },
        {
          "id": "bmw",
          "url": "../notebook-examples/bmw.example.notebook.yaml",
          "jsonUrl": "../notebook-examples/bmw.example.notebook.json",
          "focus": ["sectors", "bands", "baseline", "scenarios"]
        },
        {
          "id": "gl6-dis-rentier-v2",
          "url": "../notebook-examples/gl6-dis-rentier-v2.example.notebook.yaml",
          "jsonUrl": "../notebook-examples/gl6-dis-rentier-v2.example.notebook.json",
          "focus": ["distribution", "multi-household sectors", "bands"]
        }
      ]
    }
  },
  "contract": {
    "schemaUrl": "../sfcr-notebook.schema.json",
    "schemaVersion": "1.0.0",
    "manifestUrl": "./sfcr-notebook-guide.json",
    "manifestVersion": "1.3.0"
  },
  "capabilities": {
    "preferredFormat": "sfcr-notebook-yaml",
    "supportedFormats": ["sfcr-notebook-yaml", "sfcr-notebook-json"],
    "supportedNotebookKinds": ["baseline", "scenario-analysis"],
    "supportedFeatures": ["wrapped-cells", "compact-matrix-rows", "compact-equation-rows", "compact-external-rows", "initial-values", "scenarios"]
  },
  "instructions": [
    "Fetch resources.notebooks.manifest or resources.notebooks.guide first.",
    "Use resources.notebooks.starterTemplate as the default wrapped-cells YAML notebook shape unless a specific example is a better fit.",
    "Use resources.notebooks.jsonPrompt and jsonUrl examples only when strict expanded JSON output is required.",
    "Use contract.schemaUrl to validate generated runtime JSON after converting YAML, or to validate JSON output directly.",
    "Use the YAML examples when generating sector and band matrices, compact equation rows, externals, initial values, runs, charts, and scenarios."
  ]
}
