diff --git a/src/v1/epoc.ts b/src/v1/epoc.ts index 36cb932d93ed3c22de49f5eca459d167501bd653..e9976662b99f05466d2d3bd1cab07062ffd4525f 100644 --- a/src/v1/epoc.ts +++ b/src/v1/epoc.ts @@ -18,6 +18,11 @@ export interface EpocMetadata { assessmentsCount: number; download: string; edition: string; + license: { + name: string; + url: string; + content: string; + } } export interface Epoc extends EpocMetadata { diff --git a/src/v2/epoc.ts b/src/v2/epoc.ts index f2f23b6af3b3fff950f350dfa20b6477716ee308..e5e7505c4cc6555bf2095f9645c3ac06d9cc3fb5 100644 --- a/src/v2/epoc.ts +++ b/src/v2/epoc.ts @@ -82,6 +82,26 @@ export interface EpocMetadata { */ translations?: Map<langcode, uid>; + /** + * Specifies the ePoc license + */ + license: { + /** + * Specifies the license name + */ + name: string; + + /** + * Specifies the url where you can find the license + */ + url: string; + + /** + * Specifies the text content of the license + */ + content: string; + } + } /**