{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/subscriptionModel", "title": "subscriptionModel", "description": "Details about the configurations applied for the specific insight.", "properties": { "entityId": { "type": "string", "description": "Unique ID which references a specific entityType for which the insight is generated. Endpoints - " }, "entityType": { "type": "string", "description": "The entityType identifies which applicableEntity of the insight the configuration will impact." }, "frequency": { "type": "string", "description": "Identifies how often the insight will be evaluated.

Note - Evaluation does not mean an insight will be generated. If the conditions for generating an insight are not met, the insight will not get generated even after it being evaluated.

Depending on the insight, it might be editable for customers and users.", "example": "DAILY", "enum": [ "DAILY", "WEEKLY", "MONTHLY", "MID_MONTHLY" ] }, "duration": { "type": "string", "description": "Identifies the duration for which the data will be considered to generate and insight.

Note Endpoints -", "example": "THIS_MONTH", "enum": [ "THIS_MONTH", "LAST_MONTH", "THREE_MONTHS", "SIX_MONTHS", "ONE_YEAR", "LAST_THREE_MONTHS", "LAST_SIX_MONTHS", "LAST_TWELVE_MONTHS" ] }, "threshold": { "type": "array", "items": { "$ref": "#/components/schemas/Threshold" } } }, "required": [ "entityId", "entityType" ] }