Fork me on GitHub

Template fragile-goods@0.8.0

Contract Ergo ^0.9.1 14ef6bf72aeab745a4fcbd1e51b75a49d475631afc9269ee25f2b6716e331ba7

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

Download Archive Open in Template Studio

Fragile Goods

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

Sample

Liquidated Damages for Delayed Delivery.

In the event the EXW delivery date of the Equipment is delayed beyond the delivery schedule as indicated below, solely through the fault of "Dan" (the Seller), and unless the parties mutually agreed to an extension thereto, "Steve" (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.. . . . 

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. . . . .

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": "ec9e10e2-58f3-4f6a-a7be-6593b9f781a2",
    "buyer": {
        "$class": "org.accordproject.cicero.contract.AccordParty",
        "partyId": "Steve"
    },
    "seller": {
        "$class": "org.accordproject.cicero.contract.AccordParty",
        "partyId": "Dan"
    },
    "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": "79498e60-e9bb-11e8-acc3-efb7a931ee24"
}

Request Types

Type Sample JSON
io.clause.demo.fragileGoods.DeliveryUpdate
{
    "$class": "io.clause.demo.fragileGoods.DeliveryUpdate",
    "startTime": "2018-11-16T16:20:03.780Z",
    "finishTime": "2018-11-16T16:20:03.780Z",
    "status": "CREATED",
    "accelerometerReadings": [
        170.118
    ],
    "transactionId": "79494040-e9bb-11e8-acc3-efb7a931ee24",
    "timestamp": "2018-11-16T16:20:03.780Z"
}

Response Types

Type Sample JSON
io.clause.demo.fragileGoods.PayOut
{
    "$class": "io.clause.demo.fragileGoods.PayOut",
    "amount": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 192.869,
        "currencyCode": "OMR"
    },
    "transactionId": "79496750-e9bb-11e8-acc3-efb7a931ee24",
    "timestamp": "2018-11-16T16:20:03.781Z"
}

Events Types

Type Sample JSON
org.accordproject.cicero.runtime.PaymentObligation
{
    "$class": "org.accordproject.cicero.runtime.PaymentObligation",
    "amount": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 61.388,
        "currencyCode": "ANG"
    },
    "description": "Esse sit pariatur.",
    "contract": "resource:io.clause.demo.fragileGoods.FragileGoodsClause#6933",
    "promisor": "resource:org.accordproject.cicero.contract.AccordParty#0612",
    "promisee": "resource:org.accordproject.cicero.contract.AccordParty#5830",
    "deadline": "2018-11-16T16:20:03.782Z",
    "eventId": "79498e61-e9bb-11e8-acc3-efb7a931ee24",
    "timestamp": "2018-11-16T16:20:03.782Z"
}