Fork me on GitHub

Template copyright-license@0.1.0

This clause is a copyright license agreement.

Download Archive

Copyright License

This is a smart legal clause that conforms to the Accord Protocol Template Specification, the protocol is managed by the open-source community of the Accord Project. The clause can be parsed and executed by the Cicero engine.


This is a copyright license agreement.

This clause contains:

Running this clause

On your own machine

  1. Download the Cicero template library

  2. Unzip the library with your favourite tool

  3. Then from the command-line, change the current directory to the folder containing this file.

cd copyright-license
  1. With the Cicero command-line tool:
cicero execute --template ./ --sample ./sample.txt --request ./request.json --state ./state.json

Note, all of the command-line flags (like --template) are optional.

Alternatively you can use the simpler command below if you want to use all of the default files.

cicero execute

You should see the following output in your terminal:

mattmbp:copyright-license matt$ cicero execute
18:23:14 - info: Logging initialized. 2018-05-15T22:23:14.567Z
18:23:15 - info: Using current directory as template folder
18:23:15 - info: Loading a default sample.txt file.
18:23:15 - info: Loading a single default request.json file.
18:23:15 - info: Loading a default state.json file.
18:23:15 - info: {"clause":"copyright-license@0.0.3-ed96691079abc8d7017e5070ab9e3e901d04fc911ee6617fe181cefacf663010","request":{"$class":"org.accordproject.copyrightlicense.PaymentRequest"},"response":{"$class":"org.accordproject.copyrightlicense.PayOut","amount":100,"transactionId":"b27a6afc-8dd9-4620-bcc8-d063e5ffe5de","timestamp":"2018-05-15T22:23:15.353Z"},"state":{"$class":"org.accordproject.common.ContractState","stateId":"org.accordproject.common.ContractState#1"},"emit":[]}

Sample Payload Data

Request, as in request.json


For the request above, you should see the following response:

  "$class": "org.accordproject.copyrightlicense.PayOut",
  "amount": 100,
  "transactionId": "478eff7c-6861-4af8-ad66-68ed532035a6",
  "timestamp": "2018-05-04T04:42:30.698Z"

Testing this clause

This clause comes with an automated test that ensures that it executes correctly under different conditions. To test the clause, complete the following steps.

You need npm and node to test a clause. You can download both from here.

This clause was tested with Node v8.9.3 and NPM v5.6.0

From the copyright-license directory.

  1. Install all of the dependencies.
npm install
  1. Run the tests
npm test

If successful, you should see the following output

mattmbp:copyright-license matt$ npm test

> copyright-license@0.0.3 test /Users/matt/dev/accordproject/cicero-template-library/copyright-license
> mocha

21:57:31 - info: Logging initialized. 2018-02-17T21:57:31.074Z

      ✓ licensee fee should be payed to the amount of

  1 passing (362ms)


Copyright License Agreement

This COPYRIGHT LICENSE AGREEMENT (the "Agreement"), dated as of 01/01/2018 (the "Effective Date"), is made by and between "Me" ("Licensee"), a "NY" "Company" with offices located at "1 Broadway", and "Myself" ("Licensor"), a "NY" "Company" with offices located at "2 Broadway".

WHEREAS, Licensor solely and exclusively owns or controls the Work (as defined below) and wishes to grant to Licensee a license to the Work, and Licensee wishes to obtain a license to the Work for the uses and purposes described herein, each subject to the terms and conditions set forth herein.

NOW, THEREFORE, in consideration of the mutual covenants, terms, and conditions set forth herein, and for other good and valuable consideration, the receipt and sufficiency of which are hereby acknowledged, the parties agree as follows:

1. License.

1.1. Grant of Rights. Subject to the terms and conditions of this Agreement, Licensor hereby grants to Licensee and its affiliates during the Term (as defined below) an exclusive, transferable right and license in the "United States" (the "Territory"), to reproduce, publicly perform, display, transmit, and distribute the Work, including translate, alter, modify, and create derivative works of the Work, through all media now known or hereinafter developed for purposes of "stuff". The "Work" is defined as "other stuff".

1.2. Permissions. Licensor has obtained from all persons and entities who are, or whose trademark or other property is, identified, depicted, or otherwise referred to in the Work, such written and signed licenses, permissions, waivers, and consents (collectively, "Permissions" and each, individually, a "Permission"), including those relating to publicity, privacy, and any intellectual property rights, as are or reasonably may be expected to be necessary for Licensee to exercise its rights in the Work as permitted under this Agreement, without incurring any payment or other obligation to, or otherwise violating any right of, any such person or entity.

2. Copyright Notices. Licensee shall ensure that its use of the Work is marked with the appropriate copyright notices specified by Licensor in a reasonably prominent position in the order and manner provided by Licensor. Licensee shall abide by the copyright laws and what are considered to be sound practices for copyright notice provisions in the Territory. Licensee shall not use any copyright notices that conflict with, confuse, or negate the notices Licensor provides and requires hereunder.

3. Payment. As consideration in full for the rights granted herein, Licensee shall pay Licensor a one-time fee in the amount of "one hundred US Dollars" (100.0 USD) upon execution of this Agreement, payable as follows: "bank transfer".  

