datahub/examples/openspending/lib/project.interface.ts

23 lines
573 B
TypeScript

import {
FiscalDataPackage,
TabularDataResource,
} from './datapackage.interface';
export interface Project {
owner: { name: string; logo?: string; title?: string }; // Info about the owner of the data repo
repo: { name: string; full_name: string; url: string }; // Info about the the data repo
files: TabularDataResource[];
name: string;
title?: string;
description?: string;
author?: string;
cityCode?: string;
countryCode?: string;
fiscalPeriod?: {
start: string;
end: string;
};
readme?: string;
datapackage: FiscalDataPackage;
}