{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codeqr-io/json-schema/codeqr-io-folder-schema-schema.json",
  "title": "FolderSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codeqr-io-folders-api-openapi.yml#/components/schemas/FolderSchema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique ID of the folder."
    },
    "name": {
      "type": "string",
      "description": "The name of the folder."
    },
    "type": {
      "type": "string",
      "enum": [
        "default",
        "templates"
      ]
    },
    "accessLevel": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "write",
        "read",
        null
      ],
      "default": null,
      "description": "The access level of the folder within the workspace."
    },
    "createdAt": {
      "type": "string",
      "description": "The date the folder was created."
    },
    "updatedAt": {
      "type": "string",
      "description": "The date the folder was updated."
    }
  },
  "required": [
    "id",
    "name",
    "type",
    "accessLevel",
    "createdAt",
    "updatedAt"
  ]
}