openaire-library/utils/entities/contentProvider.ts

23 lines
377 B
TypeScript

export class ContentProvider {
id: string;
openaireId: string;
communityId: string;
name: string;
officialname: string;
selectioncriteria: string;
}
export class SelectionCriteria {
criteria: Criteria[] = [];
}
export class Criteria {
sc: Constraint[] = [];
}
export class Constraint {
verb: string = 'contains';
field: string = null;
value: string;
}