4. General.

4.1. Interpretation. For purposes of this Agreement, (a) the words "include," "includes," and "including" are deemed to be followed by the words "without limitation"; (b) the word "or" is not exclusive; and (c) the words "herein," "hereof," "hereby," "hereto," and "hereunder" refer to this Agreement as a whole. This Agreement is intended to be construed without regard to any presumption or rule requiring construction or interpretation against the party drafting an instrument or causing any instrument to be drafted.

4.2. Entire Agreement. This Agreement, including and together with any related attachments, constitutes the sole and entire agreement of the parties with respect to the subject matter contained herein, and supersedes all prior and contemporaneous understandings, agreements, representations, and warranties, both written and oral, with respect to such subject matter. 

4.3. Severability. If any term or provision of this Agreement is invalid, illegal, or unenforceable in any jurisdiction, such invalidity, illegality, or unenforceability will not affect the enforceability of any other term or provision of this Agreement, or invalidate or render unenforceable such term or provision in any other jurisdiction. [Upon a determination that any term or provision is invalid, illegal, or unenforceable, [the parties shall negotiate in good faith to/the court may] modify this Agreement to effect the original intent of the parties as closely as possible in order that the transactions contemplated hereby be consummated as originally contemplated to the greatest extent possible.]

4.4. Assignment. Licensee may freely assign or otherwise transfer all or any of its rights, or delegate or otherwise transfer all or any of its obligations or performance, under this Agreement without Licensor's consent. This Agreement is binding upon and inures to the benefit of the parties hereto and their respective permitted successors and assigns.


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.


    "$class": "org.accordproject.copyrightlicense.CopyrightLicenseContract",
    "effectiveDate": "2018-06-08T13:47:12.158Z",
    "licenseeName": "Do.",
    "licenseeState": "Ex amet Lorem culpa.",
    "licenseeEntityType": "Ad et consequat occaecat.",
    "licenseeAddress": "Mollit adipisicing officia.",
    "licensorName": "Veniam.",
    "licensorState": "Ex.",
    "licensorEntityType": "Amet ex irure et.",
    "licensorAddress": "Elit excepteur reprehenderit sint.",
    "territory": "Consequat incididunt adipisicing enim.",
    "purposeDescription": "Laborum minim dolor.",
    "workDescription": "Occaecat magna duis.",
    "paymentClause": {
        "$class": "org.accordproject.copyrightlicense.PaymentClause",
        "amountText": "Nisi non in.",
        "amount": {
            "$class": "",
            "doubleValue": 231.465,
            "currencyCode": "TTD"
        "paymentProcedure": "Ipsum aliquip deserunt elit nulla.",
        "clauseId": "1051"
    "contractId": "72110be0-6b22-11e8-a97b-35bbbc900fb8",
    "parties": [
            "$class": "org.accordproject.organization.Organization",
            "identifier": "5098",
            "name": "Ea excepteur.",
            "description": "Excepteur.",
            "duns": "Amet aliqua eu sit excepteur.",
            "place": {
                "$class": "org.accordproject.geo.Place",
                "address": {
                    "$class": "org.accordproject.address.PostalAddress",
                    "streetAddress": "Labore.",
                    "postalCode": "Magna Lorem non elit consequat.",
                    "postOfficeBoxNumber": "Et.",
                    "addressRegion": "Do excepteur.",
                    "addressLocality": "Officia ex cupidatat.",
                    "addressCountry": "Aliqua consectetur consectetur."
                "branchCode": "Reprehenderit mollit.",
                "faxNumber": "Aute nostrud laborum.",
                "geo": {
                    "$class": "org.accordproject.geo.GeoCoordinates",
                    "address": {
                        "$class": "org.accordproject.address.PostalAddress",
                        "streetAddress": "Nisi laboris labore do.",
                        "postalCode": "Mollit sunt occaecat quis.",
                        "postOfficeBoxNumber": "Sunt nostrud proident.",
                        "addressRegion": "Ipsum exercitation ipsum.",
                        "addressLocality": "Consequat laborum dolore nostrud veniam.",
                        "addressCountry": "Minim."
                    "addressCountry": "Do consectetur est consequat.",
                    "elevation": 112.646,
                    "latitude": 122.445,
                    "longitude": 25.108
                "globalLocationNumber": "Laboris id commodo sunt.",
                "mapUrl": "Exercitation nisi proident ullamco.",
                "isicsV4": "Occaecat in.",
                "telephone": "Cillum commodo proident tempor."


    "state": "tbd"

Request Types

Type Sample JSON
    "$class": "org.accordproject.copyrightlicense.PaymentRequest",
    "transactionId": "7211cf30-6b22-11e8-a97b-35bbbc900fb8",
    "timestamp": "2018-06-08T13:47:12.163Z"

Response Types

Type Sample JSON
    "$class": "org.accordproject.copyrightlicense.PayOut",
    "amount": {
        "$class": "",
        "doubleValue": 189.07,
        "currencyCode": "CHW"
    "transactionId": "7211cf31-6b22-11e8-a97b-35bbbc900fb8",
    "timestamp": "2018-06-08T13:47:12.163Z"

Events Types

Type Sample JSON