{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bloomberg-aim/json-schema/bloomberg-aim-reference-data-response-schema.json",
  "title": "ReferenceDataResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bloomberg-aim-reference-data-api-openapi.yml#/components/schemas/ReferenceDataResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "securityData": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "security": {
                  "type": "string"
                },
                "fieldData": {
                  "type": "object",
                  "additionalProperties": true
                },
                "fieldExceptions": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/FieldException"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "$defs": {
    "FieldException": {
      "type": "object",
      "properties": {
        "fieldId": {
          "type": "string"
        },
        "errorInfo": {
          "type": "object",
          "properties": {
            "source": {
              "type": "string"
            },
            "code": {
              "type": "integer"
            },
            "category": {
              "type": "string"
            },
            "message": {
              "type": "string"
            },
            "subcategory": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}