HubSpot · JSON Structure

Hubspot Source Code Asset File Metadata Structure

Metadata for a file or folder in the CMS Developer File System

Type: object Properties: 8 Required: 5
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

AssetFileMetadata is a JSON Structure definition published by HubSpot, describing 8 properties, of which 5 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

id name folder children hash createdAt updatedAt archivedAt

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Metadata for a file or folder in the CMS Developer File System",
  "name": "AssetFileMetadata",
  "properties": {
    "id": {
      "type": "string",
      "description": "The full path of the file in the CMS Developer File System"
    },
    "name": {
      "type": "string",
      "description": "The name of the file or folder"
    },
    "folder": {
      "type": "boolean",
      "description": "Whether this path represents a folder (true) or file (false)"
    },
    "children": {
      "type": "array",
      "description": "List of child files and folders (only present for folders)",
      "items": {
        "type": "string"
      }
    },
    "hash": {
      "type": "string",
      "description": "Content hash for change detection"
    },
    "createdAt": {
      "type": "integer",
      "description": "Unix timestamp when the file was created"
    },
    "updatedAt": {
      "type": "integer",
      "description": "Unix timestamp when the file was last updated"
    },
    "archivedAt": {
      "type": "integer",
      "description": "Unix timestamp when the file was archived (if applicable)"
    }
  },
  "required": [
    "id",
    "name",
    "folder",
    "createdAt",
    "updatedAt"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}