{
  "version": "1.0.0",
  "kind": "olonjs-page-contract",
  "slug": "home",
  "title": "Olon - Websites for Humans and AI Agents",
  "description": "Olon is the orchestration layer for structured, agent-operable websites. Open core, managed platform, zero lock-in.",
  "manifestHref": "/mcp-manifests/home.json",
  "systemPrompt": "You are operating the \"Olon - Websites for Humans and AI Agents\" page in OlonJS Studio. Use only the declared tools and keep mutations valid against the section schema.",
  "sectionTypes": [
    "header",
    "footer",
    "landing-hero-stepper",
    "landing-proof-bar",
    "landing-workflow-cards",
    "landing-open-source-split",
    "landing-ownership-stats",
    "landing-pricing-card"
  ],
  "sectionInstances": [
    {
      "id": "global-header",
      "type": "header",
      "scope": "global",
      "label": "header"
    },
    {
      "id": "global-footer",
      "type": "footer",
      "scope": "global",
      "label": "footer"
    },
    {
      "id": "hero-stepper",
      "type": "landing-hero-stepper",
      "scope": "local",
      "label": "landing-hero-stepper"
    },
    {
      "id": "proof-bar",
      "type": "landing-proof-bar",
      "scope": "local",
      "label": "landing-proof-bar"
    },
    {
      "id": "workflow",
      "type": "landing-workflow-cards",
      "scope": "local",
      "label": "Managed platform:"
    },
    {
      "id": "open-source",
      "type": "landing-open-source-split",
      "scope": "local",
      "label": "landing-open-source-split"
    },
    {
      "id": "ownership",
      "type": "landing-ownership-stats",
      "scope": "local",
      "label": "landing-ownership-stats"
    },
    {
      "id": "pricing",
      "type": "landing-pricing-card",
      "scope": "local",
      "label": "landing-pricing-card"
    }
  ],
  "sectionSchemas": {
    "header": {
      "type": "object",
      "properties": {
        "logoText": {
          "type": "string",
          "description": "ui:text"
        },
        "loginLabel": {
          "type": "string",
          "description": "ui:text"
        },
        "loginHref": {
          "type": "string",
          "description": "ui:text"
        },
        "primaryCtaLabel": {
          "type": "string",
          "description": "ui:text"
        },
        "primaryCtaHref": {
          "type": "string",
          "description": "ui:text"
        }
      },
      "additionalProperties": false,
      "required": [
        "logoText",
        "loginLabel",
        "loginHref",
        "primaryCtaLabel",
        "primaryCtaHref"
      ]
    },
    "footer": {
      "type": "object",
      "properties": {
        "brandText": {
          "type": "string",
          "description": "ui:text"
        },
        "links": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "label": {
                "type": "string",
                "description": "ui:text"
              },
              "href": {
                "type": "string",
                "description": "ui:text"
              }
            },
            "additionalProperties": false,
            "required": [
              "label",
              "href"
            ]
          },
          "description": "ui:list"
        }
      },
      "additionalProperties": false,
      "required": [
        "brandText",
        "links"
      ]
    },
    "landing-hero-stepper": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "badge": {
          "type": "string",
          "description": "ui:text"
        },
        "slides": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "kicker": {
                "type": "string",
                "description": "ui:text"
              },
              "title": {
                "type": "string",
                "description": "ui:text"
              },
              "highlight": {
                "type": "string",
                "description": "ui:text"
              },
              "highlightStyle": {
                "type": "string",
                "enum": [
                  "green",
                  "yellow",
                  "blue",
                  "pink"
                ],
                "description": "ui:select",
                "default": "green"
              },
              "body": {
                "type": "string",
                "description": "ui:textarea"
              }
            },
            "additionalProperties": false,
            "required": [
              "kicker",
              "title",
              "highlight",
              "body"
            ]
          },
          "description": "ui:list"
        },
        "primaryCta": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "label": {
              "type": "string",
              "description": "ui:text"
            },
            "href": {
              "type": "string",
              "description": "ui:text"
            },
            "variant": {
              "type": "string",
              "enum": [
                "primary",
                "secondary",
                "accent"
              ],
              "description": "ui:select",
              "default": "primary"
            }
          },
          "additionalProperties": false,
          "required": [
            "label",
            "href"
          ]
        },
        "secondaryNote": {
          "type": "string",
          "description": "ui:text"
        }
      },
      "additionalProperties": false,
      "required": [
        "badge",
        "slides",
        "primaryCta",
        "secondaryNote"
      ]
    },
    "landing-proof-bar": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string",
                "description": "ui:text"
              }
            },
            "additionalProperties": false,
            "required": [
              "label"
            ]
          },
          "description": "ui:list"
        }
      },
      "additionalProperties": false,
      "required": [
        "items"
      ]
    },
    "landing-workflow-cards": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "title": {
          "type": "string",
          "description": "ui:text"
        },
        "highlight": {
          "type": "string",
          "description": "ui:text"
        },
        "cards": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "step": {
                "type": "string",
                "description": "ui:text"
              },
              "title": {
                "type": "string",
                "description": "ui:text"
              },
              "body": {
                "type": "string",
                "description": "ui:textarea"
              },
              "tone": {
                "type": "string",
                "enum": [
                  "white",
                  "green",
                  "blue"
                ],
                "description": "ui:select"
              }
            },
            "additionalProperties": false,
            "required": [
              "step",
              "title",
              "body",
              "tone"
            ]
          },
          "description": "ui:list"
        }
      },
      "additionalProperties": false,
      "required": [
        "title",
        "highlight",
        "cards"
      ]
    },
    "landing-open-source-split": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "badge": {
          "type": "string",
          "description": "ui:text"
        },
        "titlePrefix": {
          "type": "string",
          "description": "ui:text"
        },
        "titleHighlight": {
          "type": "string",
          "description": "ui:text"
        },
        "body": {
          "type": "string",
          "description": "ui:textarea"
        },
        "primaryCta": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "label": {
              "type": "string",
              "description": "ui:text"
            },
            "href": {
              "type": "string",
              "description": "ui:text"
            },
            "variant": {
              "type": "string",
              "enum": [
                "primary",
                "secondary",
                "accent"
              ],
              "description": "ui:select",
              "default": "primary"
            }
          },
          "additionalProperties": false,
          "required": [
            "label",
            "href"
          ]
        },
        "secondaryCta": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "label": {
              "type": "string",
              "description": "ui:text"
            },
            "href": {
              "type": "string",
              "description": "ui:text"
            },
            "variant": {
              "type": "string",
              "enum": [
                "primary",
                "secondary",
                "accent"
              ],
              "description": "ui:select",
              "default": "primary"
            }
          },
          "additionalProperties": false,
          "required": [
            "label",
            "href"
          ]
        },
        "terminalPath": {
          "type": "string",
          "description": "ui:text"
        },
        "terminalLines": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "content": {
                "type": "string",
                "description": "ui:text"
              }
            },
            "additionalProperties": false,
            "required": [
              "content"
            ]
          },
          "description": "ui:list"
        }
      },
      "additionalProperties": false,
      "required": [
        "badge",
        "titlePrefix",
        "titleHighlight",
        "body",
        "primaryCta",
        "secondaryCta",
        "terminalPath",
        "terminalLines"
      ]
    },
    "landing-ownership-stats": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "titleLines": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "text": {
                "type": "string",
                "description": "ui:text"
              }
            },
            "additionalProperties": false,
            "required": [
              "text"
            ]
          },
          "description": "ui:list"
        },
        "body": {
          "type": "string",
          "description": "ui:textarea"
        },
        "cta": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "label": {
              "type": "string",
              "description": "ui:text"
            },
            "href": {
              "type": "string",
              "description": "ui:text"
            },
            "variant": {
              "type": "string",
              "enum": [
                "primary",
                "secondary",
                "accent"
              ],
              "description": "ui:select",
              "default": "primary"
            }
          },
          "additionalProperties": false,
          "required": [
            "label",
            "href"
          ]
        },
        "stats": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "value": {
                "type": "string",
                "description": "ui:text"
              },
              "label": {
                "type": "string",
                "description": "ui:text"
              },
              "tone": {
                "type": "string",
                "enum": [
                  "white",
                  "pink",
                  "green"
                ],
                "description": "ui:select"
              }
            },
            "additionalProperties": false,
            "required": [
              "value",
              "label",
              "tone"
            ]
          },
          "description": "ui:list"
        }
      },
      "additionalProperties": false,
      "required": [
        "titleLines",
        "body",
        "cta",
        "stats"
      ]
    },
    "landing-pricing-card": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "badge": {
          "type": "string",
          "description": "ui:text"
        },
        "titleLine1": {
          "type": "string",
          "description": "ui:text"
        },
        "titleLine2": {
          "type": "string",
          "description": "ui:text"
        },
        "cardBadge": {
          "type": "string",
          "description": "ui:text"
        },
        "cardKicker": {
          "type": "string",
          "description": "ui:text"
        },
        "price": {
          "type": "string",
          "description": "ui:text"
        },
        "period": {
          "type": "string",
          "description": "ui:text"
        },
        "features": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "text": {
                "type": "string",
                "description": "ui:text"
              }
            },
            "additionalProperties": false,
            "required": [
              "text"
            ]
          },
          "description": "ui:list"
        },
        "cta": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "label": {
              "type": "string",
              "description": "ui:text"
            },
            "href": {
              "type": "string",
              "description": "ui:text"
            },
            "variant": {
              "type": "string",
              "enum": [
                "primary",
                "secondary",
                "accent"
              ],
              "description": "ui:select",
              "default": "primary"
            }
          },
          "additionalProperties": false,
          "required": [
            "label",
            "href"
          ]
        }
      },
      "additionalProperties": false,
      "required": [
        "badge",
        "titleLine1",
        "titleLine2",
        "cardBadge",
        "cardKicker",
        "price",
        "period",
        "features",
        "cta"
      ]
    }
  },
  "tools": [
    {
      "name": "update-section",
      "description": "Update a section field in the Studio draft. Does not persist — call save when all updates are complete. Use sectionType to select the matching schema from sectionSchemas.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "slug": {
            "type": "string",
            "description": "Canonical page slug currently open in Studio."
          },
          "sectionId": {
            "type": "string",
            "description": "Concrete section instance id inside the current draft."
          },
          "sectionType": {
            "type": "string",
            "description": "Section type being updated (for example \"hero\" or \"header\"). Used to select the correct validation schema."
          },
          "scope": {
            "type": "string",
            "enum": [
              "local",
              "global"
            ],
            "default": "local"
          },
          "data": {
            "type": "object",
            "description": "Full replacement payload validated against the schema declared for sectionType."
          },
          "itemPath": {
            "type": "array",
            "description": "Optional root-to-leaf selection path for targeted field mutation.",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "fieldKey": {
                  "type": "string"
                },
                "itemId": {
                  "type": "string"
                }
              },
              "required": [
                "fieldKey"
              ]
            }
          },
          "value": {
            "description": "Value written to the final field targeted by itemPath."
          },
          "fieldKey": {
            "type": "string",
            "description": "Shorthand for a top-level scalar field update when itemPath is omitted."
          }
        },
        "required": [
          "sectionId"
        ],
        "oneOf": [
          {
            "required": [
              "data"
            ]
          },
          {
            "required": [
              "itemPath",
              "value"
            ]
          },
          {
            "required": [
              "fieldKey",
              "value"
            ]
          }
        ]
      }
    },
    {
      "name": "save",
      "description": "Persist all pending draft changes using the active save mode (local file, hot save, or save2repo). Call once after all update-section calls are complete.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {}
      }
    }
  ]
}
