Fork me on GitHub

Template demandforecast@0.1.0

A sample demandforecast clause.

Download Archive

Demand Forecast

A sample demand forecast clause.

Sample

On or before the 04/02/2018, and thereafter on or before the last day of each calendar quarter, the Purchaser "PETER" shall send the Supplier "DAN" a Supply Forecast. The Supply Forecast will be a binding commitment on the Purchaser’s behalf to purchase during the first quarter included in each Supply Forecast at least 85% of the quantity of the listed Product.

                

Model Dependencies

Technical Integration

Please refer to the Cicero documentation for details and examples of how to integrate a call to a Cicero template into your application.

View the Latest code for this template on on GitHub.

Sample Instance

{
    "$class": "org.accordproject.demandforecast.DemandForecastClause",
    "purchaser": "Nostrud irure.",
    "supplier": "Cillum sit non.",
    "effectiveDate": "2018-06-12T02:40:20.478Z",
    "minimumPercentage": 11.869,
    "clauseId": "f2e631e0-6de9-11e8-a111-7f3aa50554dd"
}

State

{
    "state": "tbd"
}

Request Types

Type Sample JSON
org.accordproject.demandforecast.ForecastRequest
{
    "$class": "org.accordproject.demandforecast.ForecastRequest",
    "supplyForecast": 52809,
    "transactionId": "f2e658f0-6de9-11e8-a111-7f3aa50554dd",
    "timestamp": "2018-06-12T02:40:20.480Z"
}

Response Types

Type Sample JSON
org.accordproject.demandforecast.BindingResponse
{
    "$class": "org.accordproject.demandforecast.BindingResponse",
    "requiredPurchase": 210.119,
    "year": 54945,
    "quarter": 53456,
    "transactionId": "f2e68000-6de9-11e8-a111-7f3aa50554dd",
    "timestamp": "2018-06-12T02:40:20.480Z"
}

Events Types

Type Sample JSON