{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkbreakers-com/json-schema/linkbreakers-com-get-directory-response-schema.json",
  "title": "Response containing the directory details",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linkbreakers-com-directories-api-openapi.yml#/components/schemas/GetDirectoryResponse",
  "properties": {
    "directory": {
      "$ref": "#/$defs/Directory"
    }
  },
  "type": "object",
  "$defs": {
    "Directory": {
      "description": "An organizational bucket that groups links and other directories into a hierarchical folder structure\nwithin a workspace.",
      "properties": {
        "createdAt": {
          "format": "date-time",
          "readOnly": true,
          "title": "When the directory was created",
          "type": "string"
        },
        "id": {
          "title": "The unique identifier of the directory (UUID)",
          "type": "string"
        },
        "name": {
          "title": "The name of the directory",
          "type": "string"
        },
        "parentDirectoryId": {
          "description": "The ID of the parent directory (UUID)\nIf not set, the directory is at the root level.",
          "type": "string"
        },
        "path": {
          "description": "Full hierarchical path separated by slashes, computed server-side",
          "readOnly": true,
          "type": "string"
        },
        "updatedAt": {
          "format": "date-time",
          "readOnly": true,
          "title": "When the directory was last updated",
          "type": "string"
        },
        "workspaceId": {
          "title": "The workspace ID the directory belongs to (UUID)",
          "type": "string"
        }
      },
      "title": "Directory",
      "type": "object"
    }
  }
}