{
  "version": "1.0.0",
  "kind": "olonjs-page-contract",
  "slug": "pricing",
  "title": "Pricing — Olon",
  "description": "OSS forever free. Full at $9/tenant/month. Enterprise on demand. One architecture, three tiers.",
  "manifestHref": "/mcp-manifests/pricing.json",
  "systemPrompt": "You are operating the \"Pricing — Olon\" page in OlonJS Studio. Use only the declared tools and keep mutations valid against the section schema.",
  "sectionTypes": [
    "header",
    "footer",
    "pricing-table",
    "problem-statement",
    "manifesto-row",
    "cli-spotlight",
    "cta-banner"
  ],
  "sectionInstances": [
    {
      "id": "global-header",
      "type": "header",
      "scope": "global",
      "label": "header"
    },
    {
      "id": "global-footer",
      "type": "footer",
      "scope": "global",
      "label": "footer"
    },
    {
      "id": "pr-table",
      "type": "pricing-table",
      "scope": "local",
      "label": "Three tiers, one architecture."
    },
    {
      "id": "pr-problem",
      "type": "problem-statement",
      "scope": "local",
      "label": "problem-statement"
    },
    {
      "id": "pr-manifesto",
      "type": "manifesto-row",
      "scope": "local",
      "label": "manifesto-row"
    },
    {
      "id": "pr-cli",
      "type": "cli-spotlight",
      "scope": "local",
      "label": "Start on the free tier"
    },
    {
      "id": "pr-cta",
      "type": "cta-banner",
      "scope": "local",
      "label": "Start free. Scale when you need it."
    }
  ],
  "sectionSchemas": {
    "header": {
      "type": "object",
      "properties": {
        "logoText": {
          "type": "string",
          "description": "ui:text"
        },
        "badge": {
          "type": "string",
          "description": "ui:text"
        },
        "links": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "label": {
                "type": "string",
                "description": "ui:text"
              },
              "href": {
                "type": "string",
                "description": "ui:text"
              },
              "variant": {
                "type": "string",
                "description": "ui:text"
              },
              "children": {
                "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": [
              "label",
              "href"
            ]
          },
          "description": "ui:list"
        },
        "ctaLabel": {
          "type": "string",
          "description": "ui:text"
        },
        "ctaHref": {
          "type": "string",
          "description": "ui:text"
        },
        "signinHref": {
          "type": "string",
          "description": "ui:text"
        }
      },
      "additionalProperties": false,
      "required": [
        "logoText",
        "links"
      ]
    },
    "footer": {
      "type": "object",
      "properties": {
        "brandText": {
          "type": "string",
          "description": "ui:text"
        },
        "copyright": {
          "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"
        },
        "designSystemHref": {
          "type": "string",
          "description": "ui:text"
        }
      },
      "additionalProperties": false,
      "required": [
        "brandText",
        "copyright"
      ]
    },
    "pricing-table": {
      "type": "object",
      "properties": {
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "label": {
          "type": "string",
          "description": "ui:text"
        },
        "title": {
          "type": "string",
          "description": "ui:text"
        },
        "description": {
          "type": "string",
          "description": "ui:textarea"
        },
        "plans": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string",
                "description": "ui:text"
              },
              "badge": {
                "type": "string",
                "description": "ui:text"
              },
              "price": {
                "type": "string",
                "description": "ui:text"
              },
              "period": {
                "type": "string",
                "description": "ui:text"
              },
              "priceNote": {
                "type": "string",
                "description": "ui:text"
              },
              "description": {
                "type": "string",
                "description": "ui:textarea"
              },
              "highlight": {
                "type": "boolean",
                "description": "ui:checkbox",
                "default": false
              },
              "ctaLabel": {
                "type": "string",
                "description": "ui:text"
              },
              "ctaHref": {
                "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"
              }
            },
            "additionalProperties": false,
            "required": [
              "name",
              "price",
              "description",
              "ctaLabel",
              "ctaHref",
              "features"
            ]
          },
          "description": "ui:list"
        },
        "note": {
          "type": "string",
          "description": "ui:text"
        }
      },
      "additionalProperties": false,
      "required": [
        "title",
        "plans"
      ]
    },
    "problem-statement": {
      "type": "object",
      "properties": {
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "problemTag": {
          "type": "string",
          "description": "ui:text"
        },
        "problemTitle": {
          "type": "string",
          "description": "ui:text"
        },
        "problemItems": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "text": {
                "type": "string",
                "description": "ui:textarea"
              },
              "code": {
                "type": "string",
                "description": "ui:text"
              }
            },
            "additionalProperties": false,
            "required": [
              "text"
            ]
          },
          "description": "ui:list"
        },
        "solutionTag": {
          "type": "string",
          "description": "ui:text"
        },
        "solutionTitle": {
          "type": "string",
          "description": "ui:text"
        },
        "solutionItems": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "text": {
                "type": "string",
                "description": "ui:textarea"
              },
              "code": {
                "type": "string",
                "description": "ui:text"
              }
            },
            "additionalProperties": false,
            "required": [
              "text"
            ]
          },
          "description": "ui:list"
        }
      },
      "additionalProperties": false,
      "required": [
        "problemTag",
        "problemTitle",
        "problemItems",
        "solutionTag",
        "solutionTitle",
        "solutionItems"
      ]
    },
    "manifesto-row": {
      "type": "object",
      "properties": {
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "eyebrow": {
          "type": "string",
          "description": "ui:text"
        },
        "statement": {
          "type": "string",
          "description": "ui:text"
        },
        "accent": {
          "type": "string",
          "description": "ui:text"
        },
        "sub": {
          "type": "string",
          "description": "ui:textarea"
        },
        "pillars": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string",
                "description": "ui:text"
              },
              "body": {
                "type": "string",
                "description": "ui:textarea"
              },
              "badge": {
                "type": "string",
                "description": "ui:text"
              }
            },
            "additionalProperties": false,
            "required": [
              "label",
              "body"
            ]
          },
          "description": "ui:list"
        }
      },
      "additionalProperties": false,
      "required": [
        "statement"
      ]
    },
    "cli-spotlight": {
      "type": "object",
      "properties": {
        "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:text"
        }
      },
      "additionalProperties": false,
      "required": [
        "command"
      ]
    },
    "cta-banner": {
      "type": "object",
      "properties": {
        "anchorId": {
          "type": "string",
          "description": "ui:text"
        },
        "label": {
          "type": "string",
          "description": "ui:text"
        },
        "title": {
          "type": "string",
          "description": "ui:text"
        },
        "description": {
          "type": "string",
          "description": "ui:textarea"
        },
        "cliCommand": {
          "type": "string",
          "description": "ui:text"
        },
        "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"
              }
            },
            "additionalProperties": false,
            "required": [
              "label",
              "href"
            ]
          },
          "description": "ui:list"
        }
      },
      "additionalProperties": false,
      "required": [
        "title"
      ]
    }
  },
  "tools": [
    {
      "name": "update-section",
      "description": "Update any section in OlonJS Studio and persist immediately to file. 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"
            ]
          }
        ]
      }
    }
  ]
}
