{
  "version": "1.0.0",
  "kind": "olonjs-page-contract",
  "slug": "platform/advantages",
  "title": "Olon Platform Advantages - Your context, your advantage for agencies, SIs and indie devs",
  "description": "Whether you're an agency, a system integrator, or an indie dev - Olon removes the operational overhead so you can focus on building. Free to start, easy to scale, yours to own.",
  "manifestHref": "/mcp-manifests/platform/advantages.json",
  "systemPrompt": "You are operating the \"Olon Platform Advantages - Your context, your advantage for agencies, SIs and indie devs\" page in OlonJS Studio. Use only the declared tools and keep mutations valid against the section schema.",
  "sectionTypes": [
    "header",
    "footer",
    "page-header",
    "audience-tabs",
    "doc-section",
    "cli-spotlight",
    "cta-banner"
  ],
  "sectionInstances": [
    {
      "id": "global-header",
      "type": "header",
      "scope": "global",
      "label": "header"
    },
    {
      "id": "global-footer",
      "type": "footer",
      "scope": "global",
      "label": "footer"
    },
    {
      "id": "header",
      "type": "page-header",
      "scope": "local",
      "label": "Your context, your advantage"
    },
    {
      "id": "tabs",
      "type": "audience-tabs",
      "scope": "local",
      "label": "Your context, your advantage"
    },
    {
      "id": "doc-section",
      "type": "doc-section",
      "scope": "local",
      "label": "doc-section"
    },
    {
      "id": "cli",
      "type": "cli-spotlight",
      "scope": "local",
      "label": "Try it yourself"
    },
    {
      "id": "cta",
      "type": "cta-banner",
      "scope": "local",
      "label": "The platform built for builders."
    }
  ],
  "sectionSchemas": {
    "header": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "logoText": {
          "type": "string",
          "description": "ui:text"
        },
        "menu": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string",
                "description": "ui:text"
              },
              "href": {
                "type": "string",
                "description": "ui:text"
              },
              "external": {
                "type": "boolean",
                "description": "ui:checkbox"
              },
              "isCta": {
                "type": "boolean",
                "description": "ui:checkbox"
              },
              "description": {
                "type": "string",
                "description": "ui:textarea"
              },
              "icon": {
                "type": "string",
                "description": "ui:icon-picker"
              },
              "children": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string",
                      "description": "ui:text"
                    },
                    "href": {
                      "type": "string",
                      "description": "ui:text"
                    },
                    "external": {
                      "type": "boolean",
                      "description": "ui:checkbox"
                    },
                    "isCta": {
                      "type": "boolean",
                      "description": "ui:checkbox"
                    },
                    "description": {
                      "type": "string",
                      "description": "ui:textarea"
                    },
                    "icon": {
                      "type": "string",
                      "description": "ui:icon-picker"
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "label",
                    "href"
                  ]
                },
                "description": "ui:list"
              }
            },
            "additionalProperties": false,
            "required": [
              "label",
              "href"
            ]
          },
          "description": "ui:list"
        },
        "actionsMenu": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string",
                "description": "ui:text"
              },
              "href": {
                "type": "string",
                "description": "ui:text"
              },
              "external": {
                "type": "boolean",
                "description": "ui:checkbox"
              },
              "isCta": {
                "type": "boolean",
                "description": "ui:checkbox"
              },
              "description": {
                "type": "string",
                "description": "ui:textarea"
              },
              "icon": {
                "type": "string",
                "description": "ui:icon-picker"
              },
              "children": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string",
                      "description": "ui:text"
                    },
                    "href": {
                      "type": "string",
                      "description": "ui:text"
                    },
                    "external": {
                      "type": "boolean",
                      "description": "ui:checkbox"
                    },
                    "isCta": {
                      "type": "boolean",
                      "description": "ui:checkbox"
                    },
                    "description": {
                      "type": "string",
                      "description": "ui:textarea"
                    },
                    "icon": {
                      "type": "string",
                      "description": "ui:icon-picker"
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "label",
                    "href"
                  ]
                },
                "description": "ui:list"
              }
            },
            "additionalProperties": false,
            "required": [
              "label",
              "href"
            ]
          },
          "description": "ui:list"
        }
      },
      "additionalProperties": false,
      "required": [
        "logoText"
      ]
    },
    "footer": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "brandText": {
          "type": "string",
          "description": "ui:text"
        },
        "tagline": {
          "type": "string",
          "description": "ui:textarea"
        },
        "versionText": {
          "type": "string",
          "description": "ui:text"
        },
        "columns": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string",
                "description": "ui:text"
              },
              "menu": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string",
                      "description": "ui:text"
                    },
                    "href": {
                      "type": "string",
                      "description": "ui:text"
                    },
                    "external": {
                      "type": "boolean",
                      "description": "ui:checkbox"
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "label",
                    "href"
                  ]
                },
                "description": "ui:list"
              }
            },
            "additionalProperties": false,
            "required": [
              "title"
            ]
          },
          "description": "ui:list"
        },
        "bottomLinks": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string",
                "description": "ui:text"
              },
              "href": {
                "type": "string",
                "description": "ui:text"
              },
              "external": {
                "type": "boolean",
                "description": "ui:checkbox"
              }
            },
            "additionalProperties": false,
            "required": [
              "label",
              "href"
            ]
          },
          "description": "ui:list"
        },
        "copyright": {
          "type": "string",
          "description": "ui:text"
        }
      },
      "additionalProperties": false,
      "required": [
        "brandText",
        "copyright"
      ]
    },
    "page-header": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "eyebrow": {
          "type": "string",
          "description": "ui:text"
        },
        "title": {
          "type": "string",
          "description": "ui:text"
        },
        "description": {
          "type": "string",
          "description": "ui:textarea"
        },
        "breadcrumb": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string",
                "description": "ui:text"
              },
              "href": {
                "type": "string",
                "description": "ui:text"
              }
            },
            "additionalProperties": false,
            "required": [
              "label",
              "href"
            ]
          },
          "description": "ui:list"
        }
      },
      "additionalProperties": false,
      "required": [
        "title"
      ]
    },
    "audience-tabs": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "eyebrow": {
          "type": "string",
          "description": "ui:text"
        },
        "title": {
          "type": "string",
          "description": "ui:text"
        },
        "description": {
          "type": "string",
          "description": "ui:textarea"
        },
        "tabs": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string",
                "description": "ui:text"
              },
              "headline": {
                "type": "string",
                "description": "ui:text"
              },
              "body": {
                "type": "string",
                "description": "ui:textarea"
              },
              "items": {
                "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"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "label",
                  "href"
                ]
              }
            },
            "additionalProperties": false,
            "required": [
              "label",
              "headline",
              "body",
              "items",
              "cta"
            ]
          },
          "description": "ui:list"
        }
      },
      "additionalProperties": false,
      "required": [
        "tabs"
      ]
    },
    "doc-section": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "vsBlock": {
          "type": "object",
          "properties": {
            "title": {
              "type": "string",
              "description": "ui:text"
            },
            "body": {
              "type": "string",
              "description": "ui:textarea"
            },
            "items": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string",
                    "description": "ui:text"
                  },
                  "detail": {
                    "type": "string",
                    "description": "ui:textarea"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "text"
                ]
              },
              "description": "ui:list"
            }
          },
          "additionalProperties": false,
          "required": [
            "title",
            "body",
            "items"
          ]
        },
        "freeBlock": {
          "type": "object",
          "properties": {
            "title": {
              "type": "string",
              "description": "ui:text"
            },
            "body": {
              "type": "string",
              "description": "ui:textarea"
            },
            "badge": {
              "type": "string",
              "description": "ui:text"
            },
            "items": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string",
                    "description": "ui:text"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "text"
                ]
              },
              "description": "ui:list"
            }
          },
          "additionalProperties": false,
          "required": [
            "title",
            "body",
            "items"
          ]
        }
      },
      "additionalProperties": false,
      "required": [
        "vsBlock",
        "freeBlock"
      ]
    },
    "cli-spotlight": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "label": {
          "type": "string",
          "description": "ui:text"
        },
        "command": {
          "type": "string",
          "description": "ui:text"
        },
        "description": {
          "type": "string",
          "description": "ui:textarea"
        },
        "note": {
          "type": "string",
          "description": "ui:textarea"
        }
      },
      "additionalProperties": false,
      "required": [
        "command",
        "description"
      ]
    },
    "cta-banner": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "title": {
          "type": "string",
          "description": "ui:text"
        },
        "description": {
          "type": "string",
          "description": "ui:textarea"
        },
        "ctas": {
          "type": "array",
          "items": {
            "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"
              },
              "external": {
                "type": "boolean"
              }
            },
            "additionalProperties": false,
            "required": [
              "label",
              "href"
            ]
          },
          "description": "ui:list"
        }
      },
      "additionalProperties": false,
      "required": [
        "title"
      ]
    }
  },
  "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": {}
      }
    }
  ]
}
