{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/source-code-api-asset-file-metadata-schema.json", "title": "AssetFileMetadata", "description": "Metadata for a file or folder in the CMS Developer File System", "type": "object", "properties": { "id": { "type": "string", "description": "The full path of the file in the CMS Developer File System", "example": "templates/blog/post.html" }, "name": { "type": "string", "description": "The name of the file or folder", "example": "post.html" }, "folder": { "type": "boolean", "description": "Whether this path represents a folder (true) or file (false)", "example": false }, "children": { "type": "array", "description": "List of child files and folders (only present for folders)", "items": { "type": "string" }, "example": [ "header.html", "footer.html", "sidebar.html" ] }, "hash": { "type": "string", "description": "Content hash for change detection", "example": "a1b2c3d4e5f6" }, "createdAt": { "type": "integer", "format": "int64", "description": "Unix timestamp when the file was created", "example": 1705312200000 }, "updatedAt": { "type": "integer", "format": "int64", "description": "Unix timestamp when the file was last updated", "example": 1705398600000 }, "archivedAt": { "type": "integer", "format": "int64", "description": "Unix timestamp when the file was archived (if applicable)", "example": 0 } }, "required": [ "id", "name", "folder", "createdAt", "updatedAt" ] }