{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asap-cool/json-schema/asap-cool-folder-view-schema.json",
  "title": "FolderView",
  "description": "Public projection of a folder.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asap-cool-files-api-openapi.yml#/components/schemas/FolderView",
  "type": "object",
  "required": [
    "id",
    "name",
    "path",
    "created_at"
  ],
  "properties": {
    "color": {
      "type": [
        "string",
        "null"
      ],
      "description": "Optional `#rrggbb` accent."
    },
    "created_at": {
      "type": "string",
      "description": "RFC 3339 creation timestamp."
    },
    "icon": {
      "type": [
        "string",
        "null"
      ],
      "description": "Optional icon slug."
    },
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Folder id."
    },
    "name": {
      "type": "string",
      "description": "Display name."
    },
    "parent_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Parent folder, or `null` at the root."
    },
    "path": {
      "type": "string",
      "description": "Materialized path, for breadcrumbs."
    }
  }
}