{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mdflow-cz/json-schema/mdflow-cz-team-folder-schema.json",
  "title": "TeamFolder",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mdflow-cz-openapi.json#/components/schemas/TeamFolder",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "workspace_id",
    "parent_id",
    "name",
    "description",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "description": "The Team workspace this folder belongs to. Never changes."
    },
    "parent_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Parent folder, or null for a top-level folder."
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "The primary retrieval signal for the documents inside."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}