{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/folio/json-schema/folio-classification-number-browse-result-schema.json",
  "title": "classificationNumberBrowseResult",
  "description": "Classification number browse search response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/folio-browse-api-openapi.yml#/components/schemas/classificationNumberBrowseResult",
  "properties": {
    "totalRecords": {
      "description": "Amount of items to display",
      "type": "integer"
    },
    "prev": {
      "description": "Previous value for browsing backward",
      "type": "string"
    },
    "next": {
      "description": "Next value for browsing forward",
      "type": "string"
    },
    "items": {
      "description": "List of classification number browse items",
      "items": {
        "$ref": "#/$defs/classificationNumberBrowseItem"
      },
      "type": "array",
      "x-field-extra-annotation": "@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)"
    }
  },
  "type": "object",
  "$defs": {
    "classificationNumberBrowseItem": {
      "description": "Classification number browse search result item",
      "properties": {
        "id": {
          "description": "Classification number ID",
          "type": "string"
        },
        "classificationNumber": {
          "description": "Classification number value to display",
          "type": "string"
        },
        "classificationTypeId": {
          "description": "Classification type ID value",
          "type": "string"
        },
        "isAnchor": {
          "description": "Marks if current value is anchor or not",
          "type": "boolean"
        },
        "instanceTitle": {
          "description": "Instance title",
          "type": "string"
        },
        "instanceContributors": {
          "description": "List of contributor names.",
          "items": {
            "description": "Contributor name",
            "type": "string"
          },
          "type": "array"
        },
        "totalRecords": {
          "description": "Amount of records for the classification number value",
          "type": "integer"
        }
      },
      "required": [
        "classificationNumber",
        "id",
        "totalRecords"
      ],
      "type": "object"
    }
  }
}