{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/canva/json-schema/canva-list-folder-items-response-schema.json",
  "title": "ListFolderItemsResponse",
  "description": "A list of the items in a folder.\nIf the success response contains a continuation token, the folder contains more items\nyou can list. You can use this token as a query parameter and retrieve more\nitems from the list, for example\n`/v1/folders/{folderId}/items?continuation={continuation}`.\n\nTo retrieve all the items in a folder, you might need to make multiple requests.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canva-folder-api-openapi.yml#/components/schemas/ListFolderItemsResponse",
  "properties": {
    "items": {
      "description": "An array of items in the folder.",
      "items": {
        "$ref": "#/$defs/FolderItemSummary"
      },
      "type": "array"
    },
    "continuation": {
      "description": "If the success response contains a continuation token, the folder contains more items\nyou can list. You can use this token as a query parameter and retrieve more\nitems from the list, for example\n`/v1/folders/{folderId}/items?continuation={continuation}`.\n\nTo retrieve all the items in a folder, you might need to make multiple requests.",
      "type": "string"
    }
  },
  "required": [
    "items"
  ],
  "type": "object",
  "$defs": {
    "AssetSummary": {
      "description": "An object representing an asset with associated metadata.",
      "properties": {
        "type": {
          "$ref": "#/$defs/AssetType"
        },
        "id": {
          "description": "The ID of the asset.",
          "type": "string"
        },
        "name": {
          "description": "The name of the asset.",
          "type": "string"
        },
        "tags": {
          "description": "The user-facing tags attached to the asset.\nUsers can add these tags to their uploaded assets, and they can search their uploaded\nassets in the Canva UI by searching for these tags. For information on how users use\ntags, see the\n[Canva Help Center page on asset tags](https://www.canva.com/help/add-edit-tags/).",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "created_at": {
          "description": "When the asset was added to Canva, as a Unix timestamp (in seconds since the Unix\nEpoch).",
          "format": "int64",
          "type": "integer"
        },
        "updated_at": {
          "description": "When the asset was last updated in Canva, as a Unix timestamp (in seconds since the\nUnix Epoch).",
          "format": "int64",
          "type": "integer"
        },
        "thumbnail": {
          "$ref": "#/$defs/Thumbnail"
        }
      },
      "required": [
        "created_at",
        "id",
        "name",
        "tags",
        "type",
        "updated_at"
      ],
      "type": "object"
    },
    "AssetType": {
      "description": "Type of an asset.",
      "enum": [
        "image",
        "video"
      ],
      "type": "string"
    },
    "BrandTemplateItem": {
      "description": "Details about the brand template.",
      "properties": {
        "type": {
          "enum": [
            "brand_template"
          ],
          "type": "string"
        },
        "brand_template": {
          "$ref": "#/$defs/BrandTemplateSummary"
        }
      },
      "required": [
        "brand_template",
        "type"
      ],
      "type": "object"
    },
    "BrandTemplateSummary": {
      "description": "An object representing a brand template with associated metadata.",
      "properties": {
        "id": {
          "description": "The brand template ID.",
          "pattern": "^[a-zA-Z0-9_-]{1,50}$",
          "type": "string"
        },
        "title": {
          "description": "The brand template title, as shown in the Canva UI.",
          "type": "string"
        },
        "view_url": {
          "description": "A URL Canva users can visit to view the brand template.",
          "type": "string"
        },
        "create_url": {
          "description": "A URL Canva users can visit to create a new design from the template.",
          "type": "string"
        },
        "thumbnail": {
          "$ref": "#/$defs/Thumbnail"
        },
        "created_at": {
          "description": "When the brand template was created, as a Unix timestamp\n(in seconds since the Unix Epoch).",
          "format": "int64",
          "type": "integer"
        },
        "updated_at": {
          "description": "When the brand template was last updated, as a Unix timestamp\n(in seconds since the Unix Epoch).",
          "format": "int64",
          "type": "integer"
        }
      },
      "required": [
        "create_url",
        "created_at",
        "id",
        "title",
        "updated_at",
        "view_url"
      ],
      "type": "object"
    },
    "DesignItem": {
      "description": "Details about the design.",
      "properties": {
        "type": {
          "enum": [
            "design"
          ],
          "type": "string"
        },
        "design": {
          "$ref": "#/$defs/DesignSummary"
        }
      },
      "required": [
        "design",
        "type"
      ],
      "type": "object"
    },
    "DesignLinks": {
      "description": "A temporary set of URLs for viewing or editing the design.",
      "properties": {
        "edit_url": {
          "description": "A temporary editing URL for the design. This URL is only accessible to the user that made the API request, and is designed to support [return navigation](https://www.canva.dev/docs/apps/rest-apis/return-navigation-guide/) workflows.\n\nNOTE: This is not a permanent URL, it is only valid for 30 days.",
          "type": "string"
        },
        "view_url": {
          "description": "A temporary viewing URL for the design. This URL is only accessible to the user that made the API request, and is designed to support [return navigation](https://www.canva.dev/docs/apps/rest-apis/return-navigation-guide/) workflows.\n\nNOTE: This is not a permanent URL, it is only valid for 30 days.\n",
          "type": "string"
        }
      },
      "required": [
        "edit_url",
        "view_url"
      ],
      "type": "object"
    },
    "DesignSummary": {
      "description": "Basic details about the design, such as the design's ID, title, and URL.",
      "properties": {
        "id": {
          "description": "The design ID.",
          "type": "string"
        },
        "title": {
          "description": "The design title.",
          "type": "string"
        },
        "url": {
          "description": "URL of the design.",
          "type": "string"
        },
        "thumbnail": {
          "$ref": "#/$defs/Thumbnail"
        },
        "urls": {
          "$ref": "#/$defs/DesignLinks"
        },
        "created_at": {
          "description": "When the design was created in Canva, as a Unix timestamp (in seconds since the Unix\nEpoch).",
          "format": "int64",
          "type": "integer"
        },
        "updated_at": {
          "description": "When the design was last updated in Canva, as a Unix timestamp (in seconds since the\nUnix Epoch).",
          "format": "int64",
          "type": "integer"
        },
        "page_count": {
          "description": "The total number of pages in the design. Some design types don't have pages (for example, Canva docs).",
          "format": "int32",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "created_at",
        "id",
        "updated_at",
        "urls"
      ],
      "type": "object"
    },
    "Folder": {
      "description": "The folder object, which contains metadata about the folder.",
      "properties": {
        "id": {
          "description": "The folder ID.",
          "type": "string"
        },
        "name": {
          "description": "The folder name.",
          "type": "string"
        },
        "created_at": {
          "description": "When the folder was created, as a Unix timestamp (in seconds since the\nUnix Epoch).",
          "format": "int64",
          "type": "integer"
        },
        "updated_at": {
          "description": "When the folder was last updated, as a Unix timestamp (in seconds since the\nUnix Epoch).",
          "format": "int64",
          "type": "integer"
        },
        "thumbnail": {
          "$ref": "#/$defs/Thumbnail"
        }
      },
      "required": [
        "created_at",
        "id",
        "name",
        "updated_at"
      ],
      "type": "object"
    },
    "FolderItem": {
      "description": "Details about the folder.",
      "properties": {
        "type": {
          "enum": [
            "folder"
          ],
          "type": "string"
        },
        "folder": {
          "$ref": "#/$defs/Folder"
        }
      },
      "required": [
        "folder",
        "type"
      ],
      "type": "object"
    },
    "FolderItemSummary": {
      "description": "Details about the folder item.",
      "oneOf": [
        {
          "$ref": "#/$defs/FolderItem"
        },
        {
          "$ref": "#/$defs/DesignItem"
        },
        {
          "$ref": "#/$defs/ImageItem"
        },
        {
          "$ref": "#/$defs/BrandTemplateItem"
        }
      ],
      "type": "object"
    },
    "ImageItem": {
      "description": "Details about the image asset.",
      "properties": {
        "type": {
          "enum": [
            "image"
          ],
          "type": "string"
        },
        "image": {
          "$ref": "#/$defs/AssetSummary"
        }
      },
      "required": [
        "image",
        "type"
      ],
      "type": "object"
    },
    "Thumbnail": {
      "description": "A thumbnail image representing the object.",
      "properties": {
        "width": {
          "description": "The width of the thumbnail image in pixels.",
          "format": "int32",
          "type": "integer"
        },
        "height": {
          "description": "The height of the thumbnail image in pixels.",
          "format": "int32",
          "type": "integer"
        },
        "url": {
          "description": "A URL for retrieving the thumbnail image.\nThis URL expires after 15 minutes. This URL includes a query string\nthat's required for retrieving the thumbnail.",
          "type": "string"
        }
      },
      "required": [
        "height",
        "url",
        "width"
      ],
      "type": "object"
    }
  }
}