/*! * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project. */ import type { KnownProfile } from '../enums/index.js' import type { Named } from '../Named.js' import type { ResourceSchema } from './ResourceSchema.js' /** * Defines a Data Package, which is a collection of data resources such as files and schemas. * Loosely based on the Frictionless spec, but modified where needed to meet our needs. * https://specs.frictionlessdata.io/data-package/ */ export interface DataPackageSchema extends Named { $schema: string profile: KnownProfile.DataPackage /** * List of Resources that make up the data package. * May also be a list of raw strings which are paths to Resource files in the bundle. */ resources: (string | ResourceSchema)[] }