{
  "$ref": "#/definitions/AgentsManifest",
  "definitions": {
    "AgentsManifest": {
      "type": "object",
      "properties": {
        "$schema": {
          "type": "string",
          "format": "uri"
        },
        "version": {
          "type": "string"
        },
        "updated": {
          "type": "string"
        },
        "organization": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "url": {
              "type": "string",
              "format": "uri"
            },
            "founder": {
              "type": "string"
            },
            "tagline": {
              "type": "string"
            }
          },
          "required": [
            "name",
            "url",
            "founder",
            "tagline"
          ],
          "additionalProperties": false
        },
        "products": {
          "type": "object",
          "additionalProperties": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "tiers": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "name",
              "description",
              "tiers"
            ],
            "additionalProperties": false
          }
        },
        "services": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "price": {
                "type": "object",
                "properties": {
                  "setup": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "monthly": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "currency": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "pricing_model": {
                "type": "string",
                "enum": [
                  "fixed",
                  "quote_on_demand"
                ]
              },
              "includes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "verticals": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "audience": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name",
              "verticals"
            ],
            "additionalProperties": false
          }
        },
        "verticals": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "slug": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "agent_id": {
                "type": "string"
              },
              "use_cases": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "demo": {
                "type": "object",
                "properties": {
                  "phone": {
                    "type": "string"
                  },
                  "chat_url": {
                    "type": "string"
                  },
                  "voice_widget_url": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "slug",
              "name",
              "use_cases"
            ],
            "additionalProperties": false
          }
        },
        "contact": {
          "type": "object",
          "properties": {
            "email": {
              "type": "string",
              "format": "email"
            },
            "url": {
              "type": "string",
              "format": "uri"
            }
          },
          "required": [
            "email",
            "url"
          ],
          "additionalProperties": false
        },
        "intake": {
          "type": "object",
          "properties": {
            "url": {
              "type": "string",
              "format": "uri"
            },
            "openapi": {
              "type": "string",
              "format": "uri"
            },
            "fee_usd": {
              "type": "number"
            },
            "fee_credited_toward_setup": {
              "type": "boolean"
            }
          },
          "required": [
            "url",
            "openapi",
            "fee_usd",
            "fee_credited_toward_setup"
          ],
          "additionalProperties": false
        },
        "mcp": {
          "type": "object",
          "properties": {
            "url": {
              "type": "string",
              "format": "uri"
            },
            "status": {
              "type": "string"
            }
          },
          "required": [
            "url",
            "status"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "$schema",
        "version",
        "updated",
        "organization",
        "products",
        "services",
        "verticals"
      ],
      "additionalProperties": false
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}