2019-10-04 10:45:51 +02:00
|
|
|
export class ContentProvider {
|
|
|
|
id: string;
|
|
|
|
openaireId: string;
|
|
|
|
communityId: string;
|
|
|
|
name: string;
|
|
|
|
officialname: string;
|
2019-11-05 16:18:08 +01:00
|
|
|
selectioncriteria: SelectionCriteria;
|
2019-10-04 10:45:51 +02:00
|
|
|
}
|
|
|
|
|
2019-10-13 22:08:47 +02:00
|
|
|
export class SelectionCriteria {
|
2019-10-04 10:45:51 +02:00
|
|
|
criteria: Criteria[] = [];
|
|
|
|
}
|
|
|
|
|
|
|
|
export class Criteria {
|
2019-11-05 16:18:08 +01:00
|
|
|
constraint: Constraint[] = [];
|
2019-10-04 10:45:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export class Constraint {
|
|
|
|
verb: string = 'contains';
|
|
|
|
field: string = null;
|
|
|
|
value: string;
|
|
|
|
}
|