{
  "$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-response-schema.json",
  "title": "StorageNodeDtoResponse",
  "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/StorageNodeDtoResponse",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/StorageNodeDto"
    },
    "isSuccess": {
      "type": "boolean",
      "readOnly": true
    },
    "statusCode": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "traceId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "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
    }
  }
}