Fork me on GitHub

Template fragile-goods@0.7.0

Contract Ergo ^0.8.0 8df4b11f213083d80da8ab0bbe810d67980c032af508aa4dde84a4d0bd0d8acd

This clause specifies penalties for shocks caused to a fragile package in transport.

Download Archive

Fragile Goods

This clause specifies penalties for shocks caused to a fragile package in transport.

Sample

6.1.7 Liquidated Damages for Delayed Delivery. 
In the event the EXW delivery date of the Equipment is delayed beyond the delivery schedule as indicated in Annex A, solely through the fault of the Seller, and unless the parties mutually agreed to an extension thereto, the Buyer is entitled to claim liquidated damages in an amount equivalent to 200.00 USD. 
Prior to implementing the provisions of Article 16.4 pursuant to this section, Buyer agrees that it shall discuss with Seller alternate remedies in good faith.. . . . 

7.1 The Equipment to be shipped to the Buyer shall be packed and shipped in accordance with the Specifications and if not specified therein.... 
Additionally the Equipment should have proper devices on it to record any shock during transportation as any instance of acceleration outside the bounds of -0.5g and 0.5g. 
Each shock shall reduce the Contract Price by 5.00 USD. Packing containing fragile materials should be so marked in bold stout letters. . . . .

ANNEX A
Equipment Description, Contract Price and Delivery Schedule

Contract Price is 1000.00 USD per unit of Equipment.
Delivery Schedule: no later than 10 seconds after initiation.

                

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": "io.clause.demo.fragileGoods.FragileGoodsClause",
    "contractId": "eadc7be2-60a1-4a5d-9978-eec435e9af89",
    "deliveryPrice": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 1000,
        "currencyCode": "USD"
    },
    "accelerationMin": -0.5,
    "accelerationMax": 0.5,
    "accelerationBreachPenalty": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 5,
        "currencyCode": "USD"
    },
    "deliveryLimitDuration": {
        "$class": "org.accordproject.time.Duration",
        "amount": 10,
        "unit": "seconds"
    },
    "lateDeliveryPenalty": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 200,
        "currencyCode": "USD"
    }
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "06dd9501-b5f5-11e8-98f1-f70046c609b7"
}

Request Types

Type Sample JSON
io.clause.demo.fragileGoods.DeliveryUpdate
{
    "$class": "io.clause.demo.fragileGoods.DeliveryUpdate",
    "startTime": "2018-09-11T19:01:02.159Z",
    "finishTime": "2018-09-11T19:01:02.159Z",
    "status": "IN_TRANSIT",
    "accelerometerReadings": [
        105.845
    ],
    "transactionId": "06dd6df0-b5f5-11e8-98f1-f70046c609b7",
    "timestamp": "2018-09-11T19:01:02.159Z"
}

Response Types

Type Sample JSON
io.clause.demo.fragileGoods.PayOut
{
    "$class": "io.clause.demo.fragileGoods.PayOut",
    "amount": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 67.895,
        "currencyCode": "CUP"
    },
    "transactionId": "06dd9500-b5f5-11e8-98f1-f70046c609b7",
    "timestamp": "2018-09-11T19:01:02.160Z"
}

Events Types

Type Sample JSON
org.accordproject.cicero.runtime.PaymentObligation
{
    "$class": "org.accordproject.cicero.runtime.PaymentObligation",
    "amount": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 94.002,
        "currencyCode": "HTG"
    },
    "description": "Incididunt.",
    "contract": "resource:io.clause.demo.fragileGoods.FragileGoodsClause#0482",
    "promisor": "resource:org.accordproject.cicero.contract.AccordParty#8388",
    "promisee": "resource:org.accordproject.cicero.contract.AccordParty#7409",
    "deadline": "2018-09-11T19:01:02.160Z",
    "eventId": "06dd9502-b5f5-11e8-98f1-f70046c609b7",
    "timestamp": "2018-09-11T19:01:02.160Z"
}