{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bloomberg-proprietary-technologies/json-schema/bloomberg-proprietary-technologies-search-response-schema.json",
  "title": "SearchResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bloomberg-proprietary-technologies-openfigi-openapi.yml#/components/schemas/SearchResponse",
  "type": "array",
  "items": {
    "$ref": "#/$defs/SearchResponseElement"
  },
  "$defs": {
    "FigiResult": {
      "type": "object",
      "properties": {
        "figi": {
          "type": "string"
        },
        "securityType": {
          "type": [
            "string",
            "null"
          ]
        },
        "marketSector": {
          "type": [
            "string",
            "null"
          ]
        },
        "ticker": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "exchCode": {
          "type": [
            "string",
            "null"
          ]
        },
        "shareClassFIGI": {
          "type": [
            "string",
            "null"
          ]
        },
        "compositeFIGI": {
          "type": [
            "string",
            "null"
          ]
        },
        "securityType2": {
          "type": [
            "string",
            "null"
          ]
        },
        "securityDescription": {
          "type": [
            "string",
            "null"
          ]
        },
        "metadata": {
          "type": [
            "string",
            "null"
          ],
          "description": "Exists when API is unable to show non-FIGI fields."
        }
      }
    },
    "SearchResponseElement": {
      "type": "object",
      "properties": {
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FigiResult"
          }
        },
        "error": {
          "type": [
            "string",
            "null"
          ]
        },
        "next": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}