{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Subscription", "title": "Subscription", "description": "Details about the configurations applied for the specific insight.", "properties": { "insightName": { "type": "string", "description": "Unique name of each Insight in the system. 2 Insight can not have same Insight 'name'. If User wants to update his/her Subscription details, then While calling the PATCH Subscription API this 'name' field is mandatory.

Endpoints -" }, "insightTitle": { "type": "string", "description": "Title of the Insight. This is an editable field by calling PATCH Subscription APIs.

Endpoints -" }, "insightType": { "type": "string", "description": "Identifies whether the insight is generated at an entity-level (per account or per view), or if it considers all entities for the user - e.g. all accounts.

Note - Do not pass the insightType attribute when doing a PATCH rquest.

Endpoints -", "readOnly": true, "enum": [ "OTHER", "AGGREGATE" ] }, "triggerType": { "type": "string", "description": "triggerType of an insight defines how an Insight will be triggered in the system.

Currently following triggerType are supported - Note

If triggerType=SCHEDULE, then the UserSubscription/CobrandSubscription API attribute 'frequency' and 'duration' may be applicable depending on the insight.

Endpoints ", "readOnly": true, "example": "SCHEDULE", "enum": [ "SCHEDULE", "REFRESH", "EVENT" ] }, "containers": { "type": "array", "description": "Identifies the containers considered for generating an insight.

Endpoints ", "readOnly": true, "items": { "type": "string" }, "enum": [ "BANK", "CARD", "LOAN", "INVESTMENT", "REALESTATE" ] }, "description": { "type": "string", "description": "A simple english description of the Insight.

Endpoints -", "readOnly": true }, "applicableEntity": { "type": "array", "description": "Identifies which entity (Account or View) the insight is applicable for.

When applicableEntity is provided in the userSubscription or customerSubscription, it identifies all the entities for which the insight is capable of being generated.

When the attribute is present in the feed API, it identifies the entitiy for which the insight was generated. Endpoints -", "readOnly": true, "example": [ "ACCOUNT", "VIEW" ], "items": { "type": "string" }, "enum": [ "ACCOUNT", "VIEW" ] } } }