{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rwth-aachen-university/json-schema/rwth-aachen-university-storage-node-dto-paged-response-schema.json",
  "title": "StorageNodeDtoPagedResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rwth-aachen-university-graph-api-openapi.yml#/components/schemas/StorageNodeDtoPagedResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/StorageNodeDto"
      }
    },
    "isSuccess": {
      "type": "boolean",
      "readOnly": true
    },
    "statusCode": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "traceId": {
      "type": [
        "string",
        "null"
      ]
    },
    "pagination": {
      "$ref": "#/$defs/Pagination"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Pagination": {
      "type": "object",
      "properties": {
        "currentPage": {
          "type": "integer",
          "description": "Gets or sets the current page number.",
          "format": "int32"
        },
        "totalPages": {
          "type": "integer",
          "description": "Gets or sets the total number of pages.",
          "format": "int32"
        },
        "pageSize": {
          "type": "integer",
          "description": "Gets or sets the number of items per page.",
          "format": "int32"
        },
        "totalCount": {
          "type": "integer",
          "description": "Gets or sets the total count of items across all pages.",
          "format": "int64"
        },
        "hasPrevious": {
          "type": "boolean",
          "description": "Gets a value indicating whether there is a previous page.",
          "readOnly": true
        },
        "hasNext": {
          "type": "boolean",
          "description": "Gets a value indicating whether there is a next page.",
          "readOnly": true
        }
      },
      "additionalProperties": false,
      "description": "Represents pagination information for a collection of items."
    },
    "StorageNodeDto": {
      "type": "object",
      "properties": {
        "subject": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "path": {
          "type": "string"
        },
        "prefix": {
          "type": "string",
          "description": "Gets the prefix of the node."
        },
        "name": {
          "type": "string",
          "description": "Gets the name of the node."
        },
        "hasMetadata": {
          "type": "boolean"
        },
        "hasData": {
          "type": "boolean"
        },
        "hasChildren": {
          "type": "boolean"
        },
        "links": {
          "$ref": "#/$defs/StorageNodeLinks"
        }
      },
      "additionalProperties": false
    },
    "StorageNodeLinks": {
      "type": "object",
      "properties": {
        "metadata": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "data": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "children": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "self": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "links": {
          "type": "object",
          "additionalProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "additionalProperties": false
    }
  }
}