import Foundation struct PageFile { let isDraft: Bool let externalLink: String? let tags: [String] let createdDate: Date let startDate: Date let endDate: Date? let german: LocalizedPageFile let english: LocalizedPageFile } extension PageFile: Codable { } /** The structure to store the metadata of a localized page */ struct LocalizedPageFile { let url: String /** The files (images, videos, other files) used in the page. */ let files: [String] /** The additional files required for the page to function correctly, but which are not stored with the content. */ let externalFiles: [String] /** Specifies additional files which should be copied to the destination when generating the content. - Note: This property defaults to an empty set. */ let requiredFiles: [String] let title: String let linkPreviewImage: String? let linkPreviewTitle: String? let linkPreviewDescription: String? let lastModifiedDate: Date? let originalURL: String? } extension LocalizedPageFile: Codable { }