-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ef969f
commit 29e6b9b
Showing
10 changed files
with
154 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
export type TDatasetCategory = | ||
| ( | ||
| "news" | ||
| "leak" | ||
| "land" | ||
| "gazette" | ||
| "court" | ||
| "company" | ||
| "sanctions" | ||
| "procurement" | ||
| "finance" | ||
| "grey" | ||
| "library" | ||
| "license" | ||
| "regulatory" | ||
| "poi" | ||
| "customs" | ||
| "census" | ||
| "transport" | ||
| "casefile" | ||
| "other" | ||
) | ||
| null; | ||
|
||
export type TDatasetFrequency = | ||
| ( | ||
| "unknown" | ||
| "never" | ||
| "hourly" | ||
| "daily" | ||
| "weekly" | ||
| "monthly" | ||
| "annually" | ||
) | ||
| null; | ||
|
||
export interface IPublisher { | ||
readonly name: string; | ||
readonly url?: string | null; | ||
readonly description?: string | null; | ||
readonly country?: string | null; | ||
readonly country_label?: string | null; | ||
readonly official?: boolean | null; | ||
readonly logo_url?: string | null; | ||
} | ||
|
||
export interface ICoverage { | ||
readonly start?: string | null; | ||
readonly end?: string | null; | ||
readonly frequency?: TDatasetFrequency; | ||
readonly countries?: string[] | null; | ||
readonly schedule?: string[] | null; | ||
} | ||
|
||
export interface ISchemataStats { | ||
readonly total?: number | null; | ||
readonly countries?: ICountry[] | null; | ||
readonly schemata?: ISchema[] | null; | ||
} | ||
|
||
export interface ICountry { | ||
readonly code: string; | ||
readonly count: number; | ||
readonly label?: string | null; | ||
} | ||
|
||
export interface ISchema { | ||
readonly name: string; | ||
readonly count: number; | ||
readonly label: string | null; | ||
readonly plural: string | null; | ||
} | ||
|
||
export interface IResource { | ||
readonly name: string; | ||
readonly url: string; | ||
readonly title?: string | null; | ||
readonly checksum?: string | null; | ||
readonly timestamp?: string | null; | ||
readonly mime_type?: string | null; | ||
readonly mime_type_label?: string | null; | ||
readonly size?: number | null; | ||
} | ||
|
||
export interface IMaintainer { | ||
readonly name: string; | ||
readonly description?: string | null; | ||
readonly url?: string | null; | ||
readonly logo_url?: string | null; | ||
} | ||
|
||
export interface IDataset { | ||
readonly name: string; | ||
readonly prefix?: string | null; | ||
readonly title?: string | null; | ||
readonly license?: string | null; | ||
readonly summary?: string | null; | ||
readonly description?: string | null; | ||
readonly url?: string | null; | ||
readonly updated_at?: string | null; | ||
readonly version?: string | null; | ||
readonly category?: TDatasetCategory; | ||
readonly publisher?: IPublisher | null; | ||
readonly coverage?: ICoverage | null; | ||
readonly things?: ISchema[] | null; | ||
readonly intervals?: ISchema[] | null; | ||
readonly entity_count?: number | null; | ||
readonly resources?: IResource[] | null; | ||
readonly index_url?: string | null; | ||
readonly catalog?: string | null; | ||
readonly countries?: string[] | null; | ||
readonly info_url?: string | null; | ||
readonly data_url?: string | null; | ||
readonly git_repo?: string | null; | ||
readonly uri?: string | null; | ||
readonly maintainer?: IMaintainer | null; | ||
} | ||
|
||
export interface ICatalog { | ||
readonly name: string; | ||
readonly title?: string | null; | ||
readonly datasets: IDataset[] | null; | ||
readonly description?: string | null; | ||
readonly url?: string | null; | ||
readonly updated_at?: string | null; | ||
readonly publisher?: IPublisher | null; | ||
readonly maintainer?: IMaintainer | null; | ||
readonly git_repo?: string | null; | ||
readonly uri?: string | null; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters