{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bigdata/json-schema/bigdata-bond-by-isin-query-schema.json",
  "title": "BondByIsinQuery",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bigdata-fixed-income-api-openapi.yml#/components/schemas/BondByIsinQuery",
  "properties": {
    "identifier": {
      "$ref": "#/$defs/IsinIdentifier",
      "description": "The bonds to return, named by their ISINs."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "identifier"
  ],
  "$defs": {
    "IsinIdentifier": {
      "properties": {
        "type": {
          "$ref": "#/$defs/IsinIdentifierTypeEnum",
          "description": "The identifier the bonds are named by. Only `isin` is accepted."
        },
        "value": {
          "anyOf": [
            {
              "type": "string",
              "description": "ISIN (International Securities Identification Number) of the bond: two letters, nine letters or digits and a check digit. Case and surrounding spaces are ignored. Example: `US037833EQ92`"
            },
            {
              "items": {
                "type": "string",
                "description": "ISIN (International Securities Identification Number) of the bond: two letters, nine letters or digits and a check digit. Case and surrounding spaces are ignored. Example: `US037833EQ92`"
              },
              "type": "array"
            }
          ],
          "title": "Value",
          "description": "One ISIN, or a list of 1 to 50. An ISIN sent twice is answered once."
        }
      },
      "type": "object",
      "required": [
        "type",
        "value"
      ],
      "title": "IsinIdentifier"
    },
    "IsinIdentifierTypeEnum": {
      "type": "string",
      "enum": [
        "isin"
      ],
      "title": "IsinIdentifierTypeEnum"
    }
  }
}