Eat Apples!
This is a clause enforcing healthy eating habits in employees.
This is a clause enforcing healthy eating habits in employees.
This is a clause enforcing healthy eating habits in employees.
Eating healthy clause between "Dan" (the Employee) and "ACME" (the Company). The canteen only sells apple products. Apples, apple juice, apple flapjacks, toffee apples. Employee gets fired if caught eating anything without apples in it. THE EMPLOYEE, IF ALLERGIC TO APPLES, SHALL ALWAYS BE HUNGRY. Apple products at the canteen are subject to a 4.5% tax.
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.
{
"$class": "org.accordproject.canteen.CanteenClause",
"clauseId": "c98de082-d1ae-461c-bb7a-d6baf79469be",
"employee": "Dan",
"company": "ACME",
"tax": 4.5
}
Type | Sample JSON |
---|---|
org.accordproject.cicero.contract.AccordContractState |
|
Type | Sample JSON |
---|---|
org.accordproject.canteen.Food |
|
Type | Sample JSON |
---|---|
org.accordproject.canteen.Outcome |
|
Type | Sample JSON |
---|---|
org.hyperledger.composer.system.Event |
|