{
  "openapi": "3.1.0",
  "info": {
    "title": "The Barnes Team (Avison Young) data API",
    "version": "0.1.0",
    "description": "Read-only facts about The Barnes Team, a four-person industrial real estate team in Avison Young's El Segundo office. Source: Barnes Team Brochure - 2026 Capital Markets; last reviewed 2026-11-12. Static JSON files work on any host; /api/search and /healthz need the bundled Python server."
  },
  "servers": [
    {
      "url": "https://barnesteam.site"
    }
  ],
  "paths": {
    "/api/index.json": {
      "get": {
        "summary": "List of all JSON endpoints",
        "operationId": "get_index",
        "responses": {
          "200": {
            "description": "JSON document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/api/pages.json": {
      "get": {
        "summary": "Every page with summary and HTML/Markdown URLs",
        "operationId": "get_pages",
        "responses": {
          "200": {
            "description": "JSON document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/api/facts.json": {
      "get": {
        "summary": "Atomic facts with source page and brochure reference",
        "operationId": "get_facts",
        "responses": {
          "200": {
            "description": "JSON document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/api/team.json": {
      "get": {
        "summary": "Team members, titles, contact details and credentials",
        "operationId": "get_team",
        "responses": {
          "200": {
            "description": "JSON document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/api/closings.json": {
      "get": {
        "summary": "Industrial and land closings",
        "operationId": "get_closings",
        "responses": {
          "200": {
            "description": "JSON document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/api/case-studies.json": {
      "get": {
        "summary": "Case studies",
        "operationId": "get_case_studies",
        "responses": {
          "200": {
            "description": "JSON document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/api/faq.json": {
      "get": {
        "summary": "Frequently asked questions",
        "operationId": "get_faq",
        "responses": {
          "200": {
            "description": "JSON document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/api/firm.json": {
      "get": {
        "summary": "Team, services and Avison Young facts",
        "operationId": "get_firm",
        "responses": {
          "200": {
            "description": "JSON document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/api/clients.json": {
      "get": {
        "summary": "Client relationships shown in the brochure",
        "operationId": "get_clients",
        "responses": {
          "200": {
            "description": "JSON document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/api/awards.json": {
      "get": {
        "summary": "Deal awards and individual honors",
        "operationId": "get_awards",
        "responses": {
          "200": {
            "description": "JSON document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/api/markets.json": {
      "get": {
        "summary": "Submarkets with the team's closings and case studies",
        "operationId": "get_markets",
        "responses": {
          "200": {
            "description": "JSON document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/api/glossary.json": {
      "get": {
        "summary": "Industrial real estate terms and definitions",
        "operationId": "get_glossary",
        "responses": {
          "200": {
            "description": "JSON document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/api/keywords.json": {
      "get": {
        "summary": "Topics and searches the site answers",
        "operationId": "get_keywords",
        "responses": {
          "200": {
            "description": "JSON document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/api/press.json": {
      "get": {
        "summary": "Public news coverage and press releases about the team",
        "operationId": "get_press",
        "responses": {
          "200": {
            "description": "JSON document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/api/search": {
      "get": {
        "summary": "Search facts, FAQ answers and page summaries",
        "operationId": "search",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 2,
              "maxLength": 200
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "default": 10
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "fact",
                "faq",
                "page",
                "term",
                "news"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Ranked results",
            "content": {
              "application/json": {}
            }
          },
          "400": {
            "description": "Missing or invalid query"
          }
        }
      }
    },
    "/healthz": {
      "get": {
        "summary": "Health check",
        "operationId": "health",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    }
  }
}
