Please report issues and contribute improvements on GitHub!

Template fragile-goods@0.11.0

Contract ^0.12.0 e37bbbe6ac1170776f7bcea3fb02ecdc3db9336894d2cde17be97e0cbf51295e

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": "e83a9e26-2d5a-4ae2-a2eb-bc8614121133",
    "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": "c6ecbf10-575d-11e9-9ffa-db0629e5d319"
}

Request Types

Type Sample JSON
io.clause.demo.fragileGoods.DeliveryUpdate
{
    "$class": "io.clause.demo.fragileGoods.DeliveryUpdate",
    "startTime": "2019-04-05T00:46:29.248-04:00",
    "finishTime": "2019-04-05T00:46:29.248-04:00",
    "status": "ARRIVED",
    "accelerometerReadings": [
        172.86
    ],
    "transactionId": "c6ec9800-575d-11e9-9ffa-db0629e5d319",
    "timestamp": "2019-04-05T00:46:29.248-04:00"
}

Response Types

Type Sample JSON
io.clause.demo.fragileGoods.PayOut
{
    "$class": "io.clause.demo.fragileGoods.PayOut",
    "amount": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 155.717,
        "currencyCode": "SLL"
    },
    "transactionId": "c6ec9801-575d-11e9-9ffa-db0629e5d319",
    "timestamp": "2019-04-05T00:46:29.248-04:00"
}

Events Types

Type Sample JSON
org.accordproject.cicero.runtime.PaymentObligation
{
    "$class": "org.accordproject.cicero.runtime.PaymentObligation",
    "amount": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 255.029,
        "currencyCode": "AMD"
    },
    "description": "Mollit.",
    "contract": "resource:io.clause.demo.fragileGoods.FragileGoodsClause#7366",
    "promisor": "resource:org.accordproject.cicero.contract.AccordParty#6345",
    "promisee": "resource:org.accordproject.cicero.contract.AccordParty#3663",
    "deadline": "2019-04-05T00:46:29.249-04:00",
    "eventId": "c6ecbf11-575d-11e9-9ffa-db0629e5d319",
    "timestamp": "2019-04-05T00:46:29.249-04:00"
}