{"_id":"@accordproject/cicero-server","_rev":"741-62dd780fc06eaff83fd4d2a2d120ad29","name":"@accordproject/cicero-server","dist-tags":{"latest":"0.24.0","unstable":"0.24.1-20230627140514"},"versions":{"0.2.46":{"name":"@accordproject/cicero-server","version":"0.2.46","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"echo not implemented"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"publishConfig":{"access":"public"},"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"^3.5.0","chai-as-promised":"^6.0.0","chai-things":"^0.2.0","eslint":"^4.6.1","jsdoc":"^3.5.5","license-check":"^1.1.5","mocha":"^3.4.2","mockery":"^2.0.0","nyc":"^11.3.0","sinon":"^4.0.1"},"dependencies":{"@accordproject/cicero-core":"^0.2.46","@accordproject/cicero-engine":"^0.2.46","express":"^4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["lib/**/*.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.2.46","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-rWhyp4gzqaFWwFojGBAIor7bex5bV2VyUW0paC7FcAeozx9uGruwM2goHNAUYtZX5RGTH3EsNEKfnDaVMiv/3A==","shasum":"7ac47866f97a4f5249177de7331ad9a408ec0298","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.2.46.tgz","fileCount":9,"unpackedSize":22646,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGYSc2sOLgUBK1084g2Qdym9aAL4Z2Vasysyx1HRNKyAIgA5LtkhK5XfBVppkAUfnsE8nqYDSx3YdiQ/cdKyeYXM8="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.2.46_1523370346470_0.9883946010481603"},"_hasShrinkwrap":false},"0.2.48":{"name":"@accordproject/cicero-server","version":"0.2.48","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"echo not implemented"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"publishConfig":{"access":"public"},"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"^3.5.0","chai-as-promised":"^6.0.0","chai-things":"^0.2.0","eslint":"^4.6.1","jsdoc":"^3.5.5","license-check":"^1.1.5","mocha":"^3.4.2","mockery":"^2.0.0","nyc":"^11.3.0","sinon":"^4.0.1"},"dependencies":{"@accordproject/cicero-core":"^0.2.48","@accordproject/cicero-engine":"^0.2.48","express":"^4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["lib/**/*.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.2.48","_npmVersion":"5.8.0","_nodeVersion":"8.9.4","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-g5hYa/97TP71j9L7I2WsYZyWjp9V+DHCoJ12OrBqBwwf5fb3OylPVYkKNzWabB96Cb4izyvsqSoiHtFM1I4u3Q==","shasum":"1bcba2aa008310d2848ea650e828cc7777d1fc24","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.2.48.tgz","fileCount":9,"unpackedSize":23227,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFelW+g5mb6bRwPsxu9BxT1zce/+fC/34zwu7P+fKiq9AiA+b8RnA8Uu1DbHjWukebrQzheD2HvSEGgnlCAvPdrVkg=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.2.48_1523378413211_0.4694857158796162"},"_hasShrinkwrap":false},"0.2.50":{"name":"@accordproject/cicero-server","version":"0.2.50","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"echo not implemented"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"^3.5.0","chai-as-promised":"^6.0.0","chai-things":"^0.2.0","eslint":"^4.6.1","jsdoc":"^3.5.5","license-check":"^1.1.5","mocha":"^3.4.2","mockery":"^2.0.0","nyc":"^11.3.0","sinon":"^4.0.1"},"dependencies":{"@accordproject/cicero-core":"^0.2.50","@accordproject/cicero-engine":"^0.2.50","express":"^4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["lib/**/*.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.2.50","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-3J3zHJtVtifUUcVZjQHEjLoCU5KFI3UCwCZmCGMLrGgtmoLQnNxB2mxfIPTKM19R2hnsPUWf4QSK8fgzoFDiyg==","shasum":"b80d1811acb6db56139965cfc1460f862d0d5aa6","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.2.50.tgz","fileCount":9,"unpackedSize":23443,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzpjPdX92f9WGlqlegwETc7p+3ULshcm+dtqhq72TwGwIgdeUdwaOCELwcK0KMQWFHbU/zd+dVbMHhckjr9feNwS4="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.2.50_1523525734493_0.03430133230962196"},"_hasShrinkwrap":false},"0.2.52":{"name":"@accordproject/cicero-server","version":"0.2.52","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"echo not implemented"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"^3.5.0","chai-as-promised":"^6.0.0","chai-things":"^0.2.0","eslint":"^4.19.1","jsdoc":"^3.5.5","license-check":"^1.1.5","mocha":"^5.0.5","mockery":"^2.0.0","nyc":"^11.6.0","sinon":"^4.0.1"},"dependencies":{"@accordproject/cicero-core":"^0.2.52","@accordproject/cicero-engine":"^0.2.52","express":"^4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["lib/**/*.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.2.52","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"dist":{"integrity":"sha512-qCKT6YIK/2dS5zWE3EN+rYiHS/UNEHI/xTS+ennhOfc235zN/BOV7m8mzEAU4Unyrzn7NrtzG89PSx9Ux0lvvA==","shasum":"db6a4cb1470be4fe363d9d328f879b3f5ca84be2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.2.52.tgz","fileCount":9,"unpackedSize":23820,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICRP2ROZ1EmecPs/zZegOAikjf5txeIdVLTOZ4uiBJ8kAiEAyl6NZfQG1jzV7nIXQBuCmDI168fquVMPq4oUk+ODA8U="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.2.52_1523615854503_0.1736011200752965"},"_hasShrinkwrap":false},"0.2.54":{"name":"@accordproject/cicero-server","version":"0.2.54","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"echo not implemented"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"^3.5.0","chai-as-promised":"^6.0.0","chai-things":"^0.2.0","eslint":"^4.19.1","jsdoc":"^3.5.5","license-check":"^1.1.5","mocha":"^5.0.5","mockery":"^2.0.0","nyc":"^11.6.0","sinon":"^4.0.1"},"dependencies":{"@accordproject/cicero-core":"^0.2.54","@accordproject/cicero-engine":"^0.2.54","express":"^4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["lib/**/*.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.2.54","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Nar9NBq3eiobcgC1wG27sASXrFBOvdPKBuV4dUkvU9jcRvD0cWGGpepRGT3iTcKOXmzmnG1UaOWYU5by2W/JHQ==","shasum":"e9813c356679988a7ea139255930a859486a0282","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.2.54.tgz","fileCount":9,"unpackedSize":24211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa1N10CRA9TVsSAnZWagAAxQIP/j2gQkUTwuJfS4jAcSkJ\nkRaxBwUtGxkxaQvyxI2KRLg3A+8PakkqV4JLdJ/0h1iA0rvmbCuSBPUcS+Di\n8oF8NeNxKUc6ts3aoK/6l6DIrpsmJjiuvRiomYeJVLTbFQbFYyvelaADCknG\nYa17Yg6rznmdtZHHAFq87DX9epEFWfGUtxwt/ANKkX5NNOgPbjelVAF87yd4\nj2WOk2gGsTGIKnfmPpaRZWjvFi9Pf7SB6cfogR2Lz0TJ7kJOwblrx7E6u35K\n0Le48/QstjHms68o9CA6wtFLH+AKjwEn0dMralcJ1wEDK8qVUGKfzd1E7CM6\nfT1sbeWoB+D0QiEiv7H3QYVKKyPLIKevB7x9D1yu6uZpgID85iD6E5/0wu7H\nGd9DQ4X7QloDbyCeFOzKZGzEimzyaBbTUj174cJ2ZMLEdTexiR3n8oGHsK/z\nq2LNy2ksE6FCAyn5ZzAzjU1H/R4sUn79AoxVR7z/AxWRKfecZdrC0DgONj7j\nNdUZG/swLjLwKDFQUCY8Y0GkNYFd3NJbvgA8Ene2UQjSLZrqz7xc4wPh5Yxv\nyN7UUs8w+qhViFSWS6GWgT9ZbQcIObBun6JKRiqoRBVhjrRdSsQT9qPRG7XE\n1X88MJmnXEXVbBa8khxzbUBwLlpq1PTk/C9AUWPADABLsVe+2O0jSRxjFkW7\na4hp\r\n=zLt6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrj4sgGgq0CZtz3UpyFIsW/VClRTHBseZtzc+aTLg4YgIgD63RpaYmeVaDXrowX88RtEk50tHkKYCykoAh4/mDK7k="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.2.54_1523899763283_0.2703166161512338"},"_hasShrinkwrap":false},"0.3.4":{"name":"@accordproject/cicero-server","version":"0.3.4","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"^3.5.0","chai-as-promised":"^6.0.0","chai-things":"^0.2.0","decache":"^4.4.0","eslint":"^4.19.1","jsdoc":"^3.5.5","license-check":"^1.1.5","mocha":"^5.1.1","mockery":"^2.0.0","nyc":"^11.7.2","sinon":"^4.0.1","supertest":"^3.0.0"},"dependencies":{"@accordproject/cicero-core":"^0.3.4","@accordproject/cicero-engine":"^0.3.4","express":"^4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.3.4","_npmVersion":"6.0.1","_nodeVersion":"8.11.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-qSf8wB2Q2FLpXrKIffnvBNf9l/UpZPcF4nnlx9X1zexoPzNDE+R/eG/rt0X8gXagIYysf+hk77LuR7MrW/+iGQ==","shasum":"3c3d749dfc889b0f1dd0e740a42f85beeeb0cdca","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.4.tgz","fileCount":31,"unpackedSize":47831,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/ti8CRA9TVsSAnZWagAA0JMP/ikjH5ZiIUSV4E8z4aC9\nRZh/ceRDAZHkQiLSAw4LEYXY3+LlsohJAB0lmOnC9bu7eojmRfA+Bl830aiY\nS1UIC49S1AKawON9JzCru1ZbTGXRQOop3iMq5+21rXuuKE/lqZ75+epR022o\nPUbC8t92vFbkmv1zsX+oIz9KTM/3OsBXBd2o1mTDkjj8O4whP2PaW+PeQ4Ir\nSThhCYv3R5lcQVt4zll+gMTnpNw7Sae8Pelnrxmfz/WYcJHUirQ5PUPGrgz+\nuZ7HA6lzi1pv+YtQfjbVl6IPgd/JRpVuWqR2fyCtD9I+TgaETM0mV9NX+kGT\nC/lLk/M8Aj9TYKl0+8XxZ3A23iBHcZUQ5RQquFnvImphG8J/0q2BpoAvTydW\nUvBVmocSga0gt7OOyAsuAdH2i6sBcT7VycDBk6Wr9To8eGdd/Lfxt+ghk+2z\nFmqhzh/DOxuLiY8f49Z2cSINvEsDqHuvLvg5Ifx8wOcrtYsOz+xRIDqOHBRv\nWs6x1dUFqdulLg3dy9ulainH4o3ofjG6KVU0leGzJaCmjPT1xAMp7DVwd/Zg\nTZ/GqQdgymucWWaYr//hK+A0s/Ntg+kdJX1ikenQSY5S0G/DKm/ye/KLKFwd\nhgZAOWKHAHXh/f+tx7GduVUekF1xdTR34YxDiAayb2MXXygTlNYE1G3S9Cvk\noK2g\r\n=31Oy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBk5n4n2vOr8I+vwrfCtvXEkMbxLOtD1axOcxthWX74zAiEA9VrhsvKsG6QUTKSeur0PeLDqf7xnoxRGZG73Y47bLtk="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.4_1526651067419_0.8259847078669904"},"_hasShrinkwrap":false},"0.3.6":{"name":"@accordproject/cicero-server","version":"0.3.6","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"^3.5.0","chai-as-promised":"^6.0.0","chai-things":"^0.2.0","decache":"^4.4.0","eslint":"^4.19.1","jsdoc":"^3.5.5","license-check":"^1.1.5","mocha":"^5.1.1","mockery":"^2.0.0","nyc":"^11.7.2","sinon":"^4.0.1","supertest":"^3.0.0"},"dependencies":{"@accordproject/cicero-core":"^0.3.6","@accordproject/cicero-engine":"^0.3.6","express":"^4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.3.6","_npmVersion":"6.0.1","_nodeVersion":"8.11.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-i6asc39MRBL4tBufeX5Wl70VkzW0wSbQo22Aq0AbCRHqWfyu/cVZm6R1iHY+sx+Db6TVlP0WdAkvgNZDC8RIQg==","shasum":"84e42e477a1998151b57ccb5d12a65dd6a235ad0","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.6.tgz","fileCount":31,"unpackedSize":48858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/wcNCRA9TVsSAnZWagAAJsMP/14hmvjx1hEqzi0H/01c\n3cQD3v2wBWUTLasq7opwHriRXIGOH5M6Ra1idG11cB63mopPVnS+CENnz8z6\ngJ51zWD9NXoq9UdPRtTM9lsJqkCuMfOSJddQe1CFBZ2CCj2t5mI8XkUqGrSo\nnVaUJ30Q9v/44R+9l9dx/0smtTrkO7jShhYXZif6RYC10oUHJcP9EoOBYTST\nb0Of2aOy7LMAbKmscSHFRXivmsseGp3qF2YigM1TNboJOjVQp5iotyQEbJVP\nDH5xCLWaz2FantNeKxRAtnT/L91aeDCkGp/upH6b2973iTzzRilUA7pYnLDF\naKaYLOD1pa6gcD6yg/lOuWv/yuZdP89EKc3NVM3wiS0cngcs+S9Grkr+HNja\nqWr/7QCkH4C3YLc2ZYILyXfYXRZceWIP/k9PJ12RfhSaITrBuL1kZVLbqD1l\nQgkZSp2om1/Sl4F5xoP5teMD96lqsmLRuF0Gi8/N4zRZYRDZUhkxFMpEWELC\nLbt3fNZR7G7voiQd5e1di9lwJZs2I8riClfubfk9glQLeOZKTg11P36zGK6Y\n8hp/sfp/DeQTGxA43FksSJO2jVebXIvf5K1od7duwIuB5z0Nlf7VjC40/oIF\namqQgZvgNcvMILiwHD/w3Q74ElH0k2jqwgxGL7uxkRUsGQo8mjehV2yyL56f\nI3TL\r\n=zmFZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYuSUjWLVs99Ecfa8s3bM6hMe6ajS1Q9Mf1a7wSoGw1wIgJ4ZVjLSOu5tJOWkMBsFsvkVLJ0HkQD8BCJuIKoHXov4="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.6_1526662925123_0.6279075858715051"},"_hasShrinkwrap":false},"0.3.8":{"name":"@accordproject/cicero-server","version":"0.3.8","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"^3.5.0","chai-as-promised":"^6.0.0","chai-things":"^0.2.0","decache":"^4.4.0","eslint":"^4.19.1","jsdoc":"^3.5.5","license-check":"^1.1.5","mocha":"^5.1.1","mockery":"^2.0.0","nyc":"^11.7.2","sinon":"^4.0.1","supertest":"^3.0.0"},"dependencies":{"@accordproject/cicero-core":"^0.3.8","@accordproject/cicero-engine":"^0.3.8","express":"^4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.3.8","_npmVersion":"6.0.1","_nodeVersion":"8.11.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-5zz+G2IZ83CjsSDzK2Dok8WrvED9mgEW8iW1gYW3fqv2mTMwpsm4zu1IPG8jtWVUA3aGpp5ac4crSL/yDp3JGw==","shasum":"c4dfceb00b841b601067529da3259eabd3d256be","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.8.tgz","fileCount":31,"unpackedSize":50544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbAF/dCRA9TVsSAnZWagAAYBcP/A8LhY9t2P03acbihN2Y\ndipe9QKGH4wyEn9H9k1md0KImECOXTtYL2fA+z7OUPNzIObi9DUWzmO62KI5\ndw7wPXqghm7st0rpj/8Q+SvQQG3uvtOgDOuy7bKIJYY5mFs5dIACStyqgbR/\nQIwJ9HbLkd0PBQyohc/qZt5DXYmVL7lheBnvN/Vkdj4D9ACUOGBDgbDImnVb\nYLSPktIyIGb1tOxL984oL3FUpIhmUw9dkwJpiVId+ZzasPtKA9272svaV4aa\neVcILpwVcMV0ntfO5ZXQrSo5M4FejYL6Y1VinZU+eB9z37DrQXl2l1fS7rxg\nXnF8BDT2HRHd+GUzcFafkP8NZOLrDT0AZIJnnTnXvWwbbCBenAgFVGDxWvM4\nifKCfKxSyCPNaye+Ls8Frt26L2Lk19jyDPZ0LmVcDML1Hu0HdXo03gpkkwVI\nrRJRud5fSEi5kN5Wxzo/DlsJchh536BPbqrKpsHKoRZL6ED9fzXT+NdbnW07\nQaXOsue39qT8VFP98JRjp2aUmCJSTLUzzVKeY/YTm9zPCsJFXr2xdDBg673b\nA0zsPg7zevsl/drUQeXkGhD2n+9bwFqhbhe6sA5uR5XfkbdWM5w5YjjkMESK\nQ4pF0bHyJ1XCLh03fWQukjO01VfXfuDx530qjblu/HD13V0kAXN3MRJ/ccuP\neY9x\r\n=6/09\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIChNfiORzo/4KutWet5270U5pMzKTsuWuwftvMH+nqf9AiEAsTfw/5ItRQaC7F2UWZkM5eNCM2TSU3hEqir1xsR5dD0="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.8_1526751196862_0.6356293588637776"},"_hasShrinkwrap":false},"0.3.9":{"name":"@accordproject/cicero-server","version":"0.3.9","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"^3.5.0","chai-as-promised":"^6.0.0","chai-things":"^0.2.0","decache":"^4.4.0","eslint":"^4.19.1","jsdoc":"^3.5.5","license-check":"^1.1.5","mocha":"^5.1.1","mockery":"^2.0.0","nyc":"^11.7.2","sinon":"^4.0.1","supertest":"^3.0.0"},"dependencies":{"@accordproject/cicero-core":"^0.3.9","@accordproject/cicero-engine":"^0.3.9","express":"^4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.3.9","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"dist":{"integrity":"sha512-kPtQUgU4aNmSPZKHzUTu8CTiD35spO7KUdJ1VuiK4ZJbdYqrtSvYwdzD1i0zpjf/TvNEDALQ5aKZw+hViQKthg==","shasum":"71179365d32bca0956e4841860fceef7afb0e49a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.9.tgz","fileCount":31,"unpackedSize":50544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbAbEpCRA9TVsSAnZWagAA26IP/2wSWE8PvsOhdxShZ7PT\nDQS+RCtuyG/9cZnIz8cTVK3yr17yUX7j/7Rxh4bKxfzB8J1ya/WZvP305+x2\nzU6bk4f98Zg5K/g+ew/Q9DIIwKmwlcqiDGZfAiKgBLB4tWsVHX89eGmwko4l\ngzJYXo6xp1ZcswAYwpiy1+mt+poakWxyets2PTYJrr0dXJgWy9qk6+toaj8u\nuYtNzOgd6FVGiZMnicYlpkFC0MozWxOhW6sSLf5HzfpG6ediFtOOGKTjNpW4\ni+QC/SBwQBCsVeHHDrQQz9C2JxTgJ4pqlPaJCr/8V1oLAefYJ/v/tinO000X\n71/VURhoafjAs+2CW/d2b4/YUZl1U77Qxxg1Nkzjh9U9RTabr1z4GW91xYNE\nNkLlhDNcpurGS+7gvRpby5jSML2nYu/X2PvLjkvy7WsYVoxt3jDs5n9u3Oww\ndgKY1q7mW4igmInKpYaEWud562H7qY2FiPI8CyV6rERnUZExzLVqW8a2BvEf\nxFVr/k3L/vQgPp2ISk4BqR8OyxBzTRsTOIBzkAeLLEy+hBiqTn8GEY9yIhpo\nL/yjHoTGrgL/pT4EeENzX9dQ750aPopypSYe3FmMzRRRs2p9VkZyLnNFV9Yt\nAebER1VLHvu3IdUydMzX9Xq64mu9+IR7UBi/9pUn2AS+jugYiiMZEu/PGs4X\n7cry\r\n=S/kW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF8+yBU0n+aEdECec8TFYKzaluGqy+oR97JF0li75yX7AiBHrs/OeoPIEBgvzlbRjQ+PyRajyAm1e57uxzBKGKJAGQ=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.9_1526837544320_0.8792686185694005"},"_hasShrinkwrap":false},"0.3.12":{"name":"@accordproject/cicero-server","version":"0.3.12","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"^3.5.0","chai-as-promised":"^6.0.0","chai-things":"^0.2.0","decache":"^4.4.0","eslint":"^4.19.1","jsdoc":"^3.5.5","license-check":"^1.1.5","mocha":"^5.1.1","mockery":"^2.0.0","nyc":"^11.7.2","sinon":"^4.0.1","supertest":"^3.0.0"},"dependencies":{"@accordproject/cicero-core":"^0.3.12","@accordproject/cicero-engine":"^0.3.12","express":"^4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.3.12","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"dist":{"integrity":"sha512-rN95anu7Il3/ilmB3mjmNYRdbfQbl9c/rqDtYOGwUfteSwqGrnoHkEe8NK1UOAaF9UZmFmh10fIPHxXVa/eOYQ==","shasum":"0b8e678542173562b7c662efbd1dc3a3471fc018","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.12.tgz","fileCount":31,"unpackedSize":50735,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBOJYCRA9TVsSAnZWagAAu8kP/REjxJjC4MoZzrarZ8UC\nImU/eGUnHg7QVzuXZfVhILfCi+RgwW3ufw9nhqPy0m7mawoN9AZCz32tCFNI\n39eBuvHeJ/orzhpUhxl7Ow1Iimghi9hLq3csCgMfXCGeuS4b4FpdTcY3ChNV\nWNP6vVfr27w+ZYtpV3XfDLTqRPebOnfxvvX43z+Gd12WUjijERTWhOJIw71w\nchUzIpE4QLbplle9T8rZhwFDGY4W0zwIrKn0v4GEMUU7kLTgR3YNxcDD6Pru\n6XFsy/DP3INrXrJ1AeQAu8bXPOvdT46aYNdImzzlt5UH5AOts0aLxOSPrWpy\nvyNaYIDiu3b84WXmXpPL79mHikKYWoAI4D1TCPkS1xX9LP3BVuH1QAWDep1s\nGuKcpGwbz0oBUlA2uzoTjtM3KDA+R2f3ZmGg940j56YeKbTs0V5HVGBYN2w6\n4UYEShTuX6R9s/WxvdZibOF+EpZKtCBCdqZFuagBJ2FLBFbiMUen+Z09yCKQ\nYw6lZjJj6MQn3hPs02QQr0Pn9YlUMlT8rMoqqdqF4c3ss+uD0W2WqWRLX6ZA\ngkqJVfJsktsCM0kNZo8yM19Wo3OPniA+wpvTYETTm8+1yx5y9GV/MAtRWeYR\nimEPXYKDYCnq6rHG3D8VkZcR3vWs+XD1J/2j+h5TB2HfZZWY5Gpq05IUD2su\ngplV\r\n=B2Jw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCn4wa5KMB2IcJ3nXQ0W3SbakMY1dlTBnHjfCnXbLTMmQIgNRjTFXqJ5DapUTbSS5NDq+AyCtj6xF1nr4+Z/lq1p2w="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.12_1527046743796_0.3375722440566844"},"_hasShrinkwrap":false},"0.3.12-20180525105709":{"name":"@accordproject/cicero-server","version":"0.3.12-20180525105709","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.3.12-20180525105709","@accordproject/cicero-engine":"0.3.12-20180525105709","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.3.12-20180525105709","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-ifXWvxIgT6wdoCICbzUqO5DndI+ET1oKFD8J/kjEpuNt0i3bZDXd5JHh2swFJ14fWCMK8SpKErreDCAv2AnkIA==","shasum":"cb4f004dadae894d6955bd8420a83a1c4bf0c60f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.12-20180525105709.tgz","fileCount":31,"unpackedSize":50764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbB+wYCRA9TVsSAnZWagAAI8YP/R5jSkASmM2Z76osiF39\nDr7SkQGI5OuMdigozCW6KmdCmkbekM+fFNn9og1tCqDviWcATgHgBIQ9J6kw\nQKBxF7+f1THBO6Cj9VLOSVg85+Z0DXTuUb/UwEqm0sU6nVp2zq60gtiQL2aX\nbic5VnN20Xk8YXL366XI3nKGQukTnC+1a017T6bUL7UosvJutgTwmLLCuu1d\ngDj+d6Lo0X5zIx6ZCL+n/2fh4qBaUwAg2JXm66XLjOr7IBF02GbrxFBRKp0t\nJ+m2eyvrK4h6W6id0h4508J+LSyuqd3mMZROLiVnlTa8XzM0XNosCfCcs9+T\nRJcX1YuA6+Q1Bl0Gc7EB1hxIMkHvc30J397V/OHkqFxB6Ni9d9EM4q62zlO2\n2yXgptjg75KBvTLt/kdbM4heD6pUTP42l9A89UQMTJ3PdP8BAhuzH11ks6n8\nnyQLaLcvzdTMp2mnJYxDBTpQF+PJ3fbBaRLPp2WsXTRX5AJsEIgdjn8H8fkP\nkXgWiLjVDq33RdYO+A+Zp+O7Q+o57pZ8BJyUuE6XOq7fEIWVhF7Rt2jcqPph\nRe8uYpKFoAetaxfn57++X/xcoyJ4bLXigW2284daLrUQSggZ1harkjcX9XQM\nmOhpQOPTUD3yG1CQtJA4gSYn8oyLQ9u4/q1scXYimp2qWYedr3h49WAw1fWz\nLvLn\r\n=lTHW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1v3NH0Pih8M7buBUx1pR4zUcn1G+TqPcPP/1Uj5iEFwIgHI/yucg/kNpfJn47ghmDKxabiQsD2UWwv9etgDFp1+Y="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.12-20180525105709_1527245847535_0.5151044959802693"},"_hasShrinkwrap":false},"0.3.12-20180525134715":{"name":"@accordproject/cicero-server","version":"0.3.12-20180525134715","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.3.12-20180525134715","@accordproject/cicero-engine":"0.3.12-20180525134715","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.3.12-20180525134715","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-7ohiBJhmO4kCvzLvUhBZL3581eSI+OxK3URSeTL8iL/B13AweJvPFln5ui+d+MYjatyEu95lS4j5ms5x55eLiA==","shasum":"458b173285252137e56fee3c5bf332338d5c15af","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.12-20180525134715.tgz","fileCount":31,"unpackedSize":50764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCBP8CRA9TVsSAnZWagAAtCUP/2q7p9rQA5BQfmxRgzCd\nuJdxqstht8fqf3+IgjUrbC0GK4MRGPIvN5J3QmiEh/9BP96An5F4yXQd2Y9Z\nBM8eRLJZkoWiMNnECi/KOJIwtQfVIoPaeWzf1GRkYLS4kx+GbhFmETqIUMK9\nfs1cCu+sQJDIymaLNOawxlufksFYHWyEM3aQHs0Vv+vM5WaMMorRkKHyY3+t\n+YlRmAriGQPnwFQozRzSDxd4ZpGaI/MsAQtj4WAGgDz5NSZJC9XAeOZQBp3k\nZpriR4vkyxmeMoUX2ioS/B9ge7dQz5u6yfe7WfhEeIR74NhGNgN32biENCDC\nLLWsgA6lJz/j4nFyDkdp74pQQzRrxjDtfB2bqHUT+jHDIvQEAblloF5/fc8z\nsLONzYvsulgNNmVt71u5VBlsrOzI7XaR0dyGJYtHSoEWFynHUclCbXLQaNTu\nyz0DriKQlot4X/vUNPpEjTmYRjXl6vu6eTQz6Z7yqTXtskORIq4xjg8po5Zo\nyh48asj2dq+WPDLSUbVUQaFg6NORbs+dXLQ/qB85NMv8rR7B9f0sMtIYoVP9\nPuDiEv/aL7RKnQ0QcvS/2MJkKX1Xdcwb9v8YyMAwzdHfmGIslSuVszozE4TU\nOU1raNnt5ZT9RLQJn95r48okcxMyDpGM7hfkcPeOp8oHOSwiiKu4cwRRHadH\nDfpZ\r\n=aYRF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKX9hsrZQXIVAVOzcnoOnBdNZyJqUtrIduZZeAGmPIEQIgPxEjb5U96yNFnTocCrDomRiqPw5fk6ux3K8CKpxYoRo="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.12-20180525134715_1527256060071_0.2883624695237048"},"_hasShrinkwrap":false},"0.3.13":{"name":"@accordproject/cicero-server","version":"0.3.13","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.3.13","@accordproject/cicero-engine":"0.3.13","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.3.13","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-n2NsAzJjXjyaPbt55aKjVF20Ue6C/aiQ6erhbP8mo+kMw1HCnLDgLBUki0IqgBx5hgytXyQywBW4YLCmAbLwmg==","shasum":"4f767e11bc5aeef42ab5c35f07520ad424838779","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.13.tgz","fileCount":31,"unpackedSize":50720,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCBgKCRA9TVsSAnZWagAAeLkP/A/Y/1Lh2mq7YVt+QmVG\nbQQrIjpc99dcWEl2DbV4V5Vr2hRJUWQ4sIe7K2muTXswNK5jI6WZLJJoMg9M\n6vASXaAmfAvk4R557+lfYit/uK84Y7edWL58k58WuofrUIjA7F1wAWLtJUEs\nZQsCdJ9oEyoHzfJ6dgESZpo8563SEiQob4cVoa1/CqN74IT8kDsSoCNilAp8\nUWXqNtttJXI5MgNZkKDo5bXLHVBO0uHixtxReOQux9H7mZ4wcLt/NYpJhu8g\n0ysTGo6NLrTlM75E6HTpKymGG5BAHDye9hErbItv73Jpp1Hb1/d3bgTs8PIJ\nEc2QV6AMUmYYi4uYQrkg9iH2kfQjahNkvx8r73M6eJSLRtuAbu8ANZmUNPYY\ncR1ioXKHTZAuVHQ0l+DlwGws77nXIqAnoyLzi5gG9zv1gDeKWjNp1mfRqTcL\nIyEqfANS+EPgQjwSu3/Ds4W0a6/t5GnT+/T6qd+UIUAEbv54u/qMeZT8Mki5\nKsJazJ0PTY10cRKqjTvhtKolUf3TE8NBbLWKEyzokTdu4YOjr4E7+u5qQ9Nt\nXYcYWZ3gpYDr5yRTmW4XQFGvFxXUcO+wcDHcwwDqKKbCMY7TXUZMHIO9OB35\nDoO9gLDXQnTWBsoX5MgzQ20d1YC35mOYi6jdAdKGAu3B/IHnRWhhzpJqdHkd\n2215\r\n=lfJU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGUKWzdZo+epYV6rk5UpTcJ1BI+m4e/0CIgPmksyVwNiAiBN+7P5RaMaZGxA9BffbXzdlltgwQ/xHQrpk9ysMHZayg=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.13_1527257098321_0.16123394589480133"},"_hasShrinkwrap":false},"0.3.13-20180525180506":{"name":"@accordproject/cicero-server","version":"0.3.13-20180525180506","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.3.13-20180525180506","@accordproject/cicero-engine":"0.3.13-20180525180506","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.3.13-20180525180506","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-e0eobwbcDDVftF1qq7+oj9O6QEYjnFIL92WlT1/aGVniqxOCAioP+8FyYXC/9AXgo/2kVb5cCAjidflHEIUM+Q==","shasum":"3e5c451b74b8dd75ab67d2d5a64d237b07f6b0d5","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.13-20180525180506.tgz","fileCount":31,"unpackedSize":50764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCFBsCRA9TVsSAnZWagAANfEP/31UhRkbpCG/csmF7WHk\nvGWlDYCyahapKbBZ6cpd1nwLtV2azxS8uus/+E20bb3RHPWB/mRSD8m7Hj5h\nH13P5XojbaGRiAQvG47b56PAy1p/kVX+lUWvqKpm8H5G3QBHHjz1mSh/KC70\nyz+pfiF2r/niH1aAK/LtetQ6WjOHwz6ACJfedR1iaGv1nKcqET+66EuHIL81\nxy9OHE8zmuNDS4vI0vLzEBOsQmwz9WFXT8NLhnJhk1p8DiffpxjwumiS5qIO\nUsYB9DGMUoZ/xaKo6XaWIvGt/H0o8LJy48R84A4/8VYAnW23iBik8CzDB5Ei\nrp7tU5sWSEFCV4122FevFMRArx7FvtKb4JilI+AtM4TjuqBJ+8pvzn2LxvPw\nIKkyK8snhB42aW0QTM5l/aSylhYDnzicknWTf2URWObCdZ6i11O65pirOvPw\n6S72dDpwqb7J7AWMSj5v20QwXBw0FZcdNjfY+ssFNv5SpFAcSZmAIP2YrWhV\n3mDPWTGv2ghkOe5CCyTZj7TrSfxwfxNLQnWftTUNrEGyBh7+e11vWKkMjY6W\nWcJ2lASHwK90Iq1Ik+uTWMr0BbK1gAUihFKnPKNXhdBlmBqSzYH0Tihmgouq\nm5fJfnky4M1p0aea6snJ/103cj6WjDGtzcPENutx/zAVf1NcJxJqmeESht2W\nParu\r\n=GqO7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHe5VhsZXmdnzkOvr9Fmppp9Q6dSjDp6LoGF1RcJlXXLAiBLt3cFbI5TPPYLJbTJicSv5ClgXfC0BsnTfAYwq9BwXw=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.13-20180525180506_1527271531829_0.3268475079207951"},"_hasShrinkwrap":false},"0.3.14":{"name":"@accordproject/cicero-server","version":"0.3.14","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.3.14","@accordproject/cicero-engine":"0.3.14","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.3.14","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-n3yZyqQsfHqHVSfxqni6iRP7XIEAoL2lcX7ttuVzT0AhvMxaIv+/1BfTycZui7BcWN9N9XbNXM42dFBFF4qxdQ==","shasum":"287eee11498f067fff93de80e0b6febe7c96c941","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.14.tgz","fileCount":31,"unpackedSize":50720,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCGghCRA9TVsSAnZWagAAwqAQAJbUDGKefKsNbiwalnQ4\nAZ93yUATWT9Uh/ZL0e9/J/So0+XDdn3jPmyFCQUsTSJuSPLE7URZOmP3jsHL\nfI5ruGb7P4NjO84mE4GPcC9g+xvb3XsdbgB39PHRppry0jY4L9POkB1BI5GS\nZj/UrDQtariTT+lBgezSsR4luJ0bEvaFA+hbdayk1oW0H5SiNZGcxZE6dOoI\nkY3uX/CPG7zcoLCljtT3PgQ0p1vemkp0gJoR5gpC20p3UBiHdjeK36cfczvj\n4WNBMDstXT2JFIdHOEzFRL67WpQ+ThpQ7AHbWTYCRLzsecSjBzOcbCFBli+Z\nCsVzFkAAuQNRdE46fl2xShVWoAV6lNSkaPwE1nAYiVSnitAD9zKtwv6O3j8N\nqe+cHWz+eK6BfuQOpFVlGlRBbE2uZFLOxWdxZpVOfHa0ZFBkazLOuzTYLo8W\nmkZ7QrKxCuF6uw1hmf8bQtTYeVzBr8lj8kA0NfeRZLKPetlI9DccOrVlQPm7\nM1PIwGG9eXmraEfpB4KmJrEpmJOD8jzX0LjTexn1WpV4gQrLCjnXgBsAjsF8\nLH+Y+yeRkIyG/Hfmigyt2dYxaxw+6PpLPGlJftELQyFRQXMo8ml46hLnMJan\nfhQOQ9IVA3NWbMf2XNZNZok9mDG+tk5DFAgk6DB3YelQaoCj4hH+52ni5DyN\nJJ2h\r\n=Xj8r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIADv99bBVvMwcigcdJiTeufPljjo8IZ5J6k7POpdp31hAiALPxAjUhL8Nr/K+8NwMUoruIdM4rM5Se266RWRGoPBzA=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.14_1527277592122_0.10942236390561844"},"_hasShrinkwrap":false},"0.3.14-20180525194807":{"name":"@accordproject/cicero-server","version":"0.3.14-20180525194807","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.3.14-20180525194807","@accordproject/cicero-engine":"0.3.14-20180525194807","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.3.14-20180525194807","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-vf6K+lFfsUV3pK/8iq1oVYyfnHz+sK+o+D6f5iBogD8bianMuAc8wcGoLpYvYcT9kep30kahjM5htRnUSVRARw==","shasum":"85257ba6c27be0d0677f20e7bad11c46d20dfa99","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.14-20180525194807.tgz","fileCount":31,"unpackedSize":50764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCGiXCRA9TVsSAnZWagAAvbwP/2F7JplQBcKn+DOYrkwi\n6pAg4z4nsgpjcd/cazQPXQJcbKi8c9Hd4+PmgKHii28xJP9PGHOxp8dLLbdi\nJyIilek8eLfJl0TSvCqPxT5l75VssSOvmW116ozCVcis9Bp6rnN8MTIPo2J1\nqkOVeupdzpFgB2hRA+XpMvl8xsQktABL3pgDyjLAknLO3BnXu6HfNTf092Cz\nNtwxzBgGRLUaiFvs0gPrUDU19yyvG8idtdMpw2l1N3AV87luicQJ1AFYRdIN\nC5Ls2XoaU2nSiYja5EvsX6VZr92ChSIzzN0P6rZu/afu9dR9K+yTdpg0BM+b\nMfi+n8vvEjyb9fsBXLrwXpO2K0pQuUn623PymzlCNjC+50yNAv6flJKC/QjO\n6nkO506R/VXRG/FGb/+ZdzkatKElpUFLlitHRYpoPeyEgKEG6cCl8Uc2e1VY\naEgT/V82we95dB8XjLqj5PbC9Y2yFY9+J/Ytw9KjO3Q3oPg6IdwLknqj41JN\nkUK6e25FEgulCQKp7WrL8PahlZoq63HRlE6oe7DuI6qiBvNSG8bQtOg4uP6R\n5Pctmbxyl0SS3b3+sr6RZ8d0/5lfA1PNTV00I5XayIUa/JrNAsxqGC+BTd9+\nNsea0LWZ47uqBcTJ6sJd1P8XEXBowpeoqLpVYBJucRP6LnoqdJo3IUfAEPDq\nXIAX\r\n=ZhQT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEh0C+nWd5HNbSDWT6e4VTYOSScFaqXakwQquvLm/QnIAiEA+F8ybSCA7T0oGWlXEBcwfQ+I3SpyK4Zkqv8WkPDMGBk="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.14-20180525194807_1527277718194_0.7535777012551443"},"_hasShrinkwrap":false},"0.3.14-20180531154459":{"name":"@accordproject/cicero-server","version":"0.3.14-20180531154459","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.3.14-20180531154459","@accordproject/cicero-engine":"0.3.14-20180531154459","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.3.14-20180531154459","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-wbFKXYbu+SZI06aOZKSw5JkpLlka/1ZERFj/2hEpixCAEfMIh/NLmmHdHsTrOV0E4/xtmmpGTfDBv9i4ZAkYyA==","shasum":"366c61d439e52c5ca8ac56a641c112fd1b18cd64","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.14-20180531154459.tgz","fileCount":31,"unpackedSize":50764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEBiXCRA9TVsSAnZWagAAcisQAIgy7U2zyiC1qgpws3pI\nwi84gbLRxEXIAILvDvWvLPhuvfbnX1tCW8IJqWhSM55xfbGuh8wSn+nYx+P8\nfFvnRxEgQ1aZvq9NjoG/IMR4gKJ+FhT3RiX2yGDMA43JVaH6XyR0A6Vnhxzx\ncTtj58mWOXhQBjeYzsrU/O5bY2APEvzpPrpiBBdi2UTmb+3Cg9dFQbLq2/i/\nFzoiIhwhmFcOxVXF944BkFpHWuY2elOQ2VYVPSi4wvNuo2nhzh1xKRaGquYJ\n+y9ztKPwH41vgMkRMwfRTQXUb61dZ/44LbwpUjDSXWY4OWxmvKBPIJmbfeaw\nWYlgwcH9iGdehUuYnlmoBXwW06ypwbUle2P50aVlmtNC3M8CpdAMzFhkT6af\n9MOe1nJ7GwE+loBQVku/XVgtDtw9GRL8jXXTHDMb1lKKw6gX407EYZb55yEv\ntFwnusk5zlIyMPDztQaW1r1U9PnUpJhgqBOP1cqg/g0ic1zw63K+YShKn3C+\n6uzjtWFMBY9RqR6afgO17aMUqVAOTn088DCmk/EpvqFHdTxF7RiDMPTc3Ia6\nDHekm2HrswHHm/lebaZsXREKWRrfvbIJnegWIxHHbOZy7bO3DuDAg5MAKJYk\n51gyRMVUbu523zAGEuv9aceYmohonlfVVqBDGDOt5KGz0An9YEbpi1nPBq5S\ntg3L\r\n=Djrb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRZ4S4CYjlCkauGTwqxALTu5HKY+sYdmXDtFdYi+DtzwIgM2TllDGkxCNK3zsCz/ElmfrZSUs6lNL4LnP5/4M0pTQ="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.14-20180531154459_1527781527420_0.6175423183205715"},"_hasShrinkwrap":false},"0.3.15":{"name":"@accordproject/cicero-server","version":"0.3.15","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.3.15","@accordproject/cicero-engine":"0.3.15","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.3.15","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Q81vqHqU1h6Q7DLD2Mt1nzYEm2VuBLcdldOSiNmI0KtGB7puf0bugRd3jHXdJWzxFTHmvbfQ3FWYG9JuvUYL/A==","shasum":"659abe7dcf3da50bcdd8207280aa52bd4801f682","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.15.tgz","fileCount":31,"unpackedSize":50720,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbECxxCRA9TVsSAnZWagAAGoMP/2nakciA/nzvdpN+xylx\nkXJxSz/WIJu0CODl2hW4evB31o1EKjapeU0w9ItVNuoYxOah0VhoGZ/1eE3i\n91EhnYGtSdk1urgOzPQ7+sfsbVF7TQ83nN9zFg/OC1NrIkvHGMTV25l9Ch99\njr6NDaplYmRq0QAoGgt4yitc2r3PSCC9bQyc5CEQRqrTFMbJJ4WbWv4MLhRI\n20MmASmcXlpqoRl89R5jksWrlKBACZ6LXqSqUWtS/AtX+aUnSLJtUtptJNZ5\nFso2mOPPTK5b4DQ+erJZysXhA637QhTJK14RHX6O7uez7af6WESc2uFuZUY9\n+tV0yglcYHi7lWxsEoWG0eUkUXNE/UWY8opCF1JzF0xPz/76mtJvGpUcDKkY\nqg6rl/OgJpz+2jODg+ZsOaUR1sx4ME6ZewrBpZIAa5NFKMqlBU1947KmDsT5\n2qv975uHPb0Usx+GgROb657KkXPXP8vDdT5gsiIys/trvMNzp84uwgnpltbr\nftm2DHpvqKEbtyKWKbCtYkxKUhUFIcEmcyRXt/szwrountNN7A9e4GuufGkI\nuRGdsXrsJnqZNmxS92OkFKMFGsG7EIDhyguTheUQfSX4G7kFHIxF/nmLenIv\n4sJqCFnL5wEAmG6K+tlEi6GbTVFkKeL0h2maKFyVWUk/rWmJmQ6mwxMzt49N\nSX0z\r\n=7i6c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzLM6ATwMLqdEn4PAhWgiBFixguBAJ/YPgWLZsFV5IIgIgGDxhsBi2VFJVB9P+ApIgu5Yb04JDISLUOP4T4rdZOtU="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.15_1527786609151_0.2496681117313484"},"_hasShrinkwrap":false},"0.3.15-20180531171208":{"name":"@accordproject/cicero-server","version":"0.3.15-20180531171208","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.3.15-20180531171208","@accordproject/cicero-engine":"0.3.15-20180531171208","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.3.15-20180531171208","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-HZDmLdfaTvlploB2JR8PsmX5xOo2UNf9zhq8vzwPhdFb1rHOjPJfjigtxl4jX2wCGNekx2PTZ82WOHcTqqpxNQ==","shasum":"600443375898cc0a803b435be7791d26543a344d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.15-20180531171208.tgz","fileCount":31,"unpackedSize":50764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbECz8CRA9TVsSAnZWagAAfq8P/jtblZdgLrUeHQ9OQmN0\n/whlBz8L208/7tUZvNxXJDDCy/WizK4+JzARLruqSK2SMsXbsR0B4KQsRtOh\nafx5QUo1kB/9jc1nCVWAVqaQeiSRFikmMgXUFNN/STQ17ipysVRaK5W+/Ip4\nOMy9V2TovKGbC4o5rCNuZN8ShTseW/qtiXC+TOKG161P7tgce3u4cULtRKMO\n+PHSq6L1vku8IQa1QpiiVvYvDuvWXJxBXa/DpyLOGIITIXC/xX2jeDMjKzcU\nLlhh9pU0D4/o5No6K7imBkj4e8jMarsaICnSPRRGBsxnqrumJ/rm/GD6uNj2\ngkP7uNQIduWHxC4MATYwmLObSThZxHGlKGW2GZ/DcSUt+Nq9jVt2vXiRE0jd\nEzl0F2X5HvoDUt1o3s7bSfusQxu6ojntU9ukqzb9Y+Q4yQ8gCB98xRmsP74C\ncoOwBByl0/Wa0Bjm4RRazIjDzC93R+YWdwmM4urFpkbmXAOD8vPikWSe6IUw\nOqrpuriQZQoBiqQoFFhy63KW9hZkZqxvoBwwzjgq76KcnVNtBYmQCTr8o7nI\nlmU4PISy81Zn7h+niagWEzy7/5dZtUKeCsf3LtFLtLO5ik/hITygpOQ67vUN\nDvtESkC9KNyPD+vlSoTv9+EBQVXsh5zAPLW+8qb3uCdazfE0+vuAT14Z1Q1B\nkKOJ\r\n=ys6x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICo9W0kCglbSg6c3lXiZ4X/1HlFzLujGVC09aGZDPwlKAiEAvX2bUXzpP4udP4OXO94Est8XM8o9fAhAUs3VAwGSV/k="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.15-20180531171208_1527786748495_0.2785466022378298"},"_hasShrinkwrap":false},"0.3.15-20180602231316":{"name":"@accordproject/cicero-server","version":"0.3.15-20180602231316","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.3.15-20180602231316","@accordproject/cicero-engine":"0.3.15-20180602231316","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.3.15-20180602231316","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-8a7VcUbyQKzMZsTxGYNSb7B3pEbSMeBMpMIKzaBtrwXDbr5rrIbEYBeepl7Iy6cxFUm+sivDPcB4gd5ZCszcBg==","shasum":"94d383bb002113f6c336113cb7af68383e937a6b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.15-20180602231316.tgz","fileCount":30,"unpackedSize":50125,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEySeCRA9TVsSAnZWagAAJV0P/jODzh42SJPL7HIpLTWr\nmBwDzzE7RoC0M68V6LOBhwlH9YUrnNqJsh0u6z0JjgznRPsNe6LV/uETY3so\n2p0b62yvGs6d0D3/Mr8eVqhmvZaLZdW2MNaaQJ1sdQaegvy+Ksufz6lUgXuG\nTmaLK9zsoCoRuXZPboKCPuyq5jEloAMd+ObVuihpO9RZwzpY0fUA9bWw7NDs\n+LfF0oH2q8cCrggPoqc2mVPQwJFO6KcVQjTTbMYwCjc/2WbmKsar9UOracaM\nVhP+kcjB+0BrfYDbZuXC6GhHISFpYssQNYAMRtWzdNojitT7XrT9y6LMiETt\naLjTEwKvgz3jJmKUR8aFqVuupz2fMs/Mu2CnkSQtr0fD++JRLhu5cKMCECpz\nq5hn1iwuCMWAJgYwooJw+rSwwAqql+kLLHM9/8Btb+d+9033MUy7n/rra996\np2lqsZtz6zSD9S4myY6H5gZ1FzAf+3zzjEbFxpADAvG08jRRC1IZZ9Kbs92I\nIHn0CejMyON7STrhfQywqHqHk4Lyt9ZLCQ9GbSeaK+btPZzj8n13yGq7zGxl\nNB+9BZ1OB6gbOuoO1Cd4HzW25ooxNO0JdLob9tMOmUFtsfD0DjWlMEu73zc8\neEIaHF1qpt9pyB6N5+HugNEMK/6ID0ASThptZsjMcNVl9+kDIXLktUkuLI6s\nTaoK\r\n=Aly5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSDJRUkfgqI0JFnh1czu6OuOl7+E9DjvIR9V+rP4I3ZgIhAIBfTe4ZNujfAkZfK8gfA4pFfKz5zZkxVcuXTLGFcunU"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.15-20180602231316_1527981213943_0.8323195125191396"},"_hasShrinkwrap":false},"0.3.16":{"name":"@accordproject/cicero-server","version":"0.3.16","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.3.16","@accordproject/cicero-engine":"0.3.16","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.3.16","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Fxk+5H4Xjb0qZMg04121EGQgiHNA5lFbSiv7DHUn/UqOVX1bU06CYc0gxJ0MUh7hrN5wLGFz/9UNaaOjKxEaUw==","shasum":"7d90c5c95182c7d30f793503dc7da1df54d7a612","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.16.tgz","fileCount":30,"unpackedSize":50081,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEyW5CRA9TVsSAnZWagAA16gP/2HCXyED/I0evmZ2Pw/D\nIGqq1zkKQGq/7rxjM2pd+A8dvMijLFSS4+fRl9fWNdAAamx79WuAr/7wF8pU\nuWHcl97024QxAqJR2TdW9xmiJUiK1PkCcqayYAQKq4XUeQAVBBjf5wHDZqmT\nHNecFVCQiSeiuQoFP40XPhJWTF8B+4yeEuC+YxjM0lbTiMyR2E5zv+L4wpdH\nyOzhbJSW15tt5/HqVXUXI4RtUiny0ykuoAraHNzTPb4KWG/KybPhlHrelHy+\n9Nykjip0u17M1/ATHaI2zRfIioh1OnSe6CD18J4hU8TmF0oVkIJ5Ok9qKqwL\nDezg2MKElZ5yRxF3Hi73wLGZo2na5uXSfWa58JCSJdDwCicnkOgOi2Bl4s+O\nK1jelzEgYMoaybTU4FIdVmViMwWf4Pvo0hKuthEiFS9Z/Ms5znKW6CLuKdOS\n4U7lZdNES5eWTUgQuyuDl9XfmSQTNYU5tPE4gcTFclLfb5Z47mfiH87qH7F6\n6zTnAmTfX521SOXoyellCwk3y9sXKHU/qBo8R5/BDVg8WhKqVYbofOOoJBYi\ns6uCSlYvdx8sQWdId1loQqX7FaSqviQWF7i4RpqW5xRNRQ9el+wjrw0LENPn\nAPUTtM1vO07OrwwA1Bzeol5Mzr3aFisRmgcBobWIVQgQQrx9uWweieEpCm4r\nK/Pj\r\n=/wus\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuFSQkGhgTYkAFw0iigVHoq46TsMSGYS4aNmjyMhir6AIgK7FI8G/qaoZ4IUH0oj6Ed1FvRqPEweaDMiJV9GY2SQs="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.16_1527981496863_0.050750737104947596"},"_hasShrinkwrap":false},"0.3.16-20180602232010":{"name":"@accordproject/cicero-server","version":"0.3.16-20180602232010","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.3.16-20180602232010","@accordproject/cicero-engine":"0.3.16-20180602232010","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.3.16-20180602232010","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-qy7SpedjA7DupQcaDKKzMaNCX+Fw3Hl6vzLvmUdqhfL+ejH0VWYHXbUyd4TYhByc+B9326bII+X5vr9E89NN2g==","shasum":"c14db62413e90a7f167f68dfe9bdc93795ea38cd","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.16-20180602232010.tgz","fileCount":30,"unpackedSize":50125,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEyY/CRA9TVsSAnZWagAAXVEP/0miVPAgoatltwt5DOAn\nrPqcKNcfVjeOd5MqSsfsbKBq4I9iNW39CbFSFncTOpMf6t22snH7R/rnmXDJ\n3se5S/g/eIo1wwNYj8F2wu68uFlG2et5ASYIk5XMhtEyzdkL0DSlq2BfYWGB\nDNTa3tomfMn0aPb9awtErBZC+6uBFPF1mjAnJ5SOT+pzfjiXlYRBOTySegDn\n9A00frUc6POEPls9jS6nGIflelweqvY40YDCxj4S0ZRrdlxwjAxzoUfsBl/3\ng6/ldF4h3ZA5KOW6dGWSuPuzj+uWzFlvkfhTucGNZiVIQJhiw90iP/ji2Soj\nSrACb/1GBGdST4agNL12ooHineDv1hiNh3fTsEgv1wS4nTrthG3SZVMniqjF\npXJ2Rko8ZAWH1/6ZT1E/u0vdwOEKi3drD9AOWC0mo7PMep4Bib0vZmMJfiZa\nxEEWDv1wtChkUIG6moZCld1t1NRX4zKrFU5RavwaK0nPcnDowdPfz8PKwhj+\nCxm03sibcDZQ1uucFkJZYHQAamirumD2yv/Pmh9CtZ/FfMkoe7VgE48Um/lu\ndSyK25MwxG8C2fM7K+XHTR5JNGuCb9yfRxtezGZsNNNk1vzSm7+Y2r2UDqKN\nLxwgIk/NabUTRCu3wGetjfI61gXYLkf7YDNqmAkUTp/0Qfkc6Wggt89WluoH\nfhPY\r\n=VpGz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAD87Tfehvf2e4j6NnC7OkCpANYURvy9t190hcKc8XdhAiEAgnJ7ZQqOb32ihYRahcN8Ghr5TNYU68iashtsN3mxljk="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.16-20180602232010_1527981630953_0.5071807220276501"},"_hasShrinkwrap":false},"0.3.16-20180603200421":{"name":"@accordproject/cicero-server","version":"0.3.16-20180603200421","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.3.16-20180603200421","@accordproject/cicero-engine":"0.3.16-20180603200421","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.3.16-20180603200421","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-XpQKrdj0x5BTtK55wHfwtL34Mv7Xcz4ROVv8pf6JWbmzWg2XSIw+MckiEQ2ZDcN0tz1hO3BA1r/OLXhhtwideQ==","shasum":"0e44cbc36537097db7172f8ac9a874ff934f02fe","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.16-20180603200421.tgz","fileCount":30,"unpackedSize":50125,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFEnbCRA9TVsSAnZWagAAUUwP/2tMl11ks8HcItQ5dtsF\n8+rY68dskLddmmQ/5fJeV1xQl8lv8Fyt/Z0PFaplK8N+iMd/EmvXPB6H/0XR\nJy5/Ig1NSnxpKwJPJ8YqQirhUi6qLG6VMx94/jwNZDfBvuwefB4bDQ3cccK2\n56akwSUmZONL3K65jkM0AjFnVMENHhDac000MJXhEELg6mEe3o+g5RiDUiV0\nskHT3jBRzSqX+Kms9HzhVb2aWQraDe+SsxlYhwadCaxRAqV2OToNVoNeRTN8\nI9UlhiIOAx+ZhBkxypaAkk3i0IL/Qvhxay9f8HL2Rwi5WMVTBSFm40NV0hQ2\nSV/irbuRLkjJBpmz/yCiJiEbvYqTD9gj6yWbh5j6MweGTbrsAuN6DCcNQrdr\nu/28Ip6YfsA6/RuZHj6/azDAA65q4WxkLcso8rYO+6DJf4V7plQpERRss4pb\nlBu+d92SLeCDkNgciqNtEC8JvIDxIjCabsMY6cBTpCRTwyRemuMC4Yf5TW5p\ncdXv7ABR+DZjYkYo26Flil7jbYZGJ8ATl+v4pRPlncsI9+Gt0DcMWVuiP6lu\nRpiuC9RYJCCAlrCxiOs0G2tGvBZ5ZTG6ydYehbHWSlEyBJzHpLff04q6D9QM\nkI54KFkaHUPVYMXhF/3cl6cb/FyLMRP9S61aBN9oHTLJ5WivuGZZ0aHMVq+n\ncGnJ\r\n=f/MN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCu4yksdgnUuDRe7QctjUhNHiWkoxivs9zTafJ3qAdeWwIhANm5BHSSexuKaqh9eCeB5C1ZLKzWhiIdwr+d7YBdGw6B"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.16-20180603200421_1528056282758_0.040144611310563016"},"_hasShrinkwrap":false},"0.3.17":{"name":"@accordproject/cicero-server","version":"0.3.17","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.3.17","@accordproject/cicero-engine":"0.3.17","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.3.17","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-PVTEOSmaVsn3ZP4piYS8HF4SjJ0aMRDtjYg4eiTMFO5ZeRNAzzmxxOFetEosqdKSe7c+qiA8lKkwIV3xvuVmIw==","shasum":"ba7e37e615e933db9e598cb5b95e7232973e2e62","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.17.tgz","fileCount":30,"unpackedSize":50081,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFWSiCRA9TVsSAnZWagAAhmwP/0A+XU43XNCInE8neeNT\nVoo2CRCc142pqG2SyEjORTNHS88ETF4tNnrSZkmeLpjfG4ycrQUqlhzDRSe6\nlrp9Nq7LvvjQ7SWEB0M84VSN+zqUA+IrVj/ay1TmdJgrDL/5PnjtK/kxP+rQ\nq2rt22IYj/Jz6T5Tum+41oW4I3P+Q/ST4qPXuqtiWz/uDweDHzsy1O1w5t0C\nQYpbLKpZ/Q42XPgWaeIlhCM5XRYYJcOUN8lZw3JPWksQw96Oqx8AF4mbeNDp\n2kg/LZYntFmsdyRWR5SfR0z2xNVOILehcLw7TRdSwa3o3TbBwyXvPQL55nrK\noyi4CRbOKgTTEo9wi8LxhXDEhk6+tOLraOwFMJkhI+opddptc8MNHBvmj/Qj\n8rk8JY8gAfE0/wgOf6AK8khzTxSOmvRM0Quc5EQspeh+v0GVSGWp8YXppvbr\n1QQW2j06gUaulALIqlB5jPQo6EggrYJEnzGsZvt+AJnXF/Xh30eRtEQn6WcP\nQEhWa6368XN654p7w7rkNecf8a2yvBZ+seHxu7HceNR1e3BM/g2rDcT7++GC\nqjyVsJuk+vy7GCBcXRr+UTnAZi4/imbKpXbI/dFuq8+4XoOhR+3KexniDOwV\nNpE5QGx9NpbLats6F174O5ufqX2njAbq7y2s8xQ2mb4zUmOaxwnDGcnJ6rik\nEF3x\r\n=5RPp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDf8gtIBb/XlPtxwdzK9K+5/r5SF8tIhdVCWU4RHisPQwIgfLoTEOhkLx8g/YFvlBpHrzBtIN+ZGZ67G1UMsiobdME="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.17_1528128673535_0.9739991682333535"},"_hasShrinkwrap":false},"0.3.17-20180604161941":{"name":"@accordproject/cicero-server","version":"0.3.17-20180604161941","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.3.17-20180604161941","@accordproject/cicero-engine":"0.3.17-20180604161941","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.3.17-20180604161941","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-FmE3km8jKkLTux/vltMSc7g9usmek5YnRP5q/V4YFaRoQ71+oMKiRlMDhphlfNca45B4CD73LhwWVnStztOdWw==","shasum":"1f3d19c504d657860d330e6d430d91a0165f2497","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.3.17-20180604161941.tgz","fileCount":30,"unpackedSize":50125,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFWayCRA9TVsSAnZWagAAKSMQAJB3i5wLA94r6bNjpTFe\nEAoiI2A+ASqCRH1KemDAIL7Ubdr4claWPXsfYokOaGAETQvr/ihx5+pH2Qp7\nH0KZpAv0cwtlxrWOt8e5qY7IKIls2xkvd2suC0t0HuvMQkSGyQQTtKOLozI9\npBUK8EdYRpfRgS4tmw0DUK8tbzFQRBwXO92tyMLEueCRf6hMvGVE4Si7llrX\n8zchUFPMOwqrGdwNnjqeSU9APPXBxj8ItERylLw+k1UgzgeKv1OrySt2HbyR\nVhE2coVzCIMKA1yEmWsmCovexij7gjwRO7dLCQLiwa/7g2oMa8GL2+LAJ+XQ\nFLvEdwQelE1TiiBNVv8CSLXBILFqkmSYY2eu7LuK4q8NaC8vp7K3q+Wm7k8q\nm8vXoAmY0JnwNb8fiAa6xCs2l/4QEGF7rdji2nziLKOuVfx+NJfeJXFHtUzU\nUr3q+h28jZpfY9iQaYZE7ZhuM1RR6uBbuR/HKmXheYD1rWBjMjbncVTTIDW4\nf/qzFURvIg/086vrwq6jqfkuivczaXj8Hv/QMFI32QgbJIjaSZG0d79kYHNX\n9HMq/TkVqjJaaB0joC8HPhrcpvv85VdmHbeDJMaGvWmuMEINI2TFLAL88hV0\nlMwNR2Avzh2J/Kga50c9aL/vM0ncQf4t6ztGUv+tL2XDvCTkI1JIaY8GTa99\nBYxp\r\n=PUM8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1HOS4rcuKE9pS8ucnX9eDI0bdFysbMxexcaFJ9VkNRgIgGNj0vWQuJp2G5ZZdciDn7pGusI+wdRl40TDJ6zVwibc="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.3.17-20180604161941_1528129202346_0.19120122859752198"},"_hasShrinkwrap":false},"0.4.0-20180607032754":{"name":"@accordproject/cicero-server","version":"0.4.0-20180607032754","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.0-20180607032754","@accordproject/cicero-engine":"0.4.0-20180607032754","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.0-20180607032754","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-NnPUw1iRQxnmfw5MiDISMh9cPTPPr6GvJ7LuQhWdjmcDwGfXuNizolGQQHaD7/F6O8A9IqVxR2SJ5Me+HdE2vA==","shasum":"8c3ffac701e7f168cac2a105c1a4cb9028f5aee4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.0-20180607032754.tgz","fileCount":30,"unpackedSize":50527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGKZLCRA9TVsSAnZWagAA8LkQAIZ5WTZOr2Fdb71x5egf\nam9erSeI3rLmQ+Hl0t0QFdY79wbKZ1zefyeCL0Lwyo9f98SVo5cUkJMhIX2O\n1LSCGf8cVXWR8zHhLbEb2hO3TitRRpWUT1yvPemRXFCYmv/Ggsh8OJbBZjV6\njSZIQmjqER1c3xjlBtsyPlvwbQ888M7kyxokfjYikO988bU4jEy+UPbNM+5E\n1DiswjaOd8KIRbgDL07Xh19qBrpfI5PZXgc2HFXxVu8GoBaPnQ0X3zOjov0Z\nwRBabu2kW1bRMRGzC3/GKOamghEdkEg+onITAR5Ur/LAfk2Y7DVpyMvi+LKF\nlG0DHhcqBVPn4lttaXTUaUfm8G7k9MrlZLGboW97aznKQ/+J3VCqefpkyDEa\nG7utktmJXV6yEtU4V41prXElJRDAVdm66Wo8XAZrJWUgPtDh77ym0pXCrMJk\nSWG+cRhL9PBQKxGNSwE3y56tmK2DHECXZet2+0IpTMNiiIJV8Fz89InfjZLv\nWy8XkMjhgj1bMm5Pr9Gr6o0dBQ2sgGjuvGNcVhXtDA9T2z4O18MDc+ozWzuo\n0XtyYfUUf0Lgbktbia6lGP1IT0hRJfYZ4CqyNLP3L27tMW35FYI2wezZWndl\nnr/04VWZG2t5fu5hamlBvDMZgXfw7Oz1Uqeo5fSipzyY55ZlWcxeJShvY4jv\nlOxu\r\n=KmKR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXbjalzFCouPTaG4QFs0pUQGmT8KKqzEEs1GNxm0cuhgIhALUJ5HlfDL2kiy6AJFwyS+1lIg7KM5thUtCL2gcNxUGy"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.0-20180607032754_1528342091210_0.2457942429336537"},"_hasShrinkwrap":false},"0.4.0-20180607154759":{"name":"@accordproject/cicero-server","version":"0.4.0-20180607154759","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.0-20180607154759","@accordproject/cicero-engine":"0.4.0-20180607154759","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.0-20180607154759","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-myJdutifW/t4mDwEYeEzddZt/XeC4POs3kzW64Iq0TAuatCTy6+TCdDLqKcC3wPmbZ0kx+tqzPpBizl93pMuNA==","shasum":"53e1da1fe14bf5f9498128bd0a5d6fd5f26fbfe8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.0-20180607154759.tgz","fileCount":30,"unpackedSize":50527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGVO7CRA9TVsSAnZWagAAFJEP/iP61jxCscz+Q44Cse12\nA9YAWyJdOZVFC8AdCnzaNaPjihOGhMz4by4ufDhFQ6wVWTRyKm5z14m/Djv0\nGNDRVATTCcmlP6nnSWPZVi24VB/Wwduq3s1q6wXvDjt5k15vAu/Ig1AbX+S+\nSuxEuwikKS1YyIQfCTl7oDTiNSPihtlIu12ltw4I4BD8ffepKpwFweVhep5N\nyvYk2IHg/hO2SPCGH3+ZdRwql85RoOQoi+qz1rPbxn5GI6UWY5xg9ZxcUHSb\nyD0evZmfMABWJan9snnz7mqzwFbFolWwQamyf+Htt1njsIecXauBx5Dvrrjm\nUS09O2A+uNqpYgYwccZ8C/Fa8qys96shhMdO4W8xKjqR8/apNlXhMc4h1B5z\nSQtqSgZIf/LI8ma3Dfnrfux4yIiiAfsZNV4udsCn9KSIelEb3bdBNbk9rMwD\nwBoPNQiMYee2QClnTR57r5JYcN4WThlmn9RYmdzJ/v+sEFJdN1+QdDCjd96p\nGDSvxKSfUzfIIvNtp2kxZIW66jFaP8pt/9nbwLfIKvMxv1nV0XRHo5BF0unD\ndj7orMnCfuCS/4BnHbOnFdyAXrINWm49j6GM+mBHLfLk8L342lHfQVfAWU/Y\nRcQBeYZLT23eAWCelvqepNMfV5hGDyODNYX25AFUllVvSMRNAuxRj/7W9KG4\niWqd\r\n=g945\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDW83ipJIw8P0FkuYwxq3Sb5Em88dP5pY1HV1FJjPxnFQIhAMCVOvdhKXNHkbEJRS6Ge7pNuhjRVROdY7OK29HlsprW"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.0-20180607154759_1528386491442_0.9176250195051545"},"_hasShrinkwrap":false},"0.4.0-20180607160817":{"name":"@accordproject/cicero-server","version":"0.4.0-20180607160817","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.0-20180607160817","@accordproject/cicero-engine":"0.4.0-20180607160817","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.0-20180607160817","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-EWaa97NDNgQEU3dPCoA5mbs1WOCRp7nAjZ1Iq2kBqVGSLvze1IPfBRmiGNcXFBeT1BuX8bqTnSBEKUrXMf43aw==","shasum":"e2721e44b393362af26d6e84feb50dff70ece7e8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.0-20180607160817.tgz","fileCount":30,"unpackedSize":50527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGVh9CRA9TVsSAnZWagAAx/IP/2yBG7vdrHGPIIgaIuKt\n64WdKDyGviPaGb/f+d9fqY4LR8LSTzjfthUKNlwwL64ePtzygsNSQnn7uNOM\n6YZwkKyK9gpFsPdtdA5Llkn9SHigA3RQAWF04CBhGmLWfgoYIxfrHKOaOD3b\nD2oG2PlhLNdJWZXMzsSEoP9ULk84AF+J8jRcynarXqiJevwq1brrsAM/437f\n9r2TcdoXFRPNBl9jacPNfgdshy1f319eVbnydhMeDujwmjgKwidSzPtG1WH7\nO65BPaoIGfh8wA8UD4Mcq+CnN9UlIi2ywvrAgwSzMKjqNrZG6iDrQEF29e6A\nNcQG7+pL3/bLzfp4M1yMMhUWPdB7sn7bMMqavnAvho0bHLukCfTmqDMZl1Js\nC/u27SfYXyAtnJ2Mjn3G5MSxZGpqwpzVHZWaqWCyXIGld5BjXOMsHW4RyZhW\nlswYmXu55ScyPqXUDbMDYsU8zb3q4NiOnDlKFE5SrkFHRmq9zL+DtR6bYWcR\nTibhmulQ968NQ74wvoc/469YUJjFmAcqlrCFSWxmmnliy1b9Rg0Xy8nLS798\n2Gs5OG9Jn79hOfSA4tvyZEAd2CDBRqua42T1JaAp6tYRs0wty6KmmVssqYTT\njil3DkXKxlBoubuZxYD6rQ0X7HAbWm33yEOTcWaSw610KPYfo/2DT3lFmwVg\nlUUW\r\n=s0qC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzoD56MIKT71NhiFXrKaOQscLu7x+T53Cop+xKSkAPwQIgQD5awDZRpsn6WLuvoBpP/Midez8eTkJHPBaXjYKNElM="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.0-20180607160817_1528387709211_0.4042697164122684"},"_hasShrinkwrap":false},"0.4.1":{"name":"@accordproject/cicero-server","version":"0.4.1","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.1","@accordproject/cicero-engine":"0.4.1","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.4.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-QttPVj0tHfazGAi/VP81F0xi+6yUAnql4LUuGvAsotOvgkLLx39k6nuNpCE2LXndBnU0FRySZisjocF1VyWBsQ==","shasum":"b45e7ac3866bf6d6b8bdda9acb574f99db6e50c8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.1.tgz","fileCount":30,"unpackedSize":50483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGVmcCRA9TVsSAnZWagAAqFIP/REYAWxDbsoRIun2hP/8\nTbm/0vbBcxNgI2bupRNnr06wHnzPzPFIlS1twzRPe/2xYeQ7boUmR+Xc1MNs\n4rgv3bxSmx6H5E1yWhG24I2WZ3bQTIvyWpgDyQeA5juOt2Z4cWpZGZpYvJMj\nfh0LPOHIy2rTN0D12dN/oW99Bt6p6Lve2g+in0lB/WWjBeQOujGknICDkcWP\nF5mkNUcSvxfvgsXVrhQ5MgXaarbhfyagFDEOeKbYBASsWXjRst2DsrrgMehi\nyE4NBR2y5FfsP8uIGePj+sYCjDpT5zkbo/9IBXR3cA0AXzHbjow1y/mUItWy\nlfakug+lOzjHCFps0gBu9eifs2EvBx3Nw6pQt+eYk8iGhdT3ynIiR6uFvIU+\nlAW4FkNASPllRDQasEwkIx1QtXVi/BlvfHCMNhwGB/nIX8P98xCOagaiHgp1\n+Uy/aIzgB/GtcZrd9qOv6DtjJv8Lc4nEXhTljbjFiJjMmCMi4sHnGSr/knTE\neHq/oInPU5oycJ4SbR/ZDpAWn4ljqngGrY970lqjvKa1gZ0C5Au3MwIK5Y5+\nCQO9Yd/3w4j4akcrw70Wh6oDPVpuxiS7QopqltLm5e1tv8yo6HNGAQbr8lvk\nhLX7D12AyiXMN68yjJcSJwpJUg9fFxE2kQZ/ZtqBi5vBe/X5MnBC+VxzNmtn\n5i9v\r\n=ECZ6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoh9WnaWdKlAJ6NAb87TckBT47VX6mebv4zzpL5pHA2gIgLFdYs2vAN8ZQzeOg95pvtg8FLYvo1KS7l7gZhX6LeKQ="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.1_1528387995432_0.127209186252758"},"_hasShrinkwrap":false},"0.4.1-20180607170515":{"name":"@accordproject/cicero-server","version":"0.4.1-20180607170515","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.1-20180607170515","@accordproject/cicero-engine":"0.4.1-20180607170515","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.1-20180607170515","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-9SZTZqA2sw0UCFjU8DraUPA9M5lJm+NV4M+Umzdp+sUYjRO+GOY94d2XumUvmWjlqBQ8BRU/eVPx4H4edLaGDw==","shasum":"f6585537b391449b231e315da3b74b730da23057","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.1-20180607170515.tgz","fileCount":30,"unpackedSize":50527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGWXaCRA9TVsSAnZWagAAhbUP/RLpGjVE+oCzqg2Ou4ks\nmx5e3X0pA9gOdBKu2YY3oH+CxEMMxC05w+gt56dSvN+EBDa9SQd1Om6fTytG\ntwxnJaU7VOP6ufy0IdGuLXyiQXTk5ZekTRRnkjFgainH/DC/Q9gcUgrZC3mb\nndO2z2htfHl+PUwxnxA/Uqh+tldtdIPzsEmNZUaTAyHDsmkzZE0I40ap3Spc\nJcLS/Pxu0DGWlSRx/Wz8mbDjy7quKfIiRJ+XONoZxxaASoQqKZ0iEVGW+R0N\nlBJXF+IHZyUFbM/RmAThq4OHXD9VvDoxSjv816wGnuw1Q1uaEOTICKRelTXu\nZSFxO02bU3cPrxMiv5r9jzYoIeQrXpO7eYdpRUCi5+U6IOcU3XzWgVHBI8NP\n9KZmEVz1PG/s5dL5jV9rJwChXCZEGxLAqNnCu8ZKb/aSJWwovg8dG6J/XZdr\neUnP9GM0Rnf0di57c4pbFjX0/PLgP2NG0wVEK4AVqLaGd4X1I+p0DBijNhGf\nXp6Rjadie5Jlpumt28LPruJu27jI2s8Dxpuvw+gieEiI57tlVZ+CejAKNzhF\nUc6uEG7hmDM7dE9Uqri99id2JhT+0syUNnJfSxM62EBhNsXE4lw6+oa32GkH\nlTn2mGofsBaVu/1iUr6Yup151mCLb41IL0177B72NrAn1t/S2MP1Iv07ivmK\nZj8n\r\n=+3Am\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGAm1/jZ69ShdWfVIPMu9ppApKdHMdVAS+F+uZlM0oe9AiEArszlhmusrUFOcYLzbWEmSZCfs+OOi1MZNLRtfvvyFKQ="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.1-20180607170515_1528391129600_0.21266839522620629"},"_hasShrinkwrap":false},"0.4.1-20180607193954":{"name":"@accordproject/cicero-server","version":"0.4.1-20180607193954","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.1-20180607193954","@accordproject/cicero-engine":"0.4.1-20180607193954","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.1-20180607193954","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-uvE6HWI2Pk/jzBLSr1/rYcJr6/RRO5QTd6kftdPh72bzUm1z2aa9EsaGjSbuN80y30fh66rZyyjI4put/NN1Pg==","shasum":"bb913c1c55e03077ff29a8d76aa03fd5690b361c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.1-20180607193954.tgz","fileCount":30,"unpackedSize":50579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGYocCRA9TVsSAnZWagAAZEEP+weDc2SNYmskj+1KPHJT\nbTP+ftMTsEUsb4O57VJcole+JJMD6LnTQkqiz2vGRQzIiS0KPwecvNrvRt46\n/ik47y+O3ZMufaea/eBjDMpX1nLIGo7Hy9pPmOUcO65VYXGPATjNKTKpS0cj\nt+IE23qWrktbsxnEf7SLrmhJu8YR1d6m5t6EGIjGngXzZFYNe8JGZqMB5nj1\niQyMsAn2hThe9TF6CPPTRrlrSgtQBxlOeaFW6473IxiyO3Q9GWdA534z8Vi4\neVGvY4n6Hin13eAQQOeGLDVZle4PmtCBabYmUJRq8MI50l5i/VG2OIZnRIKf\nX5YksvUZj5JFIuID8JMxvrDzl5ZKyHsWfJHakgZ2Wx1mHARfeHEW1bbZhtZF\n60GW1T6ywI3rrO0djihZP9sL63BVSEnz1prW2nhXVAvTsabBifUsuBkQvxWL\nDO9Fj+oCnMUvh9yz2ieB+O5PYGYnqhMsZX4H5QqOc7JQiolnnzDSpF4R4BhC\n1X5ZxywweQ3so7ZbHFMXr1E2lBEMz/0YCqRGhKnbuw3Ks3T7X8Avlf6ko9Ec\nHgYRR0pShdDNcgLM5n5CQwQFSZFTkWvkp2nM0zm9wALaIzHo+IJlqhPh2Oo6\nCyAZRZyftgb/1+OERV3Tb3JH1UG0RR/0mN0LKJAtdB5rQINNRrZvJucUvDBw\nkiKK\r\n=WwjO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIszO7HYsdxCE+cEyG46+o0g/ZDm+OKGZG1jfSFZgPMAIhAIOIY7yyJoI9qf6IJKlN0+jd7o0fM3VZ/LjBcfEOPqVB"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.1-20180607193954_1528400412250_0.7585487778087867"},"_hasShrinkwrap":false},"0.4.1-20180608210948":{"name":"@accordproject/cicero-server","version":"0.4.1-20180608210948","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.1-20180608210948","@accordproject/cicero-engine":"0.4.1-20180608210948","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.1-20180608210948","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-pUkqU+W6Ldg79zi4Sx/0AzIjhSNZRsN+EkkqfsGznZ0e+NVtZl+61Kapd9FFqZt4CDfgejsnauHYzUBmfzTpPQ==","shasum":"9f553712b4ba77e223443d1c3c9e672bd99fca8d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.1-20180608210948.tgz","fileCount":30,"unpackedSize":50579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGvCoCRA9TVsSAnZWagAABtkP/05re4iwvLyDL+sPgSMD\ndqMoXPnu7SYPdpN9OwIPKPxVeRodp4O0a54ISwR7XSRZwO8dm+KbLGuhVtOv\nv/eZBR1wzriS2E6g831Ne6VZPh+wBtxQxnrszyeIRHJsGwHmDrudziVl45x9\nBTn9YZhELGuGsXa5TVOwnf0r40SW7/e20gCoKe9OjrClZXF9cjN3glFe/xwX\nTqYAYywzcON/6P4+fXEkhCjJClIdIKkvAEftIRPx2iKzZhEpPGHV6D9WtwiP\n3ci24hEvcjce1uP4cJSxmYxSneZYOotRPv86w9Jin3bhF8Q8514cW9ezTcxN\nz+viM0ZiCkCP1nZyvqaDr/8qKO2BWtIyPm9DbJMJoWfJN6IgGnSCS4bQ3nAn\nDaL6m0J7o7I1UG0CCpq6/nkpkn/m1WAimmcGLnTD5b18t2KPs9nQzQD7KeXO\ntKxQu/OF1pYOxyNnCfgyfX9o577nreJu+k04wlkxCEzr5IMPd/cxsWwwLn5m\nveqaqQTOc6dm9aGX9SiSGy2RFTFxp2YJhpXcDhT1rtzFVZCKHq3eHAYwhbUX\nC18CvtRWgl4KK/z7S3zP5nPdMXYWuSPQMQhkma3flciHaqsZVLfrRhChhrBX\n6b8cRveVwWEQBPV6Hr17zk+x1RfdVv979jlFIbZXunRrhqN8bWJYDki58QOK\noQAx\r\n=dB9l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDW3BAnX6OPXIZnLZnk2vMFr/Ecf5U+MqJuGNc7tXazDQIhAO/uQu7aPwla5SKhNC86SoLVXCDyJ7JBYqdxOhJgJAlv"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.1-20180608210948_1528492200297_0.9363686882229953"},"_hasShrinkwrap":false},"0.4.1-20180612001703":{"name":"@accordproject/cicero-server","version":"0.4.1-20180612001703","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.1-20180612001703","@accordproject/cicero-engine":"0.4.1-20180612001703","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.1-20180612001703","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-xJeT/FIPl14GPqU6wz6pbOHtE+0PiEG0hHqz+KxNtplCAhLp+r7U09b38WPezJViEpHY6fb1D2OgzZRa6Tak9Q==","shasum":"a06c566eef034b08c80136c44a3a02c646b60a75","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.1-20180612001703.tgz","fileCount":30,"unpackedSize":50579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHxEPCRA9TVsSAnZWagAAiaIP/0I5gG7PAzfcRzqCHwnO\ndxk5HbELHjh5gGAFthmd+NrLi3YmAU1vSTvzfNE5R5J21lLA3+9wssDOFCq5\niR/q9wB/ZYxeu8s0FL3LqZQcSdw97o/fjqhm8CdxXeM5JQJuhzNL0AfSkcAi\nFxgxPiQH+4l0AGbPsonopdwVbMIInM5Vbh4mLyXtsAvSPALCTnTFLH3c3/vh\nUB2JMd5EODMLyzzo7leE+OgsawkJz4ZgDf2mmi8DwpQFG4c22RsES0FAS6NL\nEQA2YTrH3MeCuwmGYVM5uTa62lsEQLAK95BoE0qKoXFjWrp86oJPP1x51u/W\nT3ahO81jAIzNMkRRRFtiGPyFfrvqJgNtcKftEzUWF3mIgYb83HlZZU80er3U\nQ2Qg0223NccpffWVJpKQRAVYZvnx1eKmLu/f3eN4MfWWcGaMuWBpWVc4GSI6\n3wV8xBasJPnhd5C9XPmTnz+FdYwtyn4a8OnrSiSxfBcNIjNOKCY/5oQtAfLV\nQXM8k2w1yDRrD1PeBOqfzoPBJpLvG5PVGAB0ajukKUx61Y07FlkixPswZN5T\nu686aGdvJR4EWNQOZoGOoeb6uRGPwpr7X9RzXzwsSMRB8savsEcxkeK2SVeD\n72UlC3Q9VRDrr9Fv0aLcoH9XVPncF6lubmZVErlrF3yd48LxTa8ul/vyyS+I\nIhxd\r\n=d2DJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjpy5GOY5sMtqlevCINxT3QjtiWq/xWmcdqu5qdLwf1gIhAPZxJCjM5oRDmM80E6/Trc4cwOfGu7GB3Oipn+X3IwYv"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.1-20180612001703_1528762638454_0.07619116027496475"},"_hasShrinkwrap":false},"0.4.2":{"name":"@accordproject/cicero-server","version":"0.4.2","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.2","@accordproject/cicero-engine":"0.4.2","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.4.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-5vjboeMRo0HqOmCNinkGveSpYFiOOiGM1/FmzsmgMXY0UpK0oxSEXBrC16pb2jdk+yKcDMyd9/IpSs/DqMW85w==","shasum":"28f90d4a214fa57420e8346f10bc942ed77d2687","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.2.tgz","fileCount":30,"unpackedSize":50535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHxUMCRA9TVsSAnZWagAA160P/1JIcsMxuDrVtx/Ko9xP\nbdg+4dpnrrnJgPm44thTghIhaSmRq8ojaMMyC7aUKhTjZbd+D09bSklNKR1z\nZQHkGiH703Hm8XtARpxdmyoIYS79SGGaBTWtPGWMaItx1mH1q7RcJlRNC6Hr\nAj7p8d7WYKYdZ1hY+WnIZshp3r1Uwe5T/D9CYiqbxWzmKJ4bnsCRk/Qn3l+v\n/9JyZ9WYibpD75/L63aR9k4qtti417CFJoU6kyDcPxOdZjN/19fhTJa5LzYY\nhOlPmInAydpXH41VI5Hj5I3KpRJhAnV3QHDy+/DYtB2yc2AVFIZmda6mKJ77\nMMnw63sSEv6DH7h75bqpP6YxzLShpV5qlbeB2WbAmIA6igRB/d7B33MNbQaG\n7T6x7ZMwYsHth15NLkSjBlryBfi8VJI/NC5ch2k4tPtcDetuEv32QlZa+5ou\nivBuJg+6avr7zG/srHnD0DqBX596S2EKI+oMkaA7GdRMUtKPwVRqzToDpKF9\n1cguZzAvMiHXkODaohcbR62ur8ISjfn7dtcV69idRgS9e+TChLryO5/LtAJ6\nJmtdl5ymahhy/FmCgfKir1oI1L3Q1+aljl+JLtXlsOCbTPhVeoNE3v5AY3ps\nb8VhvkLGwhef+1/adLDwJz5i0UNhcpzOlhaLQwlWRDv25hUjtWxu2xiPKZS3\nxlOX\r\n=jLiV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID4SF0CPghclVOlZfXQznu9Dy7V2n2UI1gWLig4v43QKAiEAtpbPVo2KlTG+uNDp2So2mI5FmsrVsRkKPpUsFGkwF+Q="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.2_1528763659876_0.9533916188282063"},"_hasShrinkwrap":false},"0.4.2-20180612003807":{"name":"@accordproject/cicero-server","version":"0.4.2-20180612003807","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.2-20180612003807","@accordproject/cicero-engine":"0.4.2-20180612003807","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.2-20180612003807","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-KBu8GwyZPOSlYLfN+Umj7N9+B6eN+OXAQTSlpxc81Kq2WjT7RzF9rWc+faU9ooVc6YV5AUesYJw67Q2sE98NkQ==","shasum":"3b26ed1af06b796ecdb525a279bd409024adf093","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.2-20180612003807.tgz","fileCount":30,"unpackedSize":50579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHxX8CRA9TVsSAnZWagAAf90P/1oFV8uYx6c4A7Rf4nDG\nbMcz3saossY552t8gcvxv7WL4+65BgKMEM6pMij8F75Woi5b2DcTC7tQajuh\nfvHPYiEcwgxsP5MrraMIgIM4nvRMPqmurlRAupRF8bFS+s3sFJ+6kionjncJ\nXErAywq1cn4s818+X3x2kALhgbIPhW0kokV74VIRTc0722LSPRrn993CLZl1\nlNwZbQN+T59OfcTrJAwNq61s2yq8GDwt40SRPg4FvaKUseANvwStg/6jPk6m\nFrHx9hiyyBw9O+TsZQbGxstTR1QA/QwS6OTOW87ff7aJg2U4BCCFodGV2Ax3\nuquGEIn/jJvuWSV+0H8C4+ja053PhloFHg0kkVC32+3k4sMnT0A6Fl/1Dxwc\nSlYCQapNil0DvGQIaRangg/vIT7Cx1exU8RLFJmzkmXrDkvS3YxZxSOEv8Pw\nnruOuaOHtm5L0X2+hCCoqS1S/mfy/0909qsiwK5cpu8kxklbRTEHIDxUnFpz\nq06NZHu1RqufmCEZrm/hKS4V+0dYHF7gFVVCgpOoG6leyfAq60soOeMQLBxE\nCNHi9g79vX2K3WtjEvdjRnCGg1nEzBaai/KNS+o8m9Eb8dDch5xy0w0qktwm\n5LvtpvjznEH17xYrZFE846ZBOeE25oHQX+U6mXUtUpZI6WIrCboB4J6NyIj6\nJEfC\r\n=IKw9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCM1FvT+lLWiPfQoUVDy3uwcxRIBc5VlnkrvTHupxYeQgIhALWzKv6WhiMsg1thHrIug8i6uPXRoPNJmA/zllAMyvV4"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.2-20180612003807_1528763899400_0.5870692530509993"},"_hasShrinkwrap":false},"0.4.2-20180612064658":{"name":"@accordproject/cicero-server","version":"0.4.2-20180612064658","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.2-20180612064658","@accordproject/cicero-engine":"0.4.2-20180612064658","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.2-20180612064658","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Cdw7Z5UKjulUVkQ+5Vqc0+USG5v11AVjyfeZqwR9BLXaBkeAstOcuBXxqdyUp6nbPCaHgwq8nZl2n4oXShDNdQ==","shasum":"457ca0b42dde41f53016b5dc68596ba77379a128","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.2-20180612064658.tgz","fileCount":30,"unpackedSize":50579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbH2xwCRA9TVsSAnZWagAARXQP/RtzUJQsAht9kJ/jWk9j\nIv7LGkD+SABOvapDyyBCmJAB30561wSOiOYYfpcX5ZsXsD6fftp4pe17H344\n56cKCSxevs4pfK5L2Zl3n1FnxhZqqe6k4DhWY1AVfNeU2C70ZKNpWhPyTCGs\n16Qrv6Ucw7t6XmVE3ikLu2EmwiXWsGMJObvmIw5QZVC2qJt6/gwrVTRucJXs\n09eKWh0dXXGsAU2HyQezuqbx/QklWeG7ZBDANQT8faarVq1OgnaYiqGUMeWQ\nMYrrnsX+gNbXt0kM4Am6fXjSkV/ZxoVR3WNcRYJaT6p37NaU9Uk7XUejKpFZ\nYvTaT3+lSk+Fuo1ZhYtKpuAjqeFKYzOaplvs7hqiW03wzZKM+IDDFlBKVR93\nE8macrr0NARPnfDs00CaywJEdnzNp/+pW8ey8Y18JMHflqVZuzfAJzqgzPql\nZY0OM0V+zMUM2Q7c2gNKA60DkIQl8HOBu6n5Hg9+hchwg2o1hwMRzg0Hk3v2\neKrXbH2ILOQpnERqlMkfWssGXmMX+q+l0zLR+7LO1f56nFu0zaFdz+AqZRRD\n5MwljUaEtentzU6fuLAQAoPuWQSnubffhFGSat/XsNdHu7p3A8LIuwu8ilQl\nu6vi9OHMAFapUoqVjNHA2jEFCcGOyxHUt7T4ygaz6vT/4bmQ38RuBjQ5tZ12\nyvmY\r\n=UyaF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGG/Rq6zaVsXH/oykpAqO+XR7AoTsQRMIuRL7S97hMYOAiA2JCIvb/R0+aaC+MQF0kFz0rVmALWw/tSQRyzXY5w+TA=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.2-20180612064658_1528786032426_0.4326719273675341"},"_hasShrinkwrap":false},"0.4.2-20180613192015":{"name":"@accordproject/cicero-server","version":"0.4.2-20180613192015","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.2-20180613192015","@accordproject/cicero-engine":"0.4.2-20180613192015","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.2-20180613192015","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-yZPvE/BvbXY6KQC2JQjpi5n45IB1CU42U2IhmtWGo6gTImMfxk+PPR4zeSXHRmULWkYlNibUhKq+abZzV2lNog==","shasum":"f1f250f2a7f097669198112ddafaeb620701382c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.2-20180613192015.tgz","fileCount":30,"unpackedSize":50635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIW6JCRA9TVsSAnZWagAAZw4QAIUWfk04O2Su+q1QJkpE\n15zX+wfAlDxD4nfroe828z/SY6FbPZhCT151tqAuKJ47/55aXxttrxkT7mKr\nmGWgIc0g7nNFGOrmFUEhaDnDhKnbI2PpCI7kmpcxLUm+D9leO7hOuGN9edLw\nplFsPdrueWljqP0jpUIaczGf0H6HDfY9cmStG9Ji/3+ehvSyZQVkFM5K89Km\nN/vlyXB7d2c1hc4jUVBetzT2kVmXZRyqKHZk7wtG6cYV5T5IPiXUpxyNDZdP\nSATXlddltfq9I35hJWZFdI2exPg9UdQu5HhhwX3OK2v+d5A0lHZyGqVNxi2+\n/xixNsDIIcP5YtkWuf8ZZGB9rokUoFG4s2UBmNZg4WylcieeCMW8oxg4DQ0W\nm/YiUS8p4aCyaq4xDKBMk7pIhfq1gZxneZfCTbN9U2NiilmIAIbUttSSpJx7\n85HMgSg9W4h8wjUWWk87O6E20WXcH5yeXITOlmtlv6+kcI6ml9kcxAOcPoMG\najcCFAUjR/400/BqbPtvPrtGZPxTWXtGgLatRudaPD+Vkusi63f2hBkfFZwQ\n24T6KiycG/MjISh/zceL8OmeqrUExGKIQCswZDT3Q76mSDURUJ0OZ7zAhL/8\nU2RTd/8pL/2JXrnH7f/sGiue34TZqeNzHUyQqLWznrT73O2JLqWAXuv9GtOC\nCXUy\r\n=O2gh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEWm3loEEt5ic2owzCeXxE637J7pnqfG/bNBQytKEd4oAiADqOqCBqz8ubAmACzSkGC8McpuDUy8dy0JbMrjSFCvWQ=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.2-20180613192015_1528917640929_0.8831101197202103"},"_hasShrinkwrap":false},"0.4.3":{"name":"@accordproject/cicero-server","version":"0.4.3","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.3","@accordproject/cicero-engine":"0.4.3","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.4.3","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-ZfVBuU4bgC7zu7tZ4KWVL5/By2UPI0I/DLuj0H7yCKEjAWwaIY8d0dmsDIn3QK+vdACRhij4fwHDZq5Vzgy0Gg==","shasum":"27dacf2355598b82d2aac9008e30b35ea04baa33","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.3.tgz","fileCount":30,"unpackedSize":50591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIW/CCRA9TVsSAnZWagAAbuMQAJuyJP4ff7qwOscUl6Cq\nNHj8GbyDl/3Mv3B0B/1rQSul5bMNBQBxDwKlZBWvJry/F3XQyX19SBx5xCif\n37ZRcuMhI7jexh2e7ql7vTt/XIfPhtnqxRLQFazshwtW6QmVQ2wpttrdMekT\nc3WGYgwVcZjxsICRJQn835YxBDMOYZEubvdd2pWO2Urcm0RuQSTHh2f1QbtA\ntnDeaaDdKz1dZy8+GpbxwgqwpnODlshRycEQ+I/6NkfcD1cX/vrfc3Nib/wg\n5ZBX4uYWjNtV5DuQEa6v/C64kHcziLy3ceRLkIMIf9DpVBkajdUK3SYj9Hbx\naodg35QU/fO7DZOCGHph49uvYMCdQGq8Eazz3k5bKqhx52Qm4ehrXAwgGRjU\ncw0D569GiRjy5hoTxVIvs2I9qufeF8rOzTGU0kYA+1+47O6x22oUGF93NYm7\n3FJ2nSxmBX4ehWIq6lyWiQJdfSJ1uRQRlf2ujj7Zbhv4EoR7JSzEhqoZShV9\nzv2iFjFHfo1dI/hhK+IPf7wwZ+YGCLrbnER10uXvVYJ63MsPH/FNNBM57usw\nlBFxmIlNo3JdF//b4vHHfBJ4OCwRvDX11iwWKTmgfgHleD/DGbFlm8TAlwsl\nvRUPNsQU70Ll/8RViomU6fH5XC4kQNiI4OIlTMd24WPIS/9xRJrCerQ9Q0x9\nDEYh\r\n=ASj9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCum1IRMCWda1hkXpq3Ez8aITDqRpKVfR8naEg0KemibQIhAOudQF11wGAEIcjt4AHJYbv3rmNn/l26tcjYLcUm+bbl"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.3_1528917953587_0.18553535164591461"},"_hasShrinkwrap":false},"0.4.3-20180613192910":{"name":"@accordproject/cicero-server","version":"0.4.3-20180613192910","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.3-20180613192910","@accordproject/cicero-engine":"0.4.3-20180613192910","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.3-20180613192910","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-d2gdladnWK53JHFDmanyJRKcIca0u/o5cl3+cgZIxMWny3pao1xiBlrWnZ2qLCJ2vusqKQwBG5hy1hLPk/+7cw==","shasum":"9bf70683f71dbc88cdd18f8710db02b0c682ae90","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.3-20180613192910.tgz","fileCount":30,"unpackedSize":50635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIXCdCRA9TVsSAnZWagAAswMP/1qT0TtRhMYDOHJfr5st\nopx6ebVOD7bAKKMnR/JNpZq4yVAHjCYKQP23iFhxxWNKkxrHPAqHSKlfestZ\nv17Yh5eFV4TCv+RPZ+Tj+rAccnIHdmABiS3124htTDGqWEnK9KtpdZfcyKOb\n/fNzfLEqiAk/bJd5RBqj/Gtf7z48BTOhcsnAG4O+BcNi8lpULhls+gRdw99h\ntkNv1LHpAAnfTkzB+JBfg/CF0SKltMX6RIBt1Zl815pNbpbIHZini/ksDbza\ni+ZBysHvh+8aym9c+UucQjDhTcyLMt0oKscybvsBLlH6uRvR9NK4aTpfakL9\nGiVrdX0Z2E2GHxKmqJybcJ8Rdxha+tDiex95Cuauggd1/h8h1alHbCjmSpeR\nampy4e6Qzch9SL8/+TerKMyNIsB0ngXeZbe+dg6fPYrUV8CvThiPwbr+zgeD\nLzw8XgfrjC7lIkkplexCMkbPB/1MB7UjY1lMEunUsogTP9qfTTsIIPSrhLzV\nfEXM/s63bnhmHdU3W3liJ0AMO09MJplyUmciViW4+3CF1f+Wn8UH1ip9bPl2\nU6FjZxrsMbQSBoZW4u6gLyCPuxeDOu+6vfuQJ8kR3KxRgszXCM/GEnX6Qo0/\nAyslRt7hfU/RRnZgN7pIvwr7/qvcskg5fyscTS9nSez8qnkZwfCWdlYNV1Qm\nLEH+\r\n=OH2m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHiQEK3xSVLwK5SvEndcLJ/IKDo8O1r9co/nZ5bB6I4uAiAjRBMmQ/2MkcGXS9hK3DyiT5Roct5X9e3aLpwzLm/T+g=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.3-20180613192910_1528918173248_0.03480270179064293"},"_hasShrinkwrap":false},"0.4.3-20180615051137":{"name":"@accordproject/cicero-server","version":"0.4.3-20180615051137","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.3-20180615051137","@accordproject/cicero-engine":"0.4.3-20180615051137","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.3-20180615051137","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-rlXOaW5xWrTGxrq86cRxTKG2UnIMPo+1BeMaIew1ZCgpQYPFg6dsA5ulHsYvyPSdpDyaegEwkNhPmIhHMFB0Bw==","shasum":"098823d3e1c002d4d3c3a953324f5db787356a70","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.3-20180615051137.tgz","fileCount":30,"unpackedSize":50635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbI0qXCRA9TVsSAnZWagAAz+4P/2ZNQQBw2bT06338MXWh\nT5laihsjJZFA/z910gol2sc18umiNcEaVtcwn0MELkm87CJFrj85a/5hwL9L\n1fx7TJcSEiqug34WpIAmh0et/m5m98VPm6kng1ZQKz32zVXwwPVygDZ5hLPw\nvCsCAqkevXV1762tz0EUV0rSQlHct1qjOXqH7fmeS/2WOkG6g2W+ha+Ws6qR\nYDyxffjY6PE6SRYVM+bgTBHQUQY1rGiim26cBaPv5GA794meEafIovUOpKmH\nOtKs3GEyvZVnLZorkQ9AMJT1/Fviv64xUcg2BIdhvQPMux9eN7gfi9Co1tDg\nN3e90yZX15m6GyPK9vgZmzCfX+NPFMiOoH0BX1P91YOOjnO0ZPYuVhxdSWqx\nPpJKbLeMsuxGsXk57chZpBnWlNWrgqNvtqREdAKuLcIMJYUIV59a5s6A68qw\nZ2gDi/QORYn0gvuKZI950IOI9xX+rG+6SHdj0hpXw1jUBm4PXJW0I9tPI8ql\ncA0lhWCsy9/laS2PxLuCMzxPuVAhz/UCGnELQ+RA5OSRJek6z4XdUcEFpUJO\nJE+fOo5oTH0zNNuL3Au0Vml/OygFEb/M+p6wgvHnwxzE9Yc1P7nqUstUanNu\n6q9mUOy61g8FRLdEsFOTSA/MdiE7yHq0ktrKoiFKQ3VEw3iqXEv8Dn/Hq5D3\nBbQY\r\n=4pTi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCir255QjiMmZMb+2RD6eWJkeFlrBi97snzQJVP8MNYhQIgAKCWLdNn36wOcGYpxuU4vSSvKxrBUWay/v5bej0HUFs="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.3-20180615051137_1529039511109_0.20090668310833926"},"_hasShrinkwrap":false},"0.4.4":{"name":"@accordproject/cicero-server","version":"0.4.4","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.4","@accordproject/cicero-engine":"0.4.4","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.4.4","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Nyq1ht/5nt94CXDLPcNmG/TTGW1L2BaECwPIECu80j6/wP1DY/zMWdIp6UCXF+4rDXkMqr9ePugK0HU8BvXWDQ==","shasum":"c36e3b84ca2f976f38c50eea52676c013955857f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.4.tgz","fileCount":30,"unpackedSize":50591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbI0t5CRA9TVsSAnZWagAA8S0P/j+NeYiIMvJYaSy0RaLB\nncOUL5FZGzN8ZAdKDl2f9CodcOcn83QWvGJM2/rZqOkhB3xVMrtYimiBCsAT\nUbTKHgUrBVN2Cfx6vz9Akdib2wlu7DaQr0utKuBeS9wm4CULTiiqCANxao45\nuT7LceIs1uUAp+Eu5oD7fbcVeAQdFNoYRk1D5lJF+bkpZZNUcxvYCTW7sAhV\nIIAdl/jFlsEf963jmS1YhPGLy0UUzGo2+fzBxmHDalFuXOihi8b4lanATapk\nnhD/64yHB7IEICcb4rure3QNST0Uz7G+/X0hf2rJvvdsW3WC8l1jcRBvjYLM\nyuAWs9/HAXPPj1ukICQlSJET1EaPzC2PhouusiiAxfhphIICYo60aP2dKtEK\nrJ/2EoXU5N6E9iU9ovy95hgwHk740JTpPYcfdybDug2J1xuSOgBBTzgO7YK+\nIFI/PUeepX7cFKq0wvjbmVqHDbrsVmEpOii4q328CN8PCyafJXEbItSzGVls\n03YrhJxtdCilTSRvdvu/NTbULeXPemdZ1yA9j4/u1yENi5Xv6ZD6w1m2CIS/\nRG0jf0T/HWRaPgA9G6oVeGRmzHrnpOrHCTmtUf2m8cXIRu2qnBIVp8R60YE/\ns+n68o3Y9jCUwKvBkVvu8Nz9dBtDdEEOlVvE3tJJzCvawufcsSR1MY9flXz3\nDwJi\r\n=VGxv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDbb9aF0Ez/huMDtXmsc1W5nEdKYe/WmLwagmpY7hJ/gAiEA3jpNfth8wT98a3dX2hJFe50u84BnXQc5gIlvTYk0JUw="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.4_1529039737286_0.21177631063600932"},"_hasShrinkwrap":false},"0.4.4-20180615051811":{"name":"@accordproject/cicero-server","version":"0.4.4-20180615051811","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.4-20180615051811","@accordproject/cicero-engine":"0.4.4-20180615051811","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.4-20180615051811","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-KA87K6TiJfnzy+5wf7wvFXx4yDzipUY7338+XSoNJBNRIhXrwkq/ilQu94tbrF0CMhxaEcBMwMvyDoZahIjhhw==","shasum":"abe9e9fe0e56afa164bf73c6ae7ae964cb0e4a1a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.4-20180615051811.tgz","fileCount":30,"unpackedSize":50635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbI0wjCRA9TVsSAnZWagAAkIsP/1Nr90zC+EiK54zv6+tn\nDMvUi3FP/G/Lx5pCkH3lppeocV3WkH/+39XJ28XIhoK98TX49LMyD+Sk/38r\noyvxKqZ83YgeOhfHEhucrTGX567ikNEtiJ+GCsMlLurZGnOBLpM4bmwoS4Iw\nArgyKNWXBXXU1DLbDGp09b5mjzMKsxHTAAc8yfDmrKG+4FP1w1O6jYVRYtQU\n6uMGnbFU4lWNRlJk7rCuqNS0k6Bu2Ym2GeJbqBcLqkagLoUvsZ6j0wZi71pt\na90rAZOj9hVUfRjvAMS8hUwbKNuIMgsqSllymnuaru340NBKkPPbrn4fothQ\n40QpuX5+UqwVrtqEJlsuipQErLhFA4pC2bRHy7he2UTDd7EIwVWvJCrb6/9N\nScOpeWOM/5QG+np3vZ9rUIhFu5JauPADGgajSxRw3R/FD9lJ0nPbHVoQoSw5\nndn0ItzUNHr6I5nDFqQv87zlMgurwspvt+xUIijS0W1EvIJnh3aWkr+28cL1\nPXjAmbWFaZounMThNG03TmO58BZ01q1H52MWG5gZXP+3d6SkHBtVrPdo86XY\nPYYs1G1tK9Qm3yM/fE0a3K3UlZyKZFcSmDkUSjj827br4ulCJzr7htPWI+Fy\nwn3+6+MkEZA//NzyFDmp7g5N/yCTHJYdU7cyVtfaTzTYa7aF/YINf+zIZ+ke\nZPBW\r\n=y1Vb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoH/uFm4Nx1lCLx9kBTDc74NVYUZanfnEKm1S8WVYPTAIhAJS5tCNapTYvkVBcuWJ1xS60WxZ6N6gI7YFVGr62Y69p"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.4-20180615051811_1529039906829_0.0507884426983809"},"_hasShrinkwrap":false},"0.4.4-20180621082734":{"name":"@accordproject/cicero-server","version":"0.4.4-20180621082734","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.4-20180621082734","@accordproject/cicero-engine":"0.4.4-20180621082734","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.4-20180621082734","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-mUkfGqIUrkccv3OEEd3YpMc7VH4hegMlyrnE9FRYVT6Z6d5Klf2O4EsWBaVC8fEAH7EIFlrpZmc18qOQeVxfKw==","shasum":"2cedc1c88d1e2965a27ed08c48e215280e0b9055","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.4-20180621082734.tgz","fileCount":30,"unpackedSize":50635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbK2GFCRA9TVsSAnZWagAAlkMP/1hBuxP9BohYrk82kLac\nAzxj4vNFFdRf4AyOKdAlkxqk27Eu5NULhwDz0jmlUMCQXdZ/2kc2EKU2If3Y\nfG/GQ2EI+MM8qZgiplYZjGQ0juxNCcUi9/GUelhlAhq8N1Jjntgkqvjp3Yhm\nuhQYmzj3yHSl/9Ls6Uvd99oRWMxz0JbxeH+uJcXma39wbEa7j8ekq5KHLcc3\n3ewgxZv8K9zyEHZ6siBOOtkwn+++7P79UBEFaBCrv2auF7/4rKxu+TpDVkfp\nx0qAFXTtTB3MuV/FhBQTlz7EVDr3U/DTCgCaSCMYbD0ktMJwi+5V21QqHGZz\nfgcXLR2SzJMeak0Om50ODJHE8OIrJ9XqvOrBhcFBGoXfTD9tISIN9s/AhqQt\nlzPk9yNrTCSeuFHvNy77OxZdrOol5rlkP4JAoYE/q5r+KliH0WawqgN1hfUS\nv3y0riaEnANVZItKF8kWr5k+VgEnWkRwAOO7XTitvlJRnYhZ8/+w9lgNSGwc\nie+vgQ6FC/DMRWvoUHpA0tVerk/4MpvYwGC4SYSOaRr439F8pqMV6pcPLLeK\ntCjMn5PeggVf2MPfpfT9wlt5KfDk7nKHOng+JaRGsBUKRMg/0syQnM2KG4xf\nN6LGCxv28OkzWddxQPotkPzrmNRseL+BobS80SZWWwJeJHDCSX2Tm7VLNVY+\n17Ic\r\n=KI+O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFEPcchyH7tYzcfiThJH8r2dkxzlcb2JTFCNziKW9/0RAiEA1FYbcPjPrhIcqs6SUOveHmiZJBrMSFhyS42g7WY4xpM="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.4-20180621082734_1529569668804_0.21638687585495386"},"_hasShrinkwrap":false},"0.4.4-20180621082924":{"name":"@accordproject/cicero-server","version":"0.4.4-20180621082924","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.4-20180621082924","@accordproject/cicero-engine":"0.4.4-20180621082924","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.4-20180621082924","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-b+LWAqqfPq2gHD6iDxFOjKVCDQmjMkBclCH8Mcl5UwXrftvs/534Fr0bbmDjiQSHhLiFuodQ/vH/hoe+6z6hAw==","shasum":"e3c610438ee7dca22a85024a7279c41b8debf32f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.4-20180621082924.tgz","fileCount":30,"unpackedSize":50635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbK2H+CRA9TVsSAnZWagAAgVkP/2v5L5YscoppgVYSPyvc\n2YnsnqQh8x1oS74QjTyxrnalN74pOo5WwgBF9+X5VZlh36iYfBcY9Eyq7Vej\nN+1K/Q03O4LUvO4uuLjR4MN3SiFl2NljWSybSdUdxueZMT9EjSbnTaqIUL1E\ngip7VxSFyCUS/22Ahz2HPCOcw8cxTTpxl4OTR5824riVlLPj72u7++L7DygD\nLKJq4xGih3DGY1EZvmkBIHDWhDdRBrZRmzujEw5ilJDY8iCNg4yUGAqkeAsq\nVP2dCKVxrAcjQe/246siQ2cmvVFtoVYTZGBTG86qxxe38tjYxysGtglIDNlr\nuStsg/uBcwNc9tMfiZUqXFdlpX8W0dkCLyqFvQ+U3MCWVp2O+KrIdgFe+SBA\nNDaIxq147hdd/RmAzgs366ouIFGZdgFlaLbX/A1XMlCc68cu16NP7gydHZny\nMZMzNRO5TFxF4i6sr8dWdpCHXK0HLqv4e0KPqwZfRglzt2LoNVr3waSa1jBf\nXIILlYcHDpd/D6/rSChrk42mm+H5ei7R/oOL3Fn+4/oYOiGgGILPDvSJNgsF\nEPo9+nXebmtjsQihG5RwEyLkyoYbmNJznkzjnKX6DNGaYu+hY7s2iystWaHZ\nfkoZ094VLbebZc3yfA8ZRluZzxRdpJnvzxrqaMuuYRjCp97BExgtf+KfZJb/\nF8gB\r\n=Feyk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGRR5i5eEmj/JEXwyL/Bj2zeJZQpyhdeClCWzMSEtKhwIgFSMZR2qAyoUXQ9ewI6zX1v/jYxtDRF4sqheQxTGesN4="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.4-20180621082924_1529569790467_0.753348616470747"},"_hasShrinkwrap":false},"0.4.4-20180621083008":{"name":"@accordproject/cicero-server","version":"0.4.4-20180621083008","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.4-20180621083008","@accordproject/cicero-engine":"0.4.4-20180621083008","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.4-20180621083008","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-6XyLbtjh0hHVfnBNnHLCYuNNLhDb+gsfICUpDfs6IwuqA9F4Izj3xxh33qQCRi2Zrgqa0Zca8oiT0PWBmT2yoA==","shasum":"67cb819e8e337f21fb2043147fa8050a40cea295","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.4-20180621083008.tgz","fileCount":30,"unpackedSize":50635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbK2IiCRA9TVsSAnZWagAARnQP/iKLT+p724TR6LfVjc7p\naX2JrNsBpZdR19tCPrYd+3gfLXpT6wFeHOJrXEX5HPwsvGOMeF9lFlh87Z1S\n5pfmYkeEyKXaOM+tMy9+mSLL7u1nMh9Gqj2Z8q+xwxDWx3NE9IL0fdcLY5V3\n2QvCZjKgC/1eyHmMltT0vgiSrZ43oa50OO1M4L5cjlu7hjJPyaxqfeHGCsC1\nJ9rryyVJ3MloZjZdkHCGpty9vFwvp1Q8mtqomFAlSvIQ2pwRw5O/HhpGhCdj\nFiwDka+3P6VtPFwJubD6ClyfKBFmBsSiqniYPBB4YAsTGx15JmS+nsfe54Bp\nG2fOPHWniQL4URjJGWah5+kcEN6YPlq+1rwAYavAI86tnPUbW8NJdHwXkhyl\nVfoxKeTANta2uNXRIjb7sSwUBXiFcQIDRQtjIe5iHEExdyRlF5765L/Iq3xg\nZvPks4bANRHArFZfif3snr9Igh1lE3K/h/gH5lzZLB7GPmhmbkm7x/tq1hXC\ni+RBJUzYdVBzyzoM3CCgzItrl/cUX9Vjx4+Qw/O6AbSeBpKcb2kyVPHa0eNG\n95zE+0c+99bYGM485Mh79LNo43I0S62ZHWmyEhX9H7GxczcgcB34SCzQzGaD\nipIgtmt+oeIeh+ZSEJnESBN/AOjM9OdrFsXlf0cq20X/inaDXmOJ8fXx7v71\nzPjJ\r\n=QQMP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1XjBCIxMyLuUKwZLUSl5wcdRAZzKhYfAf7XEEltqqxQIhANkh2tSq88HaGYsfqN1zBrCFDC5V6BdwUi1tp5L3ZpuM"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.4-20180621083008_1529569825756_0.8520989788188718"},"_hasShrinkwrap":false},"0.4.4-20180621122011":{"name":"@accordproject/cicero-server","version":"0.4.4-20180621122011","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.4-20180621122011","@accordproject/cicero-engine":"0.4.4-20180621122011","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.4-20180621122011","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-JP0BOgzitLFKPPKGSesInucqcQiV7ndMch39lQ9M0Fokj3C9oM6dFb/jDiuzm4YhwQLd4YyomQ+jOjN8/IV3uA==","shasum":"a2864c959ad9586ea41509427cccd0526bc475d9","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.4-20180621122011.tgz","fileCount":30,"unpackedSize":50635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbK5gOCRA9TVsSAnZWagAAtJ8P/iGPcQHYu9UOeHmbdW1e\nHX3mfzJKYuSp7X0ope672imOLVpms6/v29wvZwlS1S8HwmEm1pcwRhPs4vVp\nIvSbztrF85EZTQLJoAiLrPbOUP01f3Y0H75BwpKmhvpdSxa+l9sc0AYDNJav\ngkb4TlIpHRlwvYQkhBUVHybYzRYpl5qL6IH7xJf1BoT1Svo2ypgOWqkHGe0B\nShc3z7DuEZtEuLeu9qM4rxFf7t3EhuUKOSG2DU6rrh+KG2riONxmNhqSDQn8\nSBIbNRwhBSKTaLP84s3eAhTZc3owlqvwflu6O4nOSQwxoI4D/+ao0ok61wbD\ngHRgJs+ffq1u9zb/4Uui0zMW5WINQThLd5WfY5qs6ntbwpefNHGOxhvZDb2C\nWZXL9/7f1fiX2wtdaf1CxVQtHy6BG+QsjJ3RLe/fpjARFG829AAp7n3e+ouL\n5JzTjSC/UzIQ1sJq2flnniPiewI8OXzR6bImG8Fnd092HhPRy1i7N7oQOl1w\naiFeUriDd31xbpvcOcd3fnEAEiGrMCak/wHwc/PK0m9cEyd7oxP2lpUeMwr3\nu8YOXLJ9+p/5IHIGLTU1FrmKQ253WMuEhPSzu4EahZEQPaciAxjHppN/qs70\nP33vBWNfC7QFPoaw3S3hcTFPab89y/sZ4qZ9gWxnk6YaDUPJB09p0DLudtul\nHS8U\r\n=q0Rz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHVmrEUO94sIJFC26C4J/Sbsmax1qgVWZ/sSaH4KmvGAIgNeMr+hJN8LlI4vwBdREsg91JAwm6P4qzbVHwo5WOFz4="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.4-20180621122011_1529583629791_0.46051806666373674"},"_hasShrinkwrap":false},"0.4.4-20180622124047":{"name":"@accordproject/cicero-server","version":"0.4.4-20180622124047","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.4-20180622124047","@accordproject/cicero-engine":"0.4.4-20180622124047","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.4-20180622124047","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-DFfC8KKBDSCgewWlz9kZ6QY/bZnPdg4jpJ3ydFABkIcm05hav0yl4ovIMNCKOE3TNu81+82OgMxzPpHcICt2Jw==","shasum":"649489b691067f2b5f4d7eb45e612f29df1c51e5","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.4-20180622124047.tgz","fileCount":30,"unpackedSize":50635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLO5gCRA9TVsSAnZWagAAYOkP/AzU8cvHRiahd1LmV/3l\ncn6yPcs4kmFrVSgwR021uMhe3HozwC5WRvO12c56IwR4t2384sZWi/UeVmYR\n4xcb48EDl8f6K0ADp0OHueObL5RLKOTwLDY+ArV8AG0Gqh+Cse/cxRJzpCyO\nGyxcxEyfG4C7ZiIXV9c4l7fqu7LjhfdHIBQnmZ5UE97ANvW0YEB8+VlF+ZiN\nYiblAgVZLFTTfu7SpdLCeAqZLFcrEgVCPttFPW+qd9fDJ03iJirDXfhzDDeC\nf69fROaOoeNU3micOVfMehPAtoU3PidYGDgIZsg7zr+ug7xWEWUP8ru18/tG\n6zw/yq+cWxyk+QKAghoxeGVeVYPjuKunXbyXoNoJ8xmqnSweYOA0kdAE+4r4\n/7fVQwQVtban/kbV4My2Lm/Iy7Irb95lo/Hl0k5XDc4eVaRgCfrAm2GrqWCe\n2HKU+8Y9O2XP+WkMvinRLoP2a3RKwcUmy8SZP30tijxN9BE7yzmYCAML0iw2\nN4/47Dy99t9JfSWBW33l+lRNpBCUSVo1tr7CM5TcjdEy2dLoynyTzYFvvY7z\nTL1Iu+jUdFFzQrcmarZeyC1YTOe+u+PdZzLhXOMDLj3lBi7LhMJRpKMB6KSR\n6lGYTu8UiyU/eQGH/cDlLrgz/XDVzS0Z8DH4666tioG0vN1dwzJlx7O4tjT6\nbjYz\r\n=MVKf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvzFSAnkcFqrwCQHbl/XiNiG7XdqcXqqsOaGNk5fFPugIgYYAYqhxT8cr+lzBXLE27go3t7DggL3qbrMODbgWERAc="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.4-20180622124047_1529671264141_0.5102617888752556"},"_hasShrinkwrap":false},"0.4.4-20180622124253":{"name":"@accordproject/cicero-server","version":"0.4.4-20180622124253","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.4-20180622124253","@accordproject/cicero-engine":"0.4.4-20180622124253","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.4-20180622124253","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-k+Ik/1VsOLWtjplzpqAA3Bbyv8PnYH6YTEY3XgFsCOENjYyv8u7GOwPYOqQ+/xOGkFEc8Ld8Npm5189djoKlig==","shasum":"1afcd0c13f0ce8c7e2f537c1ac28ea2acff64a2b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.4-20180622124253.tgz","fileCount":30,"unpackedSize":50635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLO7cCRA9TVsSAnZWagAAXBEP/j09aroJ/uC4nQWfIy5B\nBri6lEukIEXBTV+k0YbxIvRr9Kxt/Ncm2yZacb/YNtaJgVIGKUEfe6pdSC20\nMzPjIwMywoBPkEBswCQO+ynMk9rgGQXKSqcw6bx+OcmiAQ5dfeEuC3qCxPBN\nnZ5QWJX8SfcES931RELcA2l4ptxov7AJxJNyP5YNTzvd5WCzIYBiO7E+ogS+\nI9GEE9OVzyVIOdB6v1z5S8JucqQ49O1IBrD6uHCQI4o3TZp6EKrVlGRqPDiK\niLbWd4nIp7QFhXRkmVwCHqyBCjhNXpE3wva0okotaRxLvWffbIuPIeMwdAry\n5oa56WdIbsRVED/0Y+svc9zUrd1M1aXabWdrI5Z3MJdSniv7QEDY+ULzw9Cv\nan0xq8y9Nhs2ngSRsTBLYoGhdNMR31cg2cVMMimvXwnGZGNfeBxDOfkMSR5P\n9RF3vV7i1J5qLrVvH/1+eUop2KAX3CeXYFlHJixjKVmeBEG4sXU+yaug3l8P\nICGf+akK/UXxoMqQsl2aXS9ulRdF0n2M81ZtT9UTj5Ro9n+jRn9LqOg2TeVL\n5NzTAvdfCIBRVHg1ns9CoAXrae4bXEPBYblQzjoQypWznEZQhuJpchuUVMyB\nLv+r9i4eS8h6ZZOZFIOWj0WK9Ga6lkV21kvMgceE5JWaKS/ZRw8KCadqDCW8\nYz3T\r\n=+Zeh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICpZyIvfEdvJDds93eNFoVmIAo5NURMv9LpFGykL38PvAiBCQu0PDjpkpndIYyxYcrX3wlKGhPnTsxWnwghbs4N+iA=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.4-20180622124253_1529671388268_0.6349920049068489"},"_hasShrinkwrap":false},"0.4.4-20180622173306":{"name":"@accordproject/cicero-server","version":"0.4.4-20180622173306","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.4-20180622173306","@accordproject/cicero-engine":"0.4.4-20180622173306","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.4-20180622173306","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Jc/7ZhjSx0IMilIsKCXw29kmszDHnYC46q02vKxBpqku74KJ8X1CfsnvFcLor5v4OafAmE1uLPcLo+8Wz7iFnw==","shasum":"335de6ea6d154f1dcd32be684771fafcd3350a4d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.4-20180622173306.tgz","fileCount":30,"unpackedSize":50635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLTLjCRA9TVsSAnZWagAAq/0P/R+mjX6d/b1ns0paj2+Z\nwbSTbVqJ6X4PFtRmTmB03nSTrcegmmF0hResptZhZR5vxPZwqguuCzyKh/wW\nTQ2F9WVOnea7m7F2z0Z1ZKbmPGsTLdl0jj67JGrI47/FfSUaysUQ8MJqYd13\nqenqo2xKM+gO/YuEhqDEz8b1Pjf7PmILPOL9qojxQCojrdGiYmxiV7INsfwo\nxEkBNvSFMxrYHHs43im5mi9ROEJ3IEItIT8x2hBENq8/udfmOW9WmTWZHkeX\nuYS8K5b/csz+AzF47xbEcmzoKBaoxvzujWadFG/mlECoFurtC6clHx1oi1dh\nZRRleCvWjKNWqyuLD0OgRz6wPoZuycnHWexm+a1+8lv7iL2UrJql1jzAVPBH\npjQNI67QbTxQugAnkM1OnEfFlRQ6JY320ZGF2ACUOnAngJORaGH8xh2m/pfN\nU1LtDBLvpRCzxxjLyLYauhgTtJktrqAXVg4gcGu9T8q8JaHHZUi9ZCzWrk6T\nXGp39v3SdoE3/pO3Px9S2ZSmNJsVIWtYyTkxMey6KCfojD400YP05xOtsHog\nACVI8MqFIjexlPBJp7vnwkXCXGxCRK2Ufshwb8A421/jCEFKmzPzLxah3gz0\nJerzowkwJ82icJpYE1eF9HZZp/K+ZT0p2W6/20IUi4lzy4HZRQTXWkFHub95\nVnSV\r\n=/Rdz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE8/FsdRQFFglbzVh9M3nNTv+rXiVdagvn5oWbhPf7EvAiEAziVSd2ETTOuqf+Y12+jUVVVwG/E35XuqKQs43hp1AwU="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.4-20180622173306_1529688803661_0.2784586483974607"},"_hasShrinkwrap":false},"0.4.4-20180625220134":{"name":"@accordproject/cicero-server","version":"0.4.4-20180625220134","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.4-20180625220134","@accordproject/cicero-engine":"0.4.4-20180625220134","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.4-20180625220134","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-/Z0got9Y6DwrljB8qtjs6ilYMoIlFZiefiRuPzVhpea0kAsmloxnE3ZW5MjDQiQHNvNI+1l0sJTaNjEF/CQ4Sw==","shasum":"e26a0647415713fd5988ba1a32d31c119cb9cb92","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.4-20180625220134.tgz","fileCount":30,"unpackedSize":50635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMWZOCRA9TVsSAnZWagAAdYcQAJkyr6IVf3S/u6E97yS0\nZF6lbFeJG1uiRQkBGY/J3ngwFBIERw4JADeRp8nGvtiToJuLnKO/8cvWD7gY\n9RJggyW0N8kdS4BRq0Sl8Oi9j5mng+7JNiHHMhUjtz2z0xY8ouN0FyRLvUWp\nO9jNobb/LXJZmXIj+nJ22IR4vZXdRxPecjQcoxWZILs/qCY8+YHjy05ZB1EU\nyyynCBem9ljRp8PO5KmNwC+UKuUZSNTvpKLQWB2UaUB0r8a+XuUVXZZblq1a\nm3Wvpe9a7qtnXczfRBPvmAKFaZhRDxjjyU0tGLRRERAIPyyGgQEwGMfyxQIK\nkWi2ZVJQ1XHPgNio6rqkzCtmQ/sUZiNABSNlVAWdm0tPHaQGbz5fIjD918em\nMXmZZkO/EIVFH/JEOy5n/QiYDFzzXE9Gk6V618BFnv3ocZlOLSwYcE5J7sbC\nfCH+o3r17Z5YJ9L5QGxy9BaPQTKaoSqapUKUwJ9QFSEWJ84vdtAOqwjpO+VI\nEW7fZFx6JIBfaA+49JyTY6Kdd0IB9py9EvfAGTDYfJ2nTYZ8x6cWs2zYbc0t\nvZ4JeZozDeMlmniWCEArlNf29Pt5RRD22iN4w797TjyMabH5+9Mw0qnHkW+1\ns015uSjxqhmEs1necRrM3/U2lrubtb7N/9ZIkmr+T2o8k90vabfBLpUanSQQ\nBTZV\r\n=MbOp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5v/x47DguXsJFDcK6tBANBjWkIhQECyQ/us8NykNgswIhAPkHC0fbPmowqd6Jiny5bey2MPNRo8wa2XPzUQuRXkeH"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.4-20180625220134_1529964110542_0.21678365808968691"},"_hasShrinkwrap":false},"0.4.4-20180625220721":{"name":"@accordproject/cicero-server","version":"0.4.4-20180625220721","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.4-20180625220721","@accordproject/cicero-engine":"0.4.4-20180625220721","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.4-20180625220721","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-acI6rMyY52/M2Mpeii0KQM9fRCNuZ7rLH/EnjpSdE0m5pmE1JxPSXyA4Dk1UDqpvjXVHo5YtokSiq/IAm3l23A==","shasum":"3f1a95ab07f25f32eb5270a327e2a24186015c1d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.4-20180625220721.tgz","fileCount":30,"unpackedSize":50635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMWeoCRA9TVsSAnZWagAAEQ0P/jfTc3aQP/tCD4m00vIQ\njzx2NFmkv2/dKu7hGYaMTHeVAEhghvQtcQK59A8DM7UOR7DMZXUhpnaFyYuR\nSBilgzaaF4nKadiP/rll6DExuwjdUMIMw3r/Lpc/8US0/hPEBDSeZp4VUEwk\nnqyKEg6AaiGJ/5ZvMasYrDB0iCpED4c4FbqSlR131yuGgvjHfDttS49HksGM\nwNzAURGR+do9pB37iH6W6PltlOHEiM/jcEOHFHOwY6JZQ9Vzjkts/oXzWo7y\nC3HQsIoGy0hMMpl1kirUgiXvi7Ekw0dq3PH/LxqQT0NiY+vb3PHuDjg1npFM\nYRfENezBBt2+BKSjPCCuBy/qSFe6F/mU2fAiDa4BuucitBtppP6OHYfGS3tl\nnavvZP/6eiwvHLPIq3K697Q1mTkyjqSSlnKj2st90o/Z2OcXl59+shBwKN+l\nRUme6WVpiOBtgGOLI+mGA5hXwoKwC1m0WEOJ1bup1kMQaPchEh+Fvzns51bG\n+7wXTWD2zLh5VspWLb6qrlepco0rtvleBFOd/8A9IhCeOA0+TFE5dl2Ae23g\no2mRgaoPpxhxQxPjGwbk8u2UJShZVWvJLNQNt7sK3QcOtQV79S8iu1kEXO2F\nZBo9O5Ag4XvLxbEm7FkjylR6ud9MEHar3fGcra3U7Yh9mqdZnb+McZ35nKbq\nRBbN\r\n=HeS7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBR7mehbqUxILCFZyhtftvASpfvIdl//ldF8KUAWy74jAiEAoy4ceNJz1QSO/+/B3vml5Oy10OeYwYAIBeoDSKVo2Q8="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.4-20180625220721_1529964456309_0.05182339376725498"},"_hasShrinkwrap":false},"0.4.5":{"name":"@accordproject/cicero-server","version":"0.4.5","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.5","@accordproject/cicero-engine":"0.4.5","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.4.5","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-wpEJ/6FeZ3kC6vNRh2UCp71sgtEKDVJJKLzbdWg3cD95/aH2acZ42Pm6eImDGI/iJ8txffLiB1RfETuO2keGYw==","shasum":"9bb9e32bb7065b603669814abb69d019f4ee9010","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.5.tgz","fileCount":30,"unpackedSize":50591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMepHCRA9TVsSAnZWagAAHIgP/0K1CoEDhqox+DEGMq1n\n7EuIKhwQuiamttVI6C1AnlUWSyu07ebIXN04/D4jO0mBbbAae1FmI6SZEhWz\nLjaAH3S0ybsBgBRf1fVKJx+FGErr5rEIoYc5amBax6Mz8jK9/lOw8gJdNann\nu6KjfG4wUiLJ9yXxJMGY/KFeqZ8yX+ot6tMPHYl+3GcGt7h/BSYWCxvZtz33\nD+QY3W9gHha/NKiq3rnVE6mN2UTJoXwvXQpzhY5TmiCLYiSrXL++oRLohuII\nFqTd+M5q+ReqXJhBBhICUBgjW/ZGeAetj01JfFOpqz5/10tmcFY9dCV4AWxg\nKyx0OBVaa8PF1lPCDsYki3GkdIbkFy9aTC+vmwoWZ5HhQwKpEiHDgWOCJpdb\nv+bu0aoZYSaIwkWShPVgJB/CnJEjH0aMrG8sWlT2Cy5RS/ucFXwh+gKIshiw\nZ7BthlidAP9SOtoUhnHFWVp9MzUbJ5RRPMeFz8DTcXOxX6OTFBRv/vMzxeuI\nqmqy784NdJaBVlh4HziTjDsUzcfpMM20/qGFEYAvQajL61ySYb8H6I48jAcs\nZJ+DM4krvDi4gBVAagcl43PyxzAgTuUx92JJbZb9V1JmQZQPZYoJA0lRL7Z5\nMW/AmJYfEsYeOZZn7fIXsU+9ZY21IzNUPUPJeM7AQEZr9IH9WLj8LGxlFWdC\nTfiX\r\n=q0mz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyCY7pUz9EQ7RIhEcKBG4oSIlA0VOSLRF1BWXKDFygYwIhAKChaqFLjQssUUFFQZd/lPi+mVfblzWdQXyCY3yvNgjG"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.5_1529997895604_0.5255455558849473"},"_hasShrinkwrap":false},"0.4.5-20180626072801":{"name":"@accordproject/cicero-server","version":"0.4.5-20180626072801","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.5-20180626072801","@accordproject/cicero-engine":"0.4.5-20180626072801","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.5-20180626072801","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-PyUbtw3nkmkDS5hNnFFSEPychPf5rE4xuad4ohW4MXznsDCZ42fWdXOA/GLOxFHQDXktsnmEOPkldGJSoypX7A==","shasum":"6782ba48c5d69fb47f768bf7dd7264f60082d119","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.5-20180626072801.tgz","fileCount":30,"unpackedSize":50635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMesWCRA9TVsSAnZWagAACoUP/0Au6R8OqMe96e+MyDFi\njkmoKHUECXfHy59s1Da1cCZ87+ilKAluP1YzhAUYD8BGHBORGLhjquPJ6tf0\niWk0Ki255ETKH0t+41l22c43Jt5SHbWusSvCbwxuOckVfnHRQFVX4+mkJeYg\nwI4zISsVkgM4YHYjEqAC2u9g6czei8zUuN+DTUNmk3t2FGgygZ5QYzmQ9NCA\nUlNN5S8NCkB8KyCe86kkxLmHpAcNL/DQZBF8TOkfWe26IE/tJW8j/TNBH0Ql\n/6Ot9ImEyGLvI0BzZpcnY/fDz2YuGt5cgMZwfpkcGGJIQolPCeIg3pWuVWxs\nP2IyL3OdiFYhbMB16yY20f8AlLLSih7giKXdetWkv0CR6qu3THyxxfHPI2Gt\ne86x2DKrZYe+BC/dStesAEVTBP2bxaBZXwEMhbL7jC4RkLLy2L0y7J8j4a0x\njyYogBL7ZClP4RdtiwUtAyABclBb7vUzwkmYHx8arr3tGJtqGm5LKvjoM8Xk\nbK23ZGrTs8Z68osIDqOrZndbiI2oDmyrB0XkIjwP+QZDUJjFmatJnH1TPBzS\nYQe36kZNTO+9IjP6saUhOtZQPTZ9LwsB2Usdxdmd2i+Uw7GqkoEQKGwDnZzl\nwbK3s+L3JQWypihCPmMi1ZtoOytlFVaediVvgXVZYnwdTL6w+DAr0/iKEEbK\n3PP9\r\n=b6o/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBL5uz0ZaRdWS7TRSviaHudix8+QK+G1X81a3DgZXm8+AiEA9z0e5YfKM6yED/ik6cNRxXvCtM/Cz5s/+rYuhdEmyUU="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.5-20180626072801_1529998101938_0.9609446406848359"},"_hasShrinkwrap":false},"0.4.5-20180630162219":{"name":"@accordproject/cicero-server","version":"0.4.5-20180630162219","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.5-20180630162219","@accordproject/cicero-engine":"0.4.5-20180630162219","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.5-20180630162219","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-noqEu/QEQDWleKwrwdsS6zQPvXCZTomKTDjtWXiT5JqINz/0UpfNb0HhroBk7fTZYfSjYknZJ6h3fHEx0nzAvA==","shasum":"5424f982c30ae5f1c5336e80c68a2459f26dc417","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.5-20180630162219.tgz","fileCount":30,"unpackedSize":49863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbN65ICRA9TVsSAnZWagAAGVwP/R2x6CTRPzDYkYMIIvh4\nVaeid41gziXE3gPQCXkaIq1XMcPwCSQjElfklvanCgk+PVZ8AEgz50Z7MQSQ\nZNBT2PgZf75i7n0XqXjRmJNJgaH3vypUQh1VuZGZirf8YMSFBcFGx9D9K6Jx\n3S2jOordI7b91qOamdo6LHqhLo/OgpFUwlZXkq8A8FmoTUmVxfLBfYMYyCDN\n8f9waztnwq3A++XCkWg310Ljwp4yTL6owd4NuIZTLM0AJINP0UvdiFjRrOoA\nYaDgYxYDdM7IqZP8ef1VTvZDYY2w59dxokRHamQUYyQUSTds7XRYH+VjZ1W5\n/T7/5oNSk+dtUWKRaO0QNF7/ML0vB0CaBFPD8CBReP+UQPxNCiw0cZJapG8t\n92XjRSpr0gCtLYtD2GkR9GeiDJOHRANq2Mlq3RUDsQlZ8p62vCXfjAhfkijZ\n7hHBymhty8nCXUFDX6eOgF80ifH1+NjkArWm6raTi5tiCP/UcYiW8Um90cHl\n/UGBxMvLxa9YYB4aceKUBCPCQ1Dz7qpgtHc2S+8+4/OxM74WGveOiRcEX5RO\nZFr76iHmzxkn5xjWfNR2PhkX79mRjezKLxLAUUfeyS/pGBmaiQ0n/p0V8Fec\nuBuXTc6WfKwhDTmiw+VprBUa2q1yOy2j8LxJ3q8erdeMgFSWuHhWGSa+7Jen\nxYhJ\r\n=/4G5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNmdg/nbAHM7KEcWfwBww6FJWklqEh8eV80rneoaPNSgIhANOhPwVG3MmqyM0Dx7zQE6ADum0KzTN225l+2wsZqLpA"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.5-20180630162219_1530375752315_0.6176047688076729"},"_hasShrinkwrap":false},"0.4.5-20180702114258":{"name":"@accordproject/cicero-server","version":"0.4.5-20180702114258","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.5-20180702114258","@accordproject/cicero-engine":"0.4.5-20180702114258","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.5-20180702114258","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-dhM2wr3xwAuUwX5MZmUJVpj6NVglJA4/hOiq84JYe7SlRkTgrz/hWGgBB/2kI4zL/ap1qvm78SWNhxSAw2vTAg==","shasum":"ad14c64b080a1e90d429b8df3e05c5b546c5a533","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.5-20180702114258.tgz","fileCount":30,"unpackedSize":49863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOg/SCRA9TVsSAnZWagAAVeYP/1ZRpWhMFJpfgYyEL+pz\nMjoYHkFaU3nmLIFBIxvT21O+OwP6C4VEWV996I1UsQbrVIWQfNaFInTC0u2A\nG65Ub74Og7rfd78wCqcOzLIQEdCbjaiRZr1GpDLAE9AauFCYNLhagQX99l3I\niW16icuNCcMzO00K3uhA3HRwDk0TIi6jTqvWff3rQBIipYrAJD7HbeUmHNzI\nACMh8k655aZXIRQiHxVRnl3xhjLfISZ3yrq2f22p8BI7P3wBPveCuBjoJ/4Y\nDMIPdRf/9xF17gZ7XUzdOcx0znUZuKoFB2yh53Bwhnzz9ABF7CmVdFoNIlsb\npb/pCPnhizZDIADDp//XWChS2/aFLTET7O2My3nNkjDcxe718k8tJ5aFg+jE\nGEYnOIxG42V2wANFexJB6HYTCry/SnInc74wHHOmUqn1E5YdpM5GQxKeynAz\n2VIMglTbG4FbvzrCP72QOf2DYj20p4Wrc9ZYSGD4zj5DbgtcjW3QAFdrO5XL\nj5SmXCTccH/CJur+zMpx8XiY1cChfswZrvluya0dRoJ+E3sDNzaHM7AUvWHF\nXkLjoN65pcbog8u1kL9uCRZp/wIC/uY8ei8yIGc/CTjs06OPWtj0TtnsPiNu\nFolosTUBr8oWRkDDXCP/3y0i8zWyYQOhaY7xaJTjQiGOGt/38F+R5M4R68Hv\n7cCN\r\n=hr2n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKrKFb3GSQgVsibvqOuZY6Cj4ImT0pK7yVbYG+Lr8wYgIgIyXfa7mreP658DXpOpfgNDTibKusdELXOUW8/ZzY9m0="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.5-20180702114258_1530531794209_0.19694007556940862"},"_hasShrinkwrap":false},"0.4.5-20180702142111":{"name":"@accordproject/cicero-server","version":"0.4.5-20180702142111","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.5-20180702142111","@accordproject/cicero-engine":"0.4.5-20180702142111","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.5-20180702142111","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-fJgIO5/TPPIKtmYfhmPsv9VDvl3i5O5zI+yxPErPakdP4x4xntyfJoX4T9XvKcASFiAmvDeBPKttgdlKH+0PIg==","shasum":"d70a964dd4b27e517b2eec2c024b162a842e339f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.5-20180702142111.tgz","fileCount":30,"unpackedSize":49863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOjTnCRA9TVsSAnZWagAA+aQP/0ONgQ+Q/jv504su/W2c\nX7QpHBLi43h9fDOrvYuznVpRnRQboUvLJZXdpuWwTRTAugMQesHZtzYjbtXE\n+5nEiP6JRp3O4nTyYJegKsmjjoJv9tQ2jrVj0syJOOupIBazfaRNugcdNg3I\n/48RpLTMBtb+xIsR1YrHSdh4OFgjbhR2z+5ekYGZkWoxHW8XWEU8UY3MeU+8\nIhilQzyAmADvQctFzFXupBhhUniZFtsNA/E2btS5hu4jZhYCLh1k6kT9I0gw\ndElQBL86CjA9AYd4euxb02gzIg4ZowDiglavvKxpkWW53FmXXfX7k1HGdQfE\n1sTJuVFcq/b7GMPbhmxuvQk9Y0trNPRZwq4T3T/WeZqQ89YcKUo5/3Jhtj6u\nRkRHyW+UEcUz69CHFe7DzvNx6o8bk55n4sqTEbXRtqJ/TwKrKYHOVafmgS4W\nAceUA/ZerjnMo7p3ccpb2flMUoQrwpxjpP3TiV06mIJzOFnK4mRvnr04CFuk\n1M8wnRiyaldFMg9fmVFcb5lWqu8nhH674Gejv9afBimjAON7kvDbDC9f41Sx\nCauXaFVPyRt69J2jGAAUG3pMbU7e6x9GcMfSHAyNDjJNd6/t1Ng2uEtcwgBF\nIJLIkE67UfrmUisZFSCWs33ItIyJd+OgeWcvi8JtXr+5Vx8xSQM1XOibar/4\n06gY\r\n=gZu6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMccDonlQApEwGx8OE6Y9xQGCtGBFqtTI1P7Q82SgXEwIgFnIs37e1oMGldZ3zo3szAGcVdjsbEFfGaDBe0JvALIA="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.5-20180702142111_1530541287910_0.6677238791290832"},"_hasShrinkwrap":false},"0.4.5-20180705184508":{"name":"@accordproject/cicero-server","version":"0.4.5-20180705184508","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.5-20180705184508","@accordproject/cicero-engine":"0.4.5-20180705184508","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.5-20180705184508","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-dvkPkTuXUaKtKaqstsKjQT2zLMPWOtk3NwhjL7SCgql7NIv89la0IXvicKkYrRgQlkAduGhjLubyLUCWy+j1sg==","shasum":"6772b8bc5af58e5c0b5db11a3feaa6677d818d68","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.5-20180705184508.tgz","fileCount":30,"unpackedSize":49863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbPmdECRA9TVsSAnZWagAA26YP/AmEqQ5azO8qALv8fL9o\nY21jv4ssvhK8iYOAySqb4z85Hmc5UMP4xjPJqe8bcq71yfu8utWkUMp10a3f\n5eftPTI9llIb7Ihvmb9F55O7bl08ZqF+r7XZ8BYvJ1Cp+QSFe++W8bMwf7od\nNiK2t7V0RHHo1nObqfmjbhkZdfB91nNkSyFx5yc1mYI4nSNWCV1pS8Lgsp0f\nc15HOORvWpoKG018Uc2H+hhTjo8HDucoUeFYyF+3dblLZ/qzjyelBSH7ZhVG\nKfO+gRQxLPpAjuTM8NywK+fqYbxO4/92yIjQ1WevJcuzr2+6SFI2bPw8H+vQ\nV/ylQ7ubVrn1N0hRItAklBaIiP/oOHTXFxjKa46FzlO9PiQj0qUiOEsOYqTz\nl92pCYbOMhH/uaArziuLuUpUPhU6vPEJNIky0z/guCD9fk4072ofVZCx/TnL\n3UX0hdtKCzUWpOwCUiON+N2VY2sjCj3/xnIqXtZpBsMvVvZ4AMN1c12rQxfF\nAcMDZOCUD7a0GrF48tYH9dlid/wNSzFXaJ6/BZdW0dfyDpN/5HeWBCLbdhZy\nhoAmPXCkkqEtrKKZKcfctBZZqVF5QPO8mjw/UV66yXGeViewh7JWNA4vYVZM\n1KnnhLW3lEq2aqP+dTeNmHniMWpdGq0nQrtiEMfVppokFZOUIG2BOAqLfzks\nvsZr\r\n=tVH/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGUOcewkTRFqqLV/SFaE2qY2g4jnqdsQLK0z7X5TzCgQIgZ9a/+JBYmKJh4Y2hNopr80mA71MbHVIyjeFckwlE3Zo="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.5-20180705184508_1530816324663_0.8821683005302441"},"_hasShrinkwrap":false},"0.4.5-20180705190657":{"name":"@accordproject/cicero-server","version":"0.4.5-20180705190657","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.5-20180705190657","@accordproject/cicero-engine":"0.4.5-20180705190657","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.5-20180705190657","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-aL+9LTwyG0gGFNOu+NLPfyhChaygjY5ouA97p3bhfRFS0VPynlNosV+lmWF+0ECnNjnXpy3u4lbbgOmzzyQ17w==","shasum":"d75d1ba75e83fc65ab31414aa2689610453088a1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.5-20180705190657.tgz","fileCount":30,"unpackedSize":49863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbPmxgCRA9TVsSAnZWagAAJ+cP/jiiK4dUsbVPQU4UdQcE\nacmOsr0GX24ANssFxuil9ikk2SGhDGopTw1007gTucNHcHXvpydhnwDbDXti\nXdRrz1hnq2Aiy0wRnJ3urHNveyG+HxzAtUIKuYfBeOktqH6mat5h0U0PcnIr\nuCc35Ad+ig5RXOomIzFrTcbxwok+biEBf9jb7k0H8dAK/4NblMIZcY7PlTJ9\nyhVgRRqhI3sWFGJyTs5RJPHRkQUGOnDtW/sYABtx/UW9M1AV5GuVA8jaI91h\nMNS1Cwx6xElYeLWlpYhkGpZL6KSeERJurckUiqU7MIgrXL55GAr5asDvOB/3\nwVSdJiEiL9JaRwVr0zqBi8nGhAVx8TeWQz8KFRiKYTmuKpedYfC0IDugEpmR\ncCur5Dy2q9kAWFhqKktwHtR8TACgXTVP8rOEJs6XVszLfGAUoFAJmJ8RgDmo\n4t6hB7SnBT+I1KG5wLe3RbNnHL+jn4qlTM/Nd1BEyS+oqt0EGoiOMkuFIdRI\nfdExW3jw8erplmJH8PTuoaRw2A2eEWVUDySNNzeAMqdaopV4C3KHv08xcwMd\nOJKg6a7uNCMZgyLQKZqHP4ZsshA8kSKD+10YBGnptvKPLMrZek5J9DXuKE6J\nCRbUmpL/O73fiB8nFg4ooqcNWs9SHoG67ofm/eUd2BPyE5KAT0IzowOHxKyz\nuZf6\r\n=lmqW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWkh82NvU6Qm3/yddwhOs55zJ81TRsaEYrEvk8BRVspgIgBV7j1yQYoeQqTWaUIqXD8DINGMaDOxvRhEcGWkf8Lh0="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.5-20180705190657_1530817632412_0.08205047480356509"},"_hasShrinkwrap":false},"0.4.6":{"name":"@accordproject/cicero-server","version":"0.4.6","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.6","@accordproject/cicero-engine":"0.4.6","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.4.6","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-dWgViZjQXXRGJitrS7wxTHbBYLqKkfX/2mEJon7GO8cO2aJMkdK9ZYiTrLzXWTpLwXFoyfuSgVg65tFmNus5uQ==","shasum":"9aa74b384f6ac660e398af487d915e2448b928a4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.6.tgz","fileCount":30,"unpackedSize":49819,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQ7ufCRA9TVsSAnZWagAAYeQQAIz3hN5JFuBxifoNmZ63\nr+sllJyfZ1fLK81m0GjWTf72Fgm94InaUBgQ0eNYDUz9AR2nd3l9/0zoN//4\nPVDYod/a2daY33/1U9u0NMoe0oxWi+uJf5tKINcw62TiBhWlSjPQFhYBknFF\njK7wiAEZcHjZ8DKNkLnJw0MKrIxg8VhC/Mvceqp86do01NyR1cJH2gKt7FDn\nytF9095H6ezZSCW8WVdcV0JbzbCPspm2q2ioo5hJj6Ga7S34h0/PYHHjnMwj\nyrKcxqmrqvIzvIl/cjyouN7Z0ANYc38js4Y3qbaX+3doMDQh8mdE1lLTxcXJ\n5+o4ilFTiv3vAOtXgicy1caaggGT2QO64uixR8D/I1YHwC+7KoAJQwldR9gT\nWbxveb6Pdb+p/+5et72aNq5sXFEHoFyv69+tnx2tZ6FOLaU6mBF255nu4DI8\ns/F6kTqs3lpwAY5KA3LcyuNrF+rV2YWJKkB1Xhzua4s9ccJIZPWt0idKu9a2\nt6itK2m88EY9s6a25MwRMpVvodwxD2FeaK6eWBJHZayvjZBuJB6ySz2bvI96\ndpDh1MG0P1lKGYrY17mk8TRO3vh1m1VZEYjd/lo6xHFfN9Ne9OGH2uz0f2tG\nw9f7y05EdQjIJfuxtFTJvhJb8kKJN2tbvKEjDDOFtWt4gwiAvHpBgjsi3mMe\n7WfY\r\n=lKLx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWMGnxLIViz46T/F3EkoEhisWtyKTXvbrqeFNwNVi6UQIgCq6kZ2F2vCNkBQ6z1KXfIJiRAHBkYEVQ0XCKQFlnOks="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.6_1531165599606_0.9572238293639506"},"_hasShrinkwrap":false},"0.4.5-20180709194744":{"name":"@accordproject/cicero-server","version":"0.4.5-20180709194744","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.5-20180709194744","@accordproject/cicero-engine":"0.4.5-20180709194744","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.5-20180709194744","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-xgOhXqPb9O9jCA6HPhIL/V1JHlN+GUXeLRWhqUHtz6iljnDAhHdzdq2H+6+8DGd7kn5s8iSvA8HuxF5hcUWoqQ==","shasum":"0c1a19ef9a7c25f2019ad02c5b1bf0a8bb20ef0d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.5-20180709194744.tgz","fileCount":30,"unpackedSize":49863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQ7vuCRA9TVsSAnZWagAAiVgP/3QcBWPkQiw404yaJlRa\npc9q2NaPRL/HiQmeaT21aD9W/eH7DG3EEXW1W4finglH9nYiiNNZefyCVkEA\nIew+9evA1KtXN52ctUb77hUBC1lB31b8Sov4EcUk/qKK6C6+21kPSSsA03Bo\njc96BboExoCDbK5F/IlZYJJfQ4+OCQRZxxSSSrwQRNd/blsQh8xGLV9TjyF0\niNL0dVoIcSa72Sr+vljtJpz0Sa58dPrHCcIF4sKNJXVsw2E5AgiCJWNJNpuA\nWyLvaZfsKXS9kU5UMJvnZuz6ud580wPw7FFrdH4bd8BTZe0HOIJFK392DPBG\nGQRu3q5aKoM0BYPcbmCxBHvSI3k+DNnd/e0A7omr5TfNZd05JLSzxNhOP9tq\nmbM+FSdXq+EP+zgkFRbfvdcvB1LSzGC5tGg8r3aaWKN9/p+xTwGdkXONkxue\nrLiPWA0AOY3C2J/JFrhBqqkW3bDIzUfJwdSUn5FTHIL9pmx0czJ0gqeM6kuW\nLMO4vlN4pr2wzbVkJIsTUW6hh3XXf1FzYJc6QD4/Kze2zMf2Vi+r/oZxeyDQ\nyIBshNf/8oHsaa7LYffF9ra+lZKgAc7oH8vk991PHoEuIk2MXSi3PF1m3QBA\ncwb4qnyVHk/3du4pbzhwwyfw2LRUjW+3o1Kp1u+jhVkZymC6LkYklCsC5uj2\nZYEE\r\n=baqB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF0sofIEGVGxyD76Byh6KbNi1WCAOBhO4tYbIWN658rtAiEA6xBqRyCAgNER9i8sW1u4AySwghfus1+GxVaLCuA+6rY="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.5-20180709194744_1531165678462_0.2901626324213402"},"_hasShrinkwrap":false},"0.4.6-20180709195022":{"name":"@accordproject/cicero-server","version":"0.4.6-20180709195022","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.6-20180709195022","@accordproject/cicero-engine":"0.4.6-20180709195022","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.6-20180709195022","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-bLpoxwrCw6EYKo40C+vWvR5OQn1tt0KRIzCyrhj3hJCw1cntTtxDsNDpapboJN7A5eHpzsKyo5VQmPYEZPfuqA==","shasum":"68bc56532ce6f746dfbce733a57724047df71358","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.6-20180709195022.tgz","fileCount":30,"unpackedSize":49863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQ7yLCRA9TVsSAnZWagAAUuUP/0f6ho4FFDmZQrdCxHr7\nvlbFOvYpAQR5nmOa4xYM5x9DMr6YVQkZ9I0y9OQ4L1pA5D4b7lf4y6Hs42L3\nNr83Wz0PbQEkNkUh5gRDMI6g5OmxE/5dR1F2uyVZTeF/8yjtTjmtXhdV9Ohc\nDtDse3MUkDxX9u3ms9xFv3C4cxDGCs2vnMgr6qDatllFPMcznu3JpiMx3iAp\nD+80SDiU8XBdh/SLaIvA5geCcgdvrXWBcLAwOPHAsi8Efd1iKiJxejDZztkE\n1HnWBnItQ5jp2DjKZAUQY8DEoY4B9CzOZeVrgRAOuZNA70fvmHqszCw16mW6\nQcS5TQP91uZaWsBSsMuSsEtzM9cA6gLGc+8l1+XGw4CZzNIaE93XtotcejKo\nWzLVE9EetE6C7FMQT5Mo6i1HYQLQI+Q6hiiLKaxyqhxEap75QQubc9x/Amlj\n5YmIj+7c5eHy2RvibEvPedHb3jqGohNw3iR1cpjUWa40Kn/NOgOVpfxPv7V0\nyY6NWmSSMzJ9dhqTwTNrqAWBJSAqrSDKWJyCEtnZbPhuttMRb01xMKdDF//x\nZgCwXbYXvlOMpBQ5Ssv+VKecbAS5Hm4eMu+qRL2jvmRNbYLp0K33sdsP8KhE\nRY21x8wV5HbW6u/m24rIwYrILHtG+A9cEegkyg00C/cQleJdm4UCtKSJ0LM7\nlY6H\r\n=ap6l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQOXpcZOoTtFFbK1F6EWcAQ+r9sso/gYWmuHtHLioXQgIhALWTC5ol6cumgdV8ymcpLOPVIJwn2aEgnIBWWA4L48TQ"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.6-20180709195022_1531165835173_0.9327687480739282"},"_hasShrinkwrap":false},"0.4.6-20180713084749":{"name":"@accordproject/cicero-server","version":"0.4.6-20180713084749","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.6-20180713084749","@accordproject/cicero-engine":"0.4.6-20180713084749","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.6-20180713084749","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-C3Su6ZYWEMVO/MFOdlMOQi+JQ/O4YP52zrAeHVn0BzEmHFezM8+6JYJLRdkTWvcSgRBcYuiwFN+LZO7t7cF/Xg==","shasum":"a554e93131009e90f1b7f81c9c33e9ed4140ee20","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.6-20180713084749.tgz","fileCount":30,"unpackedSize":49863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbSGdYCRA9TVsSAnZWagAAFKEQAJLswjHyXfESvOGO63ox\nnmFr5luQq4z/QVPT/0e6ieFH66tSXyuw20c3weJCs5EhCmW/6UrOP7aE8EUQ\ne/oZveAzNwfrOtLXuudOXSvWT/gIHsv9pu38QZYGp8GhK6Xt6QUySQDcJ9OR\niAjXqL7tKkfRkT2VQBhJDz4ZfbbLv9XLVd9fmG9KjgIm9CVRf6Lc5sBUUZ59\nQGtdSczRoGmDPEYK1GiC2OPjKF7Z9VaFkQ0Eohz36RHYWCd5uX1MR2kg89JK\n7axpzYLE9pb6hIcW2QCQzS15diaongD3P8gFBAW1V1Ab5T3ugy1/uHiLlJ0o\nrHq9qFHvPQvEzea8LIUw/Fv/vt5AjmKZxTIWsN6LyYIi8VNYHmIDxeTS5lOo\nF1RLlvZ4lLUeMW2hTaYX8BVe89fC0Cz9LrwWQxwUxw48PU+wrxZZo3Zi695k\nhuGBIXriSWGxk8G4pTwVLrRgc458Z1SL71OnSG2T7sCkxYplt4Izn1JEgo9U\nQ6rpKxg8XT6jOpdleDsqxUz+IPv69CgNkk00LJZoDaHW3G+u/EJ3L9ZB9K0m\nUujlR3QKf/2+xDKjgk85ow20bLLmZCwat5IEeass7h+Kl5VBRyOrZ9gl7tyY\nej2pwCJS321B98P1ypruMl5kDpxGGGFK/rUnHJNvD7j1gaLsd8toIxFunvFH\nkxoz\r\n=8Pv+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJNy2ra8v+xCKJvci78l10UmkUs4Em2OU1lcp1cZYv1gIgXQAd2zXmHXM5jhtK+20Wp+PvocFRM2qGUHRBkCTNuec="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.6-20180713084749_1531471704452_0.9265343308665066"},"_hasShrinkwrap":false},"0.4.6-20180716161514":{"name":"@accordproject/cicero-server","version":"0.4.6-20180716161514","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.6-20180716161514","@accordproject/cicero-engine":"0.4.6-20180716161514","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.6-20180716161514","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-M9vxgta87vm5HMq7XlIMJF/hzQbxFC6XLs9H/dls1GyjBAoUP+JLPPK45zIbZ7M5yW61VuahmQFT1Ei31zV3HQ==","shasum":"3227eede42153f5d6cc28fcc14bf980a007bc652","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.6-20180716161514.tgz","fileCount":30,"unpackedSize":49863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTMShCRA9TVsSAnZWagAA48kP/0Lf7Zte/VRQFtlCyNK0\nKSAM/IltyZ+rYaJayEJ9PeALqr2OeTd4ZkcnVcvDncpgnAzInCqhpICB7L/1\nfYy4ikbp5tqGEQ6aTba6Nc68fzOrlkKuqGSwVxPn2zJBEOUzdcqibJH2OdBw\nW3jZKCwZCYHfVfbgb+F+JuauoWz/Ac33toGd8gL6aOsq0Vk+yKNZPmhVMOGe\neJmWeNZLQDnR8sEx8l7U2B/SEv+WX1uEs3BpSSB6RPHw4B3Phd1I8s1WT6KK\nv7U+UunHsgBLHHUX0aFOkLhP/LgIVtfl5xW9EbXhu013P7IxF0TvDTZMsd6q\nqRGdOd3hAqPlHeQXlwepNerzXpF6NzqqoU4zKHhfHobRASmnCCoHPvBfF00w\nZ7PVmADNtUeMMIdQJDbsyzHqS/B+8V5l2dKqJR/EegJ/A7wPk3RVdv5upVI2\nIrEoJxUIpwyX0L8XI7sPnEcMxZr+g2yyYKRCy5Fyiv2ItjZT+uCcl7a1XvJU\n36TAE5bqsnKoAyd4vGl7nnyrcP+U6c7LWe805Cw5DzKLlodoxtIVopptCkIu\nGE5jXtCcI65G8e0p4LzH7f1/UjRSmujrtTnXEek9gsoOIDh+yetwCsvhMQ4r\nDcXz7hcLlOJ24+6C85+dKqRy1wfr6CNL4QgrvNenVP3eUlSy9U2BvtxBvawM\nyIy9\r\n=lR6D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEmGOQ5MPB013flfD3Oy8o0URPzGb39EFi1Awa4Lx649AiEAw/mDaLSO7WL7H3+xSJJ9XU5i21KjUooNiWAjfI5KCsg="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.6-20180716161514_1531757729709_0.7184294836143541"},"_hasShrinkwrap":false},"0.4.7":{"name":"@accordproject/cicero-server","version":"0.4.7","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.6","@accordproject/cicero-engine":"0.4.7","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.4.7","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-/o3Lb4wKIxapXpqxT3P9lRBcwiSzri7fuGb1SDJsNZRxf0mxaI+p0oeiHf/stkmX5U/+LkHbVorqqJjTBAOukg==","shasum":"3080668cf5a0e9d5bb9617d9df442e22fbb2106a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.7.tgz","fileCount":30,"unpackedSize":49819,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTMcSCRA9TVsSAnZWagAAzFoP/0J81xY6k4infVJ1yw7f\nWR3tcTUuB4lHLpvW4rgJv6UOSaIdndtnSXxwxGT2ULVXLkvF7WlEj/QK0b/P\neXMzO3dWQo9vyZRlDE9P2iYZcXDLsAlyBaG6v19gRsMB5wszvcI6gGRLcq5i\nGqyOo9Y4PNCfuaWIlcSRjFcFasHYHG8aN5uSiBaSMARxlavtH5Nyx/pyQauS\n4KLLRNmq52R18DPiMJ6BajhKmDByAfog+/OgXiC2HEkvqC14NqJihkO8BajR\n6IiNUlIVMNVrC18jGviL2Vl/Yx7RDMOIiL2VMGC5knzzev0DyJHaPXQnMobT\nJywjikdPb4twHeVHEma40W3wAa8DdHPHJ7Z4cOx4dvhQIWWGJTi3ehRjUPqe\nc8IymNrLvLIIhpGk7czPI9R/3BCq0fT2xQowjhGtR2l/fNyStCk8GLE7zKSe\nIcYs0Kj+Od1xNB/RclnyFi+aK+pEZuzVxdrCjwTI+G6vFHK+NJQCCysRrhrk\nyrXX7zMO5qKjFQwQX1kNBA4gJ/DyRIq3EGvXileFAG9zd32WHjxf0O81PQO6\nVhzG7HGcWnIeaRewdtPKpOx6aORe02ZeY4YzzbKL+Bm79Ol1/PaGFc1vfQ5X\nk63MyJRiMWs/ZxJrUlvqgFH1chp/QZo/i0l2Q5OFXOCaZg/kepHRxBHyMHdf\n8UkM\r\n=w5dy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCW04leIicK4re4GSshJCpqGU1EoqIl8foUfrPvKa+h0gIgV2deKuyGEscZc3LuBx5eNUTTV36DYaqimSXSCBB3Tjw="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.7_1531758353496_0.4101055923028192"},"_hasShrinkwrap":false},"0.4.7-20180716162856":{"name":"@accordproject/cicero-server","version":"0.4.7-20180716162856","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.7-20180716162856","@accordproject/cicero-engine":"0.4.7-20180716162856","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.7-20180716162856","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-ycj14lfFj/SISwL4RuW9lgGt4UjcyloMdGOadA0ETDc5Xdb9sQwFayls3ZY5QSjwxmiwJN23gW88GQHvOz8TOA==","shasum":"66d26c2707c48ed99fac1305b53feb292524a29c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.7-20180716162856.tgz","fileCount":30,"unpackedSize":49863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTMfdCRA9TVsSAnZWagAADfEP/2lL5fxiagpXGCkonPVU\nBwVVVzcI0cd1ZkqiB9aoUv+z/0DvFvFkQuJZFFnrLyOupXiScbEMQ89FWdTf\nAobftViBPVc1dy6G45gm3FiHQzXsI5KaUDtGqK2GI5rrtJaiamcRYPqNQCMJ\n9pdSOSDgFOQ2QL2YUT6Hckpr8esuPzr4w41QaE/Lir7539ZzzFJRt5snWT/u\nex94nlUViHyFaqfEAsLRETAwMGnzafLCEL45+oqkgjHfdmEm/CcTxBZpvHup\nvFEEhnalgTweee+27MHPnEMB+miyIvzEsvMSWLbQw9fHdRZAJ8PJ8nhCBVHG\nGbGOSvfk6MxHocrDVm3mZhDDvOerpP6E5UqfB+VEKqoV3G65EUytBFBylmA+\nVanFr/W4pqj5690Bs3BuVYBbmNiilins8Mz/y9snKvtPJ6n0jE8Eqq7Dn8GQ\nhF311+beMftR8xh9irw4VkNfejYH6ZcheTV6BOMwb0QM1VwThBYoYKe1JwMr\nt3v876kVpIx04S3jm16UqZCHVEWqsuiQhxI4MIoOBFAVYc6dYTZlfJk3z5Ci\nrPE8RMrv7IxadJy0WcwD1Dy+9OarAD3oAmcQNK0o7q6rcT/axYji1xF3VEJs\ng8cOmP+J5SzqIyeRZowatvgcc6lSbaDK0i9Uq1Mg4cRBqhpFOuPskEhGfakM\nBzDN\r\n=5Ijg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF3pOkAmMNjrbMMmPehQBiUgKNIhKxVIeWIflIsS4k7RAiBjr6z6yYeaE+Nw7RyvGS6niYPeI4Q4VmheCIpv6CSz0Q=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.7-20180716162856_1531758557029_0.7076552210726863"},"_hasShrinkwrap":false},"0.4.7-20180718194936":{"name":"@accordproject/cicero-server","version":"0.4.7-20180718194936","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.7-20180718194936","@accordproject/cicero-engine":"0.4.7-20180718194936","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.7-20180718194936","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-WT2pccVSWENOITHbB1VTxq3zCMVfZi6I0FiBNyPche73QWKyKZ7ANcof6tvkyD6l+HXOUSsmO8KeXZkIDudw9Q==","shasum":"2ceb81cf46115f1f0f2b449cf9d5e94d91f48bca","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.7-20180718194936.tgz","fileCount":30,"unpackedSize":49863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbT5nlCRA9TVsSAnZWagAAHQMP/18HnQvhMC/c03InvAQk\njBd/nFux7zPUqLaXTBq4P8uJRbOCT8Q/VyO4bQy17yM/tEnaABjsgT9yPAor\nOa3XCqMvajROsHgqUDcjz37jRDt5Iae7fObkeB4jHU16dnADAlW+T8eeNBFm\n3+PJW7geapCub8R5CZOpefmEfHAVPmm4CRQSZsKF58O87UOFTQoFLjjB8SK4\nLwKlr2Y//V9LqakN68XKsZvBOESG/1zsrn46HRBCOf6jTLCujIc9oy/0+JYp\noSTc7KpZTlyT5xfxwfksuuTyjLDNhPM1TB0WrsN0xCshdUo8gQeiDr2W7PXw\nU+FzNnWGxjrcJJl0s1X6GaP9PWktIxCwJj5nx3AReX0vP/lzlAYR9ACTrrZP\nns6ih9Bol+TGdGunHP5lOyJ5h9SMy46iS9SbLP86JJx+E4OR3gOkiSVPSoWu\nIByiWpeUqGd1ImqCkqwM8f9o/0Q7VuOVq8p+4eXtFdaMxYfHBiAt5bzHy4NL\nR80FqMA/vyshCG07JWcd9V35JXY6KC/EZCoFNALObSmGxaJ1uOgexOaTUnVJ\n135JFzmTDM7uvLQ+xEHk1g7gMucPrsstSSXui3NPGh+35YufUTTbnzSkEApJ\neW5fw/YYht+oTVA0sd/taeqh9BZJJHmeWYTQlzHl9E5fu/6UkF7AHZlsekvM\nsGeQ\r\n=dhob\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGpmZYnChXGVd3VvI3UkEYeWBMG0QuvFRhPP40AJNocZAiEA642ULUKL9c435jJUN0ertifEROwvDWBRdzfRR9v3svw="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.7-20180718194936_1531943397169_0.2862785495977014"},"_hasShrinkwrap":false},"0.4.7-20180720175317":{"name":"@accordproject/cicero-server","version":"0.4.7-20180720175317","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.7-20180720175317","@accordproject/cicero-engine":"0.4.7-20180720175317","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.7-20180720175317","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-4qnsYki6/HRpIhY/NtFhzg5gaYtXAVYjIVgubCWMceXLwdh4SHiWKX5HYPO9hd6w6cn8RCpqqatJRX7yiRDNag==","shasum":"170c5483b440de4bd7adb13ef5dc021bbf986faf","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.7-20180720175317.tgz","fileCount":30,"unpackedSize":49863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbUiGsCRA9TVsSAnZWagAAy18P/i25MCsoSfg7O9fqUBkO\nwjpgzkGD6igS6dY5KnkCik14I09o69SW8wXC8clCYWJ7P3JoRy6TQEPs1E49\nM7XtcFVdPWoZRXvqKyU/c32xrEepPh4u1bfAGbkOfpNpEauiyscG8dO0cHog\nCB14tXmkEa3o2eY+Tfu8TT4KJlZcCNwr5juG5Jyer6ofT5xlKu6sKQMiItMG\nxb3wgZnA33QBTZucW2IYJsAjQ1/ImJ/22DaG+kcC8iy5c8TyktS8Wexrlo61\nwAnuMGkiwS42a4vbWrrueCqD+Zrsydi3JeaozDXqw9QDCbuh/XynTYOf6Rhj\nFIdnVLD+t/m8HUOfn435dqxJJj6pPlOL4Onre2RxOfa9b5pGvWBmI4NXnZRI\nFONMidnn4OIDkrstt6mxUR8pQdwQlrR+5BsdPy9mv0AYS+QSJ+QNuIiiyeD4\nQRwsX4oKBLCdtDOtEE1ijLKo3ck8Zl1n4jks+J6y3WpBqbJi03DwnKreyu/2\n60+cBMpOhpBOmScaLIhDBlMcd+Yf2nJSsOY+IUJUPXItk+uuFEm+KIndwLnd\n3EPBbC8whfjuqY4ND63RY5iyzQlAa+4n9vCsRTD/OUarsp67Q0/dRsl2MiOH\nBaJ1sJNrraEBSh6WEcqsjPJof+cEVsYVEonyCClSS0qlZhaEbkdpxNVUoh90\nzIeT\r\n=GeMk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH9pRN2x+/XEIiFQ+qtbJ71wvhFIRgCd48XxeLtNXvNjAiA+Sq6+nkdRtHOsVT9/P0pNXShV4iQR2Oeip67Gs/HH2Q=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.7-20180720175317_1532109228334_0.6652510131420584"},"_hasShrinkwrap":false},"0.4.7-20180720175848":{"name":"@accordproject/cicero-server","version":"0.4.7-20180720175848","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.7-20180720175848","@accordproject/cicero-engine":"0.4.7-20180720175848","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.7-20180720175848","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-CVT/wm8AXY/UKe6S6KUtVcQCGgh1HGm8vrQiNjmyi0GVcJGRUthxkPR2AWAyRCg2qYN1be5LRkJJiald5TBgpQ==","shasum":"c7cf85f905cbce031c79f040841eaa17c9fd8c92","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.7-20180720175848.tgz","fileCount":30,"unpackedSize":49863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbUiLqCRA9TVsSAnZWagAANO0P/A+X+1FgKo1R+VmWUn6D\nN14d3IidhkSL3PqLTeGxJvFW/wKNWjQWoOIsZbq14xciSap6ED+ZgKn+9VRP\n44rYF2iJVfpLYW18YvwNCIHSJtNXA+rnTjp5nmEST7VnvBYmayQl1SyND+0m\nP7WpdDPtGow3W+4USapQJV+Zdk3Yu/8Ev9Iwq8yueKLWibZc4vlNu4T6LdV9\n/oC0W16CYiZsY0wJMJ/AMkopaWnfWL09VxRzpz5z3pRcsQszjYW8SR+9iJvo\n053jFiTbTUnFIf8TLWA8fQ2YHhro8UvwNvfCDzkSfrATx7bCyRcDd8J1PlTA\nbPnLowGHVX6VXyc8pcPCjR56kJkqb3R46ATRgQuZx1lbEvERWl0Jy2Tnl0RH\nA5JPBUAfpi51PwkxemjnTwSVudweAkfqW1wJLQ/3+JHE95FlRqPXUi1NqS9L\nAuRBbZTP10Nmq7ZnPYsYZQIUb2ZhVvJzbEhqV6qoW10Y9bmrGKn0oL5CSqza\nEsNcvImvoOkwAsIrfURjM83tngPknt0/XAA7c2cGppIfVY6b+z7c/HvcKgIC\nrdt33jOtmlaEHYE8yHkItOoCzISFblu/HuHYqrBfhPF2yIQXgbb9DZ64eeW7\nFRlNoJfWQ/ObJ7xfDsJ9K7q8/bDlR1Gd3YRrt10OiFRpVXp1LFMYFHTrWhK5\ntZag\r\n=ycnW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDu7dgkLXAMNBMjwnr67DmmfPmSFWTNpQayHoOjdsKNCgIhAIaPfYQjF/T0UzgS5y96pRS/PB9+iVmXEGIAeeLs2Rlf"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.7-20180720175848_1532109546703_0.7819594556311302"},"_hasShrinkwrap":false},"0.4.7-20180720193446":{"name":"@accordproject/cicero-server","version":"0.4.7-20180720193446","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.7-20180720193446","@accordproject/cicero-engine":"0.4.7-20180720193446","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.7-20180720193446","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-hsfk1dazJjthiD5/P57NWre2J68DpMlnlQkqm+U/0tuMjkH4nc5uYSQXn+wMD2Tw2d1Qb1j/4EK+z5jhy3W2aA==","shasum":"ead25debc8fd88a8f8d0cc96fb128d87d2e1457f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.7-20180720193446.tgz","fileCount":30,"unpackedSize":49863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbUjlkCRA9TVsSAnZWagAAScwP/jgFA+HZnVeWy5eLhOS1\n3WGhJCB1yN4+jWBXyA2bYRXpYSRSYjRxE+c3WHVCm17wZZbMyyYuXG3Bm4gR\nd3zf1VeenpL2NBFzV+DrDQEcluKjYDAbaeKdwaZ/rmof/jC3NnCm9vy4y6GH\nfNyfJP46R5ox+hBjgFqKv6nNqnpoy2u28OOi04YLFZuMx+xgthaInGDlUb4K\na++jSRxhE7Z/XtZZ7jaGElRMbnRhOydPnGC84wS1NKgKSm9/9sVL5FSvbqRx\nP1u3WMopsGHb+OijLZ0y3aTxulET6ClorhGuBITWBhSnYrpDvrGq/DQZMEAN\nimvhNFnYPDDiBXTciHumkuwNS1yFS24EtO2iE82TUPrEt/gWTw2F/u5trPVv\nZtw34VAUcVXdN6KnvJZp7yKCAqgHRWEWhv+q35PptsbXEi6BIdEX/qBKvy1p\nGpobIzBLLWDauXoTz32jJ+ohO0A4ZPzt+CVbVnYVpfAD85JPKvlnN37UCKlt\nDnMQuyLb5lEkp/CIH2WP9aF/fieZkV3kuLCih7RyXDK69Z+uKmaQJlM7R4pG\nCPyHKWy5eObH9Opor84WLCbmBS/7JFOBwtyHueGFUAh9rOSH+bfGkhMqHpbd\nQg0sZhJxpoUdYmDo+ifgUDhpRxNnWiTJIVzEc01s6c7TZwut7v/k3297I+i/\njHg2\r\n=z3Ks\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHUFjssIBr++cVFkd4+FeHB6skmH3nXcmW2vTHWxuxS2AiEA8Xq9r+EdeflSsDMN83n5ior6LCcAdULR1q9Zm/iWT9I="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.7-20180720193446_1532115300457_0.8932342015127368"},"_hasShrinkwrap":false},"0.4.7-20180724073320":{"name":"@accordproject/cicero-server","version":"0.4.7-20180724073320","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.7-20180724073320","@accordproject/cicero-engine":"0.4.7-20180724073320","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.7-20180724073320","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-bbi85KXsdBrIgLenehMSr89vnGghAFoVJcdgOFPHR9DP5k1kxXPrhmDLo6LmvS7RMiXNEsjNtQ/4+Bi/hnvXLA==","shasum":"09a1db1dfa846ded4a0317620847badaa7242920","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.7-20180724073320.tgz","fileCount":30,"unpackedSize":49851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbVtZPCRA9TVsSAnZWagAAb8UP/iePTSjgfUX1WNC4Xcm5\nWgre8Bp4SzA/XZEjUkAqbhHJxX77V3HsIb2n69aAFdmUTofRXzf2Kmyl9LQd\n2XHDkbM7Vds2daSueEdmrPWaNTBzFlfmUDRP6XHT6Qol1NwYnWje2qIdC2T5\ng0fiKkZvt/Wxylc5O+7cPotkP8FBx96oAur6Qb3HcZgdhxb4n3mQ8Mmtee6K\nG74cETB2DHxSY5lycTWVYxfiu39tpF8FMbaWidiOvmwV+/3dOp30hCZE86Qm\nEjFnwDjiwk6tZ7NTWAd9mulEd4tYE/boqq7n7cK/+zvIRmRQAsBdPyV1ZtYH\n2LAQ1ckZIL9E9x783SgNjftYJrQsmlne3yiuZBT6mbcuvYrCx8te38wvCxJR\nKr0rQAFTfVtxjetXMWPq9kugIdfnknF9ylHjDe8owUk9yPr8tjBiO4bcPhmp\nFjl80d3PJkPlkOmom4Z+BM3U0LjSZ6AHlpxYB2EHWiYA4LyEcjbWT072h4OQ\noAI6SjeMaG4aVtL3jKDqzqUbXTcWFfTVOzFfwkwjjoPecEgGRCmqAWwHtD81\npFRG5PuL2ye9G3SUpaQ4xloLdVfHkuu0UgrxAzSIDWRtyeW16etSRVuCWC6i\njiTCncHqKPb8r6qR9cB41xzCDJIqJHfZbgh6Z2iNBqx/9piGwqFcxhCfwq50\nQl+f\r\n=hqUf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGMuOLTX00qzfbHOSOQy4Rb3bPCYtJNvER814vmXw3mFAiBoMUjm8rYrEtyGF4Oy6qPMDjuG5bCiH68uxSxd/muVaQ=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.7-20180724073320_1532417614984_0.8335278621062574"},"_hasShrinkwrap":false},"0.4.7-20180730170741":{"name":"@accordproject/cicero-server","version":"0.4.7-20180730170741","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.7-20180730170741","@accordproject/cicero-engine":"0.4.7-20180730170741","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.7-20180730170741","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-yCYDsV9GcXdaEj/WDEWIkRTNMxWFom6eXBhlL0BNdxgp2DmMOwbmdqaGP2QL7N7BBQBjTACofpiwb7ROZoIngg==","shasum":"02c0c045b85fe2d53bf2b504376437bb3b06a894","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.7-20180730170741.tgz","fileCount":30,"unpackedSize":49851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbX0X8CRA9TVsSAnZWagAAQDkP/jSr4YT2aSiGVMwIPgAn\n6jol9p/jZztneHinBKGUnsZFN2UX5hcYBeydvQbMiu1ATLQ4pOefekWuoQSP\nbj86px4PtCLXyivUXF/KdHDWgJLxNIpB1o92LS8ZSljZCtqPMLch4X90DYeh\n5ronUb1qYEH+W79kMxc397L8PNENEDwUrIurp688MZGyEcXIv0gV8O1NHMna\nZaWpVBcum0j35rgdz9m7LqwsBLUts9ShvaPpkesyRi1S4lUUiLbLtkc05mud\nUayT2fgdQM545YD2BeCYvCqqc0xgnHHjqEtalLfeYJF/q67OX6Togi9P4r75\nuuhjUKy1j0Bon9VI7U7ZDdh3Zf2yuTvgGMyO0zBOiUbBk8EM3UyqeZThmJ9S\nZ7ii4/ywi915ypwvLWuhGEv16GwW8gQXTnQTi+I3dx9O8MxiGO8JqV6L4jH8\nd8nqPhKOFKpMHWnmiaN2tpCcKX3llftn+morlUjIU+8YdURnSvAErRrR0fEw\nnmhE9n27eUBrrAADiphlScNVh6SPf9yu/c/9tL/w1AtKGMhB0ZCuIKsS7vtW\nh78tBOY/njPlpRjbJlxRXGxlSnc8q6GEi5OqZlprUaFAP5ZS69VUnA4obZAH\nmDBB482LGDcvLgEOpJgjjSuYaaoLCJsRFS6VxnH3fusPtoEBOPI4mAEFmSru\n6rBG\r\n=zJUF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZoWlB1gmiZQE07rrg9GxXcZrd5sWt4Xo4OiPWr0KFLgIhAMg05lLNa9uLkWcEv14gHo8z0Ev1Mlmr+O1uPXC6cIe4"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.7-20180730170741_1532970492043_0.3000744222487184"},"_hasShrinkwrap":false},"0.4.7-20180730172509":{"name":"@accordproject/cicero-server","version":"0.4.7-20180730172509","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.7-20180730172509","@accordproject/cicero-engine":"0.4.7-20180730172509","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.7-20180730172509","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-VFBaZ2R4WSAmRFKQ/JJsVv8Z7U+GTqb+zS/AbKVtVytAEWmEH181+EEisJwMgKo6E+MZOw2E7YbOm/a6iQpiGg==","shasum":"08ddc4b3c70c03c572cad27e4639ea0e4744e7bc","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.7-20180730172509.tgz","fileCount":30,"unpackedSize":49851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbX0oECRA9TVsSAnZWagAANK4QAKHlLw5TZjFecB1E4FHF\nFK22fSfe85H5mKIx4uzWLzPWR8JnGjd/McnuoEZ6gJI7/tt3v8OntN1XZ4JG\nn01k/q/0yX3XQdGnC6oz1UDFzt6UIU5O2spc6O9DaqkmZQdt4THnaooDLOoU\nVqFR6S9jK11AYWhLGwIwjnXL1YmxTjdCLnhVi2iAtgDlC1cowTDc8XFeuuoQ\nUDyCQl0zCyebrG6gRr/VgsAqThO56UizbuQdVCiL3F+11/7ncTE+EzGj0omH\n8NCibfKtEMW0mhyDq2mOLMtXSdef7WTcfIUML6VzBibcJ/mcNnN1ET7qEUHQ\nxfoaM91rx0YSZf58JFjY7AclR6fr0UwtBI62vTYeNIQTkgKgNu08EqPOE3sO\ntS2dR0MlMJXxOegCRA/1Te0DYY1M10p+BtHQkRFSPjhL6OoH6s5cHKw6j7ec\nigZ6Tpt7nGZB3yOmUD98HTDsuGgT72v3oDZdpgLyUYD0AJDcn1S+1nJQR3gQ\ni2VNH6QVl3dCh8YzXzSUIGAZWBBKWB0cu55PxoN4rCtiqkTohw/Dd4AJeTud\nMOTzxzg29qR75puB2riHkHLt/7UjaDRrYbxutDOAPkaFbLiP3BfxkAtB3nuP\n1T27Z4LxQFazerhs0cR6+o9tEi+p85VyPz/o6A1xm4NYsth0cWBHozJSJeel\nGCyA\r\n=+zCT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGTcletgglUwUV9uBmTiUJxmdFNSVi+eUKKwl4lK0MBaAiEA16amQx9TVvVLCX4oxAa5A89ppMGflZtEdmL90spB8iY="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.7-20180730172509_1532971523958_0.24874114795550173"},"_hasShrinkwrap":false},"0.4.7-20180801100943":{"name":"@accordproject/cicero-server","version":"0.4.7-20180801100943","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.7-20180801100943","@accordproject/cicero-engine":"0.4.7-20180801100943","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.7-20180801100943","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-S6ac9s76dPTFcQsOHBONbUFAvyXLHL7r5Q3fa0jauTC8/kjjnoRG19SuAcUN6Qu8z7kxZASIbRUSxUrmDGWe9g==","shasum":"ec52000645a3d51c77bc2d372bd399bf828a3b72","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.7-20180801100943.tgz","fileCount":30,"unpackedSize":49851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYYeJCRA9TVsSAnZWagAAelQP/0Fj5xUfGId2QKNDS5Dx\nr+eXYTW7RgLDzTpEanm9g1nJOcHvmgYtuVqpfXb/AxbHzFVSrkrbrzDcliNt\nxxWJvkIbdPA3TTqjfDikf97FC1KIuESPncRi05TFKKpwYK38k9n2QZXGvwZd\nuTJF5/JgNJLjL8rW6XzlE1fgdLeBXhd6LW2Bgkp9PqBL9KNJuMinfQscNmA4\nNysQXrYZ0aoYyX9uE9OPjmAj0ssFH10394Q+HLr/nEoJNulEW99G7AQ9Ijux\nrYYTvOxPyF/qPhfCpQBmecOokM3nxK/Tj0nqjX61BGQq3M2Nem2mV0s5H/mD\nTt6x0Z+uOIK4fUytU7QH4zAWljRWAgldrtQLr7KDxgn6GvL5dIhLhx6isKdA\nQgrMJxgrFGzOfCKo9+fXmimrEwTvhYnIA+z2FundQzdiVa59QGzFk/R9YVpR\n0MuJq9iLhipvbh/KevzYWpOnjWcQt95FgVLSGtzzUCB0IYP02EiKHmd6ASbl\nGxbVtN1PKwHDsS6cvrtwYtpy6K8081U6Mjo9cTuflUk9rmIPwANVmUg/0UyI\n3PXU1q5RTn41Emu2oU2b5sSS/Rzh7729qlG0Odj4msKcQGEhxFAtfFIHVVCI\nHTOSVpY9NZBrh/KJYraUzfzlg1cTnAkD5cZ9/d0rc9+zNcsjCe4HR0cNvQ/d\n4CY9\r\n=2SK+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBOyr8j3WcmhBitD6hZzD7qQiPIb3UT3uV1DbiwKVuNIAiEA/XFtEwC4HwrMMNVFJbIRh9SrvfMrzfqXZTj9VIQTuzU="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.7-20180801100943_1533118336613_0.15273701022422936"},"_hasShrinkwrap":false},"0.4.7-20180801102208":{"name":"@accordproject/cicero-server","version":"0.4.7-20180801102208","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.7-20180801102208","@accordproject/cicero-engine":"0.4.7-20180801102208","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.7-20180801102208","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-859w7Y4uG6WldqgAMkY9MhnTPiNEzDg5d1BZ7PY+uC6kXgjVTX7ZMiEPTENXwvbX0E0HyoQj7//FzllXnnnLeA==","shasum":"de1911a355d3c6aada21e3413fa1b10dfcfb9218","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.7-20180801102208.tgz","fileCount":30,"unpackedSize":49851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYYpVCRA9TVsSAnZWagAAvQMQAI5RnEolI7xHZ+hY4zqJ\n8HkvQcypNqmHnHBQh7sIloZAUEAorU7+o1bWBHbJgPwzyp85zpVSUtlzJRIf\n25MGgoQv7jiNndt6s8YZrfpWUxW8sj4cTXz4dwwHTs+98N7RVlovZxTiJKPr\nRv5iHlFEvacmbwZxErZUN5Xw0mwSTblNV03tF3Czoi2n3QTE3a/0Vhdwfsul\n7NszmGejoFe3trcp+LsuyvhAQ0zmAEt0OmyByq4pBNIPltOZKDCa9ZDfv6H6\n1bR/r9KaT67KFo0KHOSBYqjkvup2ieFePqdt++LmOvUleKW7HfYQrubVwCV1\nTfO9TqiUQxtz55nnFyqxZF9x5VW4+j3DWtZNSXhCsLGE1MAVtzKb37niH443\nEicEkVmZGcSAXynt8eQVHYpST7khnglES7F5U5I5X7hDKYTu8tbf+PQPnKQg\nmgEIlj8D1bhpL9du7VLMfx230IRNLMcg/Db/fddO8PpfAwD45tfWuHzGzK8b\nCcaLjBgGCsn1e04Fz0OD6vKKQ8agJJ2PNX3q9hPV0Q2m8+KuRIilMi+dvMPl\nhF0+UkTrPRu8WjbbwRrPIoI7PR5nLJGAjw5AnytfBGr0N8p9GijvZkC/sz40\nxKJZGyTgR2v8DiXMDknM+SukzOp3KxFFw4yTyj1Q/PVWg8+Vkfw5iv5RfBaU\n29Dp\r\n=sgB4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0xNVxMb/nwVVmVvr1yw7FFr8aShCndDZjAtsSpbsCRgIhALIlpGhXCUKFdfC/ctUm8CAW9eNxdZDfcOYOkR+OX06Q"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.7-20180801102208_1533119060972_0.20983552467934552"},"_hasShrinkwrap":false},"0.4.7-20180801140027":{"name":"@accordproject/cicero-server","version":"0.4.7-20180801140027","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.7-20180801140027","@accordproject/cicero-engine":"0.4.7-20180801140027","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.7-20180801140027","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Ilh72MjNq8XIB0oF8fvCwZqVnNXQOH3T/ctwN6VcYgjNH767bGm1RxOCbDMMVXUUiY/ZwdAAygipsT4u//HQKA==","shasum":"dd52810a9a839db535a0cce8d995f46c07a9f4fb","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.7-20180801140027.tgz","fileCount":30,"unpackedSize":49851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYb2DCRA9TVsSAnZWagAAYfQP/13v3V9M30I0QtcHRvNS\nhtsvv71FIx9euKF9azw4zvrc/4TVYOkUaW5Aa0CJ99ew6J1bnoolcWcR8ibc\nK+ECCNvJntLGNkNH/XF9arP6l+zFU0qvKlzCNLOOfHQKMAPVSeFq9Ad9gyii\n1mGIRGOxtruYL6GdxSZeZCtIVaQE5oIZx8WqnbIIP2UnInAf4z1kExalCV0/\n40YPr7eYBXhwXCw21NDHCKC+cDTKkPqjOMMFgeybuzEcXDUG8iazYxZYCbuc\nOQ/inKvfJi0JpHTbR/0ymYjJQ9NQ2ZeMX6zYL+qvDcqSu4Mz5bJVuHWivNNd\nHzS9Pdo8nVm7B/Y6bWy2TPzy4GdiDBKZ6ll3LHb7/5GnXY7UuS4RYFS/EcXl\n1yPoAwFDNGsYz5b7R15ZDCP0/ba4OwwX6OXIQ2si/7uC2keKzuVSs3dJaPet\neQ4H2bOzYegIijLZv/5wTqMPsSdKoCapTkbTVY4apbZGIBHAKcGyU+ez0xz5\n0P0o9pWRgzAmXeEtJIxI6+ZdgDzWXwepwO/QeZEuCMJBLvfE2zmK64k2J84V\nYtIFlschpyhiFOO9iv6oGb/yd3+VEtMiUIDBK3JePnGfXaNkZimDaxsLd96d\n7AKHv8StGJeEsyPwyEn1vDFJ9Zx+9PPhxRR+UgRQgpMNM0vXoKZFfJUsuJ8g\nicCK\r\n=Vy92\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA7YQ0eRUq3SPLrRDlH1rOIW5bB4aaTxwBxQKGDrrR7gAiA/KI2b/6sj+dSfqGigKbnHaR7cQg2UvjxrsQhcwRoTSg=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.7-20180801140027_1533132163454_0.00947316920704111"},"_hasShrinkwrap":false},"0.4.7-20180801140105":{"name":"@accordproject/cicero-server","version":"0.4.7-20180801140105","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.7-20180801140105","@accordproject/cicero-engine":"0.4.7-20180801140105","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.7-20180801140105","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-PBJaOQS+jHILyeL2k9XP2VZ8uBqWvz5BCIzFA3LEW3Z8oyDjILCB7quT3etkbuxFq/PWmZiwfcx0jYg6Tdn63g==","shasum":"7d54a58ea4cc48a36ff6e2411e39b8c3d178bada","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.7-20180801140105.tgz","fileCount":30,"unpackedSize":49851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYb22CRA9TVsSAnZWagAAuJ0P/1MeEtVAfBqcN3QH5xq/\nVG26kwzC0RpGj3fuQOnyC3mD39EkmOhRsACd0pX7Sj54t5i68xeqAV8snkWw\nG37ZKzQ1m25lZx7frm6CGGvIt07QTmti5VGs9mv1Aqohg1D7FcHacaej8jr2\n96hM73SX4jRAVd6xw/KQWFzo4seLQ3rr61s8dCsWz+5/UWXZZ3Yd+Iuzh4SI\n6i81ffqNh9i9xdZEmVfgHoqJUwadrQvi5UOYZjS8+YsrMcnBr2hheusGqnR7\nTf75EQtkGrmMXMacVOGmGkdbqgV39AGDiFvGziE4MSQKd79SvFlTBY7o2UKE\nsz4XpSsx1nOv9i3s/tcthZciKgr/PsrEnAIaCYQozxGIkCUkPt3buL2PTT0A\ntJQspDIQaLr66MyukCbPWPdC+NYhS4rOrJkF/9hGeX9HH7AKkanH2twIT6Uc\nva54P+WWhdm/iAoGeTkbXVm0h0IRdnfX8cVhdkVFG8tvThQ0dzRZhNYuoBat\n+sJHvRgh1g7sGPY5leh5dhS2Iir461SREb4IoYnYcd6uPPre7wFwSPDx4ho1\nK1Mi9DGRHS3l4zy/9EUs179flhft5gfqUCjHX29lFmQ6mEHeOzbKHugtQdE7\nRkZjRncz/fMWmUdPyAfYmkZt2qWW5LKfwnmSe033Q7q9tGWSTTy8PgywKFrt\nSSRI\r\n=p/oD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhgfQixdyzRck/vzXl+eq8y7DhyV9n/rV3EARy0ON9WAIhAI2NOi+tgybJZeoHaQtUfVXBKlD0skQgZ2PlvOj7VkTe"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.7-20180801140105_1533132213499_0.9618649341277372"},"_hasShrinkwrap":false},"0.4.7-20180801201712":{"name":"@accordproject/cicero-server","version":"0.4.7-20180801201712","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.7-20180801201712","@accordproject/cicero-engine":"0.4.7-20180801201712","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.7-20180801201712","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Ahbtd+RvUaqt82le6S1BDmzkrVIXT8pladIuMiO/LDOuNldhqHwCCOCQcACW76Sk2OyTv1e8ySsU5m+5Xx9C6Q==","shasum":"148216503214df33cb9995d95fdf67704878f82c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.7-20180801201712.tgz","fileCount":30,"unpackedSize":49851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYhXGCRA9TVsSAnZWagAAzeYP/i+ksa/wEOh3a8V7xePW\nmVYdu+hSudlz5hO0fi9PNddl159NJ0U1z7jRu52eZ+17YuidQkmEh2TfOwBl\n3gYnXfwzEzf7WieztJee1SZDKf16ZcJWEPELFXYgky8+94eZK3Ivocr4UsA1\nt8zs9LXepDYn1EAXjrrBin93+6Nkv3XHVb9JHmPXZe1OzN5M14OQJsJCTrlD\nAfOAzKRdTsMh+nhv9K8KCLXfEzkUHDvc8PszexWDgBT57WFQELu3T4kLQPVW\n8d3k5v9FXQDxkibvCbkSyWGhQxUvUARsjBjGDAqlJY/un58WYLAFJNiz7rte\nl2CZyNOjgSLNqmYZqGhE0IM+LbQTR8EbaGk3tOVdP8mlvNnhzdLBvy+xGtdM\n1b42LvgCDVNlnkc4CBnthMl5FclLCIJKpjqvWYob7LmjIN590BQ1G1ew2+v9\nzzAcVIpIcmH7SYuUL1jYx14kmlJkl3d2KxnmNmpf1xMtL/1DMgeOEsn1/4S7\nL5G0JmQPK6eaAVYtL5qITi1CvRrBhX7jZ7Rd4qyj4Zq2drZd+mx9/nvCV/T4\nC9gsYn5vIh6F9SHeThYQh7p/Xn62dK80WjC98X+IN8AF0/q6d5yW4TkyFd21\nyXTL3/JUW9+beUU81in8ZmZTXbpKYdAL4p2MHWD+Dz/8yOAVTOHeopEtfzKF\nX19D\r\n=bxJQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHQiRLkRN6oVfw92a1H0erZqUX6/AIvHSfcA9nFbyphwIhAOu2GvGJ4Txvmk3tK95Ae1qk4a5a3FpLmkk2mlaGi9vx"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.7-20180801201712_1533154758221_0.2131965204785764"},"_hasShrinkwrap":false},"0.4.7-20180802065950":{"name":"@accordproject/cicero-server","version":"0.4.7-20180802065950","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.7-20180802065950","@accordproject/cicero-engine":"0.4.7-20180802065950","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.7-20180802065950","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-5XTQ4bmPXnhy4InkxQa+tNkzlcTRlJJ4ADhEvC0ToSaIVTCXmjuJyvJ/oKkNGsmNDNa03XXhriiBqrKpGj8YyQ==","shasum":"83191f17c26e7cdc78718a3b80c1be8259e0ab44","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.7-20180802065950.tgz","fileCount":30,"unpackedSize":49851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYqx4CRA9TVsSAnZWagAAX/kP/0IuosFtIR7pw1bQSg1L\nHwEN9pax26/fTEVdXR9TjouyRl9KfIE3BwOdjtW54OBU0WMQX0/t7N1t2jt1\n/2g+w3Pnm5EfIg0sex6vC9c9WyUeo0RuCEFpI+feFrdoSKO2+7zEOsqtnlUr\nKbeV0Wcd7WYXiQxqXSL9zKLUG+5Yph5Q5/F4x2BDJ4oEjDsiA2mC2362gPT8\n8VtWDX1aplnaCMSvQk0bIwh7L4nr2blAzYUL8sjSDJdZYQYy6hKxgG5i8dH9\no8zR0sarQHFCGnLQN23XrpNxutv7G+Q3+Bjf5R29sorX5Xjjhg1PYFOP+gCu\nqSRQLTkQLPB1Wi/SPogSHlxNY5CXBmOUOar01LYEh/+J2Lvx8T/BkFm8i9JN\nyBcFJMwpEoQiEQSjh4SNkJtdUtLb34NW2anmOx5vnK4EsN+pMXs1k7g0BXCJ\nckdMHNqzgWTflFTOxdVjcAvtLYzk9gXcUDTLyxMzZiCcqXbuiQLgXpvdQMWl\nMGOrS7ifyjTQWPYaqrh5ocWrj84C+0mn1vndp6/F/k4j7pWFoquzoqxxLRtB\nhMgmGmgMgUBjGF2YxWGHs3GvzHY5i+5imuxbcRrVvj0dna5cwAbIVprI1RH4\nb9Fypp+ZMlb9fCR2vMq9/EGX+ETAJpeMqepXHtSdp0xz16Du8mJayNWSXApZ\n7jvA\r\n=BNIZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBndReWKmn4Plbo+mbrm7F1uDJgjvnrbgcNfyNJcM8rGAiEApedHiRjcF3WjaNfOg9BrVpcNafYYND4e7QLCPUuSLdM="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.7-20180802065950_1533193335943_0.7914441126439713"},"_hasShrinkwrap":false},"0.4.8":{"name":"@accordproject/cicero-server","version":"0.4.8","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.8","@accordproject/cicero-engine":"0.4.8","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.4.8","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-dn/0mDCOBH7HnT558fBXSZlvxGpfKtsXFdSR7q6mVO9pD9T3zTKetS/7VYW2P0HFEsPb8E2LOx7bUBnuay/JgA==","shasum":"73e4439cf1e28182bfa3f613bfc52fab66e36986","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.8.tgz","fileCount":30,"unpackedSize":49807,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYxapCRA9TVsSAnZWagAADEgQAJP27Li30q5baUVoYk7f\n9E6E5GN3FKUFgnc8VV6Z/hxbbwaKZjBLOewsc/eaDfggEFsFtIuEh5/yTmtn\nHG/6UBu90xBfcaPuImnKd5BMlwVHXquqbpblrhy+2R9q+HFWvJH0bCj7MG3r\nbFqug1MsyDJAEV6rnUEvBdbDbdXBsdPNxqdBxMI+KpVsCzgjxHxCOMszAKDr\nIgdTCcrdHLkbzfk86ewy4jYkXb0dLYCmcJdHhliHHkHBRKKNXLOELCOijLGY\nbfeBp2gZHgtQa+H8qrWjU0ZxhgfVoLK4dHtjf3kD8ZLmWFYF7w6tBH6DvZaF\nJLki1h9DuG01BHIQUwEF4O3VlmKb6VcOtnYWBfPlMu1VfzcLaAYxLsg4rQ2U\nxSarNPwlWsyEWFjQ+Q5R0ECAQzABbOQ3kyiyjdz+2bUbu4Ol/5jeb83kVIh/\n4T8ywyNXIpSEqOLo+DoDAfBBSE/8y+Xab8dNY9vO8FnKI13hQ4ogjwyymQs8\nBqCCnvKxEOrGA+IzQnShnjf6J3Cca4AnhI4kvxe6l5c6FYp/j+TRWyLCWG+f\nrAHR+A1vRso6zzl0m+kCzfowTtcSBnK9ZDJ4QGEkqBRTVO6Vb6+RQ4YEsNA/\nZtFaBSR1whu7fBJFjphDg6amlmkjTk0hdN5aZRcUFNIP/eXGZQ3n8YrRmLwb\nfzm+\r\n=P/Ah\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBanoBzhTlMO0NwJQ7mtaMhA3zr5vaTn4bLU1S3dzo6fAiEAuSzVyng2EwTVc8UMDf2FtgjlHbs9DdfHHNfPIvd5wVc="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.8_1533220520903_0.7657685065615345"},"_hasShrinkwrap":false},"0.4.8-20180802143854":{"name":"@accordproject/cicero-server","version":"0.4.8-20180802143854","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.4.8-20180802143854","@accordproject/cicero-engine":"0.4.8-20180802143854","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.4.8-20180802143854","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-pvegqjYart1CgmYx/fYibksx0c5IF3g6DxFPimINmr3SXJYIF8MZF9oOIreGfzCPmIz4r0fDV2i8lXWwqMvXaA==","shasum":"50ff196236492f5d821190246bc833a983536164","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.4.8-20180802143854.tgz","fileCount":30,"unpackedSize":49851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYxgUCRA9TVsSAnZWagAA//wP/jYT0pffy430R++NrXaa\nfMMdYVknZA9xOmK4NOoGaJRSnNhstYzDwYFwN+SHFJ4V2fwY3wER+qD03PxW\nevumYMZ4LVcNbs9urjQPmjoDqs+EbxhHFVUURj9UAi0+ydCoXwDSeYHoDM1C\nFJRjDPHxIWo1awUhd8j0I6EGz6Kpf1hoPXxaU0BobIY/dgIIOfnC3LVPP8At\nPimvIYrqI0NdUkMjXjZU3qK4ZTCrKRK0b3DD0/6exEHLIo4DTvaQ+udDmoBO\nnN+0bM1pBkgUI/CNvJsQI3r8Os58EoqxTzTt6MyfQwXN+wciQUAw5VoAQK6x\nDkFvb1fg3I3Lu9u0af9e7MPhHkcLbV7wV6POwU67mFQHNOyj58UdrK63L8Qy\nj7qrsrZZNHqovYm7d4C1oOYkCjJcP0chLgsQSB4p97FHObmsDg8gxCL5eOCN\nnCBtzX6dyZiW1xBFMUN5FrraEd1Qs5T7rX6LiEs0Oy6fpzQ41UMB4T4vanjg\nb/AkJQFElwgkQzYMaeuqMtTwy7MmQ1sWsUKDqFpfcbBZrbw/l/hdUqBd9Wez\nTlpSprccSzI1jdam6UObHRlszAMaevadHGzchr3RVFtUIObwREUrig51SMGN\n9n62mzF0kdHy9wB78CIcjX96iDRURLyKCTtks98Qs983NiDLc7mZv+Yh+e5b\n+mAV\r\n=lanW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAp02gPC/LlrZ8Qj5TfOVq9uYLDgm9FxYwg8kD8kDjgxAiBY5ssizvqdBgE3qZLZ6kRtkemKya4Q9o+kREez21xGkg=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.4.8-20180802143854_1533220884311_0.3197989547703062"},"_hasShrinkwrap":false},"0.5.0":{"name":"@accordproject/cicero-server","version":"0.5.0","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.5.0","@accordproject/cicero-engine":"0.5.0","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.5.0","_npmVersion":"6.2.0","_nodeVersion":"8.11.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-pA/W21l0BoZVqqZmfTkZ3158yBP1nfKHs5XTwcRvH2S/iYRlTipBamPOYvrUK/olSv7CvSPvJOOTEchaJof4ug==","shasum":"9f4f35c74e9db196aeec0bba621364162a585d0d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.5.0.tgz","fileCount":30,"unpackedSize":49806,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYxj3CRA9TVsSAnZWagAA940P/3bCZT+MBBKc3G8tO1m0\nPXSlXZO7GYzvwhsMfjL55D8TMpiOO5cEAYiHZL+u2A5HAPi1xWye7Hfz30Jg\nlyoXhoD/XnM6eqZ0l9QB99RfKe3JVuZr/OZfZTHxSmqG+RPpKVpPK7VB0/Fs\n33P8n0uchMkWEkRGB44KSk/WtYTV1krIPjqDLVltyI95kDb+0VIhrM8tRL6i\nOtS+uxAGmOXjWaKKaNr2qAmpbPrGk+Y8yoksQIDry0+0gRcaqdufQhYb6baX\nOWsWbSRclpRLyqMCjaBRhMZSSD3qUhEjXze1KkxbJRHQHB6HyHZuCm7IR06L\nIeWzgFFUSsrVD9ElxarmCwRuZLkt5xHtj/LcZWaJnOos/A90OYv+wFNfAhGE\nZVGRPWEP8Dh25U9Yv5SutiHcFZXqV1L5dycj1JAGXxtSC1lQCWSW7CrKZXtH\nJ8UDELVHBCLXFREguXWDUGnW306sBc1dNFjm39gQ2LFEbDX3G5eZ4vgFCehV\nbmcm4GSTdSnQKJVTenYMzEznUs6c2lwMPtDSPhcXvcOsdHWsd0WFcSXWGXra\nOXuZ9bHdpF0Z+lD2SHemLrAKDB9h6NRgyMPfzMfWWhRb7V3tI61fNdZBJbPZ\nzCB8dnJrYTjPD/bdvg79x9S96AQnLrZvdjbIrVoDPsHuR33QNPu3JI9kxIGQ\nUxv5\r\n=yBOE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC75G7hqIG62hg6JCtR/fCgtoWaCwj/8M01zNkR4+4MbQIhAIuOKYQmeuZTmdYpR2ky/UJNiov1qtviMeFJquuN/zR2"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.5.0_1533221111046_0.4971930032255709"},"_hasShrinkwrap":false},"0.5.0-20180802185918":{"name":"@accordproject/cicero-server","version":"0.5.0-20180802185918","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.5.0-20180802185918","@accordproject/cicero-engine":"0.5.0-20180802185918","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.5.0-20180802185918","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-BDR/WEXoHCnQsf+4yPj2f/70OBtY5A7OCXqWU5UQd36oHxLt7Zvvz+qwA0Ziik54WtO1Na7hLXCvyo4sAn+s1w==","shasum":"4f4d768b40f025ff2164ec794848486e5c47fe64","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.5.0-20180802185918.tgz","fileCount":30,"unpackedSize":49851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbY1UeCRA9TVsSAnZWagAAw2IP/iDePbrKdkxZg7L/L6BH\nDCEoxQUY9tXCC+6spj3WmrfqyDuRKUDMJrS/BjWPMwaU2b44gGvTjlPv+eA9\nkoQYOIdcBj/D1mBSSRkhMaTW1RipXZjk5agbAZOpukB0FDCn+7g7jftUIPfC\n1ZyHcvCh/9sa1xp8E2dn9qvWJT2n+ayNM7kab4qaQY5+eNvF6J7GTq49Fik5\nUpzk9HN8v66xXBbaohhh1lZ0Fb0R0lSC0QMv0/Bhzk6L5Q08LlhguIcgrmtV\nptaHIK2lC8s8//WWnR+Ea2P95lgzJVOoa0jkpVKd+gaRKGnkd+oVYym6dZ5H\nqrdIxAN7Ncnke8HeohTsfJsp7v9HZmKmXsopulFu4CSAHBD1WnOcWWlg9WGg\nWza0HBAWfHFzQhbZD2iPnPqcJ/pneK0uFAGUoCrviwv5ppQ/B6LsQJTz/d4g\nfUaFNFssaAi5eh3FUmGZ/8LM+/sVCV1YMk89gdTkTHrFrcnY6uue+bQcu2T3\nWzr+A4CFcfkFxHEZKbswKaa/pGvBKNgFdNKkDDeDCJKjXbQjPOIBmStw2BLt\nO4v+hnNFRHhPrIAb+iJSe7yDYmf68IvTN9s6G/FEucLSzbJFKejjyo7Kza7G\niLGuQnZV7dykguQcV9AaECxIDduxcpCBFOIAIcGLDSkd33qg0vBuUCVLkMqi\n7OfC\r\n=TMRd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICHARVAvk8JTpI3v5gLm/sE3LsFlRG3Uly8GGEaZajsYAiEAitua62W4eiftuYOmsz9p9SsAh7LEfbQooCv9ApDcFXQ="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.5.0-20180802185918_1533236509555_0.000914450884635265"},"_hasShrinkwrap":false},"0.5.0-20180809162006":{"name":"@accordproject/cicero-server","version":"0.5.0-20180809162006","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.5.0-20180809162006","@accordproject/cicero-engine":"0.5.0-20180809162006","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.5.0-20180809162006","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-oCGEv7SJLraMvRxjYVWJLkCyuUz9G1MIo5a7IyMTypVuq1CR1Veh+Pa9z9SaKmGHGxTqluhSteNYPwQ1RaLlJg==","shasum":"5d5e23a23a3895abbfa04684d26c21e14277ccda","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.5.0-20180809162006.tgz","fileCount":30,"unpackedSize":49851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbGo2CRA9TVsSAnZWagAACRwP+gO1IAemHxIHIusWGO9A\nM10UOVGAvdW37QTFxfoMcqRvaVO1ZGx6yeAE/khwBB+eE6x9GuWB0Y3P58lG\nuiRTIFF0NIG8yW78f4KAWSFlsxAWxilPb1SwOK2Ri/k4ippqVh82RKUpxwds\n8g1ReoipI/D/Vlk2Bw4D7S0vDNe5/teS4s7hAwlN6OQUmdqoRli1H38cDgT1\nc7TOIcPRXxeEIVA1CoYZxp5ovJxk4fldIU6NvuchgkPs+Zdf5UVLT9IvAYC3\n94EVAlt2d3rV2JWjEKnzzn9rm+BUzQlfF26WgpGOwgzRqDgd50/mzeZPZJe/\n+fieqmRL/kJnoDTQOiJKEJlpN6fliX9mkVfpL1l+ywqjN3MAnHz6HgCNiImQ\nJ9CAgojmaGfieeMaCzJVTxs6MDvWyV4ABppPv/AT3LITufuj4kTbU4hJYyAf\nRWfUQ51oMjVVpK9QGMMqAbl0UNytp4BZhA34ym5xz559ZtGli1eV+dHO6w2m\naF9BAzrCgm4pIQD0gMKHzpE8cecqUZNRRPUzg38Zp+Npr1G1IJuNQh/v+NMR\nhlUtF0Cbt1Fci5SfTOB+KxpXC/x/tLWVUYJ5xA2t6+5hMp7mdHh5adEzLBPb\nBs5B9a/IUaL7GEKtieeWRZ9vjsbeAQuIUSERE4wsgEfCXCsxD2RDj4YzFu3Q\nkNvx\r\n=sZCL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCc+8OdYXlf2TDjFXi6PY0JOSbXKS0mGR+jrpGwq4+MfwIgBjZ4dJ4kaGMkpAEZrqNK7QxfHnDiTnT2l7Apx44vxxE="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.5.0-20180809162006_1533831733709_0.8604068782864376"},"_hasShrinkwrap":false},"0.5.0-20180809164417":{"name":"@accordproject/cicero-server","version":"0.5.0-20180809164417","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.5.0-20180809164417","@accordproject/cicero-engine":"0.5.0-20180809164417","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.5.0-20180809164417","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-tbBDe6HRFfGG6JMjRpWXz2QN7rIx7fort7gR0TeJrLJ4zAPaB/1WNYXyv8/zpwjQVa/rChN4YKdKW54KYDL3qg==","shasum":"fa7879cc0b5f7ab1636881e71a9fefc2b6a0a243","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.5.0-20180809164417.tgz","fileCount":30,"unpackedSize":49851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbG//CRA9TVsSAnZWagAABIMP/3r9PsH0EU6/SVdMSTT+\nbSW7stGT/jZOYUhmYjIBbvz9mrQeRt6gJMOfvs05rjnDkRZmduyJQG+fpOaq\nENEAfi4yvVQcI0S4JDQFm634mI6Yg+XVi0F31rKqnJViitn2d9m0IbYpGbI0\ngAQZVRa/ZL4xhmzpF6OJwQEaRVMdvIu14/4j2fzmqERJWYMWYlUaxmCKC1yR\ncmQHOJ/X9LKV4tL0OqLrHbDhn8RlqiCwwLoobAL09CnCMFB6xpj2It+vZjKK\npzZJCvgSLIYgL9lfyc5ElYjF8oUoyC+oZZUCdNyJuwt3UtdYB9FI97+D75aa\nbzx6x8Cz4Gaw0+kVQFY2Snystdxw4vgiNK8mMRcKGCN0rlVaoJkqhcm9FH8z\nlG9i28+Wzaryi2db9u0puBhLrc6UE/kKGqauTyy37Sb2CTQIz/CLNe/2AdcP\nOyfkUrmsAQ6HocAkfpmeSCRVOy0qOWGaYXA6XCfTGk4zgvbcFNWXgid5KnT9\nEJMzxlBM1pJZW/CO7J0TsRlSz4eEq6OwyIe9CfgaEUrcVnQzn8C6q9kWkHJT\nDwMrcdfooOOWpM45lAyt8xyHtIjzhVwE0CZJ4+cM0Ec5xIOTMKYOQ2sTI/cD\njYKWa4NiRNjeSpaf1on7i/bU4+W6mUpqcxM3U/hO2nTANQHozNkmNwm8ZGN2\ns7IM\r\n=6VSv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJiUA8cnKREU38FV/FJh2ajS5cBOyiaAeWYOAbo00LBAiEA22aFI2OCQMvUbrz/GkkCK5+IQw5xSVzCLNyy3Cw1GqY="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.5.0-20180809164417_1533833214925_0.7222293128634618"},"_hasShrinkwrap":false},"0.5.0-20180813191749":{"name":"@accordproject/cicero-server","version":"0.5.0-20180813191749","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.5.0-20180813191749","@accordproject/cicero-engine":"0.5.0-20180813191749","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.5.0-20180813191749","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-DmEj6DLEwFbMS7TDl8+DgtqihpScJiNOQYtu/YN983gcbrCRajxDCMy8WigH/uf9tQCslKTieh0nn93CxXKcIQ==","shasum":"a5360d28224d119a3131a1ec204447e4b1df21f3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.5.0-20180813191749.tgz","fileCount":30,"unpackedSize":49851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcdobCRA9TVsSAnZWagAAov4P/RIA2w98LT6HE6Wri1AY\n+XinOvJlERpJ3owM2yx1bWtasSmbVjEvXpot3LI5BMw+oLVe/p/mxHUiHLmr\nbbvCpBTVjwFovFZhHywYDHynx5vO0AGKv1C5esioeJsngNG/PlsLs2Owr6Eh\n1cCxVCByIel79vL6S4OacXWUJMD8iTPFA43N8is8K+mH0cPH8ZmYTu5q4qhl\naSUKN/JkqfPdL81nluq97HmgaC/oCAfeenSeE3GUESVPIKSOWPCKOi8p1R74\nqku5acJu6PqAO4A6+a3S8Mldaxh9OVqd2Wu2TrpO5c+6W46ie17GVOkipJzv\nB9IAAclzm65wPDUE5kwzAeIZ/TMY1enE9fK41wPa17RTq3rTCst+GFKRasz5\nC2ZevKDXmn7oM8AhXdK7GoCn90LGU3UHkN3/Jpm6skWjdZobahcoefjMxNpz\nKQ92ujQ5Yy6Z5MWzGov5Wfc7Ya8NkvyJFcDtstO0hG+ouLPAh5wmragcxNQZ\nZEG1z6sk/nJUIgAQre2V65PKyO0ydzz37p/Mc9XLi4IcVYxYoFFvIydnF70l\nUpxzLVk/BHhMR3R57QgJ/pBpJ06TkY+2e0eSlrAvGq0hWD3NIiEBJnkW8Q4Q\nIKGt3K7DWfsICEnOgBAARzShPl9dKhYByygcr9aoHxqvMMztfd+MNiTUYVrB\nKL3V\r\n=pxug\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA/qIBa9M+vwqFXdoQHqA/MfZjUdzeBHJmMbV2KqA3GEAiALMrqNixsBl0V21ruDDnPBxrzap557HIfrL+s1gUFgzw=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.5.0-20180813191749_1534188058857_0.1980049861527058"},"_hasShrinkwrap":false},"0.5.0-20180816094311":{"name":"@accordproject/cicero-server","version":"0.5.0-20180816094311","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.5.0-20180816094311","@accordproject/cicero-engine":"0.5.0-20180816094311","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.5.0-20180816094311","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-acndNc5Qso6CmnZNcRrhiUDllxnfJx2cLvEqc/DBwvlqt8M/6jsltdqCZO3gnSYwIuMuZz8eyvyaoyjlE+tt3A==","shasum":"ff7077a26fd21406decfb047cd32db1b23bd6c65","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.5.0-20180816094311.tgz","fileCount":30,"unpackedSize":49855,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdUfFCRA9TVsSAnZWagAAPVsP/1FlelWK2iecsb+j79Qn\ndZd0K/0JIGUvgGXHgLkdMhSQR6p7c00GOavE1SSuj+KfGXVEa4JXzjj1lT47\nxYTIwZFHEKk+BZz13hOcaXnrYVtN48pTFiuXleFlwTYhfQCl69Elssz+CScN\naoEOWhw+CPP+JsC/dOwgnbQiSMQuv0kwj72rejq8FbPQa+1s9rDuWRluMgdR\nH9o4W4SpHD4r2oTRNm1siL2YiShOJci70RZcPi4YfZkuHD0K7BSoxIqeKmKv\nrkjesIs4LhxjN42pmDIb5P91iPIU0fN+tB82eMP9vJTlAbio5iF9DuvEtocI\nOsuLHgIBbJwac3S03SbMiMGWIZrAKJJHHhMPlZtn5eclIsWq1K2EyrlmhrqQ\n+RnlcR8Tq30rcShbzVGeRgW/01jeJeY82pRJ1FpK/AgnwESlI/Xd73O6kP2W\na92ilczzWwK13BzawMpQBG5eIuhhF3U5z7WQrmgk9xl0h8mapQzpLPAnAIM5\nX7UbK6UBQaAAIv5DcxRy9wQg+kbN/Bf2wuqp31M6AAcZiiYpFH4iojpzAZZL\n6h+xsOxI+0Hifelk8Stx3bbikEqCHFHLHqA3MmWr5SHo5tywP4kT1hGhONW8\noXHcSpXWu5egMdlW+R3I9x+6Nf7a6k3/j3e36IMCJ8Y2Dn1WnQEiZCYdzQty\nQqp5\r\n=yR/H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxCGNjmZjDzkZpq1PM8mDmNNIQftoiYuft1BbPdUbfMQIgW8e3b0bS++ajADttf2n/Myytwf8ttlRQgbqV1nqTjo8="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.5.0-20180816094311_1534412740596_0.7606302920237784"},"_hasShrinkwrap":false},"0.5.1":{"name":"@accordproject/cicero-server","version":"0.5.1","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.5.1","@accordproject/cicero-engine":"0.5.1","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.5.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-rylZAejO7Fb23CnCSCdznbilyFDeP7ONih3L/fMGLhZnl9P50mgWd3+D9odcMql9jTkw5a5PxV8brF0a7Gc+MQ==","shasum":"4a42851c306c2156bb11bd00c709ea59c8f28fb0","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.5.1.tgz","fileCount":30,"unpackedSize":49811,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdW5uCRA9TVsSAnZWagAAC2UQAIJ7C12I3WkWGxjLGMPH\nGSGuDsivqEG7OOKvkpCo8DsMzlhsR4ae1+PWSJ7WBQnwW6bVKwD8/2BaSkR3\nMJV6ioDz5BG8VnaY4xOLxa5U66jPJTzf3zrk2gyl3SNNSc9DXoiauhfthS6f\nAvEqQXfuxEdenmQg6gnbeS6jJmX7NuM4LJbNwdf3gZMlDk8b0bY3H4frXRZ9\nPr6VJu0ZN6OuaeF3Mhq6wdnM1a+KO+PeNSoLzsLN1eSpyLLzqnKXURJtII34\nmaMpLYnoTDSPTcvmzlDfMs2Wn1FB680c+lxclN4JABkqU/nhV0fSe+gBfxB8\nZZrMpVngTGQwvAF8eCwLHkJQEeUi4FjIxmrIVrrRbiWtIu05Rcr+JKgfPjbc\nBBejNa5gZZTbL53yScp/g9ugdZl2AUDGWD9z+ID8O9O77qoJ1OreG+pkplLE\nB7D37KaEHWD5cUeEbzITCkoezv/yRzmvopno7n1eXyT8pmeqqrkrp9Kdo/cS\ngGgBehBew7OT9sEZfyBqx32VpHz/XDMGkRZzU1tfi3F7EBBNGJmCal4CR4fo\nDhdBqBZpfsDWGR4rdL5/dEyLYv3x0HAv7pLMKM3qLra8ApNqk4rWKrdQS+n3\nHUenRvhqL9umVbCutO5BI2w2AHiGu2WWKrRRpSDSiiAU5VCCMuvSl9A5g3uR\nFkbr\r\n=Uae5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEbw0bxI7/E48aeMWbg7WSkarU6kuxYl4lkyDL2uoj5fAiBVJZ+dapEywhtrfX4Q1+mZYyACXUR17n60opr7Rug4Xw=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.5.1_1534422637398_0.10607764044225432"},"_hasShrinkwrap":false},"0.5.1-20180816123314":{"name":"@accordproject/cicero-server","version":"0.5.1-20180816123314","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.5.1-20180816123314","@accordproject/cicero-engine":"0.5.1-20180816123314","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.5.1-20180816123314","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-WOGbOAaTe3SGKhh8wexvfPQP8JgoZGxhvL0BOdxI9ggTvcSoP+jx2JD0IiEFAFcXXrz8XiqGab3glY1lRzh43A==","shasum":"d21f47260e029ee578bda388628ac95c22d90601","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.5.1-20180816123314.tgz","fileCount":30,"unpackedSize":49855,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdW/ZCRA9TVsSAnZWagAAJXcP/Ah4ML310NkBlFyAS7aB\neO5Il1GSb2+9V1dFw0Qru1G1UcWe0gOfkS98ecKWUOWvbwvyNhRh5Omd/hCs\nNq5kXES2qGtvpNqneOEqzkLmKsvjTDC9BequEXNCgNK7enEcpo8p4aWHUh2I\n9IhhPLDVDMRHgJb0NALljxLsbkpfr7xMg99Ls274u9hjew7rq5AMYKqXjYbk\nMOeFR6X0I/Oo3Ryo3ds/ZDjxOAMvQYBco2YsmCYS07GkPQz7bVSGt4FbW5ns\n+aY7L9g37d2A+d+No49zby9qjN+23EzdRB8r+IwHzVXSAVd+085ZLM8gjHrB\nr/0PyzqRq+7D0cEkxBi0i+rAb30jTQNfH48zyrr/q06DjSqx9XAQkRNcpRSE\nAjaBLYm1eYT1v8+c+2f5VzJeXLNg+okO7Q5Nj4B0er4wHFOiCrsodz+wPcDv\ntvcaNuSYR5W3+GVwj534CZ5dYN8xoDUFEC6V2+pwRfEIvvU0pufNt3Y+353A\n4IX8th2geDUtbqpqm5e9/JR5cOLBaWUmx02htrQ0tr9nQ+YqhpidimmEs6A6\nxg0iYa9aTwLX+zt5xcOa/rzB1ph6VTnDRHQMkh/ldXHo1P1uNTIdo71kD9Za\ndlphq2Lv/kTboFSYJFj72NGLPy+IQ7PKpzcMzCJ34LZYz2Hv05ZpohkD4Qeq\n5QwW\r\n=P/K7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBQfW8DCXRRpCny20iQYP4yIdAkQ4c83auYSCpOx7MDBAiEA4E/CY2YPven/TQrqrXDoMHY4Kwd1uDedP42zmhPYUew="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.5.1-20180816123314_1534423000886_0.00036200862472957063"},"_hasShrinkwrap":false},"0.6.0":{"name":"@accordproject/cicero-server","version":"0.6.0","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.6.0","@accordproject/cicero-engine":"0.6.0","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.6.0","_npmVersion":"6.2.0","_nodeVersion":"8.11.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-C8PWUYL541LVBoScWaV2W9dBU4k9Wt4nivihoP8iCydERZS58QjjjHb4hNSiCXN25N5l4dsYEW7n+vv/1dArVA==","shasum":"38d87703d6747eb611e0c34dd714c6e0bc98419f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.6.0.tgz","fileCount":30,"unpackedSize":49810,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdXHDCRA9TVsSAnZWagAAH9EP/RZyKBTvrxZPvryOrX05\nAeVDMYMjXR/xt3S9gN916537uosCKisSEkeEC3JYsPEdX4zB6AqMn0L4YnyL\nRwUm750tIwudXOzmyjg//+owDJjn5wTqfmxOjOBSANxKVECKOW6mYkgX33zC\nraiShX53xzn7IB9anA5Mx+uKG99KcaWH2PqgixLYEb9pz+9934DsZCR9igiP\nUa8uptKEHl2redKxagO6KuvlMf+wVFmezwFJ9onK8JHlpiluyeJ/hSgCzB7N\nYgQC8ebir/mnxWK1lrzxSNDNDGrcG+rE6PljZfUeX3DfJHbfyWA0JBRLQQqv\nC0KpeD8vo04g6PvdajyUJvCXnRfeXqfkmQX8a1qTdXD410NpioW3z+h/EnMT\neerdUThb0CfC9ZOBtvY8RNnXQAnHY/zfZc/7CQHKheXYOS+O8Y90XyxpFCUX\n72r/Pb3n0zMAWzE7mwDb7D+aZdltatOQhmWl4BySk8K48ikkRJolbzyw+aj2\nPx14zm0T/xh1FdppbptahfuirH+1YELOkMTgtGVq+U96tmLbxlGhPQ1ZDptw\ntlbOf7dDbT64ynINgVQKmDP1Xz0xugTLFvsvBzF6o2YFLme5OSTUXi9Fsv4A\nVUUXT/XtVddwgFz9PN5cWbhO1mN0aDUi3KXVQxii/OnVQ3s+Tu1p4yHGwJs3\n1YDF\r\n=DN5c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7o7/V0Lc6Wipc0Cs/EsJV+QReXQSKG8suLGVcDq/vhgIgc8l7lkVMpfXiux43zQtGp76GHJsSfEhEGzoKZwUpowI="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.6.0_1534423491056_0.9338155721379053"},"_hasShrinkwrap":false},"0.6.0-20180816234355":{"name":"@accordproject/cicero-server","version":"0.6.0-20180816234355","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.6.0-20180816234355","@accordproject/cicero-engine":"0.6.0-20180816234355","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.6.0-20180816234355","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-HMWIFTtZsW9BRztUG+DSK75tWLLzO9xapXWJ+QNzS9w5YBl2x5qbmDpf87FyBkUFAZb/3YVkq/vUw3oXdbQjew==","shasum":"b275de9eb1c875756520759e7eb21bb88285b31f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.6.0-20180816234355.tgz","fileCount":30,"unpackedSize":49855,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdgzOCRA9TVsSAnZWagAAOCkP/2qI+JEQSloetKYyVj4z\nTkgHgB3woCTvhakc2cWIuOJGgBgSeF1VT9iAJuFNA+z+OhRffPzt2um+BwD/\nnSfEDTv7sLgOvQORfPWUOQsLrEhmDFVdadomNrSFbkRpvOrYQ1g4VTQpuROp\nqNsdYs6jyMUql00qpbHun5W5FL5zussrOYD3vBUVWvlYpIoKN8HtEvYTM5/n\nq3s3MBa7LMlU9JR8L1n3MZbymglI9iPtv7/M3ksNRRWsqNjniUt7sLcLgOA8\nBoern39RhY8yqBTOhPDlcvPtx2UEfjW6ryPhU/kJXBTS+Iz4WyWXeCfc6Wk3\n+CP51ATKMV4F5f9opCrcxqqbVtY5Pk7wd5Z52isf7yE8qtR3Oqr+skZlqo3l\nFwLS8NXDlVWbSD80sSMjqAwW12asUqKLYoMVwWJm4XE3YJOGvTK8pe944lt3\nRFE8O2nVq/LTfiBVsQg4aNBqKWfZFKikApCOvVgpTHZDLU5Ppo/cvVyIwMsL\nXjfhky680GvO2I01P9hdAv58lzD8beIVtXtarHknpF/Pzs/rJ0neYLgCe/gR\nFSLfv3g3q8DvmwGrDaqEz+yl4sE9hf8VoUl5MwUqk9CZZi/40WHfFVXIxfB8\nbN25zvdUXttzNAC2OI+ZcAbLBdkE4APDZtBpOdA4PjPV06WQpCNStOPxg1Wu\nmV2I\r\n=IuOX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB/7fL8TnWoKBFeHVGDyeNMJn38tJX+kjOYTr9tym/R6AiEA6Pr9UD++yXgz2s+zWhLmWOke3G/y32KxP8h/sq3ZBmU="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.6.0-20180816234355_1534463181497_0.32532494893991415"},"_hasShrinkwrap":false},"0.6.0-20180828202852":{"name":"@accordproject/cicero-server","version":"0.6.0-20180828202852","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.6.0-20180828202852","@accordproject/cicero-engine":"0.6.0-20180828202852","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.6.0-20180828202852","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-wQfxWMOgM4e3FA/cxbalqWRzWxMfxh+UM0m5ntARLfJ5J2wRBgR1CST+N108sqRy8+lVoxJhYBgpm8yMh7rsnQ==","shasum":"b1deaa7814f9b0063997dbb58c7f61b447273213","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.6.0-20180828202852.tgz","fileCount":30,"unpackedSize":49855,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhbE1CRA9TVsSAnZWagAA2L0P/2dyXTaFnjEO5cLWvZz9\nqK1VFyr9OfrFuYfQtIa8WZrmzshiBBOwsC5UKusJX5uksd9YjWHmkkUAGgjw\nX2HZUxsdJZc6ApslCQshifNDycB9LvVt1yibSCiLNZr3MnajnDKzUGE76Hv+\ndAvt1z14uIijYkbu5sl5eLE8vZVu9RtjV4WT2PNigHSna6EbIV3vhQ/abXmK\nsfRHwdeRrGFuuoCapGFRxa+Qz+RFPIzWPH02c7Iyn+HgaxNXLPHCXy9p+kEa\n3CTh9aH8Exfrdh5zK6l1MT4rQa/kY+yrJY9zRlqVSgrZUw/QaR5WDSdnfdb/\nNXBfnVWMJmonmo+VYHMkb+d4TeZk4aKYtoPQ2px2rKVspiknXXXG+Pre6THT\nxufqYDw2NLurrpk1fKb65ChH4TO3Iv8L7w6r9Qh4HKkLReRsM1b//ZxB9qog\nXXkf3scWaAQloyLObQur2VyvDjRuefrZBByy9g1WqXZIwUJRsYe/qvo84B73\njlw49dAnxAYq7r6ZxmKfjP5OTmXGQYROXRxD+hZbdNHScAuVmy1SXgDtAfbo\njfb6p5jrdoOgc1+LEhCQZY9bL2XccGjbt0Ga/csa4xmfhAdMK+CjUj57/e+v\nerN5G5Lu5wQSPikDvOrIpMzitnJ4505q4fPYmRQcCPfWOAOVWfIpdRs3Mnzg\nO/yI\r\n=LnyC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtYC+TfvdpBBkAKqDPQXQUQoBpHw8pJvmgp3Mpx6smLQIgS8UXAERP7z+VgeJkgaFeEporBR18NBSK24O1HeShj9A="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.6.0-20180828202852_1535488308289_0.43719911743047923"},"_hasShrinkwrap":false},"0.6.0-20180829192207":{"name":"@accordproject/cicero-server","version":"0.6.0-20180829192207","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.6.0-20180829192207","@accordproject/cicero-engine":"0.6.0-20180829192207","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.6.0-20180829192207","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-E2q8wr1jboVHtoZxsHO8ULwX8GKvGBdDOEPpjv7dC1/TQ7qy9Q/bBQljw2vb5kTNHfVjUt+W68CukM7bWk9yrg==","shasum":"95025db2422dbba82f48699f47d342ee18f62997","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.6.0-20180829192207.tgz","fileCount":30,"unpackedSize":49838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhvLzCRA9TVsSAnZWagAActcP/2xUgnhxiwT5Z7bdZ1bw\nOd06sYrNojYZC2vzsPYldDRoiXpj6nVxp6P/uwEKI8CotNfA2eeXabl3Hrkd\nxkRFkRuaGE+J2hPmcQoMG+anRsEglEQrirD3WL6YkfuQ463K/oAcEiBj28lZ\nQo2c94r90O88nCn6qBj0Yb8/ydeh/8Gr1+53TUeC4vSSOBFsPy6urhzmkuDs\n3oAIToPnE3DM4FdEy62t+6r5hgorGYOMhfDBMzR3Owa0jus3qX/gGBTMsRQT\nem9leuzlRtAwh7cCKLi7NDF4MEUIqOq2NwZTd89jvCn99ZBIM0f5f3yQGCxk\nG3LaCI61Ra/F9gkkES9HMxT7nAvaYIxLcS0iRH0/+0myXaNiSWlmmjRZtAVS\n68GKqBGu+Vd2LS7fsHawipKlg+Q/hNr/22IRDPm1cl+WaVAmZDuD+gOn2P6Y\nM/s6/DAknzGQj9QkxAUUJNE4S86hNn00ZHdMzPluu0FjD3agZhnpT8aYWiYD\nJ/8fyydsDE7woVH5rHkcBHoGcsJEkkliJd++Vj4TyrCGIIyt6nvoY8vv26PY\nK+p/UyoGBSWxzcy0kukVbMHFhGMvfGkDuDxx4GJ6bn607ldu3vMdkdM/R1Ap\nrzXBrcfT96scctGcxICWtgEr3303jMWf5IJusI+BUZZINd3fFkb3W2UmCuMS\nLry2\r\n=WGY9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID+E+DmUsNbN/aJ7fs2Iz6W4K1QBqkXPDdcLybxa3dCMAiEA2WL73h8G5MWIRb35KiJAgHnIT8qYBuIv8MCYaKMeHYQ="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.6.0-20180829192207_1535570674348_0.362475468916311"},"_hasShrinkwrap":false},"0.6.1-20180829193908":{"name":"@accordproject/cicero-server","version":"0.6.1-20180829193908","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.6.1-20180829193908","@accordproject/cicero-engine":"0.6.1-20180829193908","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.6.1-20180829193908","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-MtxPLdtQUx3UfFnqYmXsuyM/hZBzIRKdEuhvICsOuKpJjlL6lBxTa6PlaP/cSWyl0YHCUQKGdc9oQM1/q+ym1w==","shasum":"b471def5519f4c8dc880675edbba5d1a508ad24f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.6.1-20180829193908.tgz","fileCount":30,"unpackedSize":49838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhvb0CRA9TVsSAnZWagAAoI4P/3kS3/UmJYGJCnR/NkGi\nnblIYTjBwdHYn50n6uoLDdDbTF6DehrI0e1JFij9XUpF/56t7l/vDXrJMuZA\nDrx7+TLj/tgh6jlkZz6N3+uczog1icz+lWzN/OG8RBQHIGgRowcSzG2oY/v0\nAEeLXtOHS5eJnpeB+VclzurIY9S0O/gwyKzUh52y+A41+n2JjxlQt/JYYE1h\nLojgm3VPTqcU9TCMFRVcPdHrt4HdIXHLqXyY00G+Ss8cK9k0NGN5nqArD+Ux\nQz9ezlb+pRYNbz8xGGRGBHMvuHmbaa5aae9uNngcXZexQDoAsj4mPOu/oiVd\ng7tFVshqMRuui11hHonPZmVKKDwGb2QROKLWFzDJ1KonhNSz/KWA0SMSwIAR\npihZxmY4S5+cDV7yC6I7Yilc0c+iTiyxUfiPAQrpWIrUbt13AXvntl/rRoi9\n3dgI5q5ffuHsYMVmhkytw2ojeWRk3EDUDgS4KPW7f36OBqtO9gYhMiJZu4Uy\nmfg8qDcLD5FIADrKgFl+Xo34yh6Wl13bslNRASlnzsMV/mX18IcLdBSuRiO/\nbyGCr8YZdguLh503Yst49nbymSK3tr17KrlBNforgDJu21iriC60u7YTA7Q6\nLvqYVvZXc12pjjrLnz+wZ6vKI0LPca4p3uJu8l+pkeeWsnV2owlvGhCuD11a\n1MEY\r\n=UXOt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHM6fTf8zHRbs8ZgZbHaEcuplaGG2xZ+OlI6CzbK2fzwIgFKOfH6kSlU7b4DEIylvvU/ER/Wh7ZK7u6ur0TgCJo60="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.6.1-20180829193908_1535571699873_0.4621929735981909"},"_hasShrinkwrap":false},"0.7.1":{"name":"@accordproject/cicero-server","version":"0.7.1","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.7.1","@accordproject/cicero-engine":"0.7.1","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.7.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"dist":{"integrity":"sha512-egJzRPnwiWSHWYiPo2N+UJNGZ5tX+uV7RvYSwugGOXjVMsZYqlGpA8vKxz4c+jDxXgEfGGHNQ9291NkQ51pK2w==","shasum":"bf8ad198ad85572d3a9b0b4684eafc0d2bb22c8a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.7.1.tgz","fileCount":30,"unpackedSize":49793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbh/MACRA9TVsSAnZWagAA2acP/1XFXaxhCeoKxTQL5nDZ\ngY2u5Q1zdASzEGMezzwYLMrFutdVlzD1IX+pn/Eh95nKCTtHF4WCylD4R4+i\niFlya2sZXJ98jmcleb2+ahiykbO5Vz9cb7AgvanAY/yHuyzP6/MxD2maSF75\nIXu2qouqt64AwSkQZH+03GWNvQhWwxAl/duoNlTAxcvYUpUzzmVLJwXhKo6D\nlQmN5K/MMXsSRqwnZdV1NJ8DgMIJIBawMmfNE3GKze3kBt1NaRsjmavSV90x\n8KpL0wFc07Z+D/EqYF9V/+l31ywnCI1j4TBMCN5R85duEiHLiH47P92BCGgx\nxY7zJLx8d4BfVGD7PBWEvEM54xuY+9Uzje1Rm9TfxPNKXg6PJ6cnYgHWrfgg\ngAvv2Qu+JJnvZ9GwXzyadInxHYgPahATHSE12lrDT3ghpH3YbspQ1dJqGS1J\nvEqGYd7f4r6VMK0G3ahLgocXCD70QWHraBmglwP9KjB+3mlsogvJi/DCPA09\n87WlyrioJ9e31tIooRopwQ2xbzeWVGrEQV2Y42/Zg7o08UiQf5at9mL8XMZ1\nIcMHF9EmBB3t0NX56tnERYp/CArcnItqq/Leo1+0Oygt2xC63nUpu3Zyxw1A\n+y5PgIs+rGGA9JJJHsXjZJ7lqzeVjmVlNl6BTqHYSLILhAIyArMI0bhpSeY4\n9+51\r\n=T97T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpUSuUSKMGg8luZLgi2XtL7g50oU2RvxkJwhH50toRJQIgIlWeYhAWgO/ufoHJ59ed1gK+JMOuI/hstK6nLnMfomY="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.7.1_1535636223371_0.8884413756707388"},"_hasShrinkwrap":false},"0.7.1-20180904135257":{"name":"@accordproject/cicero-server","version":"0.7.1-20180904135257","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.7.1-20180904135257","@accordproject/cicero-engine":"0.7.1-20180904135257","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.7.1-20180904135257","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-tRLFFPhEXYbuI7+vG5e1x5cu7RtVvLUfAUd+C8AzM4H/tCQtWAggXyBCGmRguFQuGy1KjAUNtGHsE49rxd9niA==","shasum":"536ebcc6de6fb9aa9133e6240a27bc32e75d60e8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.7.1-20180904135257.tgz","fileCount":30,"unpackedSize":49838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjo7YCRA9TVsSAnZWagAAG3MQAJTHhp+VG5KeRu4uK4sx\nA+//JjebigwAxxYl8WqcsBpS+KUyT7FM15BUGUUzVpzmHoW7vjlewjHCNC3S\nLS/yALuNZhXPtTq8RBtJ6QnJ6kmUWBH8n15qdUGdVPcA13XF0ZrQdgXeo4go\nF7SlgyyYdfMh8NkTe2hkAAJtxqurqggV5N1Rldb8koY2t9sePSQaYhk04GzW\nrsig49fkRcoM/CXDUIB9LqGpD2z0rBsX0pFfPczo5dUxgGC3tuhk+xOlfEQx\n2cJRkgKzqwQPJsEwlwS2/UbOyLivaOsfWvu0fliEb0xIFhkg19vrEjdSZPjt\n9pNvQpGz1vsIZwXC/8l93k9JprFyro96QAbjOmdutUobABskFDDAtyyFfsqK\n56OP3rc9BqRPBDLvyiD9RsDmuiJCtFgvK0+vRnJyQMHDy80C+GHE5XxZopAp\nZZbf2MwleqjZjyrJ6Dwqi7GenBsFTsvJ7vSAEbIHQYvwlKTevZHSabdGfpeq\np7xFd10GS8KhTqQiLYBbwGacb/DWKSo3rwomN8NwaarjRQKS0J79wOLWGibc\ntg7XV9CFK+Gm4qTwWfwr+SQoMqQU+vtjzepYzo+WXLhUOiggPmzGQxWjswzV\nXSMt42zDWkMecHQLmt2qYwfgFtrZg0vQc3/X7RZfHAQbnO6Q0ruTyV1hazmf\n4+c0\r\n=gttl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWNe2hONtUTtcp+X0R2vfsVFg6X0ubRaPGG9E9slwoBQIhAMsTI0llRr0zjdkqWjCE6XV+84Dol+wA2+cpXEU3lOH1"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.7.1-20180904135257_1536069335199_0.3887669562936036"},"_hasShrinkwrap":false},"0.7.1-20180905192355":{"name":"@accordproject/cicero-server","version":"0.7.1-20180905192355","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.7.1-20180905192355","@accordproject/cicero-engine":"0.7.1-20180905192355","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.7.1-20180905192355","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-edYKBkwQorjVEAPpARP0K3XMmoZQg/+fIEutMHicxEQ+FSg4V7gpaCO67Xpu9FICKsbQEtxL1ah+fV5bDBZ/kw==","shasum":"ce29b798e9ae07c7786064c8eb1d07e5ce55a863","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.7.1-20180905192355.tgz","fileCount":30,"unpackedSize":49838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkC3TCRA9TVsSAnZWagAARXsQAI/gFPX2b9cM2J+UZimc\nv80ADTjme4ikvCC9rZTbjAQ+sRRwiV+F/N8XUmZ5RHfk8VkA/Fedo7MKolpd\nWO9OS+uHmHyvUy3cqlDfII+nKtM0wLEEQeSBkl/GP/SDgcGPY9aifdCAfZb+\ng1cDq3qNbLUtbleT6evM5OOIizzwmmQEaIEH5VuAKPxqy03SMhsF6zVEBCQr\njvpWZ6Pj4BFn3vh2fkvPoi/m87QBzRcikjZCKIlbrPh3Z7E0G1jZXR+Y5MhP\nXiQbYRvFrgjETRm57xKFwzSyuwy9kuDGHTsY/CwGOvWHBpqLUXHBidQhFOyy\nzjoCnRhO/0Twz30dv3aY2TX70aSdgiXneaC/dD0cVwwFbyeg/x+U3jLdaUJp\nrj0NnAwlnitpWeggYg87rgcJ/78/eLW86HusvTSFfNVArXd8XQEOr5gL1K0k\nGr/xqCX5dHZvjyXqeaL0t8m5b31ovjShe2Shw+CqEW+N/oAqSniE4rucUNIU\nEhddE5B+0mg8/K/SzJLl50Wt0RgvRg5w52gazfz6wNf4wTK+3/AjuS6lKvVt\nCGnK7y05VtNZt2MiIlrix8SCU3toUyRGE8Ezdusoy6Q0RXpfMN72wrPWhoNI\nBaMW5Led0UAwyNQUGAjaC3Lmdcz6M+xbuiDBDQ3ILQ+NoEox91Duo/2vl4IR\n4Oqg\r\n=OZl3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDh3uMvID6frYvAgfCoB1WTXuPdBMGa8H60gweL1PxJmAIhAO8g2gAO/WNPq9Hq+a+4qgWXpQxbA21Z0FygJWKV+iMG"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.7.1-20180905192355_1536175571063_0.28938613987606376"},"_hasShrinkwrap":false},"0.7.1-20180905193721":{"name":"@accordproject/cicero-server","version":"0.7.1-20180905193721","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.7.1-20180905193721","@accordproject/cicero-engine":"0.7.1-20180905193721","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.7.1-20180905193721","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-FRLJoOXam86fJHE0ffOv55vL/wFW5TUgzvz09H2yAAag1OhGLU1hZKFcIHqKY++psGPFl+HxMKpjnWCShiysSg==","shasum":"410d578accf8327e4302c3a5341a66a2cb031e46","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.7.1-20180905193721.tgz","fileCount":30,"unpackedSize":49838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkDEYCRA9TVsSAnZWagAA8tgP/A1L6sACZWAUk6XefIxf\nWaCNBYj8p+s9JOuNdug22O+DDvYS/vBHP/2oOy5Vur1+tcS1zkIIzgwUsmgn\npXSZII8nWDyUQWY4290VF95sRwXhFB8A5WINElEVyK3hANMGiz3eKdjiVnpw\nGEVJ38ogo3IdgEclr0I07Yspt3mknHuHCA8ufEI9tq9vXf0bhWyruKL6AIJc\nHFN3f3niMZ9TRWq8uSLZyVnz/FKXd5TcPYf2uPPe6kWUJ2g4il/wRS+fC56o\ngE4vWG/6rjgquyMcvGjfXM7jXhNHwnrBVDylnwItoClGaL+aGAaIy+PEmq95\nS9n24CJubtakke+wvSVyApa8FNtmVMYvD4RWhn7R+sS1WmVAITsZDRsGP0iU\nKOis0N1Y3W6A+vE8+NqmeWgLi3H/vbrSMao7nlkEGqN4y4Cl3mb83+Igrfx7\nsJJN/lw4mA3iGgh0LitZdjHDggy/ijkbCkUYXHwT9U1Oyps59KmHWBqMTmQN\nvmYfdD8+5cs+uYXxL8a+ql3vDCmHdYln04aG1v4b4OW4rwqYemZbV/KwBWJw\nF7Zp3odO34QyKAXAcHNN6pKvMcY1oN4fFiuF797SuH4TxZhXPH0jSB86FnUl\nQ70tQoB/fOo7hML+BkH5OMak5z4jolfX8aWKz/nfEr+a8sgZ5WgepTNDBVbu\nRSlU\r\n=urNY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCw5FeYyera70e9lrm9h/Hbfx+Q0jsZUPdv/EXel1JXMAIgMzBbUw7pYCBiUxexsdDlPn+Fwfjc8N3pQJYv+XSO9UA="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.7.1-20180905193721_1536176408227_0.9740782384913669"},"_hasShrinkwrap":false},"0.7.1-20180907025755":{"name":"@accordproject/cicero-server","version":"0.7.1-20180907025755","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.7.1-20180907025755","@accordproject/cicero-engine":"0.7.1-20180907025755","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.7.1-20180907025755","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-U7B4RlHm7Rz6LTCAGHfp7QzFAGVFHQ1xt7SFASlOrla6PUrzo9Q96hkFoKbDOEzM1iKrZc/YjZgfbNIHqYuqqQ==","shasum":"0b6bb00fe056ce25435a35f3b45f4e84a04ac769","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.7.1-20180907025755.tgz","fileCount":30,"unpackedSize":49838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkenECRA9TVsSAnZWagAA5egQAIJ4ZbzeW2eCHBCukshP\nJf6qrw2q8rNgCkkMTRJUJIA7waRqrtEL8jWLQrKCNnDIiBqsXszSK7O4oMyD\nYiUcYuuxBjj5caCNiop5GCH+ibG1YDSsJx7uZ00F60xr4AaXF1Ai19tRUJzL\nZDZTJCPTNzFTAL8q6bef5oq8cIcd/JpWSn0Hkr7TrFbn/aiWj9tbpnJF7BuW\nFOp2gLA4U8+Y+rDw3pOVYHo2jA+L4XPQPMdL426Ej0hOvECJ2Uo7F4UtU1Ge\n9k0AIQ8MfESHKw8sTTs56ryC1na6YHtnvHlh214Nk19rxANS4QKpAaIk/bmo\n5sFqxTR0kGLsUFb50KU2VFAnJU1GiOVciD1gJuYa9Ly/bykN2R+vuTMOGndD\nyrB16wsj0K4KrMdz1gvrvuVDHrPZSAjL+rOWR7UaOAZ9oEeio5RU3sze1487\nIg+ZNvNFJP7rQLTuKoGyrNW4c7oumd9HD6z7ISHQgsY5zdofZFomc0zaaLr7\nk9gSHgsaJukedTghoFjAZ0N7iQqcfaNzqfdMTwzP7bfUWb2tibtgFPOS6xmy\nulC7HwBDzcyKv+bu795LQJA6fn2Wpw0c4MRf1YplA2eHsr3J6g25Vjb3JXzZ\nbEPx80/kqKfYwhmLqPwSRVnqB71pzJNf9aqdlyJX/HQoWgUPWTlhK4Y3vpjY\nWyE7\r\n=uWk2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+0iuMRXus5pP2mPtwfQFdpUUh4HUUN5oPG2LpWtfq6QIgNgSUQkQTweR6WHSE/HJGJa4Y4FTcoIOtBVNcP3t5B34="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.7.1-20180907025755_1536289220206_0.6853693984935287"},"_hasShrinkwrap":false},"0.7.1-20180911163322":{"name":"@accordproject/cicero-server","version":"0.7.1-20180911163322","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.7.1-20180911163322","@accordproject/cicero-engine":"0.7.1-20180911163322","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.7.1-20180911163322","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-kr6jkKJUkvfGgKa03j2r3C8/JVfY+ov0efjVrqlbVp+lIHbncGkTMJA+E0bZ18TJ1BFik8kOi+Uuxo6XI7cYuA==","shasum":"fd9289c30073464b0e3bc1254f61693efe705ed2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.7.1-20180911163322.tgz","fileCount":30,"unpackedSize":49838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl+72CRA9TVsSAnZWagAA+jMP/AsaBN4hnSyZoEVEt4/T\njKTAGHNWThQg5nXOgXmM7GcDQfEXYwi8y+2FSrhrSmLSvVeyhkzYY3soz9XB\nkRB63920V/EWdQKr0m71aO0+MqcMxJogiNZYWqxoxwB57A0jfHLxVMryMRQE\nsBD+0B/qZjKRY7Mb00sHkCPhdhI3CdQHr5e7OISfpiVdkouX5bqoggWx3T/Z\n1+L/br5fN+uATY+CnTRJLCt1XpJrp0PTpfIsgDJOJGlYr7tcfPADLwfRN2++\n8EfyH1O9hLUCNtgH7TwoNdHdleJMxzcoc/sg5su3BZzxbQH8a6f1gE4kcGQx\nGrr37vMvA05fY35M+MwGeIuSxzib6GTOIqFQTVNLKuL38QZREHfFe1w7Ri8R\n4zrJtc2M5YLfJ6Knchk/tRRGHWp617hnzLX0ETSZy3jcXm2wj03PQ/jelmVY\nh6DoQU8X+ScjJjPhUv+QTX80Mvy5i1folOHzH8dTztW3aCBIR4hTfa2b7cz6\nUvSNElM/lueyWVV+FBqOabP4CK0bzem76h7si6BZFn1SXPpg/s38gnwNeKA1\nBjJd23Ht1QrIG8VAyhEkPmP716/a0vMe+/cUD5pLVtBz/J1fgJrCymkD/VPt\nzP2BvjfZPMWzlHl5q5Y9AcIQHSY1dyFSTp3/qN8glDycP44gmVO87b/AJNBO\n1gLP\r\n=DPMS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAtYSNZiCwBe6B4nq3aLLIf77aM7RIEbTfnEoF8iMl3AIhAJ941jbVq8C55vooeumepybhr6eb5Hk65YkouJPfTXXi"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.7.1-20180911163322_1536683765707_0.07482607789584561"},"_hasShrinkwrap":false},"0.7.1-20180911173239":{"name":"@accordproject/cicero-server","version":"0.7.1-20180911173239","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.7.1-20180911173239","@accordproject/cicero-engine":"0.7.1-20180911173239","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.7.1-20180911173239","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Mng+5Tr3i/G3KagJ/YfCmlrwnqeBAYEhs8LE4IvNUVmrIOJlpY2XTrH9vlc2Jr/r8FuVFPKStehtJmWoGRCjFg==","shasum":"597c14c6a2e360dbdec76b33a0d5e53a1e1e8fb1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.7.1-20180911173239.tgz","fileCount":30,"unpackedSize":49838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl/z4CRA9TVsSAnZWagAA+1YQAJDxIQHIDOFC/gc+lUUM\nDgmlr824uwdiYO0U1aRdEtJX9NN6OmKfaXl8tikQXwqIlKH8l/gcSWiIfVt/\n+vxtyXXnz5usGxIcIo6Cf3DfjKKEPIL4tgcooy1/3ydczEpdeyNUw8LGVqnI\nn+SdeDNHx/s8gIElPDBYzAe8eWGNCkOwqhGkL1G9mvyynSJxVKZbdMb9mD/s\nx1ZVK9APHMSjcZ5yrndxVyhUpVlg3idRqq6yrX81XZrFLmzbE8bY4G8rPDuA\n58xApXATHPoWynUAwc2HdvSXIn1PrlaSKJjjLE/3yJR8jm/aPHgUXkvW2x4B\n7+VMB+WzBQkLk1JaA+9/A4W5MkI1etz7sC/4yP+2KD3/GnmOWgMSRn+2CRZy\nQzaUsigCB6X+lIiDfFgi1/KQDFNbQ1AZpHXDqckSM4+LFJFeEU88Z6Y1VIsR\nSyJ2QebcmrfISbV/FeNf9KPlCqqogiebN2Fcv715lnQIUK+/QimCcRuFE86O\n82ov4iPdQvRNVmc4pCKPe8c8rP5SNQ10r4jU1QF9+eWRONUycAEvb8d+WX2V\nLrkrVhS9ZA5bP7804OlD++JXpTInE/aQn/Xlig5DOep44T51vc6PIouDU2Gq\nZmNBXFa2JZxSB9d+VzyvbHhEWOJbUb4GtHM3F7p0KQjvi+Wo8gfuDgnx1dTV\nSbqH\r\n=VFpg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7uSlUVxNWvUVYxDrBF0/jegrAtMsuxWWEsUkhI1gp9QIgDbUv3w4M1XG5KoP7MTciL4afcn7A9cIsRfZkObyJ9HI="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.7.1-20180911173239_1536687351945_0.06722748024823111"},"_hasShrinkwrap":false},"0.8.0":{"name":"@accordproject/cicero-server","version":"0.8.0","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0","@accordproject/cicero-engine":"0.8.0","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.8.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"dist":{"integrity":"sha512-2lYTsD3GkbplBbwbs6fZPSW9NCtEXRLr+L5RNhtxxGkHNYUV8xcnDk1aRInfWHqSVLPBCrv6/ip6Z3KebeJcJw==","shasum":"2aa4aceede2614b6f61ced41fd51d2a6ef662d04","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0.tgz","fileCount":30,"unpackedSize":49793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmAUZCRA9TVsSAnZWagAA3twQAKEfehNwqDMcwmOQ9w3Y\nfJNCps5Ta/Vklk0nHdE+NR1gWup010qmjG+2z/7yoNKUe4mX0TB4/uTMiPD+\nfmPCsL0j1O7KNorykYErxm53e7nMwFl67x4MRhTVh82eBkzbp2IST2L3VSE4\ngQcNZ7VkzXNzGgiiiL+uCBU8+7q0b/kOE92uRsU1Uy29f/K5Jkq5KnB11sic\ng0JLKLInmSg5IqioX/bhNsmpFMvTOM9/mGEK0xt3dMKfeNQlRep3DgxfkZAz\neM2TpHdEJSc86CxpcbS0NutWFqVT5wV/jznidd1tru0ErXgvxWvpNyIrSw57\nFFqVjOFR9x3zxrz6qSV/pSdeJFIi5jy35YQF1gC1uS2Qk2v+9G+kguiUzLzM\nAUYUQuqYFKGNaFu2Ux8+wOa5jwSOlxUT08h9SJ9SSOUPIVN3BSvUj+gEl4SL\nS+qOqmaIfAvd/vakCRL3MR/vmq16fymLkQhtX+7LGUfuR3reS4JUiLWyPZ6G\n4RDEQKHsNIMQBgQZ8XbvwS2vwG1TmSTEJt7m8O/qN7bRoNCiSzc7DneC1+i0\nAUAnKK5G2juMdaqvTURiMrIXxs6ihmMunHSkcehNjwrIhy9xUXlY9Bd7mJAM\n2k9n6An3Q9NhXioZFVNspdlbxr5f57Nr/U/h4vJu/GjmYBMqguAu0L81xam0\nXi3t\r\n=GPWd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGYeZbx86D5bdmIqrx/ZA9RDfKgAufgwUI8ZmVUD7IpPAiBr6/BFNXsS+MZSsqvSGEljuMaebUGdFQJoi8pkUELWjQ=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0_1536689432560_0.9172365035982832"},"_hasShrinkwrap":false},"0.8.0-20180911214538":{"name":"@accordproject/cicero-server","version":"0.8.0-20180911214538","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20180911214538","@accordproject/cicero-engine":"0.8.0-20180911214538","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20180911214538","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-RfvAxgNwK6rVqagI9Q5a6VVGbXARfbRHaqEBcjgeyevO0U7CcPpM/Wcbo79EVpozf+NnawUNLxVZYcASaJcWIg==","shasum":"ce09b72585cf08abf37fe08e96b651f7534de721","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20180911214538.tgz","fileCount":30,"unpackedSize":49838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmDhGCRA9TVsSAnZWagAAVxUQAJc+lEgIWPm33qwTjCaE\n96ge1yhPb3vQ8eLFE9UIqf7zjl72UHbzIJChjwp2G/z8OqCVvyfb/eTJugc3\ndjJOvdjWaVDP0Q8OapUMlhji7Kht8yM3NadSooMwKHi/cC6uQexCrENVMkLx\nOxuipyJgEaKL2okZAfHMZeL71sQJgVNGccYiYHd7tXY+oe+Q6uJxyKjBxkPM\neJLb5Qw0/NNGPos/IDD5qfvL3mGHWqFQlMCkW3Wm1f+FmQzA3EiEulErO9lG\nik+EpXUoELgzVl3izDYlaSZgOlJ/W0I3ltUa9aZLQyWgkZUffZyy2sP4LvzZ\n1uwm12Izi7zjZg/u2vsqgU5uYhJU6b1kAiTszyxhWICEKyzaC7cwclQsUqbX\ndL89R8uXSyWKsP3Hv7j9D5eKRDGV07adSdmr1bbyPDxC0Ovo7RbXI8RrRGDz\nYbFfKQf+4fp7KTVoEMM8PH5LPTA59fqBKVF+yfKncp76Gm64PFsCMh9gpxvH\njISKdWl+W9Ia9thYAmW2W/NwbS2kDxFhgHNO17W/fpOhGi09pQF0CeVGz089\n6bV6RyC44Ds+UTaCy1aQPXzgx9ZUctfnBFDhYz0tRxjO6Cp6B6zfqqr4mtCN\nRB6RWETnW88QDmVbsN+LPUfq8s1F3EH6G9MbBivAindtd2iS0ijDBw3F0BpA\n+I1a\r\n=5sIQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFksjpd+ge/GAG8bc09AM98gmaDzqN9Zyy25bBx6y2LcAiBAIAayiv6Wa/1N+2WJ3nvCsEIQs35WFLa58zAUeh+q1Q=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20180911214538_1536702533622_0.1701303774291636"},"_hasShrinkwrap":false},"0.8.0-20180915163043":{"name":"@accordproject/cicero-server","version":"0.8.0-20180915163043","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20180915163043","@accordproject/cicero-engine":"0.8.0-20180915163043","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20180915163043","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-XNybnSaFLr8cmah4VCN47r2Kjc65RSFJF2lygpyCeGCa4mnOepW0UoOBK2F9dCFuSPlV6XuizjA1BobJD7gYsQ==","shasum":"fd56aa76d12ac7c14256bcca8c2f4d2e37b6a92c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20180915163043.tgz","fileCount":30,"unpackedSize":49838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbnTQ/CRA9TVsSAnZWagAAlKwP/RZ6vgO3R80fUG7Ypifk\nTAdd4k+qVbL/mNqWUzAMu3oSk57PzRqbQQn3N95gGTnHe/1WMrvzzbjnrXbn\nDA1i7swEsmtZxOdPh+M8ASd17dQom6ifSzSunYXa91h6FUe2GsOoKUGPJVmo\nGOOU++TqlJVCXXWLcIbOPj5gD8PgNMOXQPbHbehSVezHIb5NpK1jiA93XACt\nVphhv/LBrCrJA/IkPuTxgF9KOx1VtYAb5WaGxc5bco68nK6dDgWtxOy4+G2a\nR6uiMCtVgxTXdXm3Nc3t0pWrxTQYcRwDCREG4w9oUJw0BVDKWBG/utkMQTr3\nfcyJuw3C65P5gaswqlws9C1Z76XRmSdzZvDaRivfYIGlO36ZT5ZTLM6nlucV\nj7ZXLCBIBTrThE0vzyKKpegIrKF2kX2WWcY/K8a/eM0iWazJiNDUqaDAx9RI\nyYPwgQ2B5bfwut1WjU6Yk2+/q50DPqkuQ5shzCUKmY65CvhsH19W+zfwXjzh\nauaYau+SMQxYu5/Qx1BbyxMSM5NGlCfAAAYT/+eH8BM2xjGyEddLhhGJWPCC\n/ml0LRBtfMuMboJegarQ89v3W9eDH6Jl1l3qdQcFYUv+Bu7cqgm3OGEn8Fa7\nUg7uDKyaR0bh520AOVQhcfsZNH9CggOfECk/f66x7iiTEXg89fhKJKBbuoar\nVRlb\r\n=BjtW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBZ+iDnum90rsGqNcoDAnOgpDqTQRxQfsibvJC1RCz6MAiBUI6ziDR08Fm6odAP0mmpAeANN07NJ0VBqz21LhZZWDA=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20180915163043_1537029182681_0.2398752778314286"},"_hasShrinkwrap":false},"0.8.0-20180927130606":{"name":"@accordproject/cicero-server","version":"0.8.0-20180927130606","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20180927130606","@accordproject/cicero-engine":"0.8.0-20180927130606","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.common.ContractState\", \"stateId\" : \"org.accordproject.common.ContractState#1\"}}'\n```\n\n/execute/latedeliveryandpenalty/data.json')\n            .send({\n                request: body,\n                state,\n            })\n\n### Stateless request (legacy)\nOnly supported for clauses or contracts without references to contract state\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20180927130606","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-qQW3VVDuZIZg1CB6J2A71ON71bU58/y+keBzAIv2jr2wVE7j7xUkkAyr+zv4MQ1SzcNmRms8tVsS0o7sTaFfiw==","shasum":"5df317bc90eac98553ca2db554b7e102f9d026b1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20180927130606.tgz","fileCount":30,"unpackedSize":49838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrNZYCRA9TVsSAnZWagAAadMP/3PY72NhFhbwG+8FlkQz\nknJHIUxiNwc6eckqj4QvGcJDmuBn265v2g9l2LoytCSqHVUWxRvmNsKeGrMl\ncgdQbRRmLmENiGfZrXpaiyvCS/x7R9bKKjXrDFpzJxkM8AwNa/TXGzwcrIFH\nEAadjrx2hBrZIzjR295qSX2bxx4UsvM8n6cNPLp+70z9donUFQnqJ+AflHiZ\n14sJ6tbMXFvwSee+n5NVyFnG8MbgKtdQU/RJEdN/w1ar71+vtBdvqZz4+c/c\nGsQjKfDCYzwr6MPobb0uKCzs+XjNpVWKJZvyNx1VyDvH2s3NZy126jIGFtXI\nbpZHrKdezN5IBnt57TMdfFdQRexHITfU+J5OIujwLDa8fEsROkDepYD2MIbI\nnSf7RovYbl96LY+mByrLTrAyzM1LmcLcdJuFjmEUT6QfNSrLHw3oxysDTju2\nUEQVhUr1SOZolbgqkXrVgR7QDFu+FfDqibkl0ibXANf2v4T23ppnckty3l9g\nZGouCe/xUAxVgfdYELNlCmNGHJZc7tKrdxYwhTSVjvv48f+q0sbQtPSHu+/8\njHtxesnXrgVos3q+NURR4oEhVNKSQfPYzc9R3/i082RfeDYxKLKVQ3fcQoYe\ngFabvkZeRn8gmt6MnEcFXS+ETnOmbYXOSsmMmEVxOSG+QNANj2hyno+Hs4bK\n6Yfw\r\n=NvPM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICL+F2HKxxDXBNouAAvL9a32iCbWGLoJ1+Lo2nLZ4WZxAiBdvAMQA/R4z4DhOm2Ordx/7mjILULtlP+PNffBjY6ZNA=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20180927130606_1538053719143_0.07385725569054702"},"_hasShrinkwrap":false},"0.8.0-20180927132841":{"name":"@accordproject/cicero-server","version":"0.8.0-20180927132841","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20180927132841","@accordproject/cicero-engine":"0.8.0-20180927132841","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20180927132841","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-uPjRhqlC7xLIgnFWuXJgWby7gaWy7jJbL1pQd+jZs5QW+kkVf2D0DGzb7bDdqLI+UT83L54CerQBk3vBqGefRg==","shasum":"ed35aaba497bc4e0b6a9f3e80c8785d859fb93d3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20180927132841.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrNuSCRA9TVsSAnZWagAAgEIQAJial7cbcvEVZzUnDVEU\naAaK158X/vjSMexU0u36/JDO6vdJtn4/lOzwF6pIqaJnLMCJt645v1Hd9uLr\n7oFu7+OpTCd4A709wPW+jy2YwZCVrUdDaMNUSa2YFFucCkXC3fh7Xc/VYt7g\nKtcke+sgXeit2s2DqJ49u6pUScwn6H2XJtLSfP7RU/5iKf6ospATIL5nb051\nTJ8Et3b66ypLnxEbHuJkDB8W3GC25iN64SoUQpAdcnt/CetQrSTWnA/kXFXE\nvCjCF9Ockj2kKoGnZ2Mn6S8G8p5hMDy8cslLvRmsj/abmg5fhrgVKTbXDNPe\nYT/iAldHE9OcIMJ6+cBpt9B4rgPbsgss+kJbOZ3gt+UgUC6wFCDAQ4lc7rPS\nRqio6Y2PK5uRGZrJSk2FrhQ377e3FMP+IezejpNpBzHSijrctrsQyXVlNPgD\n8WNRf6M+dZNczOVc6F/jQVpRu2KKjAqU3KARbA4GFztqeWfuCLTAthoMYRxr\n/V2a91Nb/XufbU/EHo6NHw3cKiuouBzVPkTbMy3TP/lcoyhzJ6CK7GSaKjMe\n8+Uy6uYSSV6P/10xCyksfnBKrpQl0pIKJi8C4D8gGwODnU6gVygM9XyXzE0W\nr3YwZXGP56ReBZsEcbduAxI9w8zmNy00IBOJy6VTGPQPhTA2K+FTdAWgHYNH\n4M0b\r\n=MGFW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG2jFxpwNWCmqFOGOb0gWQOLJsoxg4B8dMkKm3eyhN/9AiEA0SkA0kqAu3NrxMZi96goaEK77h0C8fTjFswFwnLUWdQ="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20180927132841_1538055057618_0.9163195489141356"},"_hasShrinkwrap":false},"0.8.0-20181009153535":{"name":"@accordproject/cicero-server","version":"0.8.0-20181009153535","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20181009153535","@accordproject/cicero-engine":"0.8.0-20181009153535","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20181009153535","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-TjeHaeMhtxSEVJ19Qr7KRXHPvwYDSqy1HOp1dF56/ZamyFPNc+aiekn48lphSZBAAXyVZxz7qUaHfacplNuQSQ==","shasum":"f2fb74f7d1b90aac2927d1b1e59881b5f202a325","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20181009153535.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvMtICRA9TVsSAnZWagAA6mIP/0XIz6NW0+Ri6EVhrMy2\nxTn0rQZCOgZnJewCL4gdiDzkvzxLEs8eKw/ZOXEwKuTWdEjhYgIMfJs1dAtZ\nNsxeaJrGHfLncz67csUWeM+B3nAXHItpJutNr2tBea3onnI4oluqqmVPujS/\nFsWAUeXBB71jmzjkFKJX/I8slV2DpeNWpV/0YH7UlD4S0tHGwew/EbaUmp3J\npsDh/AifnTr9vT9blnJTgQtv5nEp+ffRTcRUoUOqNUV0yvLlMriBKkgsQ6eq\n7R9kHJdoXAKWZT1Gi4NcpZ4DQJUIm2C6g37eRhPSZQXtpCeq6Rc3/ZHupzqm\nhyCjmQydUdkAuN1Yx2r9jEhZuEaVX4bF/eJEapBFjoW7V8LBGlGiFGKHSBeh\nye+aUAmIC6kUj/HmnPTREUoIquOQHwtU8khBQfJMTC9O90Bf2lFJJfJrxDwL\nWJpQ8d/GqKdkLKcYXRsk1PaQf6zAllND/l/V50aNUowYFBn80FmLGNAy0pwa\nOiQMdhP1l9QJZ2HO+99oEQSFIBcVysfqbgM/01ryTJoZDEQQGbU58rr6HOp8\nVbLwmIhNcEpVMl3UG4ddC5CeNuYVJ7yry2GgCiz6YqUy6xbTFCoZ0OhuSYlV\nnAJIpOTrXQA4eRop2vYch8FTLftdi4dq4NdGdQsPVpQQZ3P4+rHnUjTCIgsK\ntP/Y\r\n=iEGc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF3oaHfIfaP38BLUw51HaO/C6fF25JwLYdnsw2cGG/oPAiBSZ75kIeg5HiF3CEKMf4xfcfqPXGuZxW3dAlJRwFAg2w=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20181009153535_1539099463709_0.6068600431527678"},"_hasShrinkwrap":false},"0.8.0-20181009181911":{"name":"@accordproject/cicero-server","version":"0.8.0-20181009181911","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20181009181911","@accordproject/cicero-engine":"0.8.0-20181009181911","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20181009181911","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-SRq0gUtKMp6JFEyjvYViSOk15BZ+Gpoi7Ez6ZeH69vQQoX3oAcWHnnwnArWsLyuUIF3yAjRTUXJopMpiuxz4mg==","shasum":"5df093ad1a431789d5ee6979e598abca1b47763b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20181009181911.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvPGiCRA9TVsSAnZWagAAkKQP/1+/6BVyQpLy6g/9Nhec\n7H5iL57oZw3VZ96DfNZwGq/Shq9LZOhFEBfAB0wCset3z4TEjL/5hRea78/R\nkabn2fv3hxGZb8Kgm1TxVZB5RTg/8Mn30tYI/bBsXFw2mR9OTTLvMCKM2EFe\nyxwLsp9x7XjgQcFYvadVNY9MTFiOutws6haZ13TGsVWvs9whbAAs1u4rN6wk\nC7AmI3Z5grx7gK0agtB8+lh+X8jk7O1i3CUrSiZ5Jn/jenSkK6k+Jwul3ic7\nJlL9s53sEs0Xt0CFLMQPNJjblws9agRqK/kZ5P5jLefBM4AATnRVqQMHywaw\nJy0UlTPpmk30IzfxkPo5uyUSHlyZnT9i9Nj1GHcJppgcIAyIc/MguXYCd8SA\naDN77HKeFzv/+sAWmrQywkRDJ/gkjR4DD3AzEihmf9hZkPVD1YSV0wkjzq+q\nEsUOAzzvIMlUZatFZRSHb/zrYVnIMR9oXWytBI9TV8yYjWQ3dpAHGfcMa0C7\nxUXsU8z7j4Tj1Ok0I38z+6eNkprj6ore5Em7G6alwa79DM2j1whPlJpchbwe\nI/Dp10/+YrbVC1V1gpQnGdCxvk6NEX+iNLe6V9yn/beyhH9LnKAunr52yLR7\nAq47naDu22ppIapzmt2QFWLYje26JlzLEPTtthEhItuX+/2G29ZL4bTZ+rvt\nPrfg\r\n=qONZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYPVWsL6FrYl/6ARCuTwqNxX2IQgnO1csux/vb1NPkTQIhAN6PCCA6aPMJ4jPxgmmHFRoKHUlh40c1pigALzbXJdkM"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20181009181911_1539109281789_0.6546069416450755"},"_hasShrinkwrap":false},"0.8.0-20181010061742":{"name":"@accordproject/cicero-server","version":"0.8.0-20181010061742","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20181010061742","@accordproject/cicero-engine":"0.8.0-20181010061742","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20181010061742","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Hv249U+3KPedZKLgpd42o4ZJUnaE5m5unf4TQH4x2Y6fqVmd1HSLcJYj2jBh+DWmD0BP7MfK5nI6XQDb2eOoaw==","shasum":"e80c02b7b7207629bb24a178775d0be628569d61","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20181010061742.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvZoVCRA9TVsSAnZWagAA81sQAJo6HKUg5V/SXSScHgeu\nDcQO7+5GloYRGzL6kesitxRIRTJTfLQuDzq7QrdLwqZPpF1xf5OJ9klXm0+M\nFo+womU73KmcidHxg9X/Sc92lgNjtqrMGDnpJ+quSpfpQB4g5HqN1m1/qhXT\nTEfD/lZF+pF2bHPcs5T5Mf2zo6S9nvVQRzzeZB73UWlSBd5g3SG9NultLAtb\nf6Mr6f71vKfDfTQLhv1n/6HXGYPGWN1POazcSHLXCDmgdk+Bnpk5k5zvPDae\nKl/pT4cV9slFu2QTx0sci1fD2bqaCklskSEB3k7vl5EAJWiRYboMdMOdmmi2\n4x0zSBLsYcjfjwWB8cpDGewed9TNrjbgEoby/NIaf251mNwbjt2nv+EopJFs\nhTrWvH37K9JSmiMih2argD9OkgbVKN0W8WPbzmhLXWc/KfRtRf4rk1wXgbvJ\nWOgTrEz59f9E3X0+OWGb6sLYqI5B0YdmCypfV99FNDTih5yk6bs6qyNCvKHK\n9sDYdM9lEmf/uABmLkqkDG/HKJRsqx7+/yWoEC/ZYUnUzPXORvQUBn29hNpz\nCxLJCJNpZYgHhl2FFUZEZdENRPsqKDGrbjWNYKFYTUZDBz+BVcig3Udan84z\nzWzKj/t6zxsOwL6fb5t4k3A7Bm93St+Ago7S3Cxs2PDNTzhCIe322cjRBtBD\nN8EW\r\n=/4+z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEt40hx/5KdbMZpX4nnp+3kvGzRYBKrLQSHtFSwKCoMAAiEAmpBDtUm8XGwAWY1mToLMO0+P0PXqQHG/FErXQtzwcY4="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20181010061742_1539152405126_0.29008299706184704"},"_hasShrinkwrap":false},"0.8.0-20181010122552":{"name":"@accordproject/cicero-server","version":"0.8.0-20181010122552","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20181010122552","@accordproject/cicero-engine":"0.8.0-20181010122552","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20181010122552","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-pDpN70IA6A8la/89SuIXvZf1SqNNzFN4kUWbHgEv5wAP4OHOn/65yDD3Tp9moCS77KYPrVOLzuaolhLsCAefpQ==","shasum":"5fa61f548571060074f363b5d2537dfa90b85351","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20181010122552.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvfBECRA9TVsSAnZWagAAZ9kQAKD47XU0s/TYHJ+y3sfK\nZYg7gEaOOf8D8su6eH1luWXkPSoQNHT6dsDGkzmRSpA9cm8VdNM/LqzI9PKi\nBc84bIz+7Yw967G0GT6EKCERA42bGOndU9ZWNU96tBw39nnLYZELI4b+6DWW\nCKzab9CmzYOLpoPe7T2glJXdROoh8o8lisjIGmNESMq2ZhmmYf6hhW2RZVFa\nYj9Y2/vH7STrwd4eQrf863dxZgNvOXbdDXhtJKUtQxGuCUxwCHsjSVGdnUn5\nILHL83i5MRBmkaRj9OYVKY9gl1yvLdEACbTtQBqxOSU6MymX1RboikrstBtK\n8SJSbTkl/y/EAaC9ZpzTKxJh5OPLkWb+UljV4N+e2XekNFBqZ9hGlkNJB01U\n+0btDXbGnVrmGRoAjgGFCXjffwYF/2M+22Xrl7xn1dJZURRTngAbuAYLuG80\n7crxCCrO9ijag1kNCXhEaqCdMVG+5YdhY431ELcx+3bB8aclI6ErQGPUfdNo\nVcPkfV7FMlqWB3jVvF8EHxlUmyDGL+tmE+vAKUV5oNZP+0AkYkfT3SJTKRWg\np6+1Dxevr3hRTnfERgSpL955PGY4Y+Sy5lAFYq8a4wisHtOprugYLWl+1tCI\nPqP3QVzwu1gT+eMdB/TUHjbOO4SpV9TvXKw593MRDH3/hVJgkLEhwux5wG61\n+7Ea\r\n=cdap\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICqlEap2vFwSeHrAT9rBuog+ZYR7odNE5YCRJihEHhtEAiAUoiOuDNTCP9r/e3KIDmp8dQ/+bf53On3Gkreum81gWw=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20181010122552_1539174468096_0.7626716854552225"},"_hasShrinkwrap":false},"0.8.0-20181010135015":{"name":"@accordproject/cicero-server","version":"0.8.0-20181010135015","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20181010135015","@accordproject/cicero-engine":"0.8.0-20181010135015","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20181010135015","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-NPyfqocY3T60j/RzMR1I0qttrynHdCMrBdNVEW7Q9Y3fnys/NpKsH1qS+cUKU8A/1C2LNN9b6LpeDvHOlj41tQ==","shasum":"19f6727698bfb6d277ad119b95eb2a26806a5d1c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20181010135015.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvgQgCRA9TVsSAnZWagAA0jwQAKHLY9J/NoGdd+JXUPQR\nEMIr3Lr89DWVgSP+ABu8y48j5xZrexgMg2dYXjyoci6Hr7L1a7ZxKkiaiMBH\nAgXm5/qm7HcbVsvcBezVQWyQNPj5q+KYhwBRgNntF6BqedCWFWwJbGFDSmHt\nHOwsa1x1bd2Tdalx2mqVRzjMn4Z83tPFHKNtn7exiTetXS1DzU/x+ddCTPpq\nPQh7vwHk50AKOrddzcVPappZi3hOOuQ90BgIAltZrjsdi64EsfAwQg9X/gqq\nJ9iSXj10hnR/B8/K2OpaPcJitNdIGpPBEehGj3iwYOCmYDsRkYQwx26DI/aO\nHcc/mf7m5bW+FlmJfNwwl+R/UTIsL0U4Eo0n9SatCcP1tX3CsL9ZHc+et0YI\nbHquA4AmkfB9T9TXz2pIQHoNH3vNfQDaPOU5tT2gssPBE/1C5itbC0pLrolF\nlJFfW08UNfpprgrQfOKaEid+lQvZLp7J3mHYUOR0mqOmXMGcmjF0E+N04Rb1\nhaoLhRR9iROTLrkI8xqqyrC8IXbPRHLIfmhUiXawV8WzzgM5g99NgvC3BvtA\nc6HpPpFgT+AW5H4eSu7CWu55QUB8OBpbed3JCIFB76JYUCzWqxPi6Y5GKwc4\nJoe4hSVzjMk+z0huNKzUsTQoHaOVzjbS5mWZ7h1s/6SDeibxn83vJBafcS7g\nmz7+\r\n=KOB6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAn/zFiYWK04jYv48VxYASFvKPXAch8lYCASIfmms8T+AiEAgXbbuTrf/Z6rNFLG0I8dD4T4CIpBsIZ0vVZ8TF+LfR4="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20181010135015_1539179551314_0.026341848815498947"},"_hasShrinkwrap":false},"0.8.0-20181011152735":{"name":"@accordproject/cicero-server","version":"0.8.0-20181011152735","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20181011152735","@accordproject/cicero-engine":"0.8.0-20181011152735","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20181011152735","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-mpTXGcBKWV8UZ9bgCpBq3u6aKi8OMWGqsegtBJ8eHegy14rsz+Knd9swOXfepA6MjiDdi7RncCnxa3PSPh3dqA==","shasum":"5a49758a46e54df9c5b116d47d15b27dd9f5b888","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20181011152735.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv2xrCRA9TVsSAnZWagAAP9sQAIVPMt+YTuUq66m6pMmL\noBDavlD9Vdsox5lc/D0/LTm7j7u/eTOje1dntRyB8E77vi5XXX1/g/vB3FuG\nUb+hDHU9P+Pimzeg+cAsBOCu6ONlBf513F1vpr4yDyIqZxM6MO1mOLPnMYpF\nkfRMbggDIPK6YLf4XwSLD/RtwskfpUCF2a48A5Z1JJWCHbvrr4nh9ZKI3Nam\nK+ZtTl27OQS7q6Qd/i/DBg4vf+UxYu6k1s2lQ/2a83fKX9vEIgjpAeGE56BE\nkozTQWMIBUzfMDpEPqy0WlgF34CBiVdEBVq81wcbZwEcaa8S98uOD0ERQyKS\nVP6Q2GDXYrneVcomMI9vPyPhO7cINa8fF6C+df0140bWss8Wet3j1tKCIkTs\n4I8rbz7pRwAZV9StAztV7qitLrqvz1SGi6yV/UevsTOw/25WA1uoAkhHHqI7\nzM3u0fTxz7t6kxoD2W8jw+zScQpjI52t8zmLLvcmXQnfB8qdMeCfMCg8sVly\nLMxlOLnbrIbKG6BvPlnomQUmrPTJZ0hy+3nWQn6noVXkcjDj3uycTUn0fRgx\n7S40pOC3mUd+TALmFMPZ0jqvHY9p64Wn0wfsWdLWnvvy7yZFtPXhEovo1GWe\nuBCuDZ0cJtp8KLefHyqm4VYwQuM8S2IslLjaz1Su9wSxwTGpLF0mTavuiKhw\nscp+\r\n=+76a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHX1ruKwrKMkXXTZ/D9K/QEEDbFpUSdf5QOB9SWFpDG/AiEA0Vhjd2mu1xwR3t5oRlxK+q7gA4KPcRKdVuCR3pWdsu8="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20181011152735_1539271786376_0.8532669860682598"},"_hasShrinkwrap":false},"0.8.0-20181011163145":{"name":"@accordproject/cicero-server","version":"0.8.0-20181011163145","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20181011163145","@accordproject/cicero-engine":"0.8.0-20181011163145","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20181011163145","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-/DJejinyLv7R7Cl0qVbsPFjY9g64dP5Av2AoD9Vo6jVYAdnPDGwFbNYO/QqV24Sq8iNQKuAg3AgYcoFNs8I6zA==","shasum":"c163b0b87c19e289b58abf3d1be80cb6a97b3090","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20181011163145.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv3tjCRA9TVsSAnZWagAA/tIP/jPWKhpj/UqhWYzvpl2v\ndlmVZlPN8uIsnEn6P0z/u2JZh0U0bMuyyPQiE8PFLR5lmnTpjjXPvQ4GPO+O\nA48j59PHVFJ8j9gG6wN9vmAcdFQUn3DSXEvxlgDqJDwtmIQRoAyVdaxt/LXN\nyDK11GWVqwBgL7iT9oZ/TVL8GHfPKUHmxT6hVw5Ap1GwmnTrim5CEfNAMi3F\n7xY+p3KuHRYKN4UNKk7PADW4+Vcr31kiPlhY0msF1fP+RYDLScHxuVnk2XXu\n+iZ4EMlVCp2/7I507nuQB20Nx6xxHHaTmV4ZH2ea77koxeUswS8sOCh7ggPU\nE6ApPfhSqlXSUfIGG8KbDzLOYjOFwcBL1SGD+yPmlLqBo0BVEaoJt3IhviWs\n7YPjtn7EGsLPaVe32nxIXnYLkua9wVXuSIORUCzXkPbnMcUpC5L5FvAfsXWS\nnuVthAncFucW363Js63l8/HbdMCD4Xvg+02LPmgNWCmzsBs4eSshWl8hflw+\ng1bEEhWbneHKlhCpKIMRtl7hEqlsxn1TB8vH5myU8CO+ZJfm+wL3gRSIEaM+\n80nB3ZFX79uBL1b3pjo5K+2Ofbb+AzuzTdiNFMmvtjz23/ajmCkcGKy/ojBU\nyAeKZB2PzhWXobohR92ZG/XSUyLFyb8cWxg81odptf8YAdq0vqgsfeHVbDee\nmcVq\r\n=p0J9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBec7VG8LNNy/qM2sG6XdCp0NP+byg2ldM1xsCZR6pQRAiEAqeGyoC9q0FWpK1YV9Pj7rx0zJxvbSQc22cWzKrkmYZM="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20181011163145_1539275619215_0.11557289600103515"},"_hasShrinkwrap":false},"0.8.0-20181011170047":{"name":"@accordproject/cicero-server","version":"0.8.0-20181011170047","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20181011170047","@accordproject/cicero-engine":"0.8.0-20181011170047","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20181011170047","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-9hBRqqSaXUAO+nks1O1N18iyk/iWzFjF6qKK/4GwDbLUNTlgQex2vFPIH0dC15eEG861C4xprNl3ZTMiaTtBCQ==","shasum":"d00e9f6c0db5c399e35365826b0f9b61f7753adc","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20181011170047.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv4I5CRA9TVsSAnZWagAA1kcP/2ptv9N5fFITKG4arrLK\nnjkF/xEnwLm/t/6nQgnRV4SdNXZFpeorVlFJb7e5Kz1iSOsIvP3yvclY4eah\nuxrNAPA8OEf++KWBbcJx7qyUCVepqglwaRHphkekSrPef61/AjaxlFs/+lJS\nRDMEzuk2EApGM6G0uwuKEyTdj3az2yFnylHWELxuAEkuwt1sA/erIL0Efkb8\nzyAn+aqnTy8hS6B5ZvB4E5OOlKsIHO7xgK3YKmAlcw0H7iSofhYY4axvH/KL\nYkGBp9vAtqgAXW46ENZi7ZBNP/APL8YATjWoIZr7BZH9E0wGeHAY/sOXT3j9\nI3NU2z0KF/X8/J+X8fiFHgSSidKNHbtmF6Bgx3ePqBgJ/oAbOpq6MbqqKWKu\nCOqndrRKsZThosIAkk9K/pDTIoZmD/ieAoUcTzCnRAZRtcpmflMKa6oJCYSC\nO1C5cVjn9eTqO1ZxPOqoqO0MBdqYcjDoTo/fC6vTavruv3jznhGswHeAsued\nWIxD/ehxuqNTQphJADq1tnO05PPE9U8GRu+9QlgV5xcuFdg61xsEdlsHwNuJ\n9krckjkC+n9xpd3uJPDSmzPjR6vSsGV2oZIGWGKAZYmZCfqRPLiv6JDpfC/h\n/erSR8lSDZM1DOdliENCwAHSVIugzO2TyvAB2aECHP+BG0ld9E5iMV3KgLpw\ni8XO\r\n=Bddg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEzeP05w2bhxaLFC12uvhhVTkAopTqTU03NKKbmGCqIKAiAsidHsvEwoGvoIGDCQU+jI3qIiJg9uMpZqPPlRc42+YA=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20181011170047_1539277368623_0.40656279728824596"},"_hasShrinkwrap":false},"0.8.0-20181022073440":{"name":"@accordproject/cicero-server","version":"0.8.0-20181022073440","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20181022073440","@accordproject/cicero-engine":"0.8.0-20181022073440","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20181022073440","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-sWxLEGe34N+NoJvmTpsSkHXgVQqyjjqVXh4chLUDZceAU7TRCcRh+GDVawG3aABpEq06dNDsjozwC9pdsYgZxg==","shasum":"802a8776052ab49638f495895a4432ec8426aa6d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20181022073440.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzX4FCRA9TVsSAnZWagAA4O0P/jtwgQfsdT2XNyWcRQi5\nld++8TO2bd2guBINlT8sn4JnfadN96in0Y1zxQqWahdTBqCbyjwbJJivORXg\nBbR+mIVd1xjMr6fQpUa961SxZ4rWAmbPpi+cJVhqu2qw5h4J5MbkAKiAssI2\niIg7tpGEzBQzAyAH2T7GPHOvuh5tHXtP6yExIdn/SrpeU9ceysx0qFyc2581\nfvJ32Zp4YlTLN+0Oj1YAlPcCdtD839GAP0+SIL8QUaRvBkn+YkMrDcpJS5IE\nUXoReTH2qme040MqCLKVLJANm8ItHLJY/qz+Fg9oXv0VJ1kepJm/eSI9NrRe\nZ+U+M7nLbuyNd+DNNO4227av7lDyIUfVp09akYmQLmDUFDTq/yrg+GWzOSya\nXz4kuMiVv9WFWyzH/j/mNHJZo0AKqKMqPr9o7jhq369MVe/lnNaLNpyZgoni\n4jx230Zn9rHBYGE2AyydZSPh3VnO/VA+//kMNp9gGed0WOC/fnQXZPQOMuNF\nOBtwuSq8axfxg2uhqgLbyKz3uApPcDDiZYpLyIIgSWfsvwSg/7uIZaM0EftB\ntIKQGPcSnWNjMunTrg26rtKu/263Ftd9miPHH6FUgFhE4ga4a6uMYwrs2fub\nY+9eEHfvBwyrjXPNDtT3eGNdFcKzZEo/sgTCn4jMK7yDInlw663cws3cnbig\nrEY9\r\n=opWy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDZPXsR+gNvbkZbNmMNnrygpAspJwcauFt75qB+OWYgLAiABIdPx/2U3um6TqyvPkJ0fZv6UpckInQ5uvXWTR8g/YQ=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20181022073440_1540193796423_0.7370461589816533"},"_hasShrinkwrap":false},"0.8.0-20181022192748":{"name":"@accordproject/cicero-server","version":"0.8.0-20181022192748","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20181022192748","@accordproject/cicero-engine":"0.8.0-20181022192748","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20181022192748","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-2zJVNf7we1oh5js7Jx9SnhXui1kbXFMhbFaAmFHLavcfvI9MVboxJLwg16Wv59CRx1vAubM/uc4bw8CKwI1vkw==","shasum":"d39e9ee185e5c6e4908219d7e072259fa41da4e9","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20181022192748.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbziUuCRA9TVsSAnZWagAA154QAJjmoUimxodumHoxLpYb\n6w9Do+R4fe1E5U8ikAvW/zhgqGMhdjMgj+yZqHociRjW+5i4HNxhRrs30VXT\ngAlXYatXIWyuLZkEmxUwcjBI30t8MLomA+t40ZzHwvUjMSDJ8Oan98jcXDZE\nunMZ/a4qwtp4TftNuy9QUChY4reI+nxQMvpE8PH/rqUTjotXDr7e48dsMxic\nE0uSMOOtD4qFn1Oxg+Wm7QcIFbeyYi1UF5CmJk+AKazPI4MRB7/LqCMHCMDu\nnuMY7cYZ+moqJPGfAtFbSONU1VmqTkDqOHI6D+A+h0xWyij98150j5qWmUZF\n6jb6PeJRrei7Afr5FJA7YdR1iS8KwUUoiNOT+T79iQDInuTebSfuD+uF/V0h\n9DbuvP8aU/J4qqJZ5WRMdTmZS0Kl5JWycQBTxIQsTHlGz3zAfBADHDD4QHKf\ntTelUZP8zKRR4QZx/eJXHqoJyp1P9waXggg5pxAe6CZxPT+7H4WsL4OyQ31N\n4L3/5uLZyhf0Riyn4E2nmtZ/VCnPd62aSq9XlyANq9w+fz6jGqvRAO+Csbjh\nSW5ff7FByHc6pRDNqPFXvp8C0XfahswWCbgfyt6PVRCr06l6e/vx2uPfYcn4\nkFfp14+GJ+CiIOxGcl6d+o3zuUWJhLPjAN1F7bHo8hjfWE89zDi+znABzky2\nutvc\r\n=MYmN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD26p+h6xBh/vv0dZvaMl4qCado8tfL9w9Hrpyu91oWPAIhAI2W2jPdJoCGZnk4Y/eLNjCLfy4fG5XObddqXPuROC1Y"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20181022192748_1540236589715_0.3694613285874522"},"_hasShrinkwrap":false},"0.8.0-20181022192951":{"name":"@accordproject/cicero-server","version":"0.8.0-20181022192951","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20181022192951","@accordproject/cicero-engine":"0.8.0-20181022192951","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20181022192951","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-sSBgdulAGb9crMjUh/jIZoQ0R2oE9yPWdVnRRm5DqHPG4NWTcqHV5hWrrzajKbU/yksUWh7rB0QPbXb4/bmOGA==","shasum":"d68cdded5500055f4baa015662c2334f530b9141","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20181022192951.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbziWmCRA9TVsSAnZWagAAzekP/3ib87ZSGnfSntv3JI5B\nRdvSq/JQsCaO8knTOtmtYi+OtX6ZK0fPk/RNuRsLBmYTxc77jN/94PVNrzbm\ndv4hTx5dhon34zaAYgyWilcVww7VaAoAFInypW+dhRk96TbRpDPduK/xoxY5\nf24ZQHMe/tnZfPM1gR2cc8/CNyI4TsZSQv5MFt1stgLWv2EHOELrhf3RO42Q\n0BPCgbuOvEwjv5r8ZL8mZBOpKnw5pM6sKRViArMQCcJQHNB5f39JQx8KOGEo\nlXrKegHNMAVfJSsBOmC8dyS6eM3FAlYr3fEx0E+ioJzb+Zw7bsLIYc+Tj2ne\njjN56C1UgBscyLB2aqLa/PlH5Ut+YtwLHVXY4ks2168whp2sr9Fyl2y44Pc/\ny8N0J16jL4w1wc54Pw/swLhJ4FKEG7Pt26pKUkJKthOOAKQZnqp4czTpFkJT\nPej96V4typY7GU+N9o6nl1KI4KZm6F/02S6mjUhBc5/BRXt8noyqKHBtc0Xy\nMjSa/5Bby5+eqVIWH5sSID3/HI5edu1A+QMhIotlGEy3pvHGFIQLliScsSUg\nVL9BXoNu2+rYm5uN412nmARIpcZofuPJFzsL40moGP7W/riIlGkOpRjUiKpc\nJUXNY9BAlT2qIHm3zzOz+7NH4J6/O79MlVtVvkKJ6ZIZmGVD3c8a8M3NQYMD\nIkPZ\r\n=a+h7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEjuTOIWfiLbHWfzyMehYwN/FTpCY6P4Yz6oOl6eMQ7OAiEAp6UeAHTA1nohCAQpDMycKy81gqgPQbprzZAz1Hs6Ck8="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20181022192951_1540236709615_0.2967529509578275"},"_hasShrinkwrap":false},"0.8.0-20181023160346":{"name":"@accordproject/cicero-server","version":"0.8.0-20181023160346","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20181023160346","@accordproject/cicero-engine":"0.8.0-20181023160346","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20181023160346","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-9pFOnC6hZ6m4G2usUylhXIvaPAl/cQyCHWe2y7KoO8n2qQfb6Joh3R9pVw4z5r4ncpnWUgiHF/6OMz/P7bx0NA==","shasum":"fa11a9cbdda6903dd198ec161757abf12feeae42","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20181023160346.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbz0bjCRA9TVsSAnZWagAAe9kP/j/iaC5P/dGgM8a/ggHq\nbeP4rIamlWLHpkWhrh8ZU3xss99mGRg+OCZ61bl34oaEGHbJ6VVx/7xmORSV\nVVmbGkVdL8F2mONnztPdjen7I33OS0LHIyHHz429lxXl3C6Igw5pCw4K5RBo\npYdgk2TsnNLE1aHfbw7RL4lCXILMfKLcBMjIHEm3sfAx1MK0Vhm4ilDq83yj\nu4ocEsjuxRzq2tWS1vzxzyZiv1J4S9cDZ1AfdU+ysg3MkC/RFOKim+5ADC1E\nJwe1E/itnAkREtWP/zXiEjGGh+Kt3LTpIe/G9lJ9CpXmsxHGtzqrM9lFGqGK\nGZrlqexJQuYJaJC/QewIcbHsypmzsqj1n1C6Z5t6diDqLDGX+qqN2+zofFAc\nxcIGCxnYfP3mdvK0VYMCtTuMZEAiOICEvZUHcdtlDR5wpMO/8XssKrni9h3m\nuqY28Q5OXy/t0wXrGSzEe0EoQLsSSFML0pktVRn8hOxAHHB9bh5xe6dGfM+y\nlqR3gj46ZkZ9VJroznqmbrXNGZTOh0GbGTyVDLddtAd+irEZyOYAJfB1TdOR\nF9KoVZD2lZIsM4Xjo1UrPlGjTI1wAFQFzruOzU3GMPq18OrBF/gpHfkKm5Q3\ngKY1jFXTWO6IHK/iGHeV7A3PT2x0e5X/ep+8f7CfUyUBO7BaCmvQAcBA96L2\nrx6N\r\n=fyjC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE5UDHh04vet4ykwiXK5IiZfQv+918efRyw1PQ6gTgWcAiEAndZFmIVA6HwN12dbz8jdwiiI7xwKL1ggd1Gh4td144o="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20181023160346_1540310754428_0.10598876238090083"},"_hasShrinkwrap":false},"0.8.0-20181023162122":{"name":"@accordproject/cicero-server","version":"0.8.0-20181023162122","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20181023162122","@accordproject/cicero-engine":"0.8.0-20181023162122","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20181023162122","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-oTCpbXq+KoraAFRriJQKow2LU/WE7wpV9/GqSQxXPCyjcY3uhNDEZVDFi0ydzVxVvi3ufZl/8p4+W58RHpv4YA==","shasum":"1d560fb927204d402bb57a8abfba256f7c937524","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20181023162122.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbz0r8CRA9TVsSAnZWagAAft4P/3rhpcKZEptPU5A9DabF\noivNgun/cV4oDJTYdkAfZ+KWkGcavTkAso1M40zTkilhfQ7b2YdbpNjzEq8v\nwpvcliEqjl/dz57Y3KrnOqSFeAZ6IvVr5fJF8Q82XNfDEFNLYUXsa77JAZPi\nbgdL1HlVak53qK3buj+VeS+2JNcowXfFjp3Lx2UyRriXLu+nBcxAAbPS8ADA\nY3u0U6F7bfCMoh+2FQS5BkIDZvQpfX4tQ4v2Y9Mb1GuSs99Si1c9iHC4rgm2\nb5gdZwj0fDEY43+fvT9kYIArpK0pHBg6iCLvXuOxcEn9CC0GOB8gRytFIQvF\nzkYkFG2L/nR+B3EQiqISKGajU9QlqbMSsOS3XFth7cJ414dsHGwMgKUOF7Uy\nzl6Vn5LVNvpRSs+V8uUIdl+r3kUVCFttMoSfeEEMUyT09ybF251lW3qv2G3q\nbwD7mxjeegSiCF4mNCo0+z4m/TSx9knlo2+WkA65ZRnIHUi8hY50bsq7Kn9e\nVhRFSe1REQy7I37C0pzHmuKLunSPaOEhOHEBrSmZpXZUu3CUAiylzhLAxxhD\nLtV1BUJ/0IFYY/xeVWaD/OllxkTVAHuKqW3PafY3eVawvNCormdSv2enIrV7\n9LmKSaLJjRvlN38QgvHN6jZeIJKS9aEylXhkO8BUi0Sm4zJbd/9PSkrD5g/4\nfyiY\r\n=KOfC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoxWh2cvFarwxV0zN7DJzW2aKsOyAQ3YNKKuILYv8XFgIgH8toPbdc2jk/MwTYzeg6CI1cF8PlvSmyrRXot8SlExk="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20181023162122_1540311803575_0.12109241751016042"},"_hasShrinkwrap":false},"0.8.0-20181025052931":{"name":"@accordproject/cicero-server","version":"0.8.0-20181025052931","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20181025052931","@accordproject/cicero-engine":"0.8.0-20181025052931","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20181025052931","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Q2pB6lpzZV2XPXk4Cm8x2xpeqKgnzC7epLctmyMkPq7Y6thvs2a/tb6hZfP8jnH0dyB0vCaOGC/mvsDG0xFUew==","shasum":"8046c7466a5263fd5d25da9ed3f51c7eef667b77","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20181025052931.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0VU2CRA9TVsSAnZWagAAe5UP/Ay7SeXKtjvHLgaNdBPY\nx2qdna7deDH4QHzhguktmMR0YX0rOHRS/UzCwtAdEmq3+Tnuz0w4/fa+CIrM\nx1K7EYSAS16EZihevvABJtLIUYqw49xHZVAE4iF7ZE2S02/2jANtJfkhjPYc\nLkgwmq41Oxrm714pNtHbnJ6DBRCCyHokEN8nf+D6kCzSatmouuuSHE2BGYf2\nNWa8CUmvb4WTN60xrJkjhiUaaXoUCF3RFo+uZ5srNxNT4Nn1F27o5Qw9i5sp\nc7fgV46YK6rPdtmZsOd31eN5efB8t78Olij8CTfrsKBI3BsAkxfPTeeLrxrW\nofqbFG7J8XoUX2Zed4njELdMQYrK7eTbNQWKJ501CEmNxR6ImTrstNikJvuJ\nphuPuqOsZ5X5vd3g+PVTZPi3WMLyV1PanFuDhe0ZWmK+Ct87NjxMUuMd31fV\noTQuCPl5ADIESucoQgVP6Pm1/85cpY/bzd7SCcWTgSxQsZZoiPwYzroofgxv\ne/NO8Sh7YQHf6HDlYQ3T8zM5YGO4gMoexIgFKbEqLzkd9RPGNlA0jZRDEhqo\nwHquh/2ZnOYJe4JKxgOXEpml514LVjuvgOxINf5U7LdvLldSekUpxkKOdeGX\nxV+z+pjd/pTHrrOCrvZQtQRofgph7tEJ1xRiwGOpL2zA7OV65RYlmmPRlQD1\npZrJ\r\n=sRPh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqXV/n7ToFot95XMyl1qSLATxXgG1pr55VMMZxNJa/QAIgMb88yR8aKquyCza3Eqv13JvdRTv9GtGhDnJY+NFXFjg="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20181025052931_1540445493260_0.5047427551872057"},"_hasShrinkwrap":false},"0.8.0-20181026183700":{"name":"@accordproject/cicero-server","version":"0.8.0-20181026183700","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.0-20181026183700","@accordproject/cicero-engine":"0.8.0-20181026183700","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.0-20181026183700","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-noRy+tC/n7nHjSmWCFz6KbXJZAOdqz3V4uKCBIjqxKwDRHQDrAs/bdXfHgSVyD8dZBQ7omJoK4KQ69PvlvxdzA==","shasum":"ef802078ca870288d02c160abc0c390d1d811ef2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.0-20181026183700.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0186CRA9TVsSAnZWagAA83UP/jujWB8rf3aIZdhe5sEP\nH4EdpmPfLTFDLVale+ydKzEmSUqxrpDMovzCwLSy4MDXvUnTt0QuOtFwGKH6\nXvH4OP5D1+7KEISnt/gIICxDzF71rTTfxng9LiptCIkAO4uvDZGcFnCrN0U4\nabp6G2Ta0WJ9rPQa2EpJr5vzOOl4MSFGbJl+8pltk8QKlms28owqEYzsu2gX\nWp3BWs168QUeBJwiIrdSJyCAijhSmbEyUfpSitE4hY+vSMpiG31iy1aL4LjO\naxNAg4Uk4gLAywdzZQw0UySjCAzPnzeH5TwD6Y2D7VCwKO9ZSFMco07dDdpj\nn+7ToE/vPSkuQ6K2rv0xy93OwFW71w5+/nIRWa1FJwO7D6JGp1RXEyQfjdeW\nk5eTDWUZOe1PP0eLVrfsKz7ZwrRmZ15f64JdZ+RsNul81rVAGDt+Dyvqlqxd\n3X9AQy25Pp6V3iCpZhny8UvkF9+tsg3HFEG+pT75ib8upGOChu794C6f0rGc\ntgYPpt1wp01AD8ze1pHe7EnhsQfYVGI/E6mU+YVraXuBkeRPx5lGDFI5S1ic\nFR2lfwdDj0rAiySkrYdRBbvzCMhG/K7k1f+YK3JuGZw0Ag+Y/WBQ//ex/4zB\nV9kI1dk8rArNKB/6ZIMpv2M2DHdvQUHzgcqPIzFNSRb2VH7XaERmZRRUi2Kq\n7uv3\r\n=0Xk6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICpAxspiRmMvac7gZItiIAT2pwZzvtH4zl13eU6DDblMAiEAkMLDlliLG6wwoGLuylWJ2OiOOLT1YndlIdzlPQ6cwoQ="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.0-20181026183700_1540579129731_0.4036186164177815"},"_hasShrinkwrap":false},"0.8.1-20181026190352":{"name":"@accordproject/cicero-server","version":"0.8.1-20181026190352","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.8.1-20181026190352","@accordproject/cicero-engine":"0.8.1-20181026190352","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.8.1-20181026190352","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-oZkN4O/2fiKSzU2hyzQoTR/bMrCu0opm7/7WII4GowhXqilNwFW/Abw4TgVJ6JDU2QvcgU0TScDV2XvQS1bFIw==","shasum":"22bba338c9c7916a2825fedb7d42acb9d1a76a26","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.8.1-20181026190352.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb02WACRA9TVsSAnZWagAAXqcP/ihzNwHOzuU5ZZLo7MUS\nAzjR4Cqu7K2pLr244AmUbKa7TddId8/YQDYxe4bksT0QkdFown9eWv8sUKt+\nogifhZJDscOkuE/1LVhJkHAps+u+Yfqyio58IiJLtxEi3Hfii/lLqaKtPvlV\n8du3JxbEPh/PLCAmB8hyQ/l74zR+1VkXp8mOnwt9/005KwjGhbnpAAbplqLT\n/BWJrS6zYHmB+0PS40pUZCzNeMpVPmkNrL8upeiLPbMB5dXmnHiHQCLoq31i\nPT2d4UlbssjLW8zoGyJyyZBX+tR11mQ91UkU6fBjQxbyq1o9LjSx93u+LhLc\nerkV6ASWoHLXKu6nCjSDQt+fplfACex4l/3r6YpGuUuO60cgZWiAQMD+BzrN\nzATB8iGAbk2o5D5h9kAUpVB9YnA1/FiyIJYXbjZ193FC77OG2j4qAqEZKlnI\nA9RYJwCqoT8Dhj4W/tai1bvN4/HTltm2Cr8+5bu9atAr1gBhNW6F0/lFSbJD\npH49o6h712Jyecep4BJR+S6x10l713ZnXJDR22/0qW9da+SQmKI4g5inZjWO\npebaOpAVBNRVyUV0tA8mm2TgPqVcsxazbJcGHEURsMkqyh49mYy1qgCaET8J\nKkb/QMcDxgZ4/liM3cev0R9+sYDzyLEqmhqakCts5UkA4E29VaTJwU0IpuDV\nqf3e\r\n=NbOC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBfPwkYiCpcx00PO88AFSe0rlJ/aEh2Rk7dDKfH8jLtpAiBO0kF5buhvoq4+7TitKyGfVtNzLqPUoXQ/hT/lgTkNQg=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.8.1-20181026190352_1540580735419_0.4572354212253924"},"_hasShrinkwrap":false},"0.9.1":{"name":"@accordproject/cicero-server","version":"0.9.1","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.1","@accordproject/cicero-engine":"0.9.1","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.9.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"dist":{"integrity":"sha512-vxqpIpn8D0HSxoalTGqyrmHN64WVyQ6xRhOsJdcjM98AeraazoqmNbnO2ZktI0oBn/401y0qQMkTK8Mjn6WR/g==","shasum":"cd1e5224a8d093ec457db271ef30691152fb5285","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.1.tgz","fileCount":30,"unpackedSize":50015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb02kVCRA9TVsSAnZWagAAgWAP/jL2SR0pB/mXK2nCvW75\na/SJOiQQodrVrYu5rUoGt+oDuzAbrP6hdB21+/wQHg3MhJIHc/saxKc1HbF1\nsMnVoeV8NRNmTzzo0En5mjBBv3OUD8nL2gtJ2cGThWYyOpEW9WLnohlW9Pd7\nOL8f+nQvAHPODjTvmfybFc2FBtvJs9+KqwtL+S+wQRQyPAAWIS8w+u8xOOCc\ncXG7BckOizelHmd6pAolfGtPyxhZSCAHDodSr4hdkQsntkECCCkpGEaqDM1O\ntzPrb3BNh1YDZ2o/2IlmnyCP8AQ5wdlQr5MXMuNOlZUTZZRUFrZg2xlNQLjn\ntyE7XUdrJJ1wdYA5+aEPcEs8BT898D/W28Ptyv/97ZIqZe3mwigerlbPcM+K\nj2BzHvCPXcgWUuER1Hqn+c0sbFHH0qkO3GOy4QOcytgHIngACZoiAku/RYj3\nSv0ql2tKG7MmfGa39JmWtQrFFFRuFgePU0dR7LgdycCiZDBOm6JjAmldKgfX\nZy+cc+t+oVrFjtm4cEldToDSBwNSAd4gTyQNKNExbd38zrs9up2Qy8uCVkg7\nXcdzlvTOaeiVJ3W4l862P/yN/S9rHiqyVQbMAKgWiirV/6lwJQOTGxctPnLr\nB9Zrno54B7ZwKCYfyFEsnQaEUjIe26mnhWKEHABw65yxzea9oV2NuFHNwxAL\nQGRR\r\n=iTf2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBzBj0whvqN0eS5tlyJKnRbWJpEfa6JLP4aNzR+XY9bVAiBcnZHqOmv2RkupD4peX+zuJ+d/ZOdAEHEg2UGUQ0RwRw=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.1_1540581652534_0.6913551634081425"},"_hasShrinkwrap":false},"0.9.1-20181029104629":{"name":"@accordproject/cicero-server","version":"0.9.1-20181029104629","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.1-20181029104629","@accordproject/cicero-engine":"0.9.1-20181029104629","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.1-20181029104629","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-ZOeuY2QvbChmMZk7N/v1hVH6TuftPeu8oXqLwX8A82dWy8Vg6oBbV86j26Y6VMUgCG5YGGCB/xmw6PP5c6pakA==","shasum":"a48a674c08c57d0efe1ff0dac9b4947c46df69b3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.1-20181029104629.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1uV1CRA9TVsSAnZWagAAU8YP/jw+4NnsnJczQYezjI+G\nwTmsSsxTEM7eAL4olTfFOahQ+AX0M/tSyPv5hq4gop3dfnnUj/TwKGgBAkJ3\nYQQYi5ctuPob9NLql3jAKed9542yiurwF4AiZ44XoG4SMSGmp7WXZW7lwL5P\nk8R7peORmL0nX3tDucf65QfS2fmZr8EzhJTNA/ECMxvn0pexT0RtfAxwsqIz\n8wKa3K30DyJTnvbxJYMJckj/3QP/gopeA5T3oH3URK7ueceeJfORG3uE6v3+\nburHYR3NbOylt4ZxNNdgFDR2jl06xmsfPtiEaaqiFXJmsxuwTbl0tJ1ypB1i\nafvA03mmCyAMimwWXafuTkRovBEO5+MSnV8xtSJAO05gs0Gt+xjKOwauoh4T\n85L1yAG4beQLFhFO+Qz/a2Vf3kpeWnLlrUa9Y2+kfLfGa7OqpMvitpKkSa+Y\nywo5+KcxZvDYiEsFeG7gf69w7T7lJMIPuTCuLs8tYl3i9ZxfTwnizUl8KQrK\nj12VkWUCtA83a6X58P/x4gzLrB7oRQnWvn5Sp7ny+J7XQgZ7E7p7pJUhHISf\nz2NsoWmlzCxeg43BxVMtl0/bpPrj050rv0drSWlqI/kFcs56l+E2q8Jw0I2x\niMgDZSy8wc04nv8PQEZrW2Wk7O0t0K7JWtEKF41fdYqbTujaxU5nE1Ma9Mho\nSXj3\r\n=sndB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGdLMJRVrpc0bKuiamyOZmWdZGi55NhDJo/zXcEo1sPKAiA+YBkDE/rANXhKQUsoQ3SEtw4B3dEwLurIMbvrCFi9DQ=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.1-20181029104629_1540810100321_0.8882332449033585"},"_hasShrinkwrap":false},"0.9.1-auto.2":{"name":"@accordproject/cicero-server","version":"0.9.1-auto.2","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.1-auto.2","@accordproject/cicero-engine":"0.9.1-auto.2","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.9.1-auto.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-rOG6Nbx9MjsuzOnPx72fJQkpm4x6PLUGO/D8J279PaL8uU5c9Fo/OWl1BL/pNHGdsWaAKwFBpEzXNd0A8dSUqA==","shasum":"4566459204c205822e43582e4c5dd5ad4fd19331","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.1-auto.2.tgz","fileCount":30,"unpackedSize":50036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1ucxCRA9TVsSAnZWagAA0ioP/iHka2A0+2m6+EVZHIGX\nyXl1xbsWqqREg3Os+5EsjXFSQS6QSC+W654asIO7av+XUTR5oyR4a8Z/2Egq\nA3IgaGQdh1DPio4fZylfi6+0b7tpD36DgyPxXmgxcE+ooPjbFTay3EfvIoYE\nX4G22p/4MsHH/f4aOKG8m/c9SUp1xeTYSoqzKYzXWLGcuI4U1kulAHqhlfQC\n/Y3PolSmNJPIyTIFyYx9gTiQEHZvrZa23RfCxYB7wqvZDSpBb146s2J9dExw\nQPzMDWCUReODuLAsqYIWbwjGtYoib5nW5e02M9jXR7IiLUBbxW2BgweVc24I\n0X4NcuedUDvtjJUWZT+VJAvv20aOXqVUKDj+CERPQFmOjL5e6WNrQkPhjQaZ\n1QKvUXPGTsZ8tSV48XyYZa8yBJ8p5Nxx3usTyL/EILQ9Le6EPh+DxwYE+nzt\n7k6S44hfD1v7YPrTu9zopI7OHWDHJMGpH3HAj1Wx6ghSfC6TSE72sW5qx7HG\nuFOQzLu7WjRAiHVA2G/S/Fi02CiCx/HvhCDWdmZrxREgUMc8Ha1aQDs1GWu4\nVwth67IH+G7c7eMTlecVro3ULl1dBIwf2seAXVtKimV0FPsx7qzhhmN/8KGj\nDUu7hPr+vBj+DVmMd7CRCKzV2NuDTuOPGABOTrKJR/qH61ybDc1MAmWcm6I0\nORRk\r\n=/OTu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjZ43GQUGmhs33vwgux4/FvLJFg4h3c9yvTEVNzvBzGAIhAOK4fiBoMLJfSJLhujrJlJ+WtwUHap9FCNnX4cOwP9AY"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.1-auto.2_1540810544709_0.656398747682533"},"_hasShrinkwrap":false},"0.9.2":{"name":"@accordproject/cicero-server","version":"0.9.2","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.2","@accordproject/cicero-engine":"0.9.2","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.9.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-wat8paSIGsESXNxwOzshFNReNpn+o5KF8NOzydLp7wCNMjJNDE+xx3ByHccynouPz0F4I3gf0d5qGmMNKstweA==","shasum":"0cb0a0e834739bae0416c61763be49528fbe4639","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.2.tgz","fileCount":30,"unpackedSize":50015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1u1gCRA9TVsSAnZWagAANpIP/0v2jAVAP6p2VvhErKRO\nZlEZh5JYKfDpYE9uS7TZ77LujY6Y6LaokoTW+3KmiJ1ugRL58sybyJQVpSvL\ndd88oXdk+l3avLrdqR8hkZzxjM5SLfu2BEYwybaSHbD/qoFZqLPM0Ag/nCQC\njclCyCK+xeoDvzxHZbCCPeLCoxL9pjDcnNppIvRa5zBDankqBefniaQ6EcrF\njudtqNpfcitT4ftxYjcXpxJVJ3ApXRgkm8esu8P8zbt6zS+xZIfQhZUjfHRw\nSl6/WW8EfOyqMZN3lvCPVwfye9Z01rOyo7WaN8WAO/7jhR3sTkVd6pgiMiwK\n4ZzMs09uVolMzajAB1wfOkuLeHXQf0BRONB41v5Ki1F/DY9KAgtarswPPwt6\nNpCdufTjIXCeGqNi4hAyoFrmGz58ba3YNp9pX1Hm83P7/iLDlHi316ErSn41\nTDTIyO+BmthmKXpzB2rERcc7Rk7W53z7vZZM4tHb7vl7LClH65NZgL5RP9/m\nB0D/A+WtrQElbIkkgu2P/B85lJZHYER+Istqh6QYh6MZJo9KjRbXlyOKUk93\nxVuVNfZKOjws5Hh9pnWmeIOMqZm4BYcFlGr2oXTdc3J8ErVB4StDDOzlcS2f\nz0cP62Hek10nkB4nmknHaf3dfObXVwmh26Dn//+C8x5d+uL5qmIWkrHo1hXy\n0B+x\r\n=5nnm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDstm2hdqhegGfyuic5scE5MRCOSSgok3DsPgcZJPdmvQIgWj9DTjEKBwBI4o/qQLNYLPasjTMiYBXJeOQtyj0pRdU="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.2_1540812127660_0.7911838988587128"},"_hasShrinkwrap":false},"0.9.2-20181029112455":{"name":"@accordproject/cicero-server","version":"0.9.2-20181029112455","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.2-20181029112455","@accordproject/cicero-engine":"0.9.2-20181029112455","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.2-20181029112455","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Q+7BR5wlXNjjBnzO4hMmiqu25EJ1+nXCyTklRawQFqThAciZqZZGu3213HvUhJXCn0bw6OAGZbMatEriEtSKoQ==","shasum":"d0751d5cf56594b3066e579546113db415ec718b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.2-20181029112455.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1u5vCRA9TVsSAnZWagAAz2cP/A/M2LVzIQviJ/Zgfid8\ngUstG80/YipRYILoYnAOe/5UfpDmHx0BSmM4L6UMdAKFdOu5M5Vkvt3C8A6U\nszbgoYLy73i9n7QmF/ovlscmrKehyBXf85AwTLNIFxXCRkEgJm+RIR6Hdsw4\nNqOYomt9cHagBXMotufAd1T/AKRiWM+lBZHrGXE/h/O4PShDBr8Z0doXJymo\n7UZGNTCGJHoeDtrYut9BX1GTCckG0OCptssT82mmvyrvCmDFEHmgV8BHrH+I\nSOzI+1xHRIbTDL1LV61IOkymds9JBP5gdumwHwpb9O+nXzgGcQoBZLG2JRbw\nPKhMY2Kh2fmVNLZMrSl6Gtxc5pE4j+d9p+sDwUMk2qH/rzKgC3d59yvJh4wn\n+eFlEgyji/7pLjt4lx04obizJpf3qTkbc7erAEqHTpt6u7HgX1lZ8uSoMvBr\nYQDGjQxAkqaUXEi7M1QLiABXUnd4rnI/wAY5CiPZzXzJpQs2FwEZwjgGKSPy\n7whrqxJOcJkB68Xc3tMRkPI9DiqUymZ18fn44PoFqFMBHyz3RTqZ0eFw47O/\nI+z6trnj0KT1MpoTmEmzNhLZQbEFmj2O2MDGow7YI78SkVxPWSZEsVNRulcj\ncBLH9JIRb6vnyDDa0mqLThz21mdK8xCFWh2+f5O77kQ3SIBryfoRSeLf7RWU\nB/fb\r\n=x8v7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFp/IQ5ChSbTI4qTzSnoDbIHtMdbm2sX55wLZeVVurdhAiEAygr6u4C4BOYkNLQbsVp4Bu+mwee20glHw/20AxMGjlQ="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.2-20181029112455_1540812398998_0.9202803601840026"},"_hasShrinkwrap":false},"0.9.2-20181030190708":{"name":"@accordproject/cicero-server","version":"0.9.2-20181030190708","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.2-20181030190708","@accordproject/cicero-engine":"0.9.2-20181030190708","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.2-20181030190708","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-5HRlI8RaEeurxiLPCzk9oZ1aRr/1PNbyW/xNW7JRlOGxmtoIxxzub3RoJi/N781yviQRpD0u//sxjkeqSgOUpg==","shasum":"fdc826f08daaf3b037d4bebf3f4c148918700243","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.2-20181030190708.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2KxGCRA9TVsSAnZWagAA0mwQAJTKLwV9C4Ov12i9Xzac\n078Kzo8hNA91ouCPFODfogst96e1M7WqSuhOzQMYHZMMbnrW9Y4GtTv2TtHc\nMeNDuH7ftVGV6epYQ0g8tDCO6qQYLkTV8J2I2bKayD5tRiE5oQceQRKJbDDv\nZj8FP/rxFmltqInd37YputN6ejErFfaGg4Dqb2RFfvVaLstfyA4bfRPoD1zl\nlREMyZ7+4/OZQeMAefbkLsEGJOacDYmmDbuSNvWDv66iPSDJ1/UYLanQmHsh\n3EmExc8AYhEOgltEDRn67j+B6WzyGIyxQEwuBVMCbz9TA8RX1HVdTmbSLOTA\nOHUVFbI/Ek/kOmrUur7wIKGzhqzUIopgrSyqzjDZO+eqhOwEscREqToYRfFs\n2TTnXQ/jxGnXu6oha9OL353L60ub/4ZoLjpTdb/v/C77uw4N3MtQqr/qTs/u\nmie1Fv9jERGs3Ydm0jnxbjT/Ajrpt3SCD/Dpq6YBuk+ZNmbDF6ot8ZYr+p6q\nXJNQORBLjAgxcLCL3rPzls4o/18ZmwmHAOeqM9KlScf6ieDwuqdyz3GzgasW\nP5wamHniBJuWxNzM/LB/7pyq5VXWAQIRkruQ7r2zsmi1JIQ1hZIYqd61urnj\nYlpkkDFA6SL2x4xscog+OEcICjtfIy+aZ56wJ7o6+E6RYdZpUB6O7v8opJ96\n2J+Q\r\n=Lni+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBnniKZc5aGhSLkk/A4UqNy9alnKciUYhjr1CyZmEIZHAiEAz3a+fwBiZqQd1fRTxAz9CusQeKnRYMUsP9EhH6Awpq8="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.2-20181030190708_1540926533520_0.9890845472008394"},"_hasShrinkwrap":false},"0.9.3":{"name":"@accordproject/cicero-server","version":"0.9.3","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.3","@accordproject/cicero-engine":"0.9.3","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.9.3","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-mSTo9LTGloZFlBD1Oh74IMa+S2N1GzKHFRDzHbIkFy0SetMQwYGjXPuA2QxoWXZ18wQoELz0pfGMyWnB4FXiRQ==","shasum":"482867df5430a7aa42ce25be6a12f4ad4c386e39","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.3.tgz","fileCount":30,"unpackedSize":50015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2LkZCRA9TVsSAnZWagAAUlgP/2DToeDsnbZpOJENQCF0\nRxB0ohD6rvO3aWaHIuIZmHAkxNPThMwpmAhl18STpx/tc8BWaX8mMNJtWqEt\ngtCZOQVS3FeuJvS6hDQuB6IqGbbAhmiHNpThWC6qqimkfsiYBgYVAI+ShgxA\n2b19YEPjyi6IXVJpS+4UGB/uLhlDxLznAYTNyhEyI/zHo+Oat3u/SwMp3RAF\nb3qyNE4VD6dx1KWZ6Qszw1zk6BlScq5dSXdx5qV6WXxNlPf6nLY6YIVVvM6E\nFpRxbWv4xx+HHyE4A3lxv3X8cL2AqTCUJHIUeCguVYxwNTGU/0HGPAdeoK8x\nk2m9DEU7uKoTP5F27TAvgooUz/HcpzIa08y/2u9xFm8lMtyk40CD4xl3B9gL\nyCLFRzRismpI17yfMOhzZyAmclIm/lSDegEkwcX0rETOxz/sOLAq36o4USIn\no1AXIy86WrkrLne3ktcYao5pcoxbFHFCwz6qQGPn3dhxKjBD+IwHswW2Q8Qk\nK+5LPH6H/oWzOhSMwBj1X37AJ3i8DwpXChneBs+RZ+uSmpGveHehhheaHSLu\nc5w+PBx91NIqyrp9dzO+U0ZnQX7fG9Ja5QFyQWgaquLHP00ULwLJgXa0hkZs\ntsa3FPMSIWoteKeJnJpgFNS6WfqH6zJmmapevm7m/I9iVJT5Arftr5s2Xt1T\nbMfx\r\n=eIzW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2ZKQm9Rjb9TLpD2FpwlXA/0lKLiniK14Bunv2CVmj1AiEAvkox3HAOebHkJGxPd0mcIjL9k6bpF0I2wN9cDst+oKQ="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.3_1540929816586_0.3314503141461651"},"_hasShrinkwrap":false},"0.9.3-20181030200650":{"name":"@accordproject/cicero-server","version":"0.9.3-20181030200650","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.3-20181030200650","@accordproject/cicero-engine":"0.9.3-20181030200650","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.3-20181030200650","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-NLPElzep3OMMulFwtZpvStrZlCJ4R60nvbz6GxMW7YbfUnZOjwEBSuuWtYkdrHeTou+r6NVKf7pred5IviYXWQ==","shasum":"f25d3267489bc50f01fd57ba1052f22880acf1d2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.3-20181030200650.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2LpFCRA9TVsSAnZWagAA9AMP/0+uCE0PQ0S2x+jTdvaV\nuhLnOe9IKkOFcxGk/jH0dH+qafoMlp84VQWCNLorUpGB7MpNL1iEwT0VFkxL\nmmgztsfNnLP14tNrhm9gLvSBj3nxL1m5KYKuOhiAeSdhpZEgDBJciAclbyEr\nur+JoobiwqtaroZhS5V5+Qzlt9h2oxOpFTozOzjn+R+UrFTBC4NgGzt/J/LA\nEGOex2cfkP7hRzTsYQQBm/+KL+MhiyZkY158Jf1gjw90xc/WNHtGn8msnTcb\nc7XuA8ekBhKdDkKqWFKJeooykHWe+ELsVEkkPUSgsFEt4gGSHMAFhs5CGWBw\nqpXdQb+V0b6LfxWlbHM7r82mVFj3u6PrQGHMhCpZhiGHVDcE/WXhq9bZ5f8s\nURZ9C9hj3ikxeD76ko8OforQ3c5lR7QPzLj7MIeyA721/jegJa7WlHnGCtBY\nV6FSrHJ441DenlwCWx3O+yRLRLtYtU8w5VtLZPHW5oDFhl9JaNoqx55NUNec\nCyIcdsBcfDA2uVIpKlyzGSYeEmvNDq1X1FpthKFRfURwdG7Tqj9WvOzqYBex\nN/pD759lX4MJpIDF+Ho1YUMcOergL4IiExxjtEhDMRtk3PJPk3KhcHjNtMjy\nNC8IhSiC9JNt/STpFMTOzCFXIr6lDOT5awgoStL8rk8OnupYLaZ5eb/REgDt\nIN9J\r\n=gU9/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFpLNZoODcWvTIoSyRBOTunTb3yMzaQusMk7LcOihS/gAiB5+LTaIk7jSahXzt0dk4cS39dn8eU5KAods5ckJ4fm8Q=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.3-20181030200650_1540930116357_0.8735046500620369"},"_hasShrinkwrap":false},"0.9.3-20181109155130":{"name":"@accordproject/cicero-server","version":"0.9.3-20181109155130","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.3-20181109155130","@accordproject/cicero-engine":"0.9.3-20181109155130","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.3-20181109155130","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-73NmEZt3r2K5e5C4RO2Pqr9VZRpXGkYriBPU7/VqpSeeyyjqvGVPP6GhC9l5gTcj6QEf7zskT12Mp6R5PFT7zw==","shasum":"76935a76ad4d8a8e62e304f3602f9cf111deaed1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.3-20181109155130.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5a1xCRA9TVsSAnZWagAAkdcQAIFo9Uye11qno/h/MY86\nZiEsBi1FS4kqpIQ9pAa7twH+DirJ5WAMqrNlBWdkbjb7WmIwPeQirVwsltLh\nosw9Jv/spF4k34ptmdXGbVIgCkgsvJj1ro9S0tnjc8OAf3m8eyk7SiBRQqEC\nkUBOmu4pu9By2n5l2+CTMLlAVYbKwmDFHIZOsMqx3kRWVdPwIAjjZ8p2FUJG\ndMtNTQ/dQ8nvd7WW/FQYac3KB2Yv4i6IIlZwO9IvQs+NWEKsnspaKr7f7QeR\npTPoAT7JMw1b+pCDLg7kOQfgg6Ti3Ds8rHY6xGS8OXs/I3V6adbw5s1IpXA/\nxs8iyakVHbB+BblVAgBJNM7sydYEW4zq69jU3WRcBbt/Jc7v+0Y2fAefQtwB\nwMJ0TwaIhoa0ruugrHsClMOuahtESCiHyPjnv/8Uu9+eHAbYzS+KiF/vPztL\nXZkSGv+RItc/r4wpGLg0Dcp7pfcc9fRTnXkmcoGF05Ry0jU/R9SCTaTgh/Aa\n4PDyBv+SGtBGHL6H3ScuqP9aEcuxfO7n7yj60VLheJRoeFl1rcSEhWKj4mud\nNXM5B+bh4JSsSTYpH1eNnEBT+46eEuw8GzOH0JXxZ14MEndCdT3zN+l4Nj7n\n97j/nxujF2BuzTz/wzCJ+gNSC/iEysSkPkhAUNKGi0JZs4JJ73ACCUxH54OH\nqWjK\r\n=gSlr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXmhFmJRbVa/y0GmxUWp00wlL0Db2jJ/gj14CrZchz9AIhALjse924P9nmmwpIkXB0loH/i9cOx22aBu3CTvhUoRfo"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.3-20181109155130_1541778801210_0.12741759998440205"},"_hasShrinkwrap":false},"0.9.3-20181109162034":{"name":"@accordproject/cicero-server","version":"0.9.3-20181109162034","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.3-20181109162034","@accordproject/cicero-engine":"0.9.3-20181109162034","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.3-20181109162034","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-OzNSxeJZs2+hum+KdvIXGuBPhvRlY85Zh9M4guBVwE4z+HbXUwUfboUIW99NJj/DSOWLX3cv/76I/CV2sQKG3w==","shasum":"8561904524d1f95c87370703e30b1bf6cd7f4f0c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.3-20181109162034.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5bRFCRA9TVsSAnZWagAAjkUP/iXhd4t5sVaE0Bo6EiqX\ncOJEmeejw2b05zR+UQBNO1DW/U7A+WkCEMxljwNvQZpYhGw63MfIB30YgI/m\nenEgsNSqkRIJ3UfCKdvx4isTX6rC+WUu4B0zQbNVvWEXogbzD6cmVFFpcGpw\nLqtrWbgOINHfW07aaP83POw5dB3hSS36WujSMgr4uV4Ys3JSWKvqPi/V8KEc\nTyc7vsHtgSy8DTqfaKoGCjqd7J8e1yk9EMMohXwzf0CLjomXxMARsXZIrdLR\nxNoJzyvXmrT6biCGUQArYDlovpne6VqQrStaihknSE1VOmQQCqfSj2lZcnv3\nJXjTzjw87PNVU3IzMV8spdb+vxPNWb1ag12scV9f3CbYQx32hdnJGwvLKLGg\nLbjLLTo1hIpgDtKZfiOwGR7hXwun2MRogwzAD76hCTJb8pdCGBh4kxNnbx8Q\nzAcBE+ir73nbG5xVVZp38N3mCPMqwFLUhvlw+A49Umf+u2BepMNiv1GzsG0/\nTY3Wp2uybzrRugx6bXqJ4WFcBDx62sKMha0bVMKypgJNvi9MVh6sG2GyQ8qR\nYKP1BkFVRaP18fW9mA8gvi3c3ihmyXMVd4YsAhj7KYYYv8D0njRjqyaF6A/j\n8HyM7SxFEpWWrPL0xRaFh3aijt/R4HNp7aHiYq83zreAwriXxP0pAfRMhh7M\nozwS\r\n=9+Fl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7aRcUfWY9iZD3rNZplE8L5kjB+U14rXl268kaTdmGbgIgMn7NKes+h6GCbHEgv7TNb/QXCchYw+52F163qUFOP8Q="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.3-20181109162034_1541780549334_0.7256202209393843"},"_hasShrinkwrap":false},"0.9.3-20181109163808":{"name":"@accordproject/cicero-server","version":"0.9.3-20181109163808","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.3-20181109163808","@accordproject/cicero-engine":"0.9.3-20181109163808","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.3-20181109163808","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-1qthrfDGC9kiXUAcNHVQKBqQzLURowgg/RMCF6ZCemMdIS7d6nr41L2aZDiWjUOUWRS1noy/FgiYq+fgHvmQ4A==","shasum":"c4f11d6746f5951932458a7a5570bcc76b795f7e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.3-20181109163808.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5bhbCRA9TVsSAnZWagAAzxIQAJuRUSq+zuUyTihF6x+3\nCLiuTp/SgM7ZkkjMGYhHp+3fsxfrbRyAq2OGkbpHQS+zjkp4UfrU/L7UyUGl\no4S95gC0X9gOjszDJJNWH8wXxJ3L0AaeOGEcEXwlt8mJy42KHiz0QDa3RHNk\nZJWFez1ntFoIQ9D0Qy3CZqumCaLJ5jMAO31qveMo0IrA3ouvne9/sxRs00LL\nGTILzqeoXd0YWkOxHRdTuL//Y0hQouC8woqDvwYmzqPWKy4/m1lOpKXHF6Zn\n8f9JeqNNWGWVA1gBWiekX4z6VsbNZ/4Uia5QgAKCtYA7UDESgoWhfhaVeGXE\nRqlHWDAecRjupLpD0hJ5g6dYQfwW4ImsV2j7DzZAagEFzxCovP36uwTZWI4z\n7Ld3ZqTerCQYiHHcXSdN8x32xdVAtcB3guwXutFRW58s2S0yT/S20R6qetMi\nHHPSgXr9rMvLoQNJz8IdN54cCbTlhDrku1y0Mt4Lklo4csoG+n+uphZ/D3ey\n1PE6FZ8EKlL6o2Xu0Kh7KHCBQferKJLB9nuxPxCy920H0HJKv8kUXQZmuEoP\nt5VnxK5chboDEfyfsamgtFWfy24zTOdjaSRa2GFWE20buMWuYDIzmsp8OfLO\nkQseIs5Xabl0kQq6GK++Cc1mfisOLFcz2Vt3EtPAQG14I/7arZ/rbiBXB+qT\nAj2h\r\n=mHYi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICNYWPwZK2bsZ18uxXHWd0zc8xZ29LBYZxOb90ktzRUiAiEA0YLPIIRxDjdeEM8HWEGZoUG/k2oAZYdT1/ICEvYcUVE="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.3-20181109163808_1541781594716_0.44027002894357303"},"_hasShrinkwrap":false},"0.9.4":{"name":"@accordproject/cicero-server","version":"0.9.4","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.4","@accordproject/cicero-engine":"0.9.4","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.9.4","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-UdP9OEcO8Vbla/gg69RW5e2fXWNaQZ20V/ToZmO3XWcVpdkdRtCSMEgy0XJmQfe+5TKyOLHmC4jHjVewlskZWg==","shasum":"535693af0952027f098d4f80d53e21a249d00200","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.4.tgz","fileCount":30,"unpackedSize":50015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5bksCRA9TVsSAnZWagAA5JwP/ipPWSvbw1z/kmjmZ7lI\nI+mT7hz14cpA2U2DDSRS1Uo27FXGAlP2JMA6nyvip8Xd76aU6P3/HahmIhx2\nZT+KS0rMIha2eZWO1EwjoydZmS/t5OS9j200ykOAEeru/6idoOm+AhHayZ+S\nX5/UI11baUUqwOzMUcPEAgeRK6ujydnYRaatRkdPm4sokUyYySCouCPYh/kp\nhNZHxVCXMFYnvtOGuhnp5lbLlfajDh4h1ItF8PFIR9854ygLbpnkmjCjhdi0\ndfcuIzF/8c+eE1x8AbGlXKW5BwlGyOmgx2JuyqcX0j1FtSfY4xEeaB3ElIFc\n2GiPmOc8375tV+DbwaBsTEPSgjOmdbqluQ6N/B3CfbHjz/i3C8hy29rasEzR\niDFOPJTXxDQIfLF1/bR8WV7uUPzukeswilKBeGws31ZOvzNaGbNOHPd1uNQi\nbPxg17AmXNBdLb/X3KV80jUpWvRMXp5JqiWHfb3YlFfbedh6w/oH2/5NY9fk\noIbS6MXJygElH1wGWt+2n+iyQdDQ8fQPwcS2IiXm/muXQfNRf1iw3AdoTcHH\nElwuNL4+gh4NaCt7QLn1uunQleGgmKKauVL3d29RqpRZevUIP+SoWJL8ual6\n0XuE9y/Qz0W46OTL4rvXSLTpb8J6CTw2/7JgmKDL2iX3fuE2KhBTJZo5gTuf\nFm20\r\n=3YM/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFILTq2CjJdTGEX9Rh76eq57C4150lQ2uaRw8mhSuH7IAiEA2HjUlZRaPdXImxKNY+u/R4R1Q33wNSwX+DUtZOs+3ZE="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.4_1541781803597_0.743942917777997"},"_hasShrinkwrap":false},"0.9.4-20181109164630":{"name":"@accordproject/cicero-server","version":"0.9.4-20181109164630","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.4-20181109164630","@accordproject/cicero-engine":"0.9.4-20181109164630","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.4-20181109164630","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-PGUdA5T+wMt50g7U0eQq9Vkjyss+eBZmqS8NMdf3lpa1SvPFnISx7LfGzm/LhHHmvVu+ZZ9NvX9q7Zuezv/ebA==","shasum":"c758793764863d0b41ba898cda519e7f246cb8a4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.4-20181109164630.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5bpWCRA9TVsSAnZWagAATIUQAJuatO0tHOzGCOrTr/Y9\nQFcrU9sUNQcp37oKYBUSc7Van2vlXKLWQXwJ8RQOYafLWJQkuPqFNnyFyOcH\nkGIX6DWcS/M/lS77BPl+jZV+YcEEIOn8SvyCIV/ZkEgWWpGZkvPnF9AcIIGh\nHTYN4110JEfvAsqxSNga+npbSgqZXlVffDzLi6ErOoM8MUyY+9x7ZpFpwW0k\nnX9Zb87z9jA7KiB4NcxPJGh6LUMXgQnpWAGodu6yLVPD4gvhhv35gEsANaxf\nB6eykH0aiKLXOrVLaKfbtcCn4mEHsIUMsxcZ7dOVUagSX+MHRNG/UR6BNJNj\nIq9zrSxOpEao8wfoEn7LU7PBK4iltPBEzRPsDOex06RDYkiq5/rHEaWA4JXl\nJ8vnZ5P4eMlLMJuK+jCp6EyQmwEvhN3jIpWsAh2qY4sINXxRDfACfSEsZu1x\nlpy1YmoXD6fnMYkrWlYEw2J5DqWXe7S64XFQByaZKTcXS48rLf+jRwA3kU1M\n0UWSde8NFHzFsRZ8pm1cfn0fRDtfAOD/yTR0iroUqOKOODWW1soJE0jcXtip\naGeQR1EF64ICGxCqbvNS8b1CRhGqADPicy+kydHUgVK2YndoM8Iyuhrkj5V8\nOSTjesLh/XvD5fIyitj89/QBrLV3RV74WP6i4N/QbdBjmrgcam6L/L5a92XQ\nHtu+\r\n=Moui\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFZq326eqGYW56M6/fbGSlOh1lEjk9RTR41ObQazZsiAAiAS4gzvWtXniry+npQDHABEL+uA+eY0F7XWT4/k2ACqtA=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.4-20181109164630_1541782101581_0.6515708515445418"},"_hasShrinkwrap":false},"0.9.4-20181109173121":{"name":"@accordproject/cicero-server","version":"0.9.4-20181109173121","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.4-20181109173121","@accordproject/cicero-engine":"0.9.4-20181109173121","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.4-20181109173121","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-4sEdWGKyICvLNH+QhpowY8sOClWWFFGqcqOJtpw1pNVf0dB5oHRhq7KjeDSOfDxY3C+Ne7EUk6VkN4mCncGuiA==","shasum":"a041de97539f4e9624c4998b2e2cd41fb890104f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.4-20181109173121.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5cTdCRA9TVsSAnZWagAAipIP/21Tz+Fbo3N9EQ6BlisV\nwbu+6jX2lYuy1p2gcPANmBM5Nyve4sIfstm9GohTFvm9z1kJVGK5SDWMAScs\nkr2fNRUTB0VXW2EZ6onDywgAkcWvIMYhsx+IetMG6by3Oh38R7c6rnjBKf9A\njrQobxDc2PviGUZ86KEw4hc4Q0dNUXNhvC/OCm1sTn6yS35okeNBzsHKDXk1\nYjezALwMhEgphXHUiqIDYffcTOoQ79j8idXy4lQHa9bfwTLvpYLIhIiLGoy0\nW//RVBcCGRP/wxdJPQOXJHrqormzFbVipqm7/73J+hRfeRjajePKiGOlI1lr\noLs66aYjdQWJCLmhE4RuDXGGE4g4wJ6Z85IU+47MGfmFBSYzboRi0UuSGXdO\nuU72d0pgC0q5aECkZ4uoJYsibLMBJZwsiKGET5hOoTkoksNzJnD/OgNROkkv\nhl4lUqA/T/NxwbT0a2msWR2ybXMB8SrzD3w0sBIdMtJnUM8HKW3Yk/gIPupj\nwIKtvHZKgV4iXMo7kgWjHCD+ktUjMBZ8f6KlKRwQiI5+aLmf+MOcXQC9tJeR\nja/fEBmnVCWKd7lIXQJmYTHD6vEXEEJZrlcNt4IOPpBEQVIkTX+QwUCXqXEO\nhxUEalII1hG4jTZzjLMqW3CbgA4MV0rDxhxpWmi6acAsUF6KR3Nf2yiPX2bT\n5NTK\r\n=FLnI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBbEabubIjzh/0IJSOwI6RqMbvYeA+aCPr2yV0SRjAe7AiEA221K/Y41hbJ39QugVzhigS6U7i1QZtWGy0+iIORrboM="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.4-20181109173121_1541784797069_0.7572066851800583"},"_hasShrinkwrap":false},"0.9.5":{"name":"@accordproject/cicero-server","version":"0.9.5","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.5","@accordproject/cicero-engine":"0.9.5","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.9.5","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Ymz2vWwv7j7OWnEUNKROsOk6g01pfGB3N4D4+ajPo1ZB+ctlng7n/Cxtw5SgOhBj9qekeNmYEdPJSHA0yUzRqA==","shasum":"b8ad747812016bdc59fbfaf04b4e5cc50347884f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.5.tgz","fileCount":30,"unpackedSize":50015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5cdxCRA9TVsSAnZWagAABwQP/3zavMHad6/7A72qbQ6+\nuNwWH991QaEuOnh6ywsNXfI0tOOrzezkPCL9u3oKGNjx2SNx8qSqQHCoktZc\neTYyoabr8kCuHmThWqKPfkswMoTrcqQRLArAHBIxw095i73RkodNxo1uwB0t\nysgIj1c0xxcfseaDlHOX7bAvjXPXOfxTY4zHJ/qLnz9rmpAQTen8eRNezej7\nfuddjYr3Mw5ll/Ecevs+Sv+GH8GYUDkelZynHjx1WP92lYmCcfPr7/VSfQOS\nBnoOXcam/HazwtrfeVWYFfOJhDiKBlpITfr8Oo8IVoQ0ZYsLbjH8lIuGlwNe\nbvAvG9u3i6wrokHlCAMKDiLGBaRv9txR7IoTioZXxiT5sClsQp028prDB5m/\nlbTMf6CxWPM1azCJ0J0AuKf7EJd/8qfgEeqYj67AbSqz6L/gv1avIhKGoL4i\ns4sSRPx/zykd+KViRZHk/iL03km1/FnnTGalujmEqoTvpormA4V9TuAjkpfS\nkeUFh5kkoQClPsEkZcM11VYpvuatWoH+bsEu0fsKtTRliSMxiZ8dui0RCns+\n57yUkXvFb60ybqhAbJKvOT+ZbGgh8s1EVpoBNlAAV9API32S7pz3WwZPcpk9\nnGFJc6KWpNBX+7jTyJG4ra7bH4zguPZiPGlR6B7f6dKDWQ10iqdK+925PW5F\n1bT2\r\n=aQ41\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNr0KyYSgetJcIcqtgS3Vlhk9QyYokftQmSuVRgUkGzgIhALzMgaxYaRd/T92epzkY5VxUI6hb8eJv+x160o5PsYHp"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.5_1541785456905_0.284818321103705"},"_hasShrinkwrap":false},"0.9.5-20181109174716":{"name":"@accordproject/cicero-server","version":"0.9.5-20181109174716","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.5-20181109174716","@accordproject/cicero-engine":"0.9.5-20181109174716","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.5-20181109174716","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-9Q5j82GxePs3r+/h9YcCzk/sWe2ig03yY98wjbaPFZ2w4Xrexnd6GlPagtTvF1LbeAqY6tVTJyP53jk5xRe0IQ==","shasum":"b4b25aab467ce8926c85d1bf675598c5310a7953","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.5-20181109174716.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5cibCRA9TVsSAnZWagAAax4QAKROOm5AuJPgNXQ23glx\nNobt4db+rx6cUfBjID4jjEZljpNHDV7gjawGBDYNyfsJHduW6S4D/Ht5bu+W\n2UTqKnrQGQcx23tMtmHX/N5UoCALrGEmyizKDQUG5mfYo2Cdvbj1SP5NwJwr\nlrw0oru0YfjPZ3B0tab0VoHt/0eXoA/97mNk9VcTtKNj8F+QW1cvUN/EjyB+\n7uOUDKkY+bsVnhagZkqHnf4wv/nAXgK5ZRR+Vb9QFP3RJeNNAcNiUoWGi2wr\nVvteDG3x3TXtdCXNrgy99now8+X6c0f1CUtutvJrW7Yyv6v4ryB76oUAQ8k+\nSFD1SISTN79FBzmpW+j/3lxu3t+ZIO8PJ+4nsGO5oJ6P9shAyn/v55TUjvF4\nfnlyX+LhQ5AfJ6Ei+ha6gOhWZezrUi+ERs8bujIhPthHpKXiwGrJ9Xm10G8R\nc707WyZGCtkYx4Luvsbb6XVH/e2MwOiYwFfcz9ZQC2XxhFUoHtQiIybR7y/P\nTpFANYq8AwvPeoz2p/0iqjRU5yqShmOsVweLz0/pt2G0QXuRg1/1Jwzy19Oq\nKzWkqFJXVVYrY+Qb4FoKg37gad4Tz2bSLC35i8vu07PJ8m1P5WOG6fWbAJn7\nmmjZuKJA0q0c7auB1aX5Sq4UZ/+K+9efwor9orvh01Bnsivn8lHImuvY+g5Y\nHdIP\r\n=5cCD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfQDQX4j0YU09YWmY+g0E8MCRzi42AFSgWT7kZXlGitQIhAPtvOGZOnlqptrXq/pfZdEKr/oZrmHMxwHN+NNyxkf6q"}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.5-20181109174716_1541785755363_0.7658184683411211"},"_hasShrinkwrap":false},"0.9.5-20181111184425":{"name":"@accordproject/cicero-server","version":"0.9.5-20181111184425","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.5-20181111184425","@accordproject/cicero-engine":"0.9.5-20181111184425","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.5-20181111184425","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-lfWDR7ajASqjxTnbq/1A5MCGiaHJHODNqfag1TRw6yba+V+WCMyqoUH/CwKAWgJIY+ZbjJXZqxVWTawgb8U7Jw==","shasum":"0fd6e8fafc8d916fc7e25d80f182930dc9af6cd8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.5-20181111184425.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6Hj4CRA9TVsSAnZWagAAqwsP/1C/BDf9rSFcHAexVZYi\ncVD3syFlTWjQ8Z5oZqYlAJyzQ6OcuFuOLmdq6xP0IhVslh1UP2RLhrpbb1K6\nO7he2G6hnDBwMy09QAqX0GlJALIAuyxO8F8XHA3s9/EeovMIEJARl/6NGAow\nJKnpcL4y4SMuK1IIUFyGdeXwCxeDFFUX93ekPrqrZYJk5kP/Rb/st8jEYojq\nSp6+bZW8aB94QpVdnsqsIqYDN8t7SfEmOAdpBkXqd8yXJwgwYDvpgpLrFsf8\nlrkjjpF9km5L5nO5HaFvRpZQehvr2XWXfAt/prAWGQSTXXeErzyuRoQgmToe\nsZHkbyVnRmLvCUx6i+4s1lFEifgZCic48fYWdLgn9k/Pkq/dVwKQUBqeR7R2\nIuNsZynhrdlC84esXnK5HvDC50flpZ3jdk2XN7ZcJqpgRBRevdyQWYvQ7HfA\nIJay6DS31Rc1nZ6yxA/DIEf5Dcv3AefovJ7M0oYup6+OwU7aM6E6+6V0fNas\ngzIOUSwbq5opqHeic/f19O27pACq83otLcHZATxt0psc05mmOC3pnCn3D2m4\nV3H9a0hufKp/1XKK/Vm/Zlmp8GfZ0PfoRNJRzh1PQHNpzU0ZEjyOy8xsaDMS\nDavMJBSsG1+VPashFq7RxOpLMQGcjOvq73xttWVUqk+ZXwsd4zS/L2W+37kF\ny/y7\r\n=JqfI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGpbKBEgM5CBOH0fb5bz4qYTuk5C9iL2hJ2RZeGOQsUhAiA60pDJRLSGAdglbeBd7ZrpEngbYojBdNEucZBu5VAeuw=="}]},"maintainers":[{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"penguinbroker","email":"dave@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.5-20181111184425_1541961975252_0.005610541182392348"},"_hasShrinkwrap":false},"0.9.5-20181112155152":{"name":"@accordproject/cicero-server","version":"0.9.5-20181112155152","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.5-20181112155152","@accordproject/cicero-engine":"0.9.5-20181112155152","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.5-20181112155152","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Gv8fTcUJTbJqOxNpSoUO5MJoZNANZ2pDlecBde9PngZndHGX7C5TEOmI5z4ZcQLz54PcXkoqOb8L0a758cOfcA==","shasum":"4c23a0a89d22e215c18c6b7046d66c36d547a5d5","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.5-20181112155152.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6aIGCRA9TVsSAnZWagAAgQ4P/3WVbZG5W7SQmCucq/qg\nWi4kLIhubRp9bRoLXk6pfPho4R1jrW20TufqOyUQevu49X8LSaYVJPF+qw+3\naQGbWzGWn+nvO2a2XwQFQ1fd41ByU1sH7/DWqX5YvSbF1YpWt4wyd3Rp/LHG\nBOeNIWrwDTz0cuOTs8rWrYEkvAIavjmg4cu1B43DuWPxPOeqeTozyGvNhBNT\nDnNhPxXaCwMn7zitfGiMazWSME3rA6hQLl/DfvZpoYteMCI9vNSfPCxtSFuJ\nJ+NZPaaR9nPn/DEha+MdPdQiNoJPqlrBqkkMo53ueRE0lFiQkX9Ukj5fDVQI\nwFOMFbzbrDsFwN1VaeOTJo+72cN0QX7AP8ORt3UQEjWmc/U5lUp0cqDDIws9\nmly3hqvaAJ+ow3T0AikcXZgXprsFmkPKAaYEkC1f5r2+39ptQaaFmIk0uPji\nRuQPBM+wngSxrGa2EGw0VJ5zg4EF83/d7/aLsJHig4aYKljGV2UXVSbmtE71\n5wvfuFZURnzoV4mj0KybPPp0mU3Rf41svkTbZLXI2asXealXpsUD3+Yw1Xtl\ncto7QpmtJeGeuNG/4lHeLgY/4n6seJOL/9q7PjK8Qi/mq6mRpP7vfq56T/x3\nPd8O8096kccaCQPPi1+VA2ap7UOXvscl/UZrK38uoWg83y/ZUjgxq/GkIiee\nEzZP\r\n=mxkE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBr5q3nmBY6gfJV+d+MhSsSJQ3lqWb0k256Xn7dkowXpAiEA4SQ42SeReHc9bJb/aGbgW/YLIzONYMMCRo/2PRUQgSM="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.5-20181112155152_1542038022265_0.02243863455153572"},"_hasShrinkwrap":false},"0.9.5-20181114132043":{"name":"@accordproject/cicero-server","version":"0.9.5-20181114132043","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.5-20181114132043","@accordproject/cicero-engine":"0.9.5-20181114132043","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.5-20181114132043","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-UeUEeYeVvJTiU+WXRoqcclMdMXXAY3ctxnVg5UrPceXdsRrXIF6qg41Ke79pPp8Dhl7BiFyNqWSuTDCorlhZwQ==","shasum":"53d187c408eb33f935d7ef1c6e39eecf14737a12","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.5-20181114132043.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7CGZCRA9TVsSAnZWagAAnF4P/15+tOvW0M6TQEaoHEtS\nfyHTAHMmr6mKG2stIX92LSxdTwvkpI+p1bxerAoaM7nxzMl0MpEUnKqw9J27\nCjMFZtDeYhIpb2xn9ZhmSLdsSn9PUNR0+oJQOnfFQ1dejWvPMlph1lggEbWY\no5hIM3MbYb+lf+TkodfMLExiys45BrOAsVwzc2X9Bfb0gPtc0UQe8v8aE7p8\namp4MzIh9x5EQB9HvwUYsgLuyIeauo77YwnGGuDLjMEPJO6hBLkg5Gk2NaKj\ntjD95sX7Y8sF6/yobjOEDFcpMJccilPtfd5fMgmYxUX61Tqo6Wxji3xQiYRC\nKu3TjUbmQMy2SYiif2zsC5sEFTXAYZif102lA43V/k6mnLrv9TPDIDqI/g4f\nDJAUT/fJJ6boQqSeFjuRPT4ryRsb+/q1a1xL2uCew8mN7CPPn02Tai6kpPGT\n0BBl1pF9p3Zi9dPfdu2shpfl0bAp+PnwFvcRJexPDUp0e468tzna6tou3ZWi\nA/mehx2SCKasyl50Tq1Ix3QljQYPXvA01h2Q8LsvD8GMXItdqjOITDFzmXYp\n6znkkdODE5Yk3sN30S3wERcyhPluArRZMza/gX8IQzxnJyCQrxRNcFyqcOKc\n7uXQ3fgY4BM0HWMM/ECIglV95yXfMji2gwugEofFWaEo4ate7bAssZBvwjm+\nWc6P\r\n=l9+B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGlWpBpwv73ltFFq1xJ1tvYiXbXU3KERNGjjcTEw1UO4AiEAs5SE47o4zsXUjEwrC3ruLO4RPJsIQlzl/lRkExSegPY="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.5-20181114132043_1542201752244_0.8523285914220775"},"_hasShrinkwrap":false},"0.9.5-20181114203504":{"name":"@accordproject/cicero-server","version":"0.9.5-20181114203504","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.5-20181114203504","@accordproject/cicero-engine":"0.9.5-20181114203504","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.5-20181114203504","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-i1VOmuHiCpkXWgfd5qfQV/E9Nn70w1j1NZ6U1w76ROHEUyA/5sn8K/6Q1vtD3DMqf+ximqYEyFmRlBhR4NgPKw==","shasum":"08137d2bf9df9be38d246d3ae38682cb361a4d5a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.5-20181114203504.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7IdrCRA9TVsSAnZWagAAMgAP/1gVuIWVMwjNGn9ycoZY\ntoLdhl2ce5eInZ8lq5ubXupJrBUNlAbEja7NHI2TldUUZwZFf7oNg2a3BPZd\njkSDEFj8egGTfXzP/OMYa4CgLkpEoa3lL20bOKMaa2tu+beRZbhGh/HwM+w4\ngWcO2T3AzyUIwtJgmaBbzeLjlYr/SSCSaIXA0+Fj7U9/tijWqJ5SOnFtA8Sk\ntSymDuBkN9rMggm47r45dfyy4KzW5lRwOli/9vc72MHPR7+lu+Qexi9D3ESu\nxN94Y5l7qdBIm/sfPNIPW7L/ncc12vrbdcCiY+VYcuyg+BezUYxJCf9JfrOk\n66sY8XX0vcrk4rGcd1ioZmE6unYSgfIcB99do/zdVJUNzu2dLSDE8ieTkk/5\nlS+HKUplHzF9hE5BobWtkCbWBcu6zQBygYvrx3FD2n0lEYBqpJRomiVbDTdI\n0+kymD5SAeZwRmtL0l2ejFnj4gvt73f9vOnVpf8o/4OTNZn1J7CConZOoO0N\nMovjr78wvVcv0rlOeETTXgUpKyUr7eX32tejWHL+QPv1INTtn5h7iYxZcDCq\n3g7ZnZzcBrd6p0XdtI5ZGII+jhu0TGNadVLUeNh+YMU7HiqdCphRcmqiR5F3\nbravLd62LlimehKZZt5hkOKLT9fHGYWqiveGq4eXGSpLfCrQIU3XZ5sBT4d6\nwFKo\r\n=degY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiR+viZSliQWGdaUxUV/VZDcyoT96C6w2cHeCLwFJQ2AIhAKH8VxLUS7W4ahQq9Zv9ZFvqubgkCl8N1WuSrf8j2DYV"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.5-20181114203504_1542227818859_0.8413526892729035"},"_hasShrinkwrap":false},"0.9.6":{"name":"@accordproject/cicero-server","version":"0.9.6","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.6","@accordproject/cicero-engine":"0.9.6","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.9.6","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-d2SPtoi2nYv2C+Gtj50UGqa2EFwf9EuR3nTCBq5gBHxdXxteGUZ1BA1m9wfdsht9NHvLW0ddkIxIYy63FBjQEg==","shasum":"538ca110e77780526c5c0531c6b9ae756c15427d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.6.tgz","fileCount":30,"unpackedSize":50015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7InRCRA9TVsSAnZWagAAaCkP+wdpB2a/YeNTH28ly1/B\nynp7p/IPE8HEc34y9KJcy4GfG1934KWmhr8KRTIEvXAKM1IsSQ5/iPPdMHrM\nm5XWO2m06k6cUvfDMEde/aO2SEpdwEuDrAE8QUJqh8m06VzEkUITuB5WPaPv\nVAFA6qhkfM79bJJBssnV4nPpgEKC4MtrwlSYOe1q/EKd8EJQy9XdMRkecIy8\nMyAbXrpQ8uLfZXdMyLZq23BDW1SO24/Cu32+vVt8pQxNsnlQXVYOS/vs/hY9\nxJEfsRpF3HPK6U4T0F3gkriSHrNKsXQdf5EaovKOQLkQSSEj+wKg4nfScQOg\nuMycycAAy+xk4Up83Pe3hF7dTUCJw4e9kxqhr72mkCh00TYP7KpBDOaZUwOf\n2O+si/Ftz2/1AMT339A+pTIWnJ30DUZZXZIr8H8v34hqSvOtEYG5t9ZhdQnm\nlkKJtVCm+pM/J4Hz6x93Aw6c6IinUrPFJB4rwktKcYGLYZmthia0VPQ220N5\nGT76jVIqB8D2KlH0WxtYi1BB6k83hfo9M4/axuOV7MRyXDKsJalPJsdj352U\nNpKRRXdLIsQj76qe7G0JKHnVoBpGi/FFMEm3zhblzMvOrfZ/JYFR0v0s5kE9\n1ocNIbDhyVoPVO5L8ZXDp9twBcv+N/GE6LvwwKLLRd8w0rmCHdwGktf3P3zD\n4ntM\r\n=elK+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDzpdcyKKKQXoJlU5ja+JJdcK2LBD0MUihn2gcaZUjp3AiEA+gLdGJ8f/Izg2arNyxBM/5/gf7fXTf0tmvaClqI5E1A="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.6_1542228433071_0.7518377546092958"},"_hasShrinkwrap":false},"0.9.6-20181114205007":{"name":"@accordproject/cicero-server","version":"0.9.6-20181114205007","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.6-20181114205007","@accordproject/cicero-engine":"0.9.6-20181114205007","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.6-20181114205007","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-+p4VZW61JfX4kMYvM/rMQFLUdZb4XeBJz9CEdHqZD0orW5hCu7xWe+74SdCzDg5TjXtTiPNTW1rnyWUtMcnB/Q==","shasum":"723e21ee575fbe92ef5507662030f61527f24af0","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.6-20181114205007.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7IrtCRA9TVsSAnZWagAA3awQAJWq9v0/dt4ITA+7RV/8\nhGNixV8sOStwwX388VrMT7Mf+vzBAZ4KgMLpyw+HuQuHx5pXK1UbToB/2zWS\npe40o7DQewXRH5YCxLDoowEgqmOoettw9+KqqVrZfscrUDzmoA1ecvlFdpUN\nU4Tw71YSzrnvBPfonM2oRaps+M0iKkT4sqfnX05921aCB0nUpsqTr6bgps4G\niUI2QM9JCzu93EERSuTz0WliWGhAnywqvCIq4gziGxxl7RjCo+wL/S8hT7TQ\nrZ3P4nkaxHrX+0k1m54EVj45Vu7N01RHqslOJVDsOZhxofWJnx4j43/ikjlP\nwudMYianaShNgv3UCSTMVmTR20fWKL4zoL6cW9lEsTK4bAty+BRcxlx3FjkP\n4oIG4OFV4sBlyANK2Up4QhKQTYZ56e4WarysDmVF5pOEirq3f8056KQwsUhS\nMIc/WbURx3KigR/M7nudp2bpNQLzNiMFUjMcsr2xwObKDxWGFRJ8JAg5J+Bu\nUjlPvP9lC7IeqHVvYjbz/oIvOuHzdQcFrm/49AT0c9rIvECR5CYQkW7vDnIn\n74rmIyqbDLJpMSFi4EpDDyKPlBQw8pmy37KOJrZHIk563k6fitXbMjYfvca5\nqGhboXcLIZah+uyiY23e3Y/cR1RLcqbmGpxFezV/PJJAkOr7j51y7xcBdNor\nt6lI\r\n=6EHT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAjhlOT9mOOnNtF+KBwPUz2qPisM36QgelPWklHbX2O5AiBeUdzUVhRHZaIBalfLBJ/rKwDQuLS/hdcuIZR9GQzgxg=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.6-20181114205007_1542228716999_0.26835011560771194"},"_hasShrinkwrap":false},"0.9.6-20181116165829":{"name":"@accordproject/cicero-server","version":"0.9.6-20181116165829","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.6-20181116165829","@accordproject/cicero-engine":"0.9.6-20181116165829","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.6-20181116165829","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-hna+Ob9gRfapzpgr0QPMRrjBtjwYwps3DCWFmm/RtjfQ3aTulfXDbFLI4mn8dNIXNE8EbZ3MhBrESnGvQU7CNw==","shasum":"60643b379aa3cd8572c0fe3de9a683412bde653e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.6-20181116165829.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7vekCRA9TVsSAnZWagAAy4IP/0dn8FlYOFWKDumTATe5\nNsPZI+IWKP5quSGQivFTfD4sVfQPRjGd7M1XDy+yjRmFh5GXwidYmMVv+Xo4\nIlk4NOv14fQcJG+hma+ECU714iyyUd+/lNQNyNsqUt0EniCu9fg9laE+0+sy\nLNet9d6Fs0zyYrcE9IsGYlfO/5hI+pxX7YqWm2p0xONJEUnk6d03fQlSYK/K\noMcSol7scRJT3oF+4De+52gzuMSk4kkv1Yniyk7x6N34MC/J3xXq1soNuv8c\ne1pJGaj4rxbYcAuwT7Hgsmtv166PouwfzH9xPXYTb1LEPvP0WuJSTK9XlXST\n2tnzJRdazDFMmuwk4/ZULxmyR0qlyySCW0YfVO1Mjt7mvb1M5dRCGBEoaj2N\n023w6qGFzeFk266vbrXr+I7iqPO7pR1s0NV55tKgtVyt1rJohHqLeVuNK+NW\nOo4rom48ORULQBYPYbzH37JH6NYMj3djn6+Tu751LZI8xprVAkHzVNJow2tr\nbicHVYp4OLgiTNWlqt8XU1A4ip6QX71670XMiLX3D7hC5ta410LXo+ah4fLs\n5K0pEZCiYmqDIsGZi4T9R1Y3Qx8Bk8LV2boUpr7S58GrBpn31EgPcGZenq2c\nrawz39d7vPElnqD37eCvADvNs+afQdyFBcIDatQwXpHxUdJzLwYg4bOiJOuG\nnFsj\r\n=KQE7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCopbP1TCMq6T8/CtSATZVlZ4ROP1cSeM3COgHpIFp0DQIhAJqT70ceTaGq1fWs1ZLzvs5zMTkSZk3d/cQNFCkUIQ1D"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.6-20181116165829_1542387619300_0.3670370767614659"},"_hasShrinkwrap":false},"0.9.6-20181116191753":{"name":"@accordproject/cicero-server","version":"0.9.6-20181116191753","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.6-20181116191753","@accordproject/cicero-engine":"0.9.6-20181116191753","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.6-20181116191753","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-yvQgQANhxQOGyKAwmJ4VxbtnYn1hjs1kEdwBaozoge54izAd1r27tC5cDtqFpzEdAY07+RdjR1uDAW1HFYDHNQ==","shasum":"f98edaf75c5577682729cb78e2053c77b44e2146","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.6-20181116191753.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7xhNCRA9TVsSAnZWagAArEMQAJY3yAEuP8jnAcUjhOLh\nwfSROYGCrb1sunj/3gryJZ39uIHsotGbChYmPyVfJRPyGW+36CupjW6lsj9j\na/3ANqMU2Y92eCzE89GWcapcFSwq4S8V9R1ScFBriESYSb8Iw8lyHNvZPuBe\n8lEFNYYmL/YfWZZKyvPxcY4W1F3AZjXv1+Dr3JdYMpJXiFby1MISfiZAnlFp\n+n1NEdGMhCpDHpZaLhMrKOnjdItezPVY2dZUAhhjAlLNXKtQVe9rotgjGI3f\nTJTw9M1BgK8dSYNjE3AolqBax2OKPUi41z0fTYy0THzaO4H0Lmj5/A2wpmuS\niNL3c9cKdSOLF7jzUYy07mZOycJa/zpe3LcedE+VESPIeuJZlvN8bFk7ptAB\nCzxWizlnkcAZ5t6mKc5GirVHMaoFjI24/qcjjEAzZ5IFWQ0wbIB6SSrfkcjN\nKIBLNmVFO9r3Rhd6WpXa8rPjND0hzVpSIsh9NbMkICHb1Ww0Y0CcB/1c6R0v\nheX7wy8brhMKSzSIGvKCe6D/NFbkljiO/NJGWBPMsqmki3nn1z0E0GLsUNKk\nIorDkHhwGFJi6iA6qwFTE9rMRbft5WujUXzjkxKZKoPShi2+8U0HslZZAWpz\n5uplQTmlZTJV8aZ+zVh9A66nxJmE3r09RPMzPv0DiXoCKKmdf7w8meStfDYE\nfV+C\r\n=TCJ7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICUPinfrk92JaV+Y2SKjbTSCHfpLdQao4g1o1PMxhTn0AiBVawu1/n1dbxA6U5y/tvkZhyrr9ATbQrLaOstD6/FbZQ=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.6-20181116191753_1542395980639_0.46937575523377495"},"_hasShrinkwrap":false},"0.9.7":{"name":"@accordproject/cicero-server","version":"0.9.7","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.7","@accordproject/cicero-engine":"0.9.7","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.9.7","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-FLRaomWEYg9fT2d7d582ph/enxOsyffAEZpbWTK+x0WngLjScFcKgKPIEDo4K/31YeACFaIapCCgtVl0dMAbpg==","shasum":"f6ad1259d271c6b2607ad6a74b19ffeb94e76328","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.7.tgz","fileCount":30,"unpackedSize":50015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7xnvCRA9TVsSAnZWagAA2L4P/02CiGM2CxR1KXP5hBRc\nV1fc2EwIc1WPMQb3DixA5dICBX7RqTSSfiG652nXqETi1HNGON5pGWT2MMDH\n5r/wYdkPPDWvRgCb9uF0F0yaDwuJZbsT2dlSVy7MiFUvn+DmRWOSyQgQ1L7t\nB4wU308oKMQTPUCY83OIdfuCT2l4PLEtxT33y4lNrGwj3ooS63mnnvRAuA9h\naLyZE1CcHKKmblIxPmJZrUcBCarNqlNO4epeIfdu7Bn24DxjTNODkW9U97VJ\n0vH7khQWgwQT4zcK/lYCyYkoniyQA1Y4v15XplS9VaPwYgRUrs6cjghV4rzx\now5rWx+mQLRazAOtrqslSidJPEWhcmYnE7qXYmUztepg120cIENHPz72sRnB\ncCSZxfMTcQm5m2AhVZQDaAQmsg/4hLnQNoBGxiaCyv5U62qD6MuCcdyFQapB\no6jR1dZvA92m3fBKmkn2b5rxBLOehNqHUg2mhgB6Jc7n4XAMux6/UhnQBYle\nY6jlRnC9SDPhVDQxQSHZYzFHE6KospGPz3YqqccjXXNQ95x3EShK0FmFRVTI\nx81u+mE+onIkXmry9mTrNI2mLMIFSTCh64+ebJcerrO+kZ9mNJBTl61xHmZc\ny+h7tMWMoLTJhWt9w3VEy8DuSFEeFWsftB7jUvOMmaZFxAOWA9jFoh4Qd6NV\nzX8E\r\n=Du/l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEwVucmwIFiE+0cOr5W8M3N1TSHmFdEVXGa2sngP5Xq2AiByNskmNCJfkCruqAlgy42CVi4fyAW9AXQoJEYUiapcHw=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.7_1542396398709_0.9407661362137139"},"_hasShrinkwrap":false},"0.9.7-20181116192926":{"name":"@accordproject/cicero-server","version":"0.9.7-20181116192926","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.7-20181116192926","@accordproject/cicero-engine":"0.9.7-20181116192926","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.7-20181116192926","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-aZaNiyfQ+aT2GvqEjfCwVV3xn+GJsLq7y2pavWfLO9irnFgxVGE2HZfYWpLWtj9t5pBvZ7Q1tdmO+wyqMfnCrg==","shasum":"9f4156be5cd033dd122537176f2457c5f668e4a4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.7-20181116192926.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7xsGCRA9TVsSAnZWagAAYjcP/i27aeCiFQHzIym7MwXo\nZsmkse2ivRP5MnvpBNbJ9Eq3nm7R7c9OO9Kf6881Mt4/Wl0OakeY3Z4waOEE\nVIjNqSEDq3bZ+SMNJNFCOTnbwNgLPFmTdmwH67Kqr48AKtzrVL9F4AUMBZKg\nCdLYk5JRdzVaF6UBEyBaH+INkq4t+CGRM8Ahjfxans7cgbpFzPZAIlK89dY4\n4KZUlits9Jl1aJQzNKOy44AFuW1E5ZeYO87NtkmXDurzrtLCKjucrmseR5ie\nO4Pf/5zL4EqOxIQUImGoJFbwHwaogMwxMjOJIOdZ7+DcD6iFVns401AEt6dO\nkPVgMKKGTcocBGqznx6Kedow4lujL5wT+bERX14gbDVPiq+SvODajOLSm2XL\nyMskcAeCwKyVGh0zpHJhl2NSm5lr9WUHpZPgLV34cMa15TFXCeLq4Zf5X8nn\nsHD0T7qgjtoq7MU5lSB0SfzyD2vgkS6Qkp1Kq/6gJ7icykXbURpnefmOuVBJ\nwTsJuJ5aBAjIqkBh9k7Zp6MTcDhpNMFNFELKveb/Rf7AprLMsXa5TTU3Os/8\nmFIrHPoR6tOkW58LXDmpJCqALtoSbaRKbZy0TKHYcWU9N0X1/qix4rrS8cjz\nqreLz4ybFw0MhndphFp7MZnPTG4nQMUsefca60zKcqU7h8FzPN7OG0JQCFnG\ngPDB\r\n=TUnu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3xFGtrb4+ZOmoo7XEEaLbBzhoQPtTaBuRBsTmlnWmFwIhAJ47UnQsxZ363LKkykZcW0Mr0AzblwZ3hs2aYtIbjQ4J"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.7-20181116192926_1542396677590_0.7954652320227404"},"_hasShrinkwrap":false},"0.9.7-20181119152855":{"name":"@accordproject/cicero-server","version":"0.9.7-20181119152855","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.7-20181119152855","@accordproject/cicero-engine":"0.9.7-20181119152855","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.7-20181119152855","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-3rEGqWrd0TQ9npVM5GfuImicykryr/U6mT/WYhd66wRlX9G/+hECsKpaZT5129MZ54KgMYfH4DlC9bDsE1fddw==","shasum":"f82664f41f08138482f623ecd4aa6708981ca82d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.7-20181119152855.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8tcoCRA9TVsSAnZWagAADGsP/0jTY8mst3TLSYyFilSk\nfrg3rMoZKs9eY0RHK2RpRVaq9PieE87SsuoJxlfTM2J1iRvVVhxBrTUXJqbs\nBRwL+Iky+ASVNMnxO3/+7yCRZnsus2CjStLK6SJqGbDhMKT6U2M+73CZluwI\nvnKBDVATn7yoLfGEuQk/tF6dsj8qZbaWP1EOD7Ie8Gs6wSqNqK5nIW6C3We5\nLN1CodxxrmQeI29UiF8Z3/Py4WnaWwmJrfdUcFLouBycBo0sRaACYwmiv+YA\nPQeAIB1fVrQxNwYHhTi1k7l2RrboTpyR9K6TtKGy3G9XCFqqliPgqNobLo8S\nwZvtpuRz3PD2qjaIb0rIjtJki4aHNwYfjN8JzLZ1AtsFw1uOwqmP9UKuRei2\ndKTc0S0Uc0PGN4HOdeXlbQwDxBr6WtzuCUv6W9pLZx5kOvlVoBAHbr8mhgFg\n1ZgBvq9ouV1NTgs5BOswnzN5JvSZuXftjgtQN5EUCnCAsbac+vaeXUgNiL57\navTaAumfoqP6dXqEgm+wl3kWz4CnK5z63Rs1DRjl2jxT8Lsyd8gxQuEdGpwo\nSBY+5r7V6UWmiI/Irx9O1wBiqBRysOWtrzJ/Zsiw1cHXS0JDGEde59GDWtUB\nvMlCYRre7sBummD7mso160fWQH64leFbgDjwYST/57Z68Ir79JrvZ/HF9PAV\nXz1X\r\n=l40s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7RDlZ20qAR9QJS7L8t4iPMrCfKYhFWuoyGnVw9cv/oQIgLEZ3gq34tLX9OE7MH+AxDleYDs0JyyZEK+c4Bddtbo0="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.7-20181119152855_1542641447728_0.7440326208390995"},"_hasShrinkwrap":false},"0.9.8":{"name":"@accordproject/cicero-server","version":"0.9.8","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.8","@accordproject/cicero-engine":"0.9.8","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.9.8","_npmVersion":"6.4.1","_nodeVersion":"8.13.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-GIEk/bzJ85o6o94U2qwOCV2On+0Jm9KfJwBoWlcDKqjSXeSRVgQbxa0fIg77p8ls8+/47cbFrIeKrt/3cySo9w==","shasum":"d6acef0e8bee095908882342d427d8aa72272b15","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.8.tgz","fileCount":30,"unpackedSize":50015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9ceACRA9TVsSAnZWagAAoxMP/3vt3nv/MGI5YoaSetUg\nChEgzRNloXIeup9HtiQ1hlXqMsQ6QNMORfGvy9ABP//fdRpZ73uIzy86mOqB\nMnb0S1ZVEctKJCdcEl9dA+lID5wJiT49+GzULV5PC2fqf+3O+aqXElB0KHUf\nKA5BwjyV1mPjrpnDbh/Oe3VO8O1xU/1Qi0A9smGDzJ/MWzLKWF99cWjRHWtm\nWkPbR/XaWscfzlDyxk7MPEa6oT9GB2TMlGQ0LkbXIKo/M9rGmg18SHjVj9kL\nD4RL53Sc18Lr/YibxcRhI1qPreazV5Z4A185Np+saHE7Gzu3tOWZC6Sj66/v\ned27rElNFUGKqYNSxCMcDeaO51kASyF/XbnJ9zqmZ1knF1zja4QtDrXzdVg+\nEWEUFRJj+K10qJ9BtvaV1U670ESGkMMvcaqlKG9A/iWRRNXKGQYYohezZ+ta\n62qQgRE0MqaSKQK49ofwhvJAao6RuQ1Cs74wubZNA5J+bpzUY850bPpcs+DY\nSvwfugU/Y8/S6PD64DY52GXgAIWBN2lyMCXbi0yJMiIpfdKlcLD7AsOUDm6u\nGxLVbcjPjhDCme37cIrDvU7xVeDpHM4uZcyldRvHoZOmQqohAb3ntNS3u+dl\nEugfSTmWAUbZRDMAMOlI8uyP/3AyQzyOR8UNViPc2c0AZmcE5RpNffJA2ent\nCi4T\r\n=8b5L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDrrDBk68E4CjbyMbSu5WIpz8GMq43Gh7bMGwlf7GhdfAiB77aSfTPzoonw4ZkDVguQ04syHX+IZIkiqLloUejhmqA=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.8_1542834047770_0.540233027258969"},"_hasShrinkwrap":false},"0.9.8-20181121210328":{"name":"@accordproject/cicero-server","version":"0.9.8-20181121210328","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.8-20181121210328","@accordproject/cicero-engine":"0.9.8-20181121210328","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.8-20181121210328","_npmVersion":"6.4.1","_nodeVersion":"8.13.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-di4myxdukA8QSxkCpgP0LfFgBtQyqogqcdYQcIo3VvaJxAdB30OFgQrHdW8B+mpYCwnAuwcc6ggOqe1MGBSANA==","shasum":"e2378a063bc4b29c649eea54cf6f0aefa4036a7f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.8-20181121210328.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9ciSCRA9TVsSAnZWagAA6P8P+gOJ34vVjtCeFPKdWlwm\nJ/P++23AXc7pGVjGWRHfWMua8gRUDO0romFz47cHajKw9ShdMY/56H7/LtTj\no+pzzGWnuNzT2DZfyDk1JNkRoDjJMNS6Lw+N85hfKCLcgYJv0MwjjP08WAs1\nFepWsBjlfGe/iYo1AWogV6FDGrmHzL8pzBQw35MreVoaWliVPWZcOJRueJyz\nlGTDOvHAAtuY481NPPW+JvZoA6sRQJ+meqfZUD/Z8FMqNFHMN5GsVyDQThI4\nNOW+WAkmDw9cxfJD0Id0cL7C6Xcbw2EwIvK8BTTu3jhlDk/XgnhE1C4ivKmd\n9YccsfQUHTDCbsJ6VevGunp5OnZ52MyjItS48R4sB2MwpoRBkXiCkgfocmXE\nH9QkvSqbMvJQJIg476Z7gyE9us5Lru6+u5Lpa6Z9DgrF/2/C0d6p8/OsAdj5\nwp3mEVdVnjD0WaK+2eHmTQKwUO8vwAB3z+KqolHaCyFissHB4LM3MgZPYOiN\nO0nPmuJznIWTaJSvZMVnTTcIIbFdXjPlfJ6zicSh75JrYC7pg4u/GpjibROz\nrP9S4QT1xZG24Fg8TGNuTvQS6Utpp/KaKjAZ6+6A1jzBQ1hSvt21ri4zqyrm\nXrQI9uQbP1Z4L7erEIcFmbUZJow+oOwl5MxAselVP6jOY4HYMCyCL4OUOnkF\nO0Il\r\n=usRW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGgz3Id8WkxQwtWjjCfKzcyzkRwEbCVmqQTI1AkuzlrFAiEAt028tefIr4Iv5sz5PfvjfTR3tY+b4d1HxJa/fCpsFRA="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.8-20181121210328_1542834321479_0.015783221151531857"},"_hasShrinkwrap":false},"0.9.8-20181129182117":{"name":"@accordproject/cicero-server","version":"0.9.8-20181129182117","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.8-20181129182117","@accordproject/cicero-engine":"0.9.8-20181129182117","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.8-20181129182117","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-utj5WUqXwO3sjIKRS5b44R+lMvWGUyMSRzDADmaTZNMV63ts5zqkMVYS3r88blj+a5KfjatstUsEbsuJ/uZuRA==","shasum":"d4a5b225a9587ac9720fb533f048cc557366b288","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.8-20181129182117.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAC52CRA9TVsSAnZWagAAsFYP+QGt6tPWQ1zmDtcunkUv\nF/l3qEf/sP1wbVvLuXZVuGobV7TsGJWPIxirKTSTxB7hOgp/D16TdUANJXa/\nRqCpPvgKirhZ5UctS5ET7nzSNbnN5cLD2EO6JPStETWlNStv6fqPNahGsEMw\ntGkAjPVz8APZmD1vbObxCsgfIf9KGms8PUD3oqPC+1nwvzf5Lf3uByiwX1a1\n8nVIrGUxpdoeyEUcb05AshLD196Igm0q/cnreUcdjye1PAiijYJPr8L35P/Z\nmXX4kYd36+uTxaCaw8jsL+Yyz09PdF94hgcW0Fr9lavtO37gDh+8ej1mZnfJ\nR8yITC2p7uaxHR80YY1nUd0bCWq6XiRnml6f0fKgybQgjPLwsD8MBM7jWmdD\nthAiwDqSOP01K0HboSN55TwkVsLlhKkr0OswSUzLktHbKsZgZ5vRFEZOgfy7\nVFnIsNecu0Gv/LHsHGRlfCWrDDRIRLqgAH5y+w/Hr5VfYLTlcXcmKO1uPIoq\n/2h3XeS8w0sk2hSTfYpDzVGxlt9+Kwmbgs66OewUeIr0Gp/upSEiwjnGKoL7\nPKJ6XQpTyLwmm5niADXS/qpWPV5mWfOmYAmuxfqggHC/z8i116+MzdMQHBpq\nKewGO/dw/f7nN4poO9Y4E6kCSPreZ+Qtf+uZkERy+eG1gERql3t/Y/r7gQPS\nYQW5\r\n=hdB0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8Sqi9d4gVwSgZ4ErkMyt97SkBpBcgiPiJbTyfmASU0gIhAMhLZNRHKbDasm1sIbi2xzGC7XYGa7Oo40GwrvaPhZyV"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.8-20181129182117_1543515765675_0.6783250234356231"},"_hasShrinkwrap":false},"0.9.8-20181130052804":{"name":"@accordproject/cicero-server","version":"0.9.8-20181130052804","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.8-20181130052804","@accordproject/cicero-engine":"0.9.8-20181130052804","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.8-20181130052804","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-UF4lgcpAh4BW9ax5CpVSoh03WZ+4muLHGTqRdEOE6OVhgADfK3/jdzpZ0vKxziXLvcDMVUQYk4+9Y294tc9WPw==","shasum":"b6dbb21ee6eecf5070438d27ba9d916c55f28a36","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.8-20181130052804.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAMrECRA9TVsSAnZWagAA43IQAINHRe8zjODSoZjMwNiM\nrBCNxy21DNw10eFLbeaBR9bC/R2DKXR7Sq6BVjdoT0J9gX06BSWcQ6Ddpvuo\nWTgkNWFLmUvsaCohd+8MAFGyLFAHmSkhV+NZsXTzZPF+W7Cm5aU30ukPGFcQ\nfF16y75FZpCiTZfC060owuawmFeCmehjcmO8UGo8trg11HXpbKVoFr39IXqg\nVrtsDWGiP0NGh1hnQhp83VPMcpaDsVleZyoMAp1umAD54Ylg15Dx/6GsxfQ9\nnAlCD3ONRLacgKpcqmf2pdlfwuqEGSIqmbC0VN+rzbj0Sf4BGb3BQg5FCURC\nOIlN+toCJLUYOMZVztUmZ8zAtKVVVjfzppPNNRdvl/zfQggCZxPGcLOl1GQD\nZxPprwphqAwff0Y2MviRWi8uvwsOkPJ9kpCDPJ6GcBxWIgKW7lmETFkOPQM0\n25niON3sHQ14WSyJbG080Vv7sIErpedk6/ywr+UP5UTyAn9TN83V8uXx5MbW\nZlcJmjvt8TRdUvBzKo+aJnowNwS3ckdJUqY8k6/p5ifJBdo1n8z2Rouulfyx\nKHvooQUeTdYyCHYKqHaR9XwwIxjdVOkqGmhgZl4ckKwe7g0c+IUtF30HCVan\nDaYhnHrELt2meEpTvz5IVWWqXEpv38YMCKxHCRopQdo0dEhV0TKyk0WPbLVf\n76oo\r\n=SA51\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICYKlTjUtHhmuY2Xw57paMTH8bp06u5Ha0f4tdMM8u9WAiAnSaNMwrZiqiXDqgGN9HmIpHtKgQ9RoTdE7h96M5KlWw=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.8-20181130052804_1543555779070_0.9828960395550643"},"_hasShrinkwrap":false},"0.9.9":{"name":"@accordproject/cicero-server","version":"0.9.9","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.9","@accordproject/cicero-engine":"0.9.9","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.9.9","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-vN/kqbNdKshfiAhqOkClWopHslPwjDO82EVB4eQpBTbp5H8+yOrXpV18QjewzaYFrzVBq9nXwje30J3ZJgJP8w==","shasum":"42809b570f14278b273e57f255c7e7f18e5fa508","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.9.tgz","fileCount":30,"unpackedSize":50015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAWN7CRA9TVsSAnZWagAA1jEP/3oU1W9XYFSiQgazMifc\nrO5PPsrb+n0XI3i4Byp8LRvbR/qMp2qUGua4VcRuGETaT0FvJlhSZv7g7hxj\nag1M0kQYjRzylMoCdypr1Zr/5MD+XvYjSIPdgEty0CgNdFm9ifD40bnBtBh9\nsLgtnScqZr+0jHrO72K649DCq7eqD+LnD74ZB7wwP6ivjOM+pYEU8vBYJkGy\n/2UzRImLPFQbI4kjfCT7/ujyQRW/KvAEeajsWZzkKQcz2DfszbOpRbCcpsdx\n9LZpOqhNMmCum3GaVu7vwJuDWczguC02hStamyJmAfsQ3uJtvG8lXNLg3EF0\nZscup0cQI6DE9NDS6+ajX+79r9zurv5s1m0cO07hyDbP6tHNU4KqrA58QikT\nuripgfNcwMuX9bA5oP3iOYGOtzhI5ghgC16VXBJtzosWSh8nCBh99MtXgYfB\najNNMf/sDL73Cpq6PeKo2cG31GLpmQJELSo/2mU3UP7On+wZGXLgt9eGba4z\nGnqDUxX/sAuKB6Dr9s1rBm0HvPKwuaRDv7vBlYdWsIuMmRzcyRhK7RKMzgT2\ndxdW9T1mUt98i48ghAm2F3QBKFKz9vVKAEC3PYcHT5z4mjhVaiQMpvCUpusF\nQ08O97WLMeQZsucDt8EJd6kyevmGO/YuhV/krswamuCd/E80fkZGUajqBjON\nUZPW\r\n=aNWL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCw8mjqLrM72tBxmTxOlTa47po+o2f3paysPwRr/o2hbwIhAJtIsAeRFLQ5JDUeKHRLGCPdY1Lr5CS0845jjxR6jpHe"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.9_1543594874966_0.300069076496853"},"_hasShrinkwrap":false},"0.9.9-20181130162421":{"name":"@accordproject/cicero-server","version":"0.9.9-20181130162421","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.9-20181130162421","@accordproject/cicero-engine":"0.9.9-20181130162421","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.9-20181130162421","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-vDp2+dvNj1ydgWbanJ0idhm6k/EYBdYkANsIqVS/FKktqaPx4DwHJAxFeqkvBXcHAv9T7jTjxbuH6IqeGLOs5g==","shasum":"324c0b52b239258345786787fc6615959e54e132","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.9-20181130162421.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAWSMCRA9TVsSAnZWagAAFn4QAJkRGK4mTXebLhCmsfQ0\n6yNh7JrGJHb96Poub2tf+N1RArGKP1SHGXTfxoCSTfFBegMzWSzJwv264/5p\n+tg5WEBjWQ5BcL6yt3o4NHTSlpWvIObS9DvId94kKAZAe/yq8qZllyj+vORv\nSWeojwJp+U17wrvp8XLssCCRUcWYwbe+etGkRbKJ5MBqAoUJSu5GbaOLnru6\n2ZdqcNKZYMM+t+UfJ6GYWLrhgKYF9dEnDuhUhNXOEhYgYwyQtU5JHHSieyJL\navGEIBztMrdK6W3vw144D+XsStue21c9lwHmtZk2WdgEvbYzqqFdncbUggMK\nSGfcXblvmHmemKWX6MPa2Qw+Nq3kug/JEkN60yq7bmED3YMPhWEzumWj3j2K\nThSZm1iEk8UMykc3qYXNlu3SoUMrUKqo7MpoFHKzuy6jU0RzmQo5n/hNh5Zd\nGE83JJRGok9jJQXZZrPUTUSHpRyqg1p+yVuxJT6fv50BTDarVyvFhitDMCuK\nK5WzYxj8cg5wgSYZkKxmnT/vizSrjzDYgrgmoZHRQQN4/iwlaxfxVwHAciHe\n06Pvyd3xIqw1rJuuC+i5fIBZEWBocpL1q1CUhzr+BOMBaTlKPjNyoPbGqfaM\nJfpUhqk99MTGLYrci7YhH1HEAJ1+oCgbtieN2qparpT0klfqR+dk/hbKtq/C\n/nbz\r\n=gdu/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNjz9ycNNslahRXqz851BV2V5Mr76ivCl8GA3gDxLJhQIhAOlw2IkiGV+Y+YjFH8VE36iFPY7ZQ+8BYi1wsPT2eIiq"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.9-20181130162421_1543595148216_0.4690006873829067"},"_hasShrinkwrap":false},"0.9.9-20181203204957":{"name":"@accordproject/cicero-server","version":"0.9.9-20181203204957","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.9-20181203204957","@accordproject/cicero-engine":"0.9.9-20181203204957","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.9-20181203204957","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-IB6G5h1XTkEK09RJfTOR5R1/UHp+zHbsOu0XOtMgB++Ssc72kqRKLWEmJ9UGB51IjGYYQjFgrDAdH7upL5cxOg==","shasum":"47104aa565ccb0e8ae342929d196b3db96160259","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.9-20181203204957.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBZdPCRA9TVsSAnZWagAA8I0P/3apvyIvHlPuIQ7D0iTa\nhYKcoR7vUwQQxymlX4JrF6DkId1W2srJ/ghV3tofC/UdUYs+FS5wfrnOFGda\nR3tA5dbdua09K/fd9mBHYWeXVQoet8hAa00RV6XAc/k63di2HdWMaJ7sVjs+\nTT66mnjoWHotR8HVW/RKRYTnZmHe50gz6aMWiTCOtwmTiQ7p2hyPTkHAMsr4\nOzRUZZwUvY6GHrB1A3NRBUAKSV5nJyNiS3KsOi57XCrjtDl53CDxnXnKRFVM\nXYk+gx+qmtxA64NVV9eKobIhdBlovwwB759f0iXc3Gj+MK2UTyN2F4eJp8Jo\nOEPAv166BqGJreUsN9G9xtF/1RB779bYFiQ/IYihkEQ8YzeFUdmPhr3tUio9\nATyNf3CsPukuzkFZVl/DIo6r0ayBuxBfTQ80Cse4wWpp8P12YrWyciaBBYYQ\nEJrW9an/nekoAvP7z4d8mA5x5kEhUqih0fgb/WB3uNcsgRC+BjM42TM1wCAp\nDkMjIADLlNHyIjVx7S1k/MEv3Ui3ooDnNRAnhY5MaJkCKt03y99SV85RdlkW\ngyg/oqAOtFnz07A4Us7CmjTqlipHbVvK8ijD16p8cnpJNZHUOako4lR/Tcf3\nsmweWVYxjkC90Xqp4ccrKcAteroVy5sl49AjW9/WcUtX/9ybpmdFqhP44Hlm\nA/Lp\r\n=ylCM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGPC0yttv2Pde6lDDKAIROnDD6hkFy0G/SLjAD6zf2ENAiEA+aHhtDMHUQu+gCKhouPtqBsJvxyENq5VTPMbcTUvuFY="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.9-20181203204957_1543870286701_0.9535706925446314"},"_hasShrinkwrap":false},"0.9.9-20181206101606":{"name":"@accordproject/cicero-server","version":"0.9.9-20181206101606","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.9-20181206101606","@accordproject/cicero-engine":"0.9.9-20181206101606","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.9-20181206101606","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-SSw5uz1ILoCDxyu83BY8WqhND0m8CmtRYmp9Z8LDJ/oh6iLlIgFeh6oD/t68pr4R8eW4aLcsktULt7y5zDosvg==","shasum":"3aef0c2068a5e41854eb721d2aa3eed266dd326a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.9-20181206101606.tgz","fileCount":30,"unpackedSize":50060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCPdECRA9TVsSAnZWagAAADAQAInjAeu9RxpbAVi0/WV1\nKEmFyZePYVqsVW+tXUePmAO5e1+un35n3isVlsQ/DUaH/vUPyENzjrPHlfvx\nK8KH4kTnwIQOpaguU8YgC0F/3p7mlKQch9/RgDScoEALHHw55mTetQa8XQLh\n1BVqjAoqlC0CyrmTmrYMGSMnF3CFe8YcZMi/TniRiaRMpMyfskY4r/QxAn2q\nSggYLNxfPK7UlAYtnwBTpMZHpYgXQIPUUSgCL/6IVUqtdcacTs0UnaaFruRc\nXEMIx8df/FUg43BVpoaUj/7lNty7TdNY1DvM+vqmrvR6YVx7//F7hqTjlR65\n72al4LWcOSNlF35uCuNRlHWiZzEXXmF4buU1tlk7OWL9cdjr9i/mUsEAUTIM\nou5aD3u8h9IBvH3nu8rxdbZ/x3KFhiQ/YXWnj4AuS3UeG7gcILrAgIJFClOK\nKbxMVbiTSYN0fZSRiI/kbVobZLJ9Fp6cJaVJcFscltAv0+cQ7a7AnBshuzj8\n9db9Bvl+GaMQt23ZG9iqZM8qd8PcmNdyUjDRA4sBUYxw7dWX6DgeqO8tpRCO\nHHb8KsyaemcqI4hX+2F5L5XpkeIEHpZ1jDrYhDN+GfsjosQq6Y/lY4K290Pc\nSUKteLQJtV2SDpY0beLMJpUi5BR0LWOjZWR5QO9grQlBvoahpBo/mQEdA3j2\nTkgh\r\n=03ZG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRoIVlLKcaX3U948o9m+JGpGIKwRZsmmq8Imv6r8JkaQIhAOCxsRTFbySh1oaXjNMWzpLoUeAIaDIiOyCwDCyY2x75"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.9-20181206101606_1544091460178_0.08481736262968043"},"_hasShrinkwrap":false},"0.9.10":{"name":"@accordproject/cicero-server","version":"0.9.10","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.10","@accordproject/cicero-engine":"0.9.10","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.9.10","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Lj7h6O1/DznEriRKKfobXwzUyE03t/GtBhR7S2npdnCX8e14916gC2LDh/Phr560nHlFF5jBY7DeuShphcR6Jg==","shasum":"b03800ab2f2c066934539e06efb75e63e7a0334c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.10.tgz","fileCount":30,"unpackedSize":50018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCPdaCRA9TVsSAnZWagAA3OAP/ivuiV+1dzS/NgkqWDiK\noCYFbwdT7hE5rFQIdEo5RgGJtLt+GhQMvKCvOKrEWfVhwvydBXC4WricdiNU\nl8gD+R76vlIlXrJyLN+uDR2KIMaa2BS+EyzfFH16nkgzGwtHGwSKLgAD5C7Q\nw7XXLzVUZsVH2CbvoaeGSh6mQGpidBQbxrc5QBjo4j2NlWX6jIYur8kAb5Nu\nXwmw5NTti281evvnezmHQ66HvYJHcxGQUlM7cDqLpi8Is/oIwTsJGrJyMEKN\ne4qEAyRZwwm3vKI19w18ehGv+Q9z9TMT3XTRVx47JMM0j1jc5uxPvkhJcs2G\nmXePQBEPynEXbjpF/Iv4WD3yLY9MbrEKfuWpIkR0FbESXaqSsCcid7JhGypd\nOcAjvX3jXiTmShx9DgYJXmyUgX8o6m0/daLUZTklhukgZlLQthMLfEEmtFGs\n6/fARfBSfILpUWTnR9hzArnsiXjzTgUYG9XuHoSHChJyS+lOjqRL971lMB7O\nGNnjAJThdoElrR+WQhzG3krvTRpSVKLV9MJiz4zINd0txl1XYHeGfW2V8BrS\nnTlJRf6AGthJHzho56WbKDyx6GSsj0US5U6MNJN/kx3ZpXI01Wce1yJTY0kA\ndAD4YWmEVGo4A3SfKwqDXqQTx3244TNnNwUwO+EeP8nsG+VINyFfoakLsSkP\nKf73\r\n=ihDa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICQwWuZGtmkWm5NkDecsoqgu/laDgFGBFxVMQ5rMLATSAiEAs5bQMQm1tiz9lhyED9BqDgM8vEHxNw1WVPRXhIJVfmA="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.10_1544091481433_0.5856227953691235"},"_hasShrinkwrap":false},"0.9.10-20181206102109":{"name":"@accordproject/cicero-server","version":"0.9.10-20181206102109","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.10-20181206102109","@accordproject/cicero-engine":"0.9.10-20181206102109","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.10-20181206102109","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-R/l9CD4kRrqlQzPx+3bOeM8WLpD/OpxM0/YRWjB83bmGbLSLt0EW1ZuAupy9IuGNcEaQwrsufI5Fhh5hlp/UKw==","shasum":"fd20ffe876a494bf6e77f37935b845c05e1e613e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.10-20181206102109.tgz","fileCount":30,"unpackedSize":50063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCPhyCRA9TVsSAnZWagAAdX4P/jqMv8y4Z5fZ2EBgwWu2\nP5oZx5GqDPfJjOhRAwgFV01vexsmF9C1FxA7G33auft+xBWh8EZSNIEoTUgw\nXazImzYwULciICXuIUCDwNvEkVr6LaoeRTbImHtNu3NeTq00Q2Jom7/Tie2n\noWjxHF/oQtu/IO2jhkDN23BeS0hyKGWsDeitmYe2UFBn2wmiF/+71OEsHZNU\nL66MwDv/40KCggkFr9YCAd6831fvcLs9YSB6LiVWRddkk7MY9C45vNhqyNNg\n7eJeB+xxPpgAhIvwQDMf8OlI1zzwZzNx6+ZfmrX6N7c7vp6GYDJCOCy9bawh\naA+ZEGmdjlryibyYeAAf3M5egSdQhOtJAbeq/lwy9dsT3vGCeJMB51f1Iyx1\nw7llY3LHfUIfZaoHXdpXUe2gZfREPFzmm0qAbg7WHHJWvANJ0S1kGQ7pn+bo\nVyFGZ1TePRzRagJ+avhv5IY9KmbSBc9dY62bvlJCmEi1vs2Aqri9Tkf5zAzI\ni7nASCN6lhKAqMrg3TlyQGF9NWB57h4Cg8c4IjoZh5ywFzlxfx9fhigSM+u8\nLFUmf1Q3jRRlo2I0w4GwcHqLUANvISK97MW+C4g12t+rhNgJzeSz8Twyg6Gt\nODpSuLk+NDZgQyRFO6i5XR90qCV0X0ZTyXH5Ae4whUf1VDkVqfR4z/YTEgqD\nbLIW\r\n=0z1V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUmqbcSe61evF6lgY5B/RTJgf7mki1XdoBMpGPjH+SxgIgA53r4QDSmgmhInLBTXKSiZZM9+xgwRrjSlXflSbgSA8="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.10-20181206102109_1544091761250_0.16224909848394464"},"_hasShrinkwrap":false},"0.9.10-20181207141834":{"name":"@accordproject/cicero-server","version":"0.9.10-20181207141834","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.10-20181207141834","@accordproject/cicero-engine":"0.9.10-20181207141834","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.10-20181207141834","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-pRGvdRPcBdX2PlHn9puwaB1iBB9WievOk8ymljkk4b2IR0jf/ukWprXy3wBLkB6wN6dyYf4xyeq8TXDajJHzbg==","shasum":"3bad33abcf15ddc1c4c2b4ca693ba571dc30a843","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.10-20181207141834.tgz","fileCount":30,"unpackedSize":50063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCoGYCRA9TVsSAnZWagAAwokP/j0vc2KXD886KcpV2BOD\nohvXfWQSTXIXOSNTXoLRF1Rjv0v63Fnnp+hgRXCZb3lfh6gyRahrU3WY5/JH\nSHuqEftkB1eHLOIVEWhUZTaEIx2eq9jAv5Ry7/20qT28uLsQd/TlLpugvLD7\nDx+XFCy1YGYSCb/RUfC6wcljk9C8FvYps0pkIKzz+zgsuqP/xrOAtnAR0OWr\nj/cR08tJWc7HMsp58MORKFjrwcDxYk+dghgApmb89cMYyP2BcV18jwRojP/K\n1/g5kKT8zubFUZChWu7gR3GZzjLdw5w1ZjJ4mvPTqMpeDE1HvcK60jX3jrnH\nvxd+5i/+uQ0SFl1yI/C0N7qQvD8+8VTRXnpbvKPLpUw+g4B3wqj8XfOLpJxv\nF4jjrVCwTrcsU4WseSFvB/e8DvkBqx0HiML8+akve5L3V+yTZmOT8Mz8efg6\nGUUIP9FQpgHFikyyyb9ElIZM86R1cDlDQx2R2HVrx97VIxzGqt52RwEbHkTo\nZswLWNPcgqMVhvOIJO/ZgpMquZuqpZ0XnMh2q88F6SMAZM6eQBhozsS7AIgx\nzfyndX9SWH9+vfEnDBZngGub4tLwcBIdy2DsvhpJKrAZl8ev9OETLDiBSvCC\nHhrZ7v7LJfazltWzkJzFsrFivdHNicsz2cLdEv3A1BafZwCQxtyo/+69A6py\nL2r0\r\n=E3a3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDISxs7plEf+A282iR3S4ZiblgEZtsUO783RqQrRENh/QIgbZImJv5poGuAOUV177dxY++eli2S5AZ0eaLUhdB8wdg="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.10-20181207141834_1544192406987_0.681364890824006"},"_hasShrinkwrap":false},"0.9.10-20181213143029":{"name":"@accordproject/cicero-server","version":"0.9.10-20181213143029","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.10-20181213143029","@accordproject/cicero-engine":"0.9.10-20181213143029","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.10-20181213143029","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-0ClXtGO1/VuyQaARXzP81OUkj9u5Z+vBqOWnpjyAt2QTNLX8NxrL+UvFqFlBo1uQAVjvyaREgeTY2+8G6BrjMg==","shasum":"b9799d274c2a2640593d240a888f2023384c4da8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.10-20181213143029.tgz","fileCount":30,"unpackedSize":50063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEm1mCRA9TVsSAnZWagAAkYIP/iiOr1TJ3jFbW7y54EZG\nxMw7MjQk/lgANZ/yJRQCfKPhmcLqn5R5C6MkbMxKWTtxUbrdq9vMSOtUUruQ\n5qO/sYILz+5vcR43xk2TO992UkmgCKAT0cJWCLD58NXmzAx95I6nCsCxNjz8\nZhdyHb8BOmQqoi0uRfUMWBvAo5+JYJn5m5EFxroPQEzZQ5C0AuzIXFhZ2gUs\n7mAyH1/g67oH7atjTPfWTQLEOeCMi770DVwwzOmjHEVhAMj3F3XpX81W5qKM\nrL4Llvq3buNd2WFEMszacLyJ1bffW0Dv8o+9qJC81u4Zm0i1TVDQ/qbUjBXa\nlyxmgrbvK8Z+rYYXy3mQcfVBATuk5tGDhEfQ0lYy03307HP+BYIO2ABJKgQG\nqYUbsUwuJTXUYSsxeAXHL/RvFGrRslPP95skbg4AStVk0Cpd0l2F8NL+5j1O\nKXCbDc07bf1QXrKN0wY9AXiKt9i3Q7gksqn+Jr99iLSZJ7n8A7sMX0enYDNW\nedHpKq7nOwNhIw2GkckL2372pYcQVjBDfO1enGoJoMREjDdfPbXvNYOUVhdD\noT3Kg5ujfGB47gnrRWj4f2ocsH+1AfEb3t0ma7sRkLMqfiRVYKep6npw7bbZ\n6qLHKMRT0Yh2uTP7lLyPRcOvQEVnO1OUbafQcx6CfD49OgIgyR9MLD3QCFCi\nUk/Y\r\n=eDNH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDFsGi7Zwpz6C0oMSdqBkqtn2gXn9JWCPlhBhdD7PyavAiBgXtgYLlpVAwcBrc38ZNqLXCbBZmjdoLM8+iJNSIlpEA=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.10-20181213143029_1544711526205_0.1721830911220168"},"_hasShrinkwrap":false},"0.9.10-20181213154454":{"name":"@accordproject/cicero-server","version":"0.9.10-20181213154454","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.10-20181213154454","@accordproject/cicero-engine":"0.9.10-20181213154454","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.10-20181213154454","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-q2kqzXwrMvNypOHlrWf3rvR2rlaMgwh20YMczvXkBethdotv1sEVMI7W1zBbXGTcV8FSFYE4NfaT65vhTN8ywQ==","shasum":"3c27108bcee99440573bd68e18d9ba041b3f7026","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.10-20181213154454.tgz","fileCount":30,"unpackedSize":50063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEn7QCRA9TVsSAnZWagAA1uMQAIcgh+qqdhBwHzWlF52r\nF8ny0flfNMPD4tMR1/Fnv/itzmAxTaoaQMNigaFmX2S0a+xJTdfsNNZGIMzT\ntZEMolekcULmvwTkyKSHLHWVjQbb6YoLfeYCP9OLX7mDYZFkZ8c7YgSC3S5t\nXD1BugQYRW89QmWCUZsITPfsxL48BV50BjZkqQC4xK1U6q+LBuO0QjkcQf4A\nOJWsJHcpdhMgL7xt2Bql1gboE0X+QBDn4xhdH/6nddTNqB/tXqFXSfCXRnV4\nuDQWQgb9Axhf6hx1Z62MXzdzA9wUb1lN7Sm2uzsDSJWPAftauj4QJ9+NYX7T\ncgys6HDFzbFqWhdgylDmRTzlOuQuGZzGJwUOiEcuhMsGdGzH/2oU5onUzm8l\n48ZVVV097AkEnmsmF0hefMytYmnYJAZDs+8bqBzOyPRj8AJSwsjWrxhoj4tA\ngFvlKru4qexigjURWELCdaQDsCfvMbVpsqMW5dkV4xWtyaCaxhRMt7de0pxR\nues62NmNnNAG24p/ge8uoS0iKQ7bI2EeshfcIfLqjj85LPoi2GSTSuZwswr0\nn6jsMLLpzh19gSSCh8ElefzqkIx05cC8Ku2QUauV6qbhSSm3dHaxLymKhmOa\nPQXIFhBdxW+28OdlPpVK+n9yLqXA3qSkgfgLQue3dPuh5ebL0argvKY6Pyi2\n9HJh\r\n=M4ut\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCz9tVtaJ/cjdscwUqhF+4bL3kjgmy/N+tha935C4M3qQIhAKRNDVMIsa9lX8kY8Z1YQIQKl9kF9sNA3zDOAxcVM3az"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.10-20181213154454_1544715983714_0.6724761035910791"},"_hasShrinkwrap":false},"0.9.10-20181213172407":{"name":"@accordproject/cicero-server","version":"0.9.10-20181213172407","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.10-20181213172407","@accordproject/cicero-engine":"0.9.10-20181213172407","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.10-20181213172407","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-e/+XLCY7cBpFtLxhQINR+q086UzQ2FbKvKQFd+o55xONZe3myOawpEd5WAZ/49hww0Kxdo83ipJ0mLysJK/iPg==","shasum":"a1712619a818f355be9c08d7d11964989bc19475","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.10-20181213172407.tgz","fileCount":30,"unpackedSize":50063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEpYMCRA9TVsSAnZWagAArNEP/1e+mD0uFp80JKf2a7CR\nPJnd6uBxLrL3EA6aDYMUF0zQwYYhUAON8STMErvpTzkfH36giQSzJsf3ucVT\n0nr+9w1HpgfMb8Jd2FXU1nq9WXAj2Ik2mkk7uAZ06YgIX4FHWkyZfgfqgJ1V\nqWgIs9jlYvchI8ibXlHblUIyCv3hz5juhAJP5HGEEryOgWXTw8d/50wtphId\nnZ4ETTr1LJcX8/uvap8Ejg13mxKE8HvyGAYY/SOqlwLllEyvC+Fb4dxGmtPB\nvq2jiwBrbdCRqy2ACzg9HtGfNnrLlkA8EUHQDlP7qdFU20h1UgLRWm3dP+N3\nF8E9Nwin1bfQi33DALh/DqFOFnYquGGvaCMvluiKAmngH4bAK6mEWUir1wpc\nobkhWeHduHl4OWul6pRT1MuoU2Z/qs4zl32cpaLwjeglnQVOdcgux0YzW8tN\no/gtE4BRvUOpKt++h8WHHz8owtrb/109Reo6QCzf4Y2ZtDpT916lqTPvNH9n\nCCd6O5PAGwsOCAxPYgEtfcjyjSBQmbRR5fKVfoEgNR0eQ+KUzIhtmsQH3i5U\nGWv2plVm6WUvNkUPCsHHEiOkALJstOJtL4B5dop4I0AhrxRKlAvFSwI5mP94\ne515XMdOXvT4PDOxpuj8ECI3XRay7V/wiRinmR/QSRl+K/bLpBDkxISusWHR\nzRCy\r\n=bXEH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIANO7JSN+XYq1+gt2ZTBXoja4BJN4WFbtNXhML/ipiv5AiEAy1cNr6FdfEx5AEQ2qFpub2LDyAvormSC/xj7V4FE1Nk="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.10-20181213172407_1544721931500_0.2541587545509689"},"_hasShrinkwrap":false},"0.9.10-20181213172630":{"name":"@accordproject/cicero-server","version":"0.9.10-20181213172630","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.10-20181213172630","@accordproject/cicero-engine":"0.9.10-20181213172630","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.10-20181213172630","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-UKiY4iOUjzTHXJ780Y03AqJxXCLgDAX5d8MivbuIfg8HRLff61tN02mEyWZC/XmKCvC/wJyUmVsOBZPhguUsZw==","shasum":"9752b6ecd7512235bf0f086b2efbdf78bc7db096","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.10-20181213172630.tgz","fileCount":30,"unpackedSize":50063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEpakCRA9TVsSAnZWagAAUo8P/jVNp2JIxm2sFHOC69Kk\n6cKVsd7JM7OQ3kLMOwoTCyPdbCT/rLJW8lSjdB01R8h8chAPpM46A+ZzUeql\nh5q4ho2sMnFgbOn/wbboXlHTetbPWiYSLsWBE5lx9MDw5Y8ArF+0kR9r+IRL\nrAKr7MjEhbjwcV5th5mOn1xC8I7XfiMfVHVU14H/Ta5/6CJx6mPIs8wHImry\nUsIllt8EQb0fCfUrR2FV8ugqC+ndEUNAz+k6HDNtHZ1j6oSATf26/g5eGGMc\n54FkXHAQCollC2/PJgFSxYlR5vFV21OufhvAXkcMlJ6Familp/ta2mtcrrIb\nYQLcXxbQdBlY9wz1IApZgIAzHMjF2pn4f0Np2ArgJvAS2E9WqaboFR0bKnW1\nJun0Ew+tfcLxqg7VhPvQfsgr4dxwUEoXSWrz5w83kPre7tVT8k9fwkLCrEz3\npqmtmC0YEvmjxXAHRA3Qx/zhX99S9diBZAcP9o5pzxar90uYdRRcP9X7AnIj\nZvqXDmkCvsGR7Ul7+jt6RMR1qJ3/b621LxPjMuHXHmxkDT4S4+S50f18RL7j\ndpKZhe1YXrwSsFktYYaFxY7/1ns5OHpAzyd1737lEiihvaWIk8LEJ7mQpeHZ\nM6xY+9PCbHBuRJ5fsqNHOmcta1MGD1fy5bmcjNtqPURyA4Rjzra/MKohVAcx\n7BSB\r\n=NyPH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+2vHcWYRLS/M2ovjSDgvnRXMh8DwoHqz6L8AVkfeP0QIge5dtBUXAGcD1CxOfh2/isRX/jMA6eUx3gi0l7jav33I="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.10-20181213172630_1544722083369_0.6548736469987191"},"_hasShrinkwrap":false},"0.9.10-20181213175517":{"name":"@accordproject/cicero-server","version":"0.9.10-20181213175517","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.10-20181213175517","@accordproject/cicero-engine":"0.9.10-20181213175517","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.10-20181213175517","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-qTdUahpWWkUGKyLDxkBgi+iYJAx9Q2XKjbvg1DX4y2oHB1DoSBfDiFdO6qUEwPOJu99fT8I4XWJ11ErWc3wGDw==","shasum":"3139380930f099e2242d186ae3bae65400821e7e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.10-20181213175517.tgz","fileCount":30,"unpackedSize":50063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEp1hCRA9TVsSAnZWagAA0MYP/AogAyOtC7R2hdI04gPK\nbvgSfQMaw2lZcaH0jxecleLXm3eK3uBCmw1XJ1QqhRGrkWGMwcxy3aJrMUv7\nyDidZEafadQFYRbFJXjODP1c4gj+mHVQyCwXGrITueFAU2QU83beyK9WJ8bw\nIWoRUeaWuSyao5iSvAhjZ6nO18HXvm6+urbr66b0/J/YUsmTIm/djMaPpaDj\neX9KzkQ+QD7W0wk7+lY2zJVbaiV4Qx4hYwi6/eGcNTCFlItXfvoEDvEyafA8\nlEPp24m0EXcUo3jNpps2SnXmmPPpe5ogKr7Gsqd4FLTfLavkYU+TSrciIATQ\nu9FGW/HMyCxth9s8NZzVqkbYpLp3bYJq6SOD1yXB93w0rZkYoNdNYKhvOCO4\nYu61bTp/rhc05LXi6gyV+ooNMLNDXW6k7AIBhp0D8yTddQ0Hr9VLGFYdjLrO\njoX+PVyqjJPCRkVPj33GVSH4rteYIAkale2rLW0C2leK2rVqKQE6Dnn7q40G\nboNuS/5H9mSQOP51EZxPQ4O9/BokPJqO+rpSOW3OvujC84X0SgW5d/yuvB17\nyhqd9iUjIay+uvdKJOYn1MEWF4tBKq/RUve0S774YpEKw1sKVszaqQmJwi0J\nl+6wsSdF0tgK8SCVDvj5iGPXQCMMLuA1pbJoZEa6Xm9K7KuSC+16dKuyc0+D\n24Ky\r\n=vamO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCk6NKYpdU0uqfrzjlBJ6Ushl1IZgtzPAJvZOfEkNmUeAIhAMLkx/qxoXda20yr8TLc2uIEtT8HIv/DSq1ZmH31cSCm"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.10-20181213175517_1544723808744_0.4432948403750987"},"_hasShrinkwrap":false},"0.9.10-20181214174013":{"name":"@accordproject/cicero-server","version":"0.9.10-20181214174013","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.10-20181214174013","@accordproject/cicero-engine":"0.9.10-20181214174013","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.10-20181214174013","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-hEl0k4VNFe0Ky0mfdZamGDnndCafE5q25npVHhzm0ee/AelqlYPVokwefkwDBS24tv2dvCStbdeWUgzim7mcRA==","shasum":"a73032aae6c41bcb6bc093770bffd73fc8ed18c9","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.10-20181214174013.tgz","fileCount":30,"unpackedSize":50063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcE+tZCRA9TVsSAnZWagAAvLIP/AyarV4SY4MGcq4y7aKc\nWpgctvpOKlPnwmpf0ugyzYMtMJrkIQbL2Wcd17fgbZiyx6cyx6fqHcDm/m84\ndr5g/jUEahNwFNnZDkm4yhoqYtLFNgQhLaCpqjN3rG2xefCHi3Y++VJvgOLM\n8HrZzNjaF5oC+Gyg25nicfplpMe8QGEcUSqGgK3MBjd10tg6r0yIEqCwwgVC\n5686veikG7vT6N6ERzHhs8uWYXqoqWML12sho6A+zmlmy6cxvEI3uzF+qn6n\nmMMcWDpe+71EL6YqVVCX3/8g9NUFcLu0HBkK/DRt4M+dnQ4BlWphXc3bMVIA\n6j30YHjtM9IymeX3tCEgcpXJ6F3bk7wC6qRQQYw6wdjXwfTbV8bGagwvbJv8\nOHu33doxgkZDX/zXdJaDTf1Ll7GsvsDDjjdwj9FyiJo5WF+dnCf0QUt/H6W8\nnpUnvd/jJL1avRIOQMs+0DZ0eONEfb23AUJBllkt9EvW4QJ4LGNDyf81Rlxl\nHd5w3BmCfFDxTC0ee9KNZIIsU4wF+S8MyFvEWlOh4PSigUuNQpbLdj6vei+B\n+0BqZxu246p+3EgLi6rjJJNbTj6blzPucAtTDoK4EK+FzTZMLpguTMbUVoUW\na8LoDAXW1RFi+jg3Kg5BFnqY6QpG42DKsSquMAKIohiTr6gg5W6yCiPZl0TM\neRGN\r\n=mBzX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBWhAmXBWpGwKukO4yZc3LFUTLgF+O3YmX6df0KsYqFhAiEAyIxproLNuHJMbkUGwEuMRHavs5eKlNrJ5wZWOioWoaU="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.10-20181214174013_1544809304532_0.5174402489235639"},"_hasShrinkwrap":false},"0.9.11":{"name":"@accordproject/cicero-server","version":"0.9.11","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.11","@accordproject/cicero-engine":"0.9.11","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.9.11","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-2EGXYJYWdWLjLMIP9i7zsqyPEaK1ECCL3TTt+wa4IRmS5lpmFuo2h7SDwaAWimnX+WepKuZC4JuuviO1uuBtXQ==","shasum":"59448dd57ae7a209156ad2b2494ad864110ece48","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.11.tgz","fileCount":30,"unpackedSize":50018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcE+0eCRA9TVsSAnZWagAAPYkQAJ+t79Nk0Z6pd0PO7Jv9\nH+ax1soYylUXsvV/YDDe3ewrHu6mnlo1QkP7/9QVmz9NegdCSg0GZvimvCOl\nyJj8ttJ+MRJZDB3roifVAe914889ME+v9O2jgAx4zOjx+YwO9iXMH8SlYFAx\nIPXdib+5QO5JDjovO8GyzfZlS0WS3Y3dt/Xy8lcgbg+AOKDJMzhLwHHAcgS2\nrcqvcbS6dpkCJqRD7V7yiwEQD8wNQgsHtDULYshAbzM3mNUdCm8m9aURPCsF\n+w8AgX+SkzcoEVlebG4J8jzR/hYmXJyNw29j6tZl2uJqpyWPLjar7ilTo6k1\nJFVHXFYg/oT3QYTnVAxIuu58l4ty2pHgnzqvsGLEjXa+7oi547uYi2I7VvVw\n25eB2n3RTzTIaPbTG1K+8mRZBuiL4AGZb6wxYAWGF/ukQpSnvADj7v+R164v\nuIg1mU3H1AQgr7CgHKyPX75HAhjiqYosMy+3+OCji/wYPZjJCIedZEjtrgPR\n8GgCtIliAzeE8KU5vq5HS52EO97p93T4R4OqEd4k2EIZp/Fq7k6tQnar4tV2\nKQCilGLI+qh1C7tvojw/Wrj0wc1WiewfIDad47TwmIjtSIQOVclw2ZnXjfSm\n6CVFZ4L4pYq6NN3QL+oLmp56eWfyIAbNkzWbnU8t2mMQbQNC8+gclq5Cdf0N\nasCZ\r\n=WMSo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbkCd1XVGxo2wDNNuJli1Xqhzu/XUFroYPTFbmERv9eQIhAOGEGYTW31vG+/qIPyfCs5IKw8h63KX4JEjLZCiAT5qR"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.11_1544809757536_0.5622629107417967"},"_hasShrinkwrap":false},"0.9.11-20181214175457":{"name":"@accordproject/cicero-server","version":"0.9.11-20181214175457","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.11-20181214175457","@accordproject/cicero-engine":"0.9.11-20181214175457","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.11-20181214175457","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-48nthKGNWCSMh9kKcWs/oxrjrXraF/sLM4hzKm57zl4BTkc2Wh7pqIEe1j/EQroPy/5b+IOZpTc8QFVNNv00vQ==","shasum":"7f83aa874e08c75dba92de5fac76b9c82430232b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.11-20181214175457.tgz","fileCount":30,"unpackedSize":50063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcE+7KCRA9TVsSAnZWagAAgcAP/jEB1MXTFecFCVpLOKfR\nbxXPravEwSerssXj5GwY9knVU31E5bpR/otZQyIW+T4R8QE28f2ypqTmFF+c\n4Eipy0GyLNu7BGZdgXjGMJDcF3jde18IabdLLZDqm9NakjPfTn0u3Vcw7wp9\nKczmvZ5hgz/nt1E6/9zfqy5pA4V9pn5uxo7f39GkjM53uXS1sNqX+YGvc/9V\n9jbAYuBp7keDL09d48VV5kgVxhwlj737r5qV+O22uR7GpZW0oC+57MZqocMt\n6nfvRR3Cx0034zZNLyof+nijsXH87WDKT4brlcOeb4v5XQGpVPEGkzbPQWt3\nbccqwU1mAdr0037O/33JtP77PoUKRp/m0JQrmGPPjY8GWfJZ/n5OlRKHFdzK\nmMyS0EbEOu74VkNCJvD8d1tZuPW5e8ilmUgnCedW4FGy46SVj5HfSRDzeECv\nYL/g6mXhY/bJTTwIgnc3SnS+jq4/6nWFlkHeH+37pbDDRcawI8U7+4Rux/7e\nGLELXdzr+kDh0NWZgAOrcfML2nqAwpE5TVSsdGP42lXTar4K62KMKaobE3Qh\n9t6qpoRvrE1j7LSljssSy+94QUyJwYLuBoy9im/cJ+kbK8ud8eRfQvLZNN+O\nSfiNkD/WPpsLJ/p9lH+PtMxiDZxg2lhgQP8/bMYEE+moLvWvVOCezuocl627\nRdgV\r\n=BmRP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUSuQn4Zknm0dbktZmLJfIHQtsHtFcXOXQ/QbGPIcihAIgRlpjpCZ6VLpCv/hLbVOyQzORuX8vzwxuQ1b/MM14qY8="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.11-20181214175457_1544810185808_0.26671885803131734"},"_hasShrinkwrap":false},"0.9.11-20181222005712":{"name":"@accordproject/cicero-server","version":"0.9.11-20181222005712","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.11-20181222005712","@accordproject/cicero-engine":"0.9.11-20181222005712","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.11-20181222005712","_npmVersion":"6.4.1","_nodeVersion":"8.14.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-VxpPJx8kaw4/P3ioprT8FfG1ZspcSZiy6i+Mr3vie7RfAC1UfXHhrbJapI1QJUwp28QvhX04tvSo6vtqrAGfmw==","shasum":"6f35684612db972786cb21cc3c943883d779ec1d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.11-20181222005712.tgz","fileCount":30,"unpackedSize":50063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcHYxCCRA9TVsSAnZWagAAMh4P/1yRkSbdjs+vH/aUKEMy\n1JF5Vgo4DNuNJ5TNhi53uCaGY/q0me7OjugtCsh0Xu9qbOBuaA7h21n+hfoJ\nmooS+OHoHS42lRPB+8MlbtYLHWedYMpGRwmHCMuqvNCmtzo/BEr9Wg2D/of/\nGom+4ne1HcWaEGrx137veapG7l/3XtES+izDUWGyQCXsUnfKZJRZBoJjp+pG\nDhrM333x2IPpFGqh2cur2P03GJvFsrvYnW3bis42+UuD29YDhRcOjVlNXd2B\ns6o0VLO60wFucAl9EQMor3qCiImfD6cQocwTt1wB1F0JnXk0hc5LKFqdnA2e\nqYEchFHCWaaFRtMFqv4RFaeL25skJ36nGU2LzTI8BsiiVZGAoJJ5NXUc730B\nnW1fVjZcC4UybNINmhBiwkVW3cuaFGOJenXwmn3OYlU2KL0WusuoQylZ3OlV\na1LliYLyQ6EPuraEwlpvf8VCy/8A7abT6OwvY6ArKvDW+Yz3rzFWkv+2D/bU\nZaW1IyBElC8zu8mVb6w8AGJG2UUPAGMsBbxGx0e8bW0NumZSLqCLOdskVdbx\nfzqCeSKbhNdHrN8fm5TLFk60HhyBQNLxAJUhUpQWAQdhSfiMpiLJgZqVb8fz\ntgfE2P7LwoAaGb4NlAM2ghptxL55osdYycPz3zMThCsyMddr/EsMFiPVD+yD\nwRRG\r\n=4wXc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcEZLRvwsLa9UuYECZb/Q8wgHOWM2I+OsPrJFnaywknAIhAJ6YnWoOuetJaekPI3ka1qycsRnN5skKOK2+l9Bl9DMa"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.11-20181222005712_1545440321836_0.9142813566519665"},"_hasShrinkwrap":false},"0.9.12":{"name":"@accordproject/cicero-server","version":"0.9.12","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.12","@accordproject/cicero-engine":"0.9.12","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.9.12","_npmVersion":"6.4.1","_nodeVersion":"8.14.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-3hieRleD5ISAG9Nvr8A2L0YZw3idZGjYjGTx9qU4C1ePWoq0YWaZzh43+M1gnEBKfs5VjugPOWyViwV9pY2+Ow==","shasum":"822c2477f3adc25bb3485cfe122be763e53a1685","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.12.tgz","fileCount":30,"unpackedSize":50018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcHY4DCRA9TVsSAnZWagAADcwQAKDTCPuYVqurPaAE1H+p\n214NHxSj7l3e8kfEvpEOjo/9AIN9/yH2Ul0p+TZu9U9z69V8B/iiLXOq2ibq\nXzXLXKK9k1UrwFVzyH7DpCVRYY1GrBQad7UOyXyOox/3+AKdtI4Tiw+g770K\nU35avDw22V4zCh8NsmOIQMsNTYcDAd9t+KFtnlczSl1kVRtQQZNCJ2lDKS5Z\njv1doS8HmDs41gxVXH9SB8eCydaDBeaO3el3bN5v4dsv0d/LfSVbaoOY0zZM\nzNM3KxzrOQuUKwCHQ3SkuYY5WG3x342tlIbvnmrup8FP+c+0qgD6ZMpaStLY\nKTJXW6YCpiCQ5bbcJUgFWsifINJbGqQUh3F/su/Era2PRELdgIa0e8KPXaeq\nNUaz927M99g5hsclxiVTJBRiJbrPvM3U6oM7bR4Y7nlirkFgXcIk243LUs4b\n+boGzOzv4emnldTLtKxKUdw0aNGWeWlHmXHvTqmdhe09a2fZwFzF6ri9G3aS\nbx1BGuvvzbLWbvZjJLkeK5Z4Xre0U9Z3WYj9i9T3Ijqx41Depk0zzV7RkwPS\nTYer9gkaRa4Nksgxn4BpLWHDsRq0dWrWtPqfGgGXjrYV5k9RRrLXEPmhpVub\nJ0q14JzBQOGjajtwpa5/rprN4Q8sU00yieA+DkA3mlCX88ugbe9yrUZvZ7HU\nZhjr\r\n=OUST\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAvVm+YATWcObF2WItSn+VFjbq6d9mRgE5zGaDRwqFE8AiEAp4qove9K9LFTyuZ9KdWfkRjNFjmxUXNUVipCQLqo09w="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.12_1545440770554_0.35166356318300473"},"_hasShrinkwrap":false},"0.9.12-20181222010948":{"name":"@accordproject/cicero-server","version":"0.9.12-20181222010948","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.12-20181222010948","@accordproject/cicero-engine":"0.9.12-20181222010948","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.12-20181222010948","_npmVersion":"6.4.1","_nodeVersion":"8.14.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-GTjanLx4hxvvGPpXy2ytmAC92Kcn3Esnr6ZY1OMEWrWHkv/0LEtiGRfevIVVkLdkXghb5V3VUKhN2+vmQ9EFow==","shasum":"d2b4844e9e7328ebe7df211458e6acc0b6d48ff1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.12-20181222010948.tgz","fileCount":30,"unpackedSize":50063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcHY8zCRA9TVsSAnZWagAAcPAP/iT5Zsaff/iu46cLO66m\nH80OR0zRUY2aXCcf4tst637Jyi0VD5pRRZiiSs20FgBPbGF1z6gZkRwPg7QM\n5anC3LpGE3qWEp3RyEbvUwRfs8nbJU/A2I2tkginspI2VDNPPeRJO00FHALf\nghirLj7aQVBnypHACrtLbZh+SSAfk6cET3VLKu0Y6pAHsc2oRlu7+sfN50Tt\nEctWifm658yAui0ZUCPy8An787tVacfyLNjn4yUZvdbEsPKm9txIc4124y5u\nPBubBN/63t7bM7zrPVYQNYfU8MnW8kLYAt8t5Gk7cohpuM3OpjNsIBJ+XEWn\nAEB83jNpF4XJz3pokCp+RcVqHJx5CbcrlTsAT3hwdQTq+xCzQnGB44Jjs4wC\nQHmZkyZ1Ak9/LxuwKm5y4PFIn2hc9usMse4rcFb4cW34sq3Fl6iKb+HGWDDa\n0k/qZQ3AhpBzD/ZW0qTJXUM5ucWQDY+5HAdT0TkmY8ybAnyFm3Mo4TC/rwIZ\nOwz3a6mtYt/sYsWgfQ5TxkdckFVvxInt8YbqY4gKU4Z3Til8a1z3uhc2q86e\n95mGYK/QMNGSdMhBcCilbCj4Hf5uTM5RYjRf9PwOxaSL0+sgkQjzbcYZWWF1\n0r2tx1L6pLbcOabO/rCzF9We9sgUDmgG1SUMrKLWq1LDrbyg8pZpR/muB64Q\nGqAd\r\n=AnmV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkjM4K0YBXu/FEUvrHS17gfXNcD1KUfEUqv79xS+Wj8AIgImHXG5fedCuqM/9jGtyha46N109h05zwYizWrWCboZc="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.12-20181222010948_1545441074335_0.31572013484726047"},"_hasShrinkwrap":false},"0.9.12-20181224222011":{"name":"@accordproject/cicero-server","version":"0.9.12-20181224222011","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.12-20181224222011","@accordproject/cicero-engine":"0.9.12-20181224222011","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.12-20181224222011","_npmVersion":"6.4.1","_nodeVersion":"8.14.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-pwrzNF1PspgL61mHej2/W7wTqj5WbOvnwIb2ggTpcNnZNo8v1GmQbNCOdpr5rp5rge2xHVZvk29rD49bFfcH3Q==","shasum":"45e090c2db118ac205bf79d78c08c42ea96467d3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.12-20181224222011.tgz","fileCount":30,"unpackedSize":50063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcIVv9CRA9TVsSAnZWagAAj/0P/101wk2bp1BrSyIaZ/HS\nFwsZhknCtJHFtgCEVdden2awDPfoLCXmzy0E20q0Z1BlW1X8Ta3EcuYnuUyY\nomuuNbEYtbg5BptQnrOXg8yDRsQDS22QgUIgNkof7KFKeIPtH6OZn3JloyE4\n465RpfvHQDfgXWPErofGO4+F7Hu94qgkMJp2fnlt2Fjm4bJDuOBVSs1ETS0v\nQuwD9Mei3sq6tIr7BAvO1dQHoWPSxNv5eL/0hwQqjklBLGGSmbKnFcDzJaVV\nClzA2s+/dcFQY+VXtmLTUXHto4WYIHtJnuvd6O7bqG683NzdZ+zbOxc+hmB7\nVFZMYDzMstvVDXk5f/Cb5yD+xhXthIjo2v7ZdZwJ9cXSIZPiFyAp2/cvuOCD\nMyL7McNCed29OgVGjbO/KfF/b37wh/TkxX4+w1mcbo0/iaq65d65iGEXZ1E9\nkrgf0q7BZUp9GuCCGbgH0RsvadlrXxO7RuEEbEUDDT5C0HQFe4aAH4r88VCT\na1P/SXwAOriVEtJObbVV2YzR09WRttFPapqALQjwtd11M4K4x8lNBLiJ2qMa\nVT2NCV8rlOHDM5VK7q8YkhRELYFDAhzEG2ybNe08UpYOnjjNWQQGlfQFD3gQ\n4yP3bxcucZseTa1wxIBaDithho9y1MbV0N1dlKV2iCgGcSRfofypRYLM4aOt\nyPaA\r\n=KclS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBoDVTlgZNiskxvh0reejLnNpHK1MVU7QVd/eVCBiqrgIhAIPgFgcpksjJckLGuRcXFfR3R2N6nqgxmDQDhzg/ezbN"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.12-20181224222011_1545690108645_0.3451322859587693"},"_hasShrinkwrap":false},"0.9.12-20190110161737":{"name":"@accordproject/cicero-server","version":"0.9.12-20190110161737","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.12-20190110161737","@accordproject/cicero-engine":"0.9.12-20190110161737","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.12-20190110161737","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-vHo3ZD+YA+jAziLSnhsO2MbjOgxRz/SWL3SrTtsk++Og8fwJAklTsgWeRohuYF2yJ2xsxjXSDA7W2J5xQ8yU7A==","shasum":"3c7f63ba84804175d58ec6dbda4afc5768c4079c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.12-20190110161737.tgz","fileCount":30,"unpackedSize":50133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN3B2CRA9TVsSAnZWagAAiZ8QAKDa3BFCwI6czTQI2P7a\nxXb1hdRk/8XdwQdpTZ3kNIh5fiE6T6Cyoz975YTkPVg12PA1jypVxXe/4sRU\nLKYrqwiQrSaEXvZ98bcCYnG7Ny0413qtDHNU2fkSMFBl9SWgiUkzMZpmIFiO\nuef1vSx9nTIE27+VYpvClIDcC2sgP9ATTbWnaod2o6AgCdGMwsVvhS2OYYx3\nOGRIdGf1wjd2tMuVynrSluv9TjRh6gHyoOiPRHsiYXnQvLGVFmGgYjfh7eyg\nqXw6otMAoELHhfQJjw/LJpYrZ5jNSDSPx0y0SgA6cOkeFQKaNyGzQKKdTqx5\n2o5mxtq7Yue0rO6nrvpGFz/seQ6sTy/v2A/4tLsTvGI4Zb2UoPu73JWMUQ6P\nnOW3QzFoPfazWwLD6QiE38/dQ83In6Oy11O0+geiCiQa3nb2Ks3wT8/YCExy\n2dcJsUb67TdWM/Mv1wMM0VxC1X8ZmUQ4GuiZY7J3Lp8WdB92AKMrzKw4MW9J\nmqQNr1s/VwkNo0NxUEVTowkjwrziewrF3jqNT5YPEJLCrNeZZbfjGA+nU/Ub\nAbGWU6Uyn7FWe1S6jj64MTE65mjHvqcWfc3cLz9qlPi9HZScmGIS1fExQvQB\nZgN8GvxABLqNiAKTcI3Q9LvT4QxxbfgBj9Gz0KK0/aQrLkU5HXsIdGHbJtkQ\nZxb0\r\n=zItZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEvZJXOeKBFjh/WET6mdXv193Axw4x7rCHPepAlvaLLUAiA+c79mBjJken5CKhG24T/r36fX02nIR/ZaX/CJde0GRw=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.12-20190110161737_1547137142166_0.8414490703033786"},"_hasShrinkwrap":false},"0.9.12-20190110180549":{"name":"@accordproject/cicero-server","version":"0.9.12-20190110180549","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.9.12-20190110180549","@accordproject/cicero-engine":"0.9.12-20190110180549","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.9.12-20190110180549","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-wEJLC+jLbm/cUyAgMXvDXoIlF2XtktBodSJo5TikeA6N+G9xRqMvKu5QpxODDfsFKPjXagNKStUcyGelUxTIRQ==","shasum":"62ae4a1fc75a7918f97311d3d79aaff1aa92504a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.9.12-20190110180549.tgz","fileCount":30,"unpackedSize":50133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN4nVCRA9TVsSAnZWagAAukQQAIsh7ArS0tVgxmIkyO5F\nNtf3JsXAMstK1RKC0yIzHSQwbknw0D3wNLigcxXnHycTemySNDqgDRX6jSeP\np+QadSH8pKIazVO/O/IiIO7bGtJsukQb919Xe5yINY2ngwEtBNmBe3ZfzV4o\nmQU6EySWHR+C3u+oN4u/xxmIU5JHmVDokpQztZ0pmUzLM04k54yxxwDiwiS3\nS03mzo0m6U+ZV4S2A4sw2CKBD31rbCpcFZt8shwK+Tr+3tX8GrQelg5VyKpS\nZJbTgLuctnqXZOMEmzzNk6c3qa7jRqouSV4N2jjM86y1Rl2sfoHptAI7WwD6\nPIEGi1h7rHxKMefsQXtiV1k+D+pJifZoBahQ932AQRyvRs/b4nbrYQA7FE8Q\nLJwF9pSP8PpEP7ccy4CTz5aQU+tH9Qpq9m81+OnH0Eqt0fJsbKgzOfMGDVF9\nEaO/jPPiRGatSu9TZZBpSAHkuvnBmuDC6PLoeWPlqAEicyIjMmZOx3lpoSf9\nsZozyKqu0kq+gfO6wzEHvSy7Ew7s9IVEMW5Ao+KjvRZISlmETh+FU8HDg0oQ\nUs5Qb3HfGv+4EKo1aOsZVtelioHrBFouX2+pTW9zZCmqHQZJ+5MmHwHIhoD8\nu51P1kqkODOYYqUlcjwlgfk7fsvfMKchBBjIjJ3kjQ9s4QrucRUgggt1hpq0\niM7F\r\n=zgQg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6vkZBuCEPU5I7UUvjpnbv5WTGl+NBkK91wu1zmpwwOgIhAIlq19RmdNajJyqutTX/B9pSQGxXRqQnBgY9HEYC81yl"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.9.12-20190110180549_1547143636832_0.1098848668592114"},"_hasShrinkwrap":false},"0.10.0":{"name":"@accordproject/cicero-server","version":"0.10.0","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.0","@accordproject/cicero-engine":"0.10.0","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.10.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-GGHSqsrEpfPJbHy39mqrKwuS3hYBnvD2q9ebAKwpSBfCghfX+XPEAmgo5uknM2SUy0yJF7d24GNRONmbtROyqg==","shasum":"0093ecf9f0ad07322ce971b6245260a46cfe037b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.0.tgz","fileCount":30,"unpackedSize":50088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN5OzCRA9TVsSAnZWagAAbisP/29bLuyZEA5JMMXvDkWG\nXQBazz6OGukIJmrG4YY0VXC3Vg53KJ3CMRm/FZ2p/hqSY1XKt/wGIxjkezYX\nU316lVQ4wcsrugg0k8KoWG5uDKrc4504zYR38rdRpbjahXojjQfG3QHthLgq\nTWNXa9YTV1Vy4/ybIPyR9o0YPACzj122yjbQzAi768linFKUvt8/rQsl+T36\njN5N495/81tve1y9FsMSv2z6SJMjl9+otaaSVfEMwRZPzJzXc7DHpq3Abs+9\nDi7+eIbAcPKtbphU+hhlbHdwvQE2E0+bgprrGioV6libedzG3e6ESSdEX97y\nQ7kIIWoDRyW4pO1tnYJSSzL5Z7Txs27q2Rg76lHDh1IaJwTMhAind2MVKUfv\nQn3coGQGaD+03/OeLxspdQ2hdTGv6t9vHTVaHcIiTOM5V5NJA7SE5BeH1rVZ\nj52ojcUxtNl/U38rwcp5RhbNwQCyB6knfVUfdp4p/MM+TX1oz2QHvt2mBfkm\ndEcF5qF4PJdMge3eRSGCxEl1tQz7wGUAxD8komZF0RAm+to6L0BjBvw5Ixv0\nWGDbuWwS3NmmruZ+eRBalJuUxj1ywdqRPV0KeKMyhwZvmnJ2LZcdMuGf+1EC\nAjzt5JyKgQDi2Wy+nPTPopSetrRAIfm9c9VHSRJYqbLSRykohQ3JKyqMJT0L\nUrmO\r\n=8kXe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE9X81LCPjrclHtnratdMXEBwlybJ5TH31Px5Xm864JTAiEAgEahHXizv+PPPBZTmXMKfpZGU5Lnfaql7iDt2XOFZjU="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.0_1547146162925_0.04880050573590444"},"_hasShrinkwrap":false},"0.10.0-20190114152041":{"name":"@accordproject/cicero-server","version":"0.10.0-20190114152041","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.0-20190114152041","@accordproject/cicero-engine":"0.10.0-20190114152041","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.0-20190114152041","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-8wqnMXeYGouS4ksuEfSAaq3KQaV2y/8I1fG76+/l5DipVkwkhXG/pp7CynURt9AYlLNnooHEd+O3NRK/O2PrNw==","shasum":"6b96293b474d0fb09472787a47fa990445d0e237","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.0-20190114152041.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPKkiCRA9TVsSAnZWagAAaY4P/2A318I+KSKuAw2BhIOl\nrFGmLNqu4mfpma1GMTLF6WSlaBA9HPqbx3QutPy8RUcJ8apPTfh6/xNHvDD4\nQpWk2Gae+2G6X+B/9k4yYqz4T7F7MqUrCuWb1TZweRb0gei/62KdzSprRj5m\nOEJ8SibqomJ0MXBwOI3+7MEQwyMIWl+2HBen8whvbJ9x6I3eoPbu/34tmTll\nMnrEJaDckvQxdgoqVtQ081KjAqtov1REC4D7S+VwgYRRG3fVYDRWCk5t5kA+\nAUzaNImfNbMA/QlSmnsP7LlL7MBCEDU21dbPFvl31yaBGGTP18oxdEAojFU6\n0Qo9H0Docm55AOAQKHiJrxlA6BfNiepoW+Z55gb5EItMvKIMdGwF66P0rG/V\n6h/4jMIuOELRrBh/5lFuckpsvOBb6lHoh1eCUgHMYz3Ct1APm7XncBZnSBYG\nO9C4TVKL7p1v/QIJVNaoWK1OBVXadaN4owPNr98jIL13ENYjSnw/NOBu3ma2\nBDAaXk09ciN5XnKlStAOglUHphOofLBDMEPEt1wEQnpE0mP06Lnbf6YMMRU/\nphgklXgCESP2pF9TvQNOndmTDiz6zUQar/0Bdi+Jf1DkqmPaDtLXM+47dlgZ\n9b2blrGw8y7zqbO9goSTwX6zIffu4Uq08MZlOs1MpLh5LzlFioZcEtxMnnjy\nZF60\r\n=xkQe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDeSZVevxHl83MkmxE8HbbUG2p0jtAx3kmluKyZ6pIPjAiBZrX/rtvxFqjb+bP6hREh63fyCYfHIOaGrJr3NKNp9nw=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.0-20190114152041_1547479329322_0.5138087919556864"},"_hasShrinkwrap":false},"0.10.0-20190114233635":{"name":"@accordproject/cicero-server","version":"0.10.0-20190114233635","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.0-20190114233635","@accordproject/cicero-engine":"0.10.0-20190114233635","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.0-20190114233635","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-UxPstJHWxDqX2737qBtkZvQ1ec40Vf8+RO/VClwJF2zBdynQ7dnwhDCdYfUpKuJke9Cj3FOT632Ooao8e31QOg==","shasum":"36e5c451c38221ea6ef7f1ab9bd5f18bd5a9b8b6","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.0-20190114233635.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPR1XCRA9TVsSAnZWagAAirUQAI0TfKaGHHCTUQUvyoBa\njODF5xvdmyVqQhPtuQQcvk7eZMRq1ehBgn63nBnZ21zxsMwiodN3SLsdwpqe\npx21W4zDpyh1sR81NPcs+G+Zx9O+xky+vU9VeCH4oW0mndD6ct+jb4e5otl0\no1xlIiXEI4k2yiabl1UIz1IbT/zqDKOsHXI6sAeuCYNvxD8/1IxQO1MMQSZA\naSHajClyl2pjUzTjNgJ7A9VQavPZ3cGTC48sJbXjEsKBUG+qSFNTTwzTsVkC\n6p/4meCwokAw1HHYKwhDIILtQsmNz6tqs1QFdP58kX6RxvzlTuBaujVwcsEb\n+YSoM6/v0kOkGfynjpac6trFJEW622dUV+4LPJ3n9Ansv1Ol3F0Nizab+hSk\nm/4WN0yaHbg/m15DIZOLmxuHqrAUltheVSWMDNYzGrjOR4t1wMBG2bL/5L9y\nNUG5P1A6Ttd3z0a4MtUpmLiHyUWEP+2+/pr1/JxXLGF3yASImYrSVOXba8nY\nGp+O2sUdB7i4J6dO8uPYzSwggpNB8j71NNzN9OY19SRAHVotHcOOrkRG9O1U\n+ioLHcgrAfFZqjP/ts0M7EuK4bxPiUgSmjjKbGDpAqJCFrAyZgID6/SSi+Ez\nb9sfXFSlAsRvbVD7WNksCZd7wPXVxXEMxMyAK1/luJfFQAEdHlqJcv/M4m5t\nkCwn\r\n=1mSd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGN1hz7ElD14c06kx9kD4ysuRu72LDxjTSYw9q3ZNLJmAiBkkIuydfzryjIaFHZYBKbI9MbBmex4sKEGXD334gTPbg=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.0-20190114233635_1547509078846_0.41413312234634136"},"_hasShrinkwrap":false},"0.10.1":{"name":"@accordproject/cicero-server","version":"0.10.1","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.1","@accordproject/cicero-engine":"0.10.1","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.10.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-18Mpw/zH8vG10O3ZhoZrexytf6kr0c0Y+1PLd7ye4YOZO4wQhYVnLExBQyff0dBLEGjhYS6tisFfBJhoV7L7kg==","shasum":"8dc911de77cd50cb2ab252743be391a062c8295f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.1.tgz","fileCount":30,"unpackedSize":50090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPR9pCRA9TVsSAnZWagAAsRIP/0+BECDnvsf24AfmTdrW\n/0uBhdyCmu5pueYfJVsmZ9k2FtDWmxb876VGTZCVlmxewnTUKarpgc6AhwUc\nv6ggWtLKt/e68HnwHZkJCC9C6vjwkcFndZrw9/TFiIN8xRWoJaIu2ep+oPQ/\nm0u7Cf8MfTdeiaJ486OvTa2roc5vfHnrjv2xKEABVHqSd8ZUvMeV8Os+klEY\nweMDfmMy1OpGKXIcP177fsMeM636wJjakT3flC2QuFMTeWBA2yVVZdQNYJl+\nCIfR3g8ysL76qGlQo8S9wjkYer1xbLZ65Rf5wAW64MwPFYdFmvP5sAy8hxmd\nBi+IQtgqFv+CCJyDjyUGxnbK+hUB3kpqiQqPg1TFEjb3Tg+aoQbwlNRuVHVe\n7Pbd+zPsY9V7G7bK7yoaXAh/HqBsHuHyTxvdR24db1KEO45O+xW7lxtqJUj2\nnLpkpTa+NbOuaK0XLD2c35JKI3Vq1MiDZ4BxwWJfW49pqo33jJ6+Bi+N3Yty\nFxrue9L0El7YeJuiMBYiiwAY7qZa5RIol8/XWanKhTrZPZLWqOi+1Lzjz2Bp\ndoZloJmv+EajWhEAGah2ilU6jEXmW17cw4fMTsFb61aK7WTgXl1H2DjoUtlZ\niV6blXN4b/3VqRDbx/gWOeH6cYElAwNjGGlIGQGqY65FFP44MJL+6zgvVaOK\nK1EA\r\n=Jq8m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICxgWarkcwnVtZVECY9CMBWeHa0v1oJZ/kjkIFXx12LVAiAHxKSeINrB2b2uPlkeZXecDkkhUQ3TmXKtthbqTNPhBQ=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.1_1547509609063_0.6240322483253586"},"_hasShrinkwrap":false},"0.10.1-20190114235042":{"name":"@accordproject/cicero-server","version":"0.10.1-20190114235042","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.1-20190114235042","@accordproject/cicero-engine":"0.10.1-20190114235042","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.1-20190114235042","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-apbti5ljRA0jOr7XZ2BQa+d4j5S3gNIg2uM2uxRruALAoNUD2ouTGraZYmtrqJDTTRJi1WUe6GNEqVUM0H0OQA==","shasum":"c262aadc9512475e09e43e781e4a36f4ffff9707","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.1-20190114235042.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPSCtCRA9TVsSAnZWagAARJYP/2oMMymSRWlJAguhOXlX\nLNMyaQQ8WM8OUV+4xfcmkFITa1qV5fOOcDMKmdSlQbl8Do9gqEdbhuaG7uCS\nKt3X8EnnirjVYeVay0WDqlKhjtnQqn8LXkZSfeFJTpNruuf3zw0BQjwmkBEE\ngdaguA8jICGLCI6nUpvfQ7R+y/zqhgt8bmOpDF4bZeSI1BATmtcKJ8eFl+jC\nxknyfskuOrKsbbku6d1UKW6LVCBkrioZl7Wq9r+J9EEDq3Zcoci4HxKZPW6e\n3Hknx+kYOiD2IILEM8ixS1Q/xLl9PIldMJjqOY2WUlt3GHQ4GCQNawPqBxO9\nIOjNhdAdq505d7vQyFTDS5RBHBDC/Wv/MYWJia7dS4BwemUS9dxilF9NYNX2\ne3IpOPs70VfmKjWzenBmdwrL+VL8zw1tfdXYPoLrYvXAjV3S5p54zJUTUJ5Y\nawEjNPyCFmXY3YjUQmIP70FCJsuCADzfnX/79cq8NL7RazaB/NaqyIdZSrV7\nVuYKafGf/7hho9IrsC4/4CnZaVkTTwxJYJpvJS7cl/yiFV0ThdvqHPWg2VqY\nfpV/thBrJkkxd0HL8r6MuWtptseoN0JM5OQEDgREPdi5cReJSXne4V6FTInY\ns/R8jMopKrp+KMyh1CR9SSVUNs0ITtAsRa55zog+2kdtlYUP5d1ajavoI0lS\nGV1k\r\n=s2P9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHtcH7uKvUyiKoPyCeCjEauUIoZsaj6iub3xPLqdbBIaAiEAig2LO6ScHvqTS1Y00iDMbuLk/IbUN6uDGCr4kVNk0NA="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.1-20190114235042_1547509932965_0.6412230088389053"},"_hasShrinkwrap":false},"0.10.1-20190122220137":{"name":"@accordproject/cicero-server","version":"0.10.1-20190122220137","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.1-20190122220137","@accordproject/cicero-engine":"0.10.1-20190122220137","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.1-20190122220137","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-azoxh3NY9J/tu9VC2a0XDBxB0deNCmES5pXWjO6XW3j/8c82fdLA16NuZex6S0sS/5zkMclkvhNIeTfao/pGyQ==","shasum":"e27df4dfbd6a7e74b0e1db483fc290bfd0ffaf07","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.1-20190122220137.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcR5MVCRA9TVsSAnZWagAARCgP/R6V7WcvDhnsLnVICOee\ne9mNGyQwspP1etnXOOI3hnCm+XtmI0TwWiOOolEjMPZ7gjS1Wy7FoR8WTXD5\n2NLpt1UOGlg+pVoM1cBwpp7iYEtGNjRy+thTI51nUThzrpD3lX8UrnAbKsqY\ndy3BMc4myIh+/9gh6EqU6hEtaJtsvIl7H2VPMpxuHzS+LOxKckeFCE1Kug4p\nWg+Ks0J2gNeHj6sjgCylS2T70cRr6+Cqpl9NZxeFZ7IzhpLkuGeattoL1vpW\nyj4vqxQvoa19jZGIvcPJpVVWsQvLVlwjZPrsXx0JsNCdQpiTPukVUf1VfFKf\nDHhFtHUqpRWWVlo47i2z0EoAgtzlQj8DjmBzTc4JrLOmXTMaPIx0JYpysQkY\nBHlc/65YbsiRBw4Ah7bouWeUMj7WfNTZ4cp2RkFlpOPy1HAPZuMMubKOkfB7\nWPXefvJr07hN8TBFDU41/fTKvraNNuS4d9ocKUnPHkXZy/7RmF+IeipaM6pF\nC3Im8G8knETTGiL6x1AHiDnNtJ3h8GB0uAI+50DWqcL/bg35zeJpHMOLdcec\nTM85i/umMbuiM07ADnOv0QEdqXocE/YEdTrVNb+wv+RfDmPVKYcRGrmCemta\ncKkYo6lwXqMU4Ed0RoUUuhygiNRGihX+tvD+lVtcMAcztL+eWOp3Nuuq5U3u\n9Euw\r\n=iH40\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDirlRPfs4lUQytwktH4kxtu1xdZZ6aj8f09OiSxryDEAIgV2rTSoe3atJRttNULfyQmsxhJMntuiUYrKemSL7Mxds="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.1-20190122220137_1548194580793_0.9053421393183598"},"_hasShrinkwrap":false},"0.10.1-20190123170026":{"name":"@accordproject/cicero-server","version":"0.10.1-20190123170026","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.1-20190123170026","@accordproject/cicero-engine":"0.10.1-20190123170026","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.1-20190123170026","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-uHRnGwcsHlHjqjb02GjWRstJVe/gKhqqhJ+1l45hw3jvzdHd7DZ40EktSf5R/gUWt4i9d88NlgUiyqhCZw78DQ==","shasum":"1f41e6cebe3577d59b43f0aba7a6d4e157830eea","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.1-20190123170026.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSJ4DCRA9TVsSAnZWagAAAkIQAJJrgBoxPekKejGOUQxj\n86C1ShqObdlPxBIPzA0Uri1aq8p0noKRImRSim3Zhzw/WR+tMvMZOuz61c9Q\nXR2X/Z2mZhFYU1ZvNsH1EHoAd5kkPVycAtk+10EZ5xvUYuyIGHMOlJCn6f5+\nN2UUUJ30YFMlk8pgjyri2MY5JmWhp9t2+oqs25rjYj0UO+16vOsTpD8stKLZ\nr2PbXKvMJ4Wx8v0tFwNfA3WQeUke7pwh/KyXMhq3kDKo3NoXkmAKvkVMB+WB\nCe6Pcbd4R4TzlPYRzub5uNHdbbfTh1GF1HdJO4isLVRICRGuIAgHa1OoEjTb\n3t47vz24PKUy02NToLefZh3d0GWwu4G5MvT+NOZZqd9Tja6ykJloH0t6aXoW\n2Aq829MJxbyziojBdXT5RnAJC6L9JJL3jf3ETB0D3NlnkE+ueiRSiC4tOHE4\nxOynj/shA9pqR4EEy8AsuPhHZ6s3+SS5Y5P1kowTi0XG+/hf9ipkoj5ZS0L+\nIfP2MZlnC4XGpKJZNUyyxAKfuPA1aT/AMyOceDPrMpaGniy5CnIZDUmID42X\nov7FWN+At7uwSPzQaZEIT//pwLmuTShrCLqe7kqId5ML5wzEoygbkWbAQDvZ\nm382Xyh+kcgTxggV3evVl+D+YVg1nGIxz3uSq3Gz/iJunkkWPNx8cyuzWmDt\nzebW\r\n=pNqd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGM2wWAC0DeTa6H2866kfix8mQ4gAE49GswlbuGNwavzAiEA3v1P01RG7G0M91mg2jUoaxU/s9GNhHpvABqAVcPiVJE="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.1-20190123170026_1548262915265_0.5478402475030415"},"_hasShrinkwrap":false},"0.10.1-20190128184409":{"name":"@accordproject/cicero-server","version":"0.10.1-20190128184409","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.1-20190128184409","@accordproject/cicero-engine":"0.10.1-20190128184409","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.1-20190128184409","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-OAModnQlS+Tpj+IGMkclfY32KaZgzHcKfWKF1GiwRZ8Ek6E5WjFQmLy4X5ixpglW0DzU41IAovprSi+wCldgGQ==","shasum":"efb651907820befe228aa912773be70c2c5079c4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.1-20190128184409.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT03ZCRA9TVsSAnZWagAA84AP/27fwNhnyL39V3NKuZie\nSh9cfpZQcF+9FLFPG5bTlwdZZgCcAO2x1pyxuB2VgsGovXi7kS75VdM5G3Bx\ngiHywMaIQD0nIonl1tKRjHKs77WiZ3rC5YexGOe7UAl6M79z5fWdfE3Sn6l/\n+7aWuHh8tNH56ls5zktTlOHnY12udKaIpjM1ze7WOKlbAjzT1QTtyrm34Sx8\nGUTlDd+qiIz6fke2ZdJo5Ejoy8b9Im/cGbkPiBjhweimw93Ub96uo19MVfS/\ngpvFx1Sb4zgie8AdNP3j94DEgyMlmfzU9F4qEIxGrNhkmGzp5wevYbs+gx8P\n69haTJf+PBlT3eo6Q1UyF85fPtOl7GETxKy7t+cJrNdyH0zy+ljFSkTHY0At\nZ5rwxBWqLb5wKOsDBxZ66TX/CGwU401O9gJycBx1SZKdGOb9NZa4d/YZKTv/\ncnNzWgYWHYScPoxnJDKhhFpusz4bKhr4/jngUeU//5HJcuJKF13kNYFJhiUE\ndoAP10V3g2GaxWp+Ju2Y3/SPXEcjvktdeNe0toRUDHrgqbiDeu76eZwRvHBS\nxuJPgeT9K7c/6T7iad/MuHoYmICzivmVwv2oiHr88Lvj/P6T5x/QpXDe33/7\nR3aA/bxDPJG5MqLAztk5UDq7Hqjd/wTc78EicKE09o5553w6cOb4PYADmFg/\nu0v9\r\n=TWVi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHGSwPRKp3Gm6EeZV+4OKyoIeBygRq+dwCqV6MKGoFDbAiBlEbOoocMGCCB66gSk5G3m3vXZarsrl5qmem6zlR3OyQ=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.1-20190128184409_1548701144606_0.7664447524095055"},"_hasShrinkwrap":false},"0.10.2-20190129142217":{"name":"@accordproject/cicero-server","version":"0.10.2-20190129142217","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190129142217","@accordproject/cicero-engine":"0.10.2-20190129142217","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190129142217","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-ihW9WyjopUDeHrBqSr229fE2Nx2x6m1/ciYa2ROjo3Pyajw91ZDEVsBmppfBWiDbIMCTyxTZYoqeHzfypC2jlg==","shasum":"b244b2d918b8aeffe118d923e14d145f8c667a67","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190129142217.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUGH+CRA9TVsSAnZWagAAZ70P/2FDph/dZWGNCE19X7b+\nnsg7j2BID9MFsKEvR6eJ0zV9snw3EyyoE1/rJS0h3OgirzpuAlm+a1slRd6n\nHZ2ffiTN9IAlaWuWrxiGpMkzp2QeEb76kVz3RmvS7JrtuxWwhY8zcFEu5acF\nsEQ1S5McJN8JlIifi8Pb4gC+LP8CCL+4+/j22ZHD3qNC+rKlDh/ognqIpcyt\nzOUXvyExLhP0mTHzB0W/BU3wOHIcAQ6Xprep0Og55eSAXPXw/mSC/lBSX31q\nY5bVcBz7llX90X7dpe3/2Gyy4qxKpW6Sbg4FOSNIWT5lW1qAt3d4jRBw2c9f\nZhlc3T6t+iduA/NVPxpZmkKwzzpu+yypsj4Ad+PkGkMbGZeZANl6MUgiaOHs\nVYGwxfQodzGNXjjpB53D+e1GYb4CCZmjHJl2FXTCiRgO6b2YC3jjtBpo4kwS\nnKrigdzqNBqpCSmo9aw5Va8H3LF41dOuASMYv9Nqw3J3aNTzaUMFX9dZCRAV\nTlOQRt2WKeWFvGpDXFSlvzu7Vq9LPkdJk1kxv/3FgB6K2E7EIjnTeOp2+9xA\nFTLHcwSPKUswPuGA1P65j0G3icN7F/6KazFag/WT8b62flGCIo8ZVoY17JZC\nVdWJ0ff7N2ssSlsUHordvakE+BIkv0jaX73FwtIb/H3kePiHwo2v32WKhRpw\nQ5DX\r\n=6DaC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyB/kXp78cnLUNUFKxGo9iAH7T4jctXB2mGc+LfkNvVQIhAIZrDQJY010r9gd8g5eBHhxdcjXnyAkwX+AbeYm5AOH6"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190129142217_1548771837586_0.9835602565989605"},"_hasShrinkwrap":false},"0.10.2-20190130140838":{"name":"@accordproject/cicero-server","version":"0.10.2-20190130140838","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190130140838","@accordproject/cicero-engine":"0.10.2-20190130140838","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190130140838","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-+3mJJslrKNaOpGH2X5AR6y+qSk2APJwVeCwnUmV+fZbR+M5p4oZCXU5ovvCJPTUrAEDwjQKznNAK8JLqwJk7xw==","shasum":"517288d846eab3abf93ff7b08cbc328cbd62290d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190130140838.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUbBPCRA9TVsSAnZWagAAtSwQAIDF9g969ZsoABgq3lQE\niq0lTbxNMfqz0na2zfD5nKdHkcYWgn8pFUnNdSvab3f3itjy/RoPQF2yE0b8\nLvaNYE5Xo3uVNtt85UHgSYjTO0uHAYvoBs4IjZIn1S4MlOalSc9KcrNXBERy\nq1gIm4/v9YR1YBwYl9Undg8AWIWmzTPg2oVa6TqJzfzhYFxHsZGNDVYZ9svF\niWB28+VwaqDXWEX+hXBP/YaxlHqRAz+KbYunrc2k8LtdlGn7+rSw/FFQOCNk\n5WynYLeXnRteVhkR5cAXSsFHoYjRTCiR/I0DWLBEmFOC3nHQO3qn8IvKMGaS\nlLPw2D+KZhRRQcKsRYhBMUYdrNKyXEtjYDWmEsYdAe9XnDIPs5bko5Azuy8N\nxEUMoB4+TM/ckRLFj3gLyfsYxgCNEy8SDzwhEx4mo9WY3+dkhAIU7cL32v8w\nPzD8QGyli6MBA3jp9um0WQjONagE6kyAcEWCcVPfTVNwcEg3s241Q8sgXgNl\nhzlcmj7XlIgkNSMVM6YCjTftWM7giNjnikC6Y1w0Wzho7tpau/Mwwqt5uE7k\nts1OnO9bgGDky8PVuZrIiG/8iseRouX7HjCz7Ncxa4TDLohMRG5lRfix9LNH\nIUcyjsH6J+JiJzmmyRrejWwv2rEyhX9CrhY4bxsWUyEFIcw3oWkm0moInTAP\nKLCR\r\n=z8xn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnd8T1bMk1MEQposMc+kVXsRFrbeARWS2Tnq69FwHdCQIgfTpacC8fTzSldBPS8qFEeIOmFaEHV66WtMjEWf+zbb4="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190130140838_1548857423103_0.553438302717743"},"_hasShrinkwrap":false},"0.10.2-20190130141505":{"name":"@accordproject/cicero-server","version":"0.10.2-20190130141505","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190130141505","@accordproject/cicero-engine":"0.10.2-20190130141505","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190130141505","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-rCo4DRzqU+PHjfds8+lOdjYosIKHg9H4HZPcs4ou09rIu0JEfFrnMrDliUkh300/64QyEJ5ITV5xnJC27EDbOQ==","shasum":"fecf3b7f28f3b6c32265d5153caf5c40543ae70c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190130141505.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUbHYCRA9TVsSAnZWagAAqGwP/00Quox/mTWzMeT5RaM2\ni8Nrd8ljwEA2kFmnZYpOgZpehY9Xrq1qpWQe3b8ZWZJDRLbYR7vjkdjZTwPf\nFgY7Z5dsHpdM3x1/ttGvzxkHctFeu12UfBHLh5ikl6ejunyRsFhNC3Z+CCQj\nks8tZVAHW7jXfzDI8eQ9UdFSQ8cOI1C668iR0vjwEGsD9hiNkVUb/DCg/soB\nc0IPIYHhbLf21sj61xinLf7/saizWgeKy41L+dNh50vOsFVfhM/0wKfGCoxy\nUyLGugKzjn2IJ60jvXv+5KvpmNMZT+FPypONG3Dk8yupXjwn7dXTs9nWCBbw\nshwOQEnpyulNbChevCkOgg7ASMuNFzipifTUn5UR+yfluXSv4FVDJbkeW2vH\nUQVdmPdNi4W6fyzH/pjS3ZJhMLZnlNlr52xdkrnkegKbVE3pPh9h/b9R8/s6\nXg+rgo8AGzwjisILMM+bejHbspTsR8ViYIoWDiA+8OSOcKv2A3AoEvl5bX3+\n1WFlQ6+LpFAtycc1Y2f6jGHonQHQHNSXCHBSrjf0o2X76xwPhEjCQv+zxNnn\nN//NcvzsuNgL9BkzbaP7V0SgLw4V0vNU28p6YOj9ngU7INpTeSdigX7zT0UI\nJ09Fk7EyiyxmD6YC4iw23K76cIl1AoblHzi4G7j7v91Lcb9jncVDHypDGTCL\nza95\r\n=WbYt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0B/zlRUCiXqfpOz7XGApSyCy7ZWQFX6FqIPbolzFlewIgH5h/F6EdwcBxM/0CArP4bzPNDEbNBPOn/YK9HVu5S1Q="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190130141505_1548857816040_0.18847223665377677"},"_hasShrinkwrap":false},"0.10.2-20190130142335":{"name":"@accordproject/cicero-server","version":"0.10.2-20190130142335","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190130142335","@accordproject/cicero-engine":"0.10.2-20190130142335","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190130142335","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-XUgoyhtS6RZOZ3l8lN0xqDykZF7fMKpsuSvdYxXFN6QWIhgdSVHyN3NDZyUFgYDn6RhG2cREAanqIA/eIScFkQ==","shasum":"926ae48c8c2caac1ed63d76a961ff431e7ff3cbe","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190130142335.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUbPTCRA9TVsSAnZWagAAc3cP/3yxc2UVvpd3Eq1Uh/G1\nN9+oTrHpv+V7DLW3dP5OEKuRqFmBVe0ong0U1aoankzMYKT/tiunYtCRLbJF\nrB0DlgPMvLkHrtnHljhoYcfRO3XjFe0QlDi67Cd7OgbaKLv8rwu6YdSU4V4k\n94SB8c3sbY2otpA2k+QWeRcfcILyd9+PuK9aWdhgN0oHdbUa4bl6p8bi2UCz\nfacifw0vkcnyPXzeI94IdCj1JFlOwR/5DCX+vzMkopVRcRwD/zShII35U/VG\nu7phDMNcIzxwCqrUPpP+RGtajWoaZZ3gbiq+hcb9KZAjhKnDWaHMbFJbbwQc\nceXgBAqvHIrVgoxaVMXp4R6aUZOo3IVXN6o2AOz+hRDlHpMUiDE8KsChtjoX\nmLm+BAj/AxfPbCiGqVWq+lVr84fkNeRhJwGlQopedcwBJPMbzovEfNRg6ABX\npqGLdecWuFIU1FXPOallGjNkcSFF9t9orLtgVOqWh8KcurFHxUhgHOgOn90y\nBxxm61ohQt0EXjOzFNQzj9BW0v3lpWtgeu0F5ZfJcxu4/zFj0x8CCpKmZdvB\nNydfzZRw6FVdhY0T2Vd8zRKnKYk6eHaEMcP6VYNiuaZMngEdaGMUEG4e8/0h\nqtPhsDcV5Xct1C8aFFls/0X+73So+NQu4DebNcI6HfsWfor+77KsEvG5orqB\nxo2Y\r\n=0cxH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCw0cvRzAW8juRUIMas8/WjONUdBPdX+oPfWXVA38QUGgIhAN2vDn9v4rfH7vnotl4ahvoi4finZrf8E6/1iMq5JLjy"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190130142335_1548858323020_0.43619405156360846"},"_hasShrinkwrap":false},"0.10.2-20190204193806":{"name":"@accordproject/cicero-server","version":"0.10.2-20190204193806","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190204193806","@accordproject/cicero-engine":"0.10.2-20190204193806","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190204193806","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-vIO2TkP/PEWppFbCM6D7X/poWF/k9y+u2LPKs1z6GSwrZJG7LeaKqX7+ayNDP0nyYThXIBvO3/A0ZJ7sRaf7mg==","shasum":"d8679c9b2a786be0c81b0c8f1e57913fe51e86ae","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190204193806.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWJT8CRA9TVsSAnZWagAAaPMQAIidp/T4jVH1nlSB7lZp\ncqKhyLHnQXHNPnCLqwQdZsaBKe02gHRyhFvKY+PPfdLYxIDaCiEGt2VUo+M/\nh7wRQQ3I90ZeHO9Yten6s1LknJg7LSCAWum/JRx0f0Z18vHay1EjxJpjTt2D\nqKsP65S8HF5Zic3LcF0laPigDimzMcBtzdZHTQILIT/0BNCGxQRRRKgllMrx\nspd1aan9hPWKnBG6TSH5AgnXE8HF2ROEVHNyNoZRhDj0W3jk3xIOX1gkQKLa\nMhqjL9zXlAf0LkdQwbcNuZMy3NXRO73iEp0lEmcqUhy1mrY9nbhJwfBORab8\ngZLPMtOAXLfXLn/vbQLfICW4Z/v+6k8eHFBPqx19ta2LKz5eFYBWtkzHq0Zk\nROOe8EtudqNCLLhaeDgs0IkHWqJE5f5vUZ0hqWu1HcfQqbVnBsVJ50jgtu6p\nSyi03e1Hju1wDzcsmNwHzC3eXrnekorgQ2h2wa3WlY5m/Vk/TrYw6n5ExjuK\nIiiWgVJ2TMNePMLtXQhUQ11LqJdPmhMOOLQB0CxT2e9qEw/Zi9uSU81GuLu1\nq+MVjd9jjYG1r4Lcbt54mUWrKJ94JKfXSNNfTZ3qV4yRo8YtytN9TRbrXIVE\ny16g4XfGmVUpvJMyArlSmYOj2L4gOo8QgEEOX1RcC09xLxF8djXemiG07L0m\nS1Vr\r\n=evuT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6UvNpp63LV1NyHi+ZhPuDbEShbN8UBqon+3pZlYqSjgIhANzKYfAkrPEKadV+lVEUrflaPPNTJZgdDAFRLYQaAFU+"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190204193806_1549309179453_0.33558964190013585"},"_hasShrinkwrap":false},"0.10.2-20190204221744":{"name":"@accordproject/cicero-server","version":"0.10.2-20190204221744","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190204221744","@accordproject/cicero-engine":"0.10.2-20190204221744","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190204221744","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-g0CnydSsETiklFSp04qIwo1MbkMob15CE4lKEKDuffGatcO6OYfG5u4snmSPGfBRrQ7qZbaeVdHHWCPGYNy6AA==","shasum":"3ad67d5c16a5f52eab707dd30b9afb6f704fc526","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190204221744.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWLpeCRA9TVsSAnZWagAA5cYQAKDjF/fQoiKed+iWwW6f\nmoL7Fdx61CboZeK/Vqy3c+JKS+MDkdqlcMZ+PD880KyfQwR7DcaSfNkZ1GAL\nlWhFTS4sQNp0Q+fDinLHiatxy20nROnSS1FXiWf79A4PcBFhPqC8KdNly88B\nWCHw5jkaK8l4pHB8VzZnKeq99OONQDCDArkKHv/zjhvTivx/Y/TM0X9TbmFT\n1egCj9/ezEYC6knXzoR/nNgfwaQ5NeiwRCysSJKMTJaqsNA6ukSBeDPbqeTq\nxfi2cRJ64z4P9B/RLTgAn6nIw2M8nJEAJsLvimKDp/ezdn41cE5OVH1i6BFJ\nZzJm/NjEuOfC0vgBDKh3u9PGdvAPtB0FXUbpZ56EQoWOzaSowMmHoOEUgLJ7\n/sNPQXnDD6BxEcEtkik3eql69PFo5mHnyFGUmK4n7kL9Cly+wevEnUKPlZe4\nA9vagFPAujdzSUwBniz6gFFgIjKGGizze5OfroYCbtXljViHIzjA/9RHqpxv\nSfozwGzzjciIdMEnUrB9p+lchzt24ZhPWZetZsjeb5fbWVN4+tTu7G7UhKmH\nmMnkt2YQuu2r32rTn/PFOq5SV8Df/MNh5NOLE3YiABHOOTHYCk+i6ArW5flW\n7u+yYhP4oJyItnV6jcSh5xzqC8hu2t8GQJSJKWcMJpUV+kZF8dxO422OiZaz\nOFzW\r\n=1Wlz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbS73leZ8xDuO5SnYkpkpagpwYrt92VujGohPFAEY1wAiEAzt0yxP45LMBuQIbKOP0FFgWVTMw5FJQ1ggWeeUevuYM="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190204221744_1549318750352_0.435168909405653"},"_hasShrinkwrap":false},"0.10.2-20190205175030":{"name":"@accordproject/cicero-server","version":"0.10.2-20190205175030","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190205175030","@accordproject/cicero-engine":"0.10.2-20190205175030","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190205175030","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-NWb5TqTo5/+A9A7iXPo4yi6uA65MS4bUih14gE+XigjnTfkEPwNGr550n+/2CWLTiFGdhix+djR9N3KqStuLGw==","shasum":"61852120e731456c9342bba23b35882b7eb2a038","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190205175030.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWc0+CRA9TVsSAnZWagAA4L0P+wb1HZc3+UoO1ou9htgS\npcH4Gj/26SzHfiyoDzgce81cd9F6WzzG3uB0NqnHFsrvzkMFsy+1qYyY0myR\nUoe1YMUJBfvdS0PsGY0fbKbs0+W9vWpR1Esn/5vifHUAeALUTCdmGeXsns2+\n91jKOAfQsOV/C/lOHllTCucZRLE+BAQrLuKx0ofkN3/L972ujbaTS1i7IvBm\nJWo/JY1XMjBt2YugA+V9ReRCCTxGJb3mLR4Vyq1eoDUcOGa62xT0bJtchm9t\niSay16w+9gaggXL3DpG9ghPsF9lMftq0FSwJcWaAwsv0V758f8KcvRvHFwiN\n5eWAorpohtDpyv688fMAvuek8JkxodsuNfiqvtukHusbR3E1kGG0VFlz7AOh\n850agQhH9BZ5ZM8BUgsZkwpY3DqOm0gKMAvjcd0BNkLyg3KsiC4OE2X9882d\nzxu26cz8tcbuGKeayVokfnKIE/0rBCgufC6JlE38nMqyhBZqIturAWsUQvKw\nr99+iBbWiM8gbzSDdKxQHY818CO582J8GK0XHI7qvRh0uceHBrOgSAkCj1PA\nk7/7ZPcln9Un4EpmwDKZpe981DGaxMmkM6cg6VJgIXmguIsuBVaZ+S9mFCwV\n874sXfzWpXJswaBcbqzyuajWXdAzYUo8ybukLk6/0L/vzhk7HXalU5bXclBa\nVRwG\r\n=5Eq9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHKsyksAcXJfSrUn1lPcSAJksw0L3w6VFN9TxMeTa4fmAiBxXR15k99a79gn6zSL/ATPvXZVEr2LlGIUx4R/l7QFTw=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190205175030_1549389117759_0.7511022766007267"},"_hasShrinkwrap":false},"0.10.2-20190205214705":{"name":"@accordproject/cicero-server","version":"0.10.2-20190205214705","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190205214705","@accordproject/cicero-engine":"0.10.2-20190205214705","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190205214705","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-auVvJ8MihM0PidupJaFty117vsx3pze7US3r3tcWCMf1Q9uHjR9ai6S6DEsUktyY+ZQ/sDlbvOmByiYkzkfGiQ==","shasum":"c596e807bb3ffbd86cee9f9e7d80247df2749009","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190205214705.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWgS0CRA9TVsSAnZWagAAK5UP/1IdIdCy/d8pfHFAwhBU\n1A6HRQ4lBVZykeAWSlG3LjbIe8BsmKzq2Xz15T+G3ZR57TassLvIRwzxIXSB\n51BjVG0QMuAA2yFkpmwaaE/i+7U/atL9MIelW2Av3E3XsKcRbPUWPvKNDJ6C\nXeksnuPdTdKfkF/rGukg6gmf/vhHr3GZ0GLzizLt6tN+4mioK0e+/szlNehr\n0P9+MKFaK9zLRtRqgddlxqDVNCfAoAi6CU4HB9pPv8ceRE8eQzlrFn0w5NKM\nCpAeEZmFEA1SeYd/drLPNCm1FT/SoKNfq9GjehTm6VhGeaDHyp5NYc0uKa/F\nYgDWODHAeBHtQBigJQxy+S4Gh72OTVgCIINKdMhp5g8y3Gr0fz/94OT2VA6H\nC5/mxzvg4ifApf93o3ZvWX6aLxCaAJK09LqUfZRdUhLIKjekCAxoaSqX/6G6\nSt+7qmRPNlFEaMpMDExdm6XpDT+XuxvmqxlcWtKXnDWw6capos1Kjtvd4dux\nMmTN9Dm5o3TBTFW2JN8QA6PVRGfni1HcDKfJhql5qj31RrE2xS9LZQzZZ+XM\nX9kxBLmGvqbUz03/q0yJWiS5AigkV60gKSAXwwf54egcvG75s3bZd4PS6EmH\nPsA3FETZBpjvmMnUfWByNE9l6N1hqnxpquHp30HI1cI3pxJ4JppT9OUzQLOx\n5JYt\r\n=bwi3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG08d0Inw1soboZDshDr87KyC4jv123BoEHGb27JpbhbAiBINmgrghiUIDT7SMuW5uDbKrBw/H/dNEk2fWNq1t/wXg=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190205214705_1549403315863_0.7045561476429807"},"_hasShrinkwrap":false},"0.10.2-20190210194341":{"name":"@accordproject/cicero-server","version":"0.10.2-20190210194341","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190210194341","@accordproject/cicero-engine":"0.10.2-20190210194341","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190210194341","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-MNt48zOFl66u2dVYtDA4QAv7uweKoMf1/hUT3y5L7ixy2QGAMsIp5KamtiOvh6KblxqOO5h/Fj5A/msAagKksw==","shasum":"2e098bc1d4d2bf1ebc601e23979adf1ab4ff94de","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190210194341.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYH9ICRA9TVsSAnZWagAAk9YQAIg3fEszvHd4kV3wD/xD\n0sVTPr4N4j1CTj3FtFkamb2hgbKt19QaDm2IFCA+XpMfI0uxBffgN8xfkXkG\nT9KgEDCaJjvFkFzM8DHKihZlhLi5Q3gxr6sySdhKIHng/ieeXZUrDWuGPf/f\nB2WGdxcfaQWG0Z9xMmcJB98cUPMJsAV6Y+D4yL48sS24e9LJE6WRkLbsSYHq\n26jfIdEEIj/TmQOMz9yiI/QllL5luY62txNuakk3t+rgy9tMzOg8NHjKmHQH\napP9TAXej7b7h8AbSo8mvqdZ+ZftD5HXP+HlnFXxWEJ2mI5vbSErDLVuHvGS\no10G84FYaP9Gxox91mRqU6r/C9djrarIsdSkQAuVN+B0P7wGgaBR0RL9NYjK\nqTWwAJRccu6nuk5N0OrXD59wH12EZj/m6v4oIBwjJq1Lh+9HklcnOElpXwIO\nPE8/6lOsUkDQeLdBiyDIn6/ShoKXmEfjr7F/5TpEAv9JX3Jc8nIOUhLlMQLV\nqHGaUsFPFWR01RMw8M2N7FDH9l4HcZHhePHQL9SQJ6PlFZJM0kxvGZFQw7v/\n1vWoc1eSQeCs549M9dNO2ha0YhQQwl5fsggCUHxzzP0Y3ebBpWxPtpX3Iaa3\nw8T1HM5gr58Y5xiP9SRNceuF1zj9jFWb3KhOEAmiS8gl+04oexM7LJ4L8vN0\nF8hO\r\n=2fv/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICmN39ObrPzZn851VjwKQ/WoCz3gWNosx8YPktqtXVTEAiAzFA9o6Hw59+ZtAGXajWKh66dO6ktpq1W8Rt+EV6WIGQ=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190210194341_1549827912181_0.3092684607569589"},"_hasShrinkwrap":false},"0.10.2-20190211210618":{"name":"@accordproject/cicero-server","version":"0.10.2-20190211210618","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190211210618","@accordproject/cicero-engine":"0.10.2-20190211210618","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190211210618","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-KBpMCYn81BrHAv2SOGBqJyT15aIgGW8HSWFgEVtGNxJCGLMn9ecujuME6QqhNhv+4fUWh+OV3Ep0YRq7T4umFA==","shasum":"d67adbb328e396e9281065b4ee80ab4c88ba3ef9","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190211210618.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYeQrCRA9TVsSAnZWagAAhIUP/iAnry7hzj0FoScZJKY/\nAw9+y9rj8kB6MhelVfUUW/FQVH1bejotGzpUqyN0DjG4toclDwaxQb7hiPMl\nAp96HmfV8TcdtgOF6JPtpUz6uZOsRuV2oFTM8IoRMFCn2QfJgGhv5P/Bi/au\nbH0InQpqqJIsDDF0vicjpqLj1hZgAH6wzeBirRKTCRbfVhq4VOmlvoYkek/k\ncYiRX54Pvzn0GNN/5jfCphbP1aBLO0U5TM2Ef5ieCl3wyysuFofv9xP/5sfh\nWlMQW+zemJOVp5Vyj0kLVH8x/yD599Kxd1nbt/O6vm1kYeSFbP77Xw6i5uFp\nvstyjqTCsEU19SazpRGgqkboBitnW1vSn3BgQrGaG7LPWyrUcCN9FWqZ0QjP\n+hrQ1z68T3DDabm2chKvTPsqd6bGEgav+eUl0xh+3CAzBc7mK8v10isfxZnT\nouUb366dZE9tvAk/l+NbIuRsPO6W88jHPeCZXbJWCGSSWu+b82k3peQU1o/v\n1MZuYG/2J3e4Z0yz9XNBS6VarIeqYUq4d09lWaiBC7PVAo2mAmMlaXCuCXLa\nCLsr+LhZg/6tlf6oHzc4skjHEeFLTXVDgBaA/MzydZonOoXFvNESo4MwMBr1\nvNjevhXRl9NsH+GBgIxF2i71FTGDhlq/ueLi1uXuGnrKrgnxu4V+JEJmBc5/\nTCt8\r\n=zerN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7yDmLfcs+C4MjZQcCU4o0zOMk2J5ZijcouBApzgGCtQIhALTXfTMLmcxJAbu/MR8vt625tpj2cr+9K5tBCwPxm6z5"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190211210618_1549919274623_0.849483097716665"},"_hasShrinkwrap":false},"0.10.2-20190213145246":{"name":"@accordproject/cicero-server","version":"0.10.2-20190213145246","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190213145246","@accordproject/cicero-engine":"0.10.2-20190213145246","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190213145246","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-usWnesq/6jCuP9vNLZEaB8iXsDM3nL6LvhxdPmFhjF5BNzBO1gMCfj+SyzXTVXSEm/AnbFpb+uzE1BL+qlbVsg==","shasum":"e018152ded5a49f93b2be4eb0a6bc9f1c28edf16","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190213145246.tgz","fileCount":29,"unpackedSize":39693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZC+mCRA9TVsSAnZWagAA2pAP+gPBwhFErKU4NGDmtcIq\nlp+bX2UY9RO1/lBAtpe50fdm4kGKdEu7NXyDUX9JEQmFT2SdL9IGYTM0/7Wo\nLp5oNlVnhLryAu1FtjHzpdqSKd9FUfHZGRNlMDWLCqWUEFadX3k3yjB0y2Eu\nQSZdMlLdMg8zuOTNbUYD2cKQpngJee4wrEkVTZvY/LmT3pYIiAjUfLWbfhfX\nOM1UryqPylmlqWTzPbXOoot1aFqrjh58a1f/uPKS6s91aSQwRrg7uffrpmzM\nfPPD2+PYacq68Uv7nKHzh9rRrm5cSBG7mEgqC78+xMBqPbuICmDi1yDj0f7X\ncXSQfXK/CeUlqGFcBEFRRiwLS3L+OXSainhop4muZQms6/ctnSXXK05qsAO4\nDQiz9OW+ylZVxTYOPY+I2vOHDqr0614Trh+veGH790jmne4CEaEO6s2up2u1\ng4VkFXFf6aMbp7AUEAPZ9tMwYgcpBTRIw7Mw1LhIY90xMnaxv1+t7M2mWFqB\nXZ2RMeMJyr79X4Jo4b+4wiKE4dyoxrMxKXgFD9292B+sJj3FCWmbFTSDZMoO\nXoaT5ZpicN8ApSdSy85/1rTFkdYyY8hrOtLIbXD6qiJhm56ts1sxmJP0sCK5\nVeS1xiq4dAxUG4UAAYKaoDOfZLt3HERVl2ZJfZOpxwjDxtFgni8j1hw/mtO/\nrNZT\r\n=zkln\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB68NUNDEOJPh/IyqMMOLMCaKPPopNbwNuw7qoIutSFpAiBghyzXZFm3WURCXDhn/qfRIx8qHHEqpjfgjvm0nlkEWg=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190213145246_1550069670074_0.36000143806427776"},"_hasShrinkwrap":false},"0.10.2-20190213150249":{"name":"@accordproject/cicero-server","version":"0.10.2-20190213150249","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190213150249","@accordproject/cicero-engine":"0.10.2-20190213150249","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190213150249","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-FqzNf9fuZDXE3Y7gCTeqo/S7ALsyLWH9Spc9ByMHaJVe/ISwJfokfog8sJ/d8IldiFWf4eob1DF8rrNELJ3f7Q==","shasum":"929e14dc26a0a79d88f0561812e334ce3f5cd97d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190213150249.tgz","fileCount":29,"unpackedSize":39693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZDHyCRA9TVsSAnZWagAAE44P/Rhjux4yEzqzXXhqt8I0\n1VJ9WodCrpPpfq+pidcYPcoLrrBR1fKVD5vJoKfIssngqoKwqZkdCQCMycIM\nK0Z6OjY140f1oIMyFJjVIg8eN2GIIA+Ti4pbiEnZT7pZHxCpg7yVOKbwtZ9S\nxn7ADB10ZgwsxmSCuBKFJ03URT0LVk/4Jzi9SaYxvoV3uJmqlhoILRzjpOXQ\ncqzMmbwAQrmOPhGXUMBqRwpFWxDALB8xEVyDsu5R8NDZ1kykvzE1h+fJlKV/\nK6/NIbyYxoTvLj7wjazUPMYg0gniX0fHjJg/qkhimHdcFoYYVe7ruQolYgHh\nWEZtaJ+CcU0RT0XHwNOPYyWYAhMYYcgEv6Siw6RO9pKANQwT5oe/zWm6FRr7\nn8eoVrAReB14gYXVa0Muua+9YaX7s2MEiZUmWbYry1ooBznlFCBTPHT4MHMX\n2izaJrOAcoss/2xX3t1EQ1ardpoaYpoFCyEp+bAl0B6fQFh5kEnc+yPpB6Fw\nPspugL/L8b3mTRPHgUx51a+gBHsGZdCMMwLicKkMZYIu6RaVKNHHtMx/yMv4\nluzjgM/wo/UC2+XW4gKtCjhg2cW4TM/NB1hWfJyxmJo7x5bYe6/rKFboBcqt\n5fhr+SxIGsYLtXfRixtjbXGoXSbg+EDxCW5DgyyyjiQ3ugdzQYOJx48EwVX5\nDYn5\r\n=f/l3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+G5VIf8+V618z/2LN06D/zos3jh4LfqVbOhUskmAdGwIgYZHnSbqhjZvnOSPpNVelZju1ECfRgYYTjjoL6LYm0mE="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190213150249_1550070258042_0.9719535180433356"},"_hasShrinkwrap":false},"0.10.2-20190217063804":{"name":"@accordproject/cicero-server","version":"0.10.2-20190217063804","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190217063804","@accordproject/cicero-engine":"0.10.2-20190217063804","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190217063804","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-ZiVDtldbAEQCvoPnNOwLT+Rec5bW6JZFH5Bc9/lYPbGnV20/0Gsf4xbAlR763yyXh0G0/B287KTNsN6d7pAcOQ==","shasum":"58d4710a19aeeb6bad7ad685ba1179d33c5c9b8c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190217063804.tgz","fileCount":29,"unpackedSize":109959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcaQGkCRA9TVsSAnZWagAABHwP/2kWEwG7w4Cg2qOcXJBk\n/sifajGn5kUV24PHaKL+1dOQnaPwREgpOkpTNReXQ6S33TeC4pFskD6+q2lr\n5iP/5JsvihB+dc9NUouY7HuYYAKR5nwQAJH8Zux7mUoztuQn/+ig162lrL0Y\nxv8Y+giJKJJZ8fv+iSpeFuJgALRzlXSljRt5HL66/JGNYIk5D6C/X72sKPZk\n2qWm978qrNgNCCdGddba6NRpwhPqy8lgtgFO81E3J1GVMIH6j+d0epmgYcv+\nLichYnghli8H2cCmhyXeIdYpct5Fr592zW19XnsGECG9dhCaqr4wE6Og6lcl\nAAmfrcZI/9FFGNNzJJbbGaDsQQB5O7vOudQqTXV6h3ANpiodBhIY/Bt199N1\n+lHk2NbxaWsvNyDA/X4j4Fo9hV+V+a/zL+EkvFdMJsD7mIMc3rhHnrrME3AQ\nl3820Ag+XUp0dfQytzxdy+mcs2widNqO0AwOaBvB3ejcGYzPRqYDNZwDkAV6\nbj8GXBMm/hrJZC2KmVhIa+a21SfJ6KZRMfsQq/mCWJ8llWWYvKhxORPyhrSO\ncS+hCCyYb+1zbIyt1SloyEQ4FeYwp0e7LmUo/nl6H086HkwJ2bl5VxWbq3us\n/yeGmDPlVZEtC4apaHQj9LRgqHlrS2NMaaUVXqAN7Fs/P9S0LBj7t1lJW3cq\njPuq\r\n=rHMP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEH92vcl5EhQYgxZdKEfOB2UVuwlXdnjSBUuI39uLm24AiEAvOJz4+YzBbT1vYk4yJv9eahsH9bc4CWSuC07x9Ml+YI="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190217063804_1550385571988_0.7999928391049509"},"_hasShrinkwrap":false},"0.10.2-20190218203417":{"name":"@accordproject/cicero-server","version":"0.10.2-20190218203417","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190218203417","@accordproject/cicero-engine":"0.10.2-20190218203417","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190218203417","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-uXwLiAWVGBuTUGgktlB07c2Nuxqy/YIwAYabdZypqb2Y1pbC1P8RYcyYWF4c+QpN3iz6H9QM/Q1VFtsUuDiKPg==","shasum":"1b9f98d9d64d1892ca090f88a5b5a3a72df0b4e7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190218203417.tgz","fileCount":29,"unpackedSize":39693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcaxcpCRA9TVsSAnZWagAAimEQAJKK+ziCBpXRN75dZdq/\nOQ4NJWpfWxgT22T596ros8KxOae9kz8t+WuK6J1Ujs/SokIAL3Mli1K1KVWb\nsinkj7stp2lvJd+dy2KYf9ZELCurt1UmF6rsSUsHlJ4uciovM4CmrvvyNuw4\nWONgKjrIJuNTieOmZvGXePUNtfM3o+qs034zbv5wiNuHLcK0nt5+j1uZ6IfS\n/fph1PxOhDH10pVVOhadJ1r33Pub1nBnKvZSSngt+eU5HAgXbVd4v81kzMFy\ncuCHdUeb2aRNv8mU2zbq8lSANlPp4HahBvMyvbeaJZwjyv8JxoQ/1+VPphCR\nIW9VpcaAVPVQmmKDVzutasVitq039e5dMQn12x37d8QXFXILDw6rkzQi+Syy\nEIGCv2gqv5ku9upwooE1nLNdRbF6Q0mrc51WlLadoypxzCYQLfXA2SwAg2Oq\nO1oE3jCSXFhE9bkvTiI/EN8TXrKDz12KCFoJWaGb4ir339ycmDs6XTDMj9/a\nqTCUflUBgtZQtUB1CjyWL/DbNyRNzJPbElJO85la5yPmU80sYh89TaiPReI3\nGsxOrlHIst44wzN05OBWj6ICT3MTclCcsXtQbSdRLL0q48RipgUVm30GB2th\n4wIJLEs9jmMZjYuMM88doI8L7yJ7EOg4ZF0lF4sNcFfylP/oYT76wRih2Q44\nPnh4\r\n=B8xE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICBzDYPmQobmzLWRkQ8zVerpO4GMoM7YqWC31ZhQl0nnAiAmpmeuQAtWRdmKu63YpU4xri5NgVVmPbqKpC+6fje9RA=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190218203417_1550522153183_0.20284567072063586"},"_hasShrinkwrap":false},"0.10.2-20190219205513":{"name":"@accordproject/cicero-server","version":"0.10.2-20190219205513","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190219205513","@accordproject/cicero-engine":"0.10.2-20190219205513","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190219205513","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-t5a7FV91VZn1TGCRW8YuZVjPvDbv22r89xfvz9JVTlVz8/VM72mzdbp25f2GNwEDbf8kV38enpfl3D+zbzSbMw==","shasum":"d98817cd1c3bb6882540681ba7de4a99d61a0f4f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190219205513.tgz","fileCount":29,"unpackedSize":39693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbG2MCRA9TVsSAnZWagAA550QAJ8bjnLAxLwwt/tOQZNY\ngZWONqlU07ZrhlhOY2aDh9XEjqYBVIVd9WzGSxMM90oudNPbmNDerJVUPMmi\nMmQ7K80dkDQ4cyL7jam5WUoftTeGOzkQUL3BC9xxK+fLlTcaEPCYzCkITzSX\nNegkBFkG32FIGW/zDZ9xJ29/jqYW2yq7aRFmUAgCljbfQ4dG67SmChPkLN3r\n7C/4whHZmcBnhjfpVYnhFSnZr/j71IZFDNPzmQ/bb3ZHmdwEctpULUfNZ2wv\nzRJZE7eVkrxf6BEPM1a7LXTsEbQGfQ/AscT09Urh+uIdDGfL7vDE17UMACd2\nTu/wURKEwHW9qVeg90SwKDg5jYaxcIZ51GaB+tAWvYwPMgt9KIsrtpb4czs3\nLtzDrz1yAxronWyurr1Kbf/zHj8NwjhMU+jV4ENFC5gVEOB87Oaa9E2USHQc\n46ky4I66fStQGe+7DhD4BjhSfGY1kMKUVGY6ASXfBQzOova8bGuy6dJe4Mxn\nqFqfnEaAPH7kBdy38kboRShhEXrubfEY5buFvWZeDfu19g3ibxM9yd3AxcBk\n7BibE3rq+1/7xU0rQ8Ts7iQ8sZlmACCL2Y0AdhrJJ4U06Nu8A1+Fy7+38f6I\nv53cgOHMTRQTJuC/hkc4hvr0am+0BORCjJBTLTbo+cO4vnXX0M9EowsDAOB1\nshUM\r\n=qOhk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLKTpryUu0/pu6g7ijXJpvUBRkMdUWf4T5ghwW8Vp2WwIhALmA8el/vVKAkUcFplFkNCGQmHKnZ/HR/6bNv7vap0JW"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190219205513_1550609804007_0.6758418246428117"},"_hasShrinkwrap":false},"0.10.2-20190219211815":{"name":"@accordproject/cicero-server","version":"0.10.2-20190219211815","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190219211815","@accordproject/cicero-engine":"0.10.2-20190219211815","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190219211815","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-joYg1c6P989ed5mIo66OdEejwGAVUtNi5Ej9mBHGyUySemdiJEsOmBQMeDGtRhLteLa3hP2tasvjDe0ZhZ/Plw==","shasum":"57142234aba0f040ccda62ca0d9a6b6864bc094f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190219211815.tgz","fileCount":29,"unpackedSize":109959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbHLxCRA9TVsSAnZWagAAXQIP/34mjSFYjQESF0bizcCF\nwtboP8bTxGici+mF+//mXdopExviTfj8z8AHsTm7OxGofUPx1WnmUQ6kER/x\nRujwsCIWa/unZ7jzkv9jGK4XGbn3hePNyQ0mfP9YPeUn/zd7HtIYNq5BPnpy\nFr7rL6oP9rxJXvUkMisAf0QPBfVNtUyJMNhVuXNKbr3E7X0UOu+8B9HuRS2f\nCOVjp3YMl1aYY8ZUQi3ZOXWgwN0GbaGidjwGsFk79A0YG4cbne/cFFqgxmDn\n0PbZIlzOK5wUZsQupOOYi/i5k3aqFqPuLAcz8XNraGoRyNeG+QoUINyd+JdL\n/CQN2oEMsg3bkXdV8+REWvhGc5MhzTqa0/7C7vG/Hvt9KWiL4PrIIdb2QY4b\nYUBk0vHZXQq0PVpXThoWmTQnik7WoGuXeE05OiL8uhPkXcnU1Yh5EcbsG/dl\nLXgiKR07QbJKL9BPHzhQP6yXEQP45ztfjQxwNDcUGOXs76WIeTqYDCG/xTAq\nrW+CSsj6TYKcxCQhpH8+EfUHCcNgR46ZwIrNqWStsYzlrgdC23XiERD4nvj9\nxKZS7pOKM8e4zUiML3OMAZkh1dzrGPSnVRMMvacybCoHJsDZ+B1++/1UOhsh\nV0eAFaoJ1QeSos5/9Opj1hPESXtZS4d3bF5eVg7PLTFLiQxXX2fCfrmeYHfr\njsfl\r\n=Y77b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVTDO8KdZQeBGSIsIsXlJElCIOZWp2YIeMowflGjhtlAIhANjYBb9o0gvA87jBQKZ2jSmj5MJg5E6DpfGwVV6So4BX"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190219211815_1550611184942_0.989409057231859"},"_hasShrinkwrap":false},"0.10.2-20190221190619":{"name":"@accordproject/cicero-server","version":"0.10.2-20190221190619","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190221190619","@accordproject/cicero-engine":"0.10.2-20190221190619","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190221190619","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-OZOPksrCSI+HfeuVIQaJILxjVVHdKEATzfeKs8qNdIhzG1oyWzLLZk5JH7nuIkjn3iRp/IcOwjwzXjyUFf40Bw==","shasum":"1d3d5492d435c6e8ac34e49e82d42345bdc1a6ba","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190221190619.tgz","fileCount":29,"unpackedSize":109959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbvcFCRA9TVsSAnZWagAAlJIP/3zXdNHFXQgmBaXxKmQ/\nVTJn7zg7sp1NsGuXwpTo7kdudUSxwsq2kmqLPuPNZ9ImKnukhFvlaspotFyH\nDRlG6XLOyp5ZY+G3PmI20H3p+FZFY8+ZQDZjQMENwvXEYrn6JeCzzOc+h1OH\nT0TKe9km5u2uSuXLpQzKQf1Mm+R9Clg14vqAl5gxwocqnJOs8xMOYDhkp/Uz\nu6vEIFXmIIUXipXAQMcsFIW05Qp3LcGkNg5mkBbF4F3UkEPhYusOQeTxuzGR\nb7+qnDQ6pxMm0SLGR7QNHYIJJiOK3X2ThwQnlLVtJ2eeGr8pQTR6aJYfTJkd\n4KcBj9PJqR95t0D1ZAaJCpFfumDwHX1O3tmd+J1tlxh5yB5gGfzqfjMiXGtY\nXxTEOHtSAe+/mD2Ox5EmNm/8Nl9j2HgR+kpCvtfwC76tOpT/55eyqcqvka/u\nX4gv2B5R1pa/NilPXtd1vx2o6mKwEmBMvm/glZy0VDub69y3Xp6BfWUhOSQ7\n2H2OzGzW0H3pFedZQc8CtJGlSlOzRLheyC04e+ZxBo7uEoH66e/0NB80smWK\nCzbex6ITsHfr8ZvUhh1aFl1OD1PUCaDdnvT6XqJkZW/rZo5ySVrLUGFEpS3h\neqmGsoETOBzFXdkOC6PnUPqSAKDIbeA/Yitp8LoP/eHPILOCzm5oNk/R2rnw\nSRhb\r\n=cxLf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICaP8vu0lRw/PFTJZ9X2qt5ifDD1jDrJGPGUxZ0vHUVOAiEA3FHtH0C+AENvwIsRT5sz0brDyxgBeCoq4/+oRsDH9TU="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190221190619_1550776068759_0.9708956502753199"},"_hasShrinkwrap":false},"0.10.2-20190222163636":{"name":"@accordproject/cicero-server","version":"0.10.2-20190222163636","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190222163636","@accordproject/cicero-engine":"0.10.2-20190222163636","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190222163636","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-BcGTYbFliUJqWe8iueqdH3FElCNWLSl1uTJ1iJsMWWeWQb/AaCw5K3+VjlmMIdC5KYCvvz2nFptDi5d1fyqa2w==","shasum":"6b92dc51ded45f88a2ead062014a843bf4d1faf9","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190222163636.tgz","fileCount":29,"unpackedSize":109959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccCV2CRA9TVsSAnZWagAAlM0P/AyNY8MvomoLIvqubZ/m\ngR57GNOlB/NLuN1LE5zGCvxzRl2D/hAcAp9sqTVquTKYRhPAj56rGZpweoIF\n06Fm2rEO0zc8oVvQi5zp06AAFbH8S9Ii9anZ8U5JepdnWvhAo1d3/PFdgd1F\nQmdzAblYZERH4kYgFaMcUC2w5m5xHqwC1517H02ljb4irbrYnefT44n57T4c\nCShqfXuXbteKFE9wMHIjef7hFKDApzwFtC4c91kYD4899TOFfbiWOLov4wu/\njCg+bls//Osvz2xBqz7z+V/XcANGQzfY+sp/E7IIrLFqBO+xQNJNKW15IN3J\nTzDwnFaZm7nqhk/7pdAL7a+ujbb2CABR7P8LkVXpQpeAafGATAqnIo8vO+av\ndJuPOdRcyn+YmGiR/fQbimHQwaB0SZz/N9lUmwoaNXPGn5qiRxG5tTl/xj5Q\nsHX1UV8M7ioZC7KjSLjIQ8omWCF81Zq5YRKme/qDSUvVmxtg0m2g4qpDk0Ld\no2WmwcJyUl5jVDQEO5bbZ0wFv1QZymbJXaKEYs+8IpFJf8unflhAq0hrrqVa\npr/tmIRkIFnQ4MTwzwZRJ7Tp6zayvnSfXAePHqoq/GFLnFLYsMT/08E0NMVy\nqR3LyeF6OnqlHjIvvyAIMXu1tCKHfrNg0FXnjuOKO/m0FtNdsyFb8fu4iZRm\noSAB\r\n=9doK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2BurGkCsOOuTwtN1w9m7AD/JfKra6GYim1ZmqKJ444gIhAKg/e3G7Ra4EMOOLwenrpfNlBYOPNqB20q0eR7qIbuAc"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190222163636_1550853493486_0.8234643304171232"},"_hasShrinkwrap":false},"0.10.2-20190223205405":{"name":"@accordproject/cicero-server","version":"0.10.2-20190223205405","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190223205405","@accordproject/cicero-engine":"0.10.2-20190223205405","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190223205405","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-IqLJZLbq2/7kOMNhnC2qM7eogVn4fD547Ct/XKo8eU8jeGHC9bCSMsexjxNPIfmA44ElWM9LRo6lGuXS3QU5kA==","shasum":"cd8d5080c148bd6f627796eeb3894655d0c0ce97","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190223205405.tgz","fileCount":29,"unpackedSize":109959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccbNHCRA9TVsSAnZWagAAHm8QAJsaaLlWx9EPrXut2UAG\noYxmNHiHlNEpjWgxhoa5C1lgECrmTuM2a/MffbL/RfB3ZAe/y/8fTW5pttq4\nv5ukxcNLjivbwX7wCmZ7yaChkd0lwAtB0fANmJWokRyc6F5cYePzw0KPEk4I\n4gGW8mgtZe0uSqPLyqXpNXfMS2Kf+S84TaCBKKSP6UbKKTbdyQg4Cd8YKWy4\nXYhvUGavSC3wdFwiLheVjundIGyDqLXU2bifuUeppQPf327kXOx8U0DBPdJC\n3wieotxzXPCJhLAgIAn3yk3a+dMwiIk7Df0Vu9xegJ28Jq9HM/dHmVePCVAM\nLW3ETZC1WzTCpa2BAZAtuaLNB1PZHcKQ81xHjAQuOewPkGxYCrtlS/Hfxwmm\n270fGIQgnQR6VVgzddSAVYHRpN2AIOOuXGpkyDXu2jSvUQVSd8QEgNAd7PIG\nVL9PXWOq9B56nKDmDyHzxGD9rVhXsOnlOTtqv0ovuggtybFuwLAb/ha58Uaa\nW+YPFN4i8Z3JbFs+RpiQ/G8pcebmXcM4FtJnDADJRKiUMli1kjiyryFgyV4D\nsiVESaPu0SzaDgcO1wHl5PoYUV69GuplDwze20Xb0bMuliJ+OEDGjXUFEjQp\n88vZBaPsQPMew+Ygo+7cUKj+6OwAttHqFreEm3q3W2JTfLBf8BkX5G238CRz\ntslX\r\n=64SB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDG5ax9g6duj0I74fAV19nPLyjZr9RrdGRX0d5XKf19GQIgRypH8oVUkGPlwkKgau66BM8FXnGrLZ9ZbmBh5Pkxy6Y="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190223205405_1550955334941_0.6519479846367993"},"_hasShrinkwrap":false},"0.10.2-20190226095238":{"name":"@accordproject/cicero-server","version":"0.10.2-20190226095238","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190226095238","@accordproject/cicero-engine":"0.10.2-20190226095238","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190226095238","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-tWGMKxxFLs768d5YAxZk/Uad18RiVUGYGiX0UkY81fgoqQB6cYh2ywN1LmfrD2tlfpGBfitANx/YV6O8OMnFqQ==","shasum":"21b6cea102813b0c5cbeb3fd3ac5016e17069887","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190226095238.tgz","fileCount":29,"unpackedSize":109959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdQzDCRA9TVsSAnZWagAAjd0P/06NO90uCstO/3TwyXXH\n4+hdV/vAT+TzGcrzk9TBKKsakkyn9cUuUmy/tV/XFiSeOPlWsuzQL4JMH2rs\npzONt3psJl65FKfZVEHAzEEyKBBZBNb7hqizW3L8d+C0yUTkQsV0sXs/c764\nBqDPl7g1W6Dkby+CKpVHcZJ2qjdZ83h953JK20DwymH+MgXpmsPZGm7SPXzY\nJsfCLd+fiDMcbU65f5rnKi0Wim9TJ5naKCMzKG75Ky1YZtOtuLCJqE0UtsUk\n1/KqgOmuNJ1zVNAAPaYPp/iULvi9wq3JI60K4JLvfKnmw+ygDRAwZtxi/Wsx\nh9nfm2PxWs5VOM02hk8deVHqKhidREq5ZUM/ySJ3HKn6XsB5dJsvq09KGrGY\nZ/IaPtUPChGKnoGWVPxdmKKWFGMFqON3gMFzJQWDi2zVFL3BYOkRtsS7pGHv\nIA+tdLT5FM2RU35M3r5qBxDfiXZGeaqSB/2SNe8tmdq9lc6KRPuefmt9ttpM\njmuaW1eo2ROfesXffi3BBp1XeeZ42GOyTUKD1pJ3s3bfEQb0vjpf54WiuMHN\nGMYq0ulcAMGZxE2rjb2MDVEVhrFHLSItKWa8c0eXN6p32PyFY4c/wSkJ4LyM\n12e0x8MKtpNB2jjoRLRJFsUTx+uSsnE1QmiWIIr7n+24mjsreyO3mZu8FJrd\nHABN\r\n=lg+C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtJ2vFd1hszdvh1Zk1vynejaui8a2xJwXxOYmmqYMVJAIgVLBP3S0TcVeP6SWEgW5l68oVs6aDDmpDZuiEa3RXbdk="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190226095238_1551174851322_0.23482059751891904"},"_hasShrinkwrap":false},"0.10.2-20190226100945":{"name":"@accordproject/cicero-server","version":"0.10.2-20190226100945","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190226100945","@accordproject/cicero-engine":"0.10.2-20190226100945","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190226100945","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Vs99yccoEqr86AcAiv1R9fRxFtlGSH1L/w2TSXoScUJzqqY2LJzcR2xpg6gaM/E7pu5m47t7H8MF0YM7X191hQ==","shasum":"cd43a24f16a9ecfc4b3b0bd2322ca11c187a1e6b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190226100945.tgz","fileCount":29,"unpackedSize":109959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdRDBCRA9TVsSAnZWagAADoYP/RgbxfVRHEdrqA4lyYH2\nljiqLVPCy8t5yMNc1Q6RhV/vH3Bhnk1Gsx9El2SLNii7PBRKmx9Cj5Uwtpil\n2yHMsOW0/7osA9BV7TdtQkEd0e5F56ay1X4/84CQOUNEOzVoIijQxCPSwiI7\nMvg5cvmuPl5lrjpT8Kr6vub2ImO3wqqQlHZmm5wZJqzdPMFjsaD+n9uyd8h8\nK1vJejhIqlFLNJ3eEAjyDCoACFt32NuL0YjdQjmem5Wqb9KERkz1JGhw4q0H\nhT2/0yipHEoIuBCIzDzu1g36+9LShiyHiEPt1p68Iea4snJMzkzAPI25E9tr\nOmulgjH20jdf5gAUnZ1UtKiqWvl290D5B2gyWlvE3SuSMn4GC5U34fS6xTmK\nxfHZ7e2Xny+6F2Shtm12tT/+OOyEe5W13E3nBtsdkDlMB3uKP3ijnzRRuTD0\n4qJ645yh7IvGeEFaikHPp/Ro+ifX8NPWDgMREMlCpQxbBIuPFceqtspJ4SX3\ncPJ0QmvEso+JWRjdr+0JOMw5oEO4DziVOFWugxDVsMZGHc9TFEx47SJrgyqx\njlnuRsAb3AS+mnUu0aMJ6gWvhxrGCtnVnMIoMTfJ4sqjA4vd3FTCkAXWAAHP\nDEhpbMHPoJiZtt/mK8H7ayaW/ZK7kvPGm6lJ2ENcrwXkDRUJFFReFuhgB7IJ\nuiNE\r\n=/wNd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEexH1B3hSvUA03dAassbJ0InyJlTDauVJYD4NfLyxkwIhAPrdJJqbCegtpkEU5W2QksA65r7fZsc/7K1CnlQ6HfV4"}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190226100945_1551175872560_0.4395383617820865"},"_hasShrinkwrap":false},"0.10.2-20190308235550":{"name":"@accordproject/cicero-server","version":"0.10.2-20190308235550","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190308235550","@accordproject/cicero-engine":"0.10.2-20190308235550","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190308235550","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-gW/0zW4st0BJy4yhr0bsqGi2mDGD4piTZ6t0YLD7RWosXza4cVktxGivGyOijKWOY/19WVTVwH/ueoeKGLT0cw==","shasum":"5528ad8b919c6b3c796bd4fe0e0c4f96495b6599","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190308235550.tgz","fileCount":29,"unpackedSize":109959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgwFfCRA9TVsSAnZWagAAacMP/0J4qRv6SQLCZCo6GnnH\nag0NWwcf45o//XofuoCxCb2rmczvD4VKAVLtLwqelv2JbfKyGNKeuBNCjMf1\nSfU8k//tjYoE+wsCxWAhbqy0IAlbe4quX2pNQWKuRmA6nQcxougH96eEF91r\nNThvkeftomiAlQV/n5SSQl8THk8K0Pfy23OL5VySq/W717gqMmtTZcZM+dNF\nbArt1U6jYfPfySvqO2DOtLf/19x5E64mJZerKgXb6kpU7k380XOhntaqn0Lf\nLO68oNaPZToIpDg4qRAJuhD14mq1NbjO5C183TEmxI0qoAGdAmdNqezFaNYA\nfWt/qD8cyR4WzKgJtTI62vszl72YXwksEm4MgqX96YUzlH7c8FFUMbf+wEfW\nZ2ADYZSo/CdPeEgGenOmJMqv089Z2RMQR1d8DoaSo/VA6PBhWbhp4ol+u3CD\nhSp1WF5NDONO30mPSDzo4xEQglH88CxanZ+Bl6n7YB/9zDGqIflSJYw72yCw\nnodO092B6V647eqLfWVWljIPjlju0P8Aw44EdlqCk8kzD43E2r6dwKXjJGhF\nQGfQ+0x4JkCQfM2dYUGLD8ZNYKPuuXxKYqSOvAbBYXun9KeZZx09W9j39fBf\nlsFkSpeou7iZL1y7wO7Vw2bJyFkPaHreJj45wS/o3BQS9IdxZzBGxpGl0Oow\ncN4Q\r\n=X8vC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBbTV88D7sSCCLVYcKovDpD5u4D8eICpNqpXD6O3NgQOAiB01vkSiBR6k2JJAEiPaXMgTxQ/HjxwbQ1FpoUmr++3LQ=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190308235550_1552089438363_0.575773141324414"},"_hasShrinkwrap":false},"0.10.2-20190309170151":{"name":"@accordproject/cicero-server","version":"0.10.2-20190309170151","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190309170151","@accordproject/cicero-engine":"0.10.2-20190309170151","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190309170151","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-BeSyP4G5P8O0qoBuQ3jOa2uF+J332S5xN3b2g+7jzG5itFmJRZCNO5dhevg8b7A/tKegZYmWa8BX3rudvWRYDw==","shasum":"b644fd0cc7aaa351b9d161a704c4cb66e825131a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190309170151.tgz","fileCount":29,"unpackedSize":109959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcg/HaCRA9TVsSAnZWagAAoiIP/1sYsR54EV1TauMbMfz/\nTivlKWttzJlE1Dt1QSK+dlKjrnBGrQwZttZjcDPVzZaroIzWDnbVH+y6fDoP\nMxGP6n/rM4Lj1Ug1032KxQT7VwqKVwra7FKfFJzErYg7/A+iUaAky31wd+7m\nmvNuWHIT2r/NNCElzKqX1ZXF710swISd2Icfal2f6Ii6wcrTE8ojYPSYppvE\nPweUKsYmNeZjI354Ht9p0DYMvcE7XhZZi0PLRo0uJtSnl71wimJKvM6QO61n\nHLjpL4AousI03luHkHk0EbdXP3LErtcC3+GAZy//nLsEyGQ6ctzm0AltGKPt\nNZIap4vhj0VhoduLWiKVwa5xpZ5dVBgFlg61jwRK4xKDfQadNFIZyv+kBemO\nypM9IJDGAkMCI8lweCbQAPnTikTQjYdm0Fr39J8uUw87DzSwaj4oit8Ny2hX\nqdHXjped2qfRdup+t5WwJvq31Ca3kuAsz49NHVueBGdI/ime07knDtA2I3JP\nOaAwFfbeSC8gy+7OeMYFakfKR6QvpqSATJ2scjGJkfgGNI+eW1vG4zb6/rY0\nufZ0PDQI4WFWMgrnvtEk1jFu49TFkrtnRE4/9OzCvudNUz9zDgZgm9Nu4XDJ\nCRwLAUtd+0keVBGvIZGVa5X66sU+TnEkQ0w2Vc0iCw32SnkTERtc/X3nd19K\nC0Ia\r\n=Dc92\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGK6sZeObhUzUFVVKsC5XB/MS+8xsu29SwBePwZM+0hIAiEA2bddv00k7JWgXJ4dmD+AdHbhclH65Xqo49IMYGI05MQ="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190309170151_1552151001637_0.7444740083665549"},"_hasShrinkwrap":false},"0.10.2-20190311002229":{"name":"@accordproject/cicero-server","version":"0.10.2-20190311002229","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190311002229","@accordproject/cicero-engine":"0.10.2-20190311002229","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190311002229","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-eU/+7VdO2yu00TGXVTDaZETe8EJiFXlPJwD9QUFJvImav+unhHleod+1X6y7okT9O2Uq+zH8kE8yspTlp3KDjw==","shasum":"844fa75709938dba660bf827ae8af846e1828f49","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190311002229.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchaqjCRA9TVsSAnZWagAA1ewP/RTTV48NDOJp3LqSLU/+\nQIJxugUstFoSBBI5LetYVdxEOTOn+3vykYsZAlR1w5OUABowCGgRM0WgqpEq\nbuskrFRjXyXvhdXKF/1p8xekKMr1yUEvm0aB2qm5I1+gstowbgds5YqZtHbq\n7YmYf+2QMQXyH82Nbli0LPvkcX7egxVH/i693dJvkwmUiHdZO4tyxg7mf8gN\nJhQanms5hWIDzYQtwwqcBpKvrsSOUs74yF6xoGRPr04FONaRjee/DbC5izwg\ng8T9O9M0qPgzFDMpBSy07J/MDz2f8C4NbM0A3mOHoOxuR8VeeSSTj1b7ZJS8\nHXPkfB6sPuCOnIzWJdIk73AsjqOkFfWdKUJUnqhR3MVwL/+b3OlcDKDb7WqZ\nsmOkqT+xhG5b2nmqZkug5UYAq6PZefZCUGoOIR1XlVC8gCJ2u/N6dUhXgnvF\nKoaXB9ff1scJhMvpcaP4qGBq9uCa/ayf6hZA3NfnF7qkXQcqtP9aw9cn7prx\n4mvLElEIi16nFLpCr1Dnx8AXuKGY57ul7mLO9pcSx7gDKSe89z4LM18UVZ3B\nwOu03ZI2pgohsqCrndvtqla5X36sRz6hm2zpoMgtg6w88wP2CmItAZdo44r4\nehFfK0HCDAm0+/RlDV3F+uvr9cvts/A/KtPV5H/1Ke0eBbLAcjhVIIGNPrNF\naRyR\r\n=vYwa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTZfwPvikAfLpPTMq5/6/rT+OdzMO671BSFpixVqeKAwIgSd77gFt5LPsy2ngDh5000zpnX6MYuV5FO3S2WjgHBQA="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190311002229_1552263841948_0.756355011106365"},"_hasShrinkwrap":false},"0.10.2-20190311005110":{"name":"@accordproject/cicero-server","version":"0.10.2-20190311005110","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2-20190311005110","@accordproject/cicero-engine":"0.10.2-20190311005110","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.2-20190311005110","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-feT0TVdFytQsVd/vWeJACSnRPd5bqa7y/aiFDbacWb7B979DvgPp+EZNw3EWBThNC+msSBMQlLbx9u+Oj80eqw==","shasum":"e66b5aaa8cf592e22bb3e7436ff3c696b0716b20","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2-20190311005110.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchbFaCRA9TVsSAnZWagAACtsP+gICHzYywIBobnxgvpw3\nliOkK+EU6uj6wzXBRQzhwtGaa1CDnkD6bm/VuZcew3vHt1U1l/bhbeJWY/5v\n30YMIeNYenMPRfbcJtHgnmGcgAFW+Z+woyWQNglj7t0YBcSY6Ue2iGnRnAkj\n4tQxPyDVkeJuEWFWmf5u6xhDQOFsJyhP3v62Q8efhBUduVeAH9gbA92qZgDh\nBx6YkKTUY39GKDjwYwaDKhxeyI9cMRyNMFHiPbLm33kmW2+MI01jQQ4ufW5i\n3XbVvjUBRdbiO2dXZInMtLrBnlEWeNYApIMWU84Gda0fCL6cSEEb+8QtYY3v\nvaXYhvUMHIGyFAAQZoFYR8a+guRxh5CGCft7HYfBd4umID/oDKawBDIfEPda\nZgb+ZmgqEWYIQaP2K0pGdjb5Kmr+lGzCjnH0BYkilREzKEhiN5wHH4Abi5YD\nAF2UBkz4mlxXL1jGEozvu200bcFhMin7KSUVBo6AruIjUbBSLO0vEk49M6Gj\nU1lazqktZ+SfH3IrxB9A29+ayRny7TfnQoMRDnBrDj+/xjAWSyhAkALa19S3\nGVCdfvHCqh9XbRpOnlRrKU5+6NxCKC+hNlgg7eYK2AuDZmiRsBWUBDJrEo3R\nK5fKlRFDgB93JQUosp/X+k6tf2gv63+cVnSkqHqAHrdC57Xzu2WVEaiquDQY\nVf05\r\n=KISN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGSqNZ08keT8fVEi0tzMqupVM/x/xRl/INYyEwbvFhiaAiEA8383pSR72WHJHyJpP+ywwwfloDy+aznsB/3KHk9E5nw="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2-20190311005110_1552265562081_0.7864799619305947"},"_hasShrinkwrap":false},"0.10.2":{"name":"@accordproject/cicero-server","version":"0.10.2","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.2","@accordproject/cicero-engine":"0.10.2","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.10.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-BlmiSNEnYqhoSCPSGqtWkgeSEq7sygV8mRS3rKn8WWGIzmZFDe5/gucFvQfjChBAKuJQDBx6rq9o2fztOYTVZA==","shasum":"37c4d541097da655692c4bf4cd05c5efb9e86217","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.2.tgz","fileCount":30,"unpackedSize":50090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchbLeCRA9TVsSAnZWagAAvOwP+gIiVIP3Fb4OaiDXap7B\nUJDuRO+e1zmw+NTmXVhOZKwkzMZ2UfmYU9rz3RGDOhPNEGJla2X3wujfof0p\nb/sH+jUeeqmoFFGgKr1XJJhnaMN2CooquiQlKGR4CGorae5Z60STvX2vY5vZ\nYprqWfA/eSSLX60Dd6Op/Ea8OKEY0+ide6Yjqx6iDaejLEtlb29NWHekLQ+n\n048+brszRg96w1hEV5CErK2sx86CYIQwP32ZpbZzfKV2RIN3EWNnVZ2gb3u+\nROXxmfTfMLBWFhTSEJKC6tJtwnyCELyf9Vqifb1Ri2LjrK+IWxBQXzHDlfaF\n2QLdx8vYqwVkBa9I2rT20ZOLSOlUMGXkjGKbsSmXQv1jGz+IMN1YmkSQ2MeD\nU7fMDlEnvA14ZNly8PwB5VdNniD0kzCbc/7g8uvwSG3dLeCm8Z3wXYkX7D9/\nziKzSoX332V4jlTEH22pCzTdguL4/fG5gCSOon0DhbC1HZUPU4T2jSuna+9h\nRJNWNAE3KPitVMqcTnLM/aiqp9VfqyX3VQ83uu5zWac1BPVHVdKfowMsVqF/\nF7qhraTbekTAGFnU0yChUEiF2V658PKm9w+RM27yff1N28Vfl1jkjcvPp0QZ\nGlXykAvviy8uVmDbqGaUpikKR/0SnBau6vGbPbX34yLf/jYHwX61CrBhNnrr\npyO5\r\n=jKvb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZT7oYxqSYFjURskIIYRoS1UbmteN27ALdQ0O+tdb6fAiEAw6rRwRxVLbGrrSe5hzDDTql4ZB/wpD1N/4zfqodyXhM="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.2_1552265949446_0.06903806716301508"},"_hasShrinkwrap":false},"0.10.3-20190311010311":{"name":"@accordproject/cicero-server","version":"0.10.3-20190311010311","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.3-20190311010311","@accordproject/cicero-engine":"0.10.3-20190311010311","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.3-20190311010311","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-WqFHgAMTmRcyVQNjnE0L/HDDgwbCBHt42Gx7SJX24EIvrYXBWoEe0uTA1HWwZ2FCes1chV02vqg7u0mSRGaOGQ==","shasum":"f3d5c0f459241c6419db0e6482a2bfa39e24ca8e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.3-20190311010311.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchbQpCRA9TVsSAnZWagAATIAQAIh/j1AEoPWRdMuvphNI\nB/L4vNTSllu4bT0ZBRV2eSsMa1VE7rpoH9v0QJfGUcn8xTwJUHYwZdMVgnG+\nidBCsv+AnKUYEyJiufikFUDhXmsFO///JXupF0gdE857tE/uTop48XYp8LuI\nBKV091uNy4IHDLdsadZOt0esUu4YkRPuWBqJWacYOSORY94PwOQN2VxihISu\n70+0pfy6uHgUXycxitM/NQg5NkSyLyoETP89dnNpYh3k6OyzESbyf01pzCmR\n0s+eJPN2+9/h+cjGOWPI5PLus/N/BRSOY+jLmPyHx4AcrjZ810t0y8Limgfi\nVt8r+ZMP6qFDw9/xcICxhf4lZIXi7WsfnFR04xGh19jhlRO8vFqbmt8z1IyF\npiB+0tup/upWbrhsZXcza5o9sCK5wrIkGLVX90jlJw7jfnyWn3rfL4q3k0Ii\nwoqTkzgtzHrWGcNnu+1oPbdD2GDMwuCL7tum8ezPnHU1i76ypOxRh+Mx5lte\nbRUKLTsIdK1f27r4c85jg17qyTUFk/6QPq/bQ0HDL1J7xx1Hw9qoh06vpRlV\nsCrm8KcB2WLcs7auFbVIUk8jdFIkJn4/tLLOpgATxUjr0IycQOMh8OPPypQh\nD1BKn36KuBCi13S/lCJ00lHQqk+sKqNMh8OBeQIeL4m6hKwdVwxEosWvNfRq\nL1m4\r\n=rpbL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDtVloqwJBFJQnS72xS0S76gZ4ZgWcQ0vC69AxIOgN6qAiEA3clVd37vujN1jO1+6Ld/dh38wkbttm52PDJ6CJFYcuU="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.3-20190311010311_1552266280541_0.30964356948124894"},"_hasShrinkwrap":false},"0.10.3-20190312160659":{"name":"@accordproject/cicero-server","version":"0.10.3-20190312160659","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.3-20190312160659","@accordproject/cicero-engine":"0.10.3-20190312160659","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.3-20190312160659","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-K8HbDe9ZcNvW9Y10dWPBW6oW6qfL3JexMnUbPort3WPeyYkDIVyPYqM3RWBj6L9RUluziRib1Jc5dYxoRni9YQ==","shasum":"6c8227028b99f1d3dddca7f8c382e8446f509625","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.3-20190312160659.tgz","fileCount":29,"unpackedSize":109959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJch9mBCRA9TVsSAnZWagAAGngP/2lNOKfYGankUUlTQex+\ngsZXvQYT2j3ThKvVhBaIK+tGTRG/RwzeWsc/8ORyae5HRheCrHiU7ZkcVi8O\nBgJ192UFd6Etr/Nwl0smM4phennuL2CsoVTvSEorEmjGxpW8sREOkyKIKBLa\nz4dyXo2/W75+Ikj0m+DaZ4S5/BbJu8rNhxzGFrBjcJcF8lVx+EG9xpTSyAdr\nzJKHXqFk/ey0ewCXNXzSvhgwfMZ2+jBHNvZcCgCGuXylMQEhmiMxe6SGgcxG\n6/qpRDJ+CnNPeeBGPtkaIMOMdQThnrSz54Kc61fuAr9SkzKoTnl7pmQqAUvw\nyBHzm0P1rR5Qpty5IGUwevY7OirWG4cWLCYrnVl/FbsnX+APO5MpnjpKcX+7\nAriihjAiJouBAcTvKGBIGQA4orpEqVE4w0R9cY6UyI2nAfH5Ql75t3Zczdvm\n/N//80YhvoZF7j+FrIlCjCx0drhff58UWXTQwHeBEDQwCrydF40XvVCHsFBb\nTfRgiFAsb2YrqPr+OjvmKG2HY5IVzqEPnJA8+DcPJVFfg2rU+dpjEAyoYP6d\n6Qj9N5rteg80hD1krFB52/0fA9Ui8nraU8CSETSJ45VXcrBqqeJ+xsALhVk/\nN3HOCNFfshnzHQqtoE2LDy9nOiseqSdAdNuct1UaKoitcMHl4RiaMOn+V2nI\nJC+N\r\n=CDqN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHpdhDBNg114GSNrD/N1sm4p3qpKOWTiUA1qztoj4sCPAiBYFZVxigJmPnn8/SytbBXKflQsf/LvfpzqWIFBRwg5NQ=="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.3-20190312160659_1552406912232_0.4501100841429879"},"_hasShrinkwrap":false},"0.10.3-20190312171854":{"name":"@accordproject/cicero-server","version":"0.10.3-20190312171854","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.3-20190312171854","@accordproject/cicero-engine":"0.10.3-20190312171854","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.3-20190312171854","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-05VWvXWOfzIGAFOVKFEGYyV4F1YgDSsnJ0uR8e3RqJoj+hbrOjc8YavGu1PbosM38gu5oN0WclDNYexZ2QM0RQ==","shasum":"392d25ce797d29d806cca7c449290f3cc79a2864","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.3-20190312171854.tgz","fileCount":29,"unpackedSize":109959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJch+pYCRA9TVsSAnZWagAAdzsP+QAtlas7jAFgf94JNgQk\nZWnHStwfWXjvOUFvrY+yM7nhVX9fDWrpHA5YM+4bsVsDMB3u9IDBpVK4Q9zR\n9XbZ6pW3gltu5R5YhF2JifcL+GnBM1+kladQC1970wBRx6SrpvkUrWJX3Rpc\n8GsxdV+piWtO2rqUZRlgj904vmt3bOiy+aPwXdkOp6GC9NQ2k4+QeURBroJR\ndmt1u4JHQSF6VoiebgCmWwiY0/R/sUUMoUB5JqKBNog+3VqI6xR9Rpenbrir\niTE4QLn5TigqzNuATb21hTvRYUPOJE4mKWzc4j0rTxc1f5JKq/tkZL12TG/x\nic4IXnpyWbJ+S5atO0jPYPTexmpz9fkNWgOrd9rKo3v7HRvNhXbwX3VrqasZ\nu54e2tbuOQSzOBi4p05XFdRfBWJ5O+uAnYKj4alZAm2g6Jp5CkwqjbxjCsjo\nzpbINgGcVujmyJwPxi3+2Lf29EDwybJ92YNkiSf65RkRwNESvtRqmeI49Nij\nXj5jXN7dCsD7fPsxmeM+MySOtqryN8Qj2crYv/KVP0u+geArJcbkNjKnLcob\niLF/aXUChxccDSh1DLVxqufojnePlrNoOGThRm5wsoB1Q3YvtD36ciQlucJo\nKiD7lrrz3s59BxGOTyZdeuBe2rRAm3aNkFeZSakAbyd1IgVZRjhr5htXmzuW\nHYWd\r\n=vLEr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFjDn3YmT6l8rvv7P3a5cLuFCyhTK2APgzHhTRlG5eCBAiEAuRk0ON3KzGS3XLWo1JM5UyLuW4kSwOtraNk9h/HfIck="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.3-20190312171854_1552411223452_0.830253875086393"},"_hasShrinkwrap":false},"0.10.3-20190313190507":{"name":"@accordproject/cicero-server","version":"0.10.3-20190313190507","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.3-20190313190507","@accordproject/cicero-engine":"0.10.3-20190313190507","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.3-20190313190507","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Jo7f5E2hfNHP8jGChsh4gTIV8i9sRxcyoKAo3g9++qrMhEli+4kPofFDD9HaTCI6+dUuXJoB5hSAY9JR3DHR8A==","shasum":"9faf422c471918dc81b089d4c850ce22beb59dc3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.3-20190313190507.tgz","fileCount":29,"unpackedSize":109959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciVTICRA9TVsSAnZWagAA/7AQAIkgCozGyF4UpE+npZNW\nn85/U/4l2dO0Eh89MMJdVjITOZxJFLGG3h4mCZXeDXHCQBnI+rrdlEEBnTdy\n48irtYHRkcejeY9VSECFSPC+T/gFxSIHCL4rqL1Rh2EDbaytT/fMSLYJ/uLD\nBSDMoApHl9Xhc5DJK45KlU/KVeh581DX3rYQfrgIeZcpk7pDQcBXLaZek20O\nElWtsNfi/Mlsild8fX3zNVD6eF1rigH1N+fbEXvhb3EgSZMshPWiSw/Mb7m8\ny/d2/mRvrBLv0LGdqJ8ykH030tVJT1qp88m7BHcwdOtVaG1tkZ1d4b05CrhZ\nMvLkT+Odiz0SCzHeGUgM9GgPE9hFSa41FhzpIqo5K/COqNtNKx5kV+48JsOp\nJfMGpopa5v/Jnvh6rnxZdEeMt5g8Nl7Z+fN+g9AAOZhKxZf4alcCkEs1R8rq\nb050r3ojqjV1WRi3I4G5uo+wOqeUDf6IVBVIbWtnqoHTOGA7q4gG7ke+EEjw\nldsAOm77iY23rnMrRnAg+/ROsfGhnp+mlD7YtSIXonRZiHKmT1IALB/ACRP6\nX2Fl3fCI4OE/cvFh7vmxvDq30S8TQXXDcbiUluRBhB4KADGFZcid5FqnU8Xj\nUBOnMg6nbJFZaggJVSuYqPempAGCOf1fbiuQpKGI1r14ymPMsiLfXZuYonlH\nL4wz\r\n=FAP3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFi5fnHqZhjcOx2t7oIWRYzBuWtaZxecqCfGXV49H4M7AiEAnMZaj4PJ6E132nYMQ4qzXw+ku7/t08GkStRQD38sc+0="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.3-20190313190507_1552504007573_0.24766752096354727"},"_hasShrinkwrap":false},"0.10.3-20190315195233":{"name":"@accordproject/cicero-server","version":"0.10.3-20190315195233","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"3.5.0","chai-as-promised":"6.0.0","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.1.1","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.3-20190315195233","@accordproject/cicero-engine":"0.10.3-20190315195233","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.3-20190315195233","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-H/nTYMAzj84G2S5qgHsUEjosXrswWsUrPRXFjNRPAkk9MYdFIQeKgvg1SlCnES2BiETOpDvGEeN4EXEnvLY1oQ==","shasum":"cd94a8442bd5531f8898c614bb7575157183be42","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.3-20190315195233.tgz","fileCount":30,"unpackedSize":50135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjALeCRA9TVsSAnZWagAAabcP/iheWVvzsi+z3GVEPxbh\nlNQiQrQ7KF8fc/MRMRc+t8HTpBPSAAetLt0+E+fiCtAWqoIdIefZHqonS5VZ\nwqLn1jEcfqe/ghcwjbqYC3DgfRJKF174D85Z0iOa3rLCz8pNCkONgGE9tfcC\n3+ekC87tEnvdVVTpY/l47XsftpzwW/IX+F1yaXj6UdKSKaqpxbKuQbp0EY+Y\ntPFdB1tMeupylDARAXcggWgm66WrnkqMiocJPJAgiBVn5S8zKsW+o3b2koZ2\nELzGXnRaTVt0SIgxd59vLtvlEIomhP91p7frZRMbyYtCmAEUOftWVkLN5Jhd\neWJx2zT7ErfffDa5MSbcpQBtE26Jq41FWMX7ke3/IR/uAA/+0nxdphcf/cqZ\nG42QEc3XRvErid5GF4tQrU0SbGavd3vPeyzGLxR3N750krtAEmXxQdBR01qi\nzdwfDneQ1Ujl/gfh71oIpeorsMeo4ovlX1uEDic4e32pd3OA+UABk5h8lYZZ\nY6fWYt0b87RVpi3uFAKabWlC0jEIwzG7NMDPxx8o1MngHcXZkiEj8K/0Gvs4\nFMAGfFLwry+6zZBSDPa7LaEOpFiFEmQij3ysnZWwlngQ+jZB+XWA9z/Ns1d1\nJv5wvKVpvMXjV0O79H8Bq/IfhiRWQwcLenJ0/rdUZTlXgN+G9vdBqdrCTZAs\n5TAG\r\n=O1YF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFN/OsRNUUzVUmA+2RwJu9t2n2ADgZoRWj9G45WnWgcKAiEAx3GDQX8+Uei32oQ6HmJWWdS8y6k5SvxvlV8l6k1yieM="}]},"maintainers":[{"email":"danscode@selman.org","name":"dselman"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.3-20190315195233_1552679646303_0.028015022207389606"},"_hasShrinkwrap":false},"0.10.3-20190319224540":{"name":"@accordproject/cicero-server","version":"0.10.3-20190319224540","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.3-20190319224540","@accordproject/cicero-engine":"0.10.3-20190319224540","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.3-20190319224540","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-ImwcaektymapW78nBBrqBNS0wvdDZMy+A3HrsL0I+OGfDgmLHyY3mPc2c9p0B7bvcqgSvITFC3RuOpB0ySqJQw==","shasum":"f90c584281671491e5a8deb53ac8e54faa701f3c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.3-20190319224540.tgz","fileCount":29,"unpackedSize":108600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckXFxCRA9TVsSAnZWagAAWDUQAJ5+fSWBVa9qMtmb1ya6\nSMRycD49zV/jIGKX/yjJmOGuvR78rUZcCbSi83Ee56vtz2LZAer/00Ouu5MS\nAwgP/Ql78/SusAbmEltSUozC7PyJYLok69FnaXkmvFrADZBrmvpx2c8RNzRG\ny4TdTL5kxwvk509RsSCPMRj/SxU4Rzx6309XU6F7g8X/8OfijItkPoGwWjvC\nHor0cNWRoPXoa4gXgRhcwcME7yaoc3bw7ExJ5bi9Cw6vTJH54uAe5EXE+/kW\nSIsNphIWhZ2Wn36QedToVrdN9j3r0joXXCw36rqA6e2hIHMFMOr6eXkxskJQ\n1oGdwRtXz/iysZGWa+VSKaj6gxuFqMplMYE9jHfF9DcxloDDzad6DssBaxFC\nYhHBDbCAiTjhQ0z6R2GxonActw+XqwHaqoJbGaasvXIjK7XOmrrUd2U9Ze7k\nmjruKU5SydLNjH9+ITeGRXuB8ozj1fKhklD6y1Ieeppho1W4vFSz2fuTQc6k\nKZHVw8hi5lT23fWSO43clUtbBmXaSvIZz6J3gWcOH3SkZtLPLqLDLVM4s1Cd\nlfxmapV5WFKW+f8F4Wlc0qTrkJHLI4NCd98hLKbdZnpEfHV0Zl/9Yyz3pORB\nyRG6j8v968kKo/cbkGdZalmemfmPKaSpoO9kQoS5lMtR+z1MmXcy2XUjdSSZ\nkFjH\r\n=KBYJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF0sve/IOXREtkmwuesIee3kQIZT050gzPwke3RvKpr5AiBN0opHTVEc/nRZmFvuuvCTdHBDNDdz1372MTlFX7WAjQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.3-20190319224540_1553035632350_0.7601992470922372"},"_hasShrinkwrap":false},"0.10.3-20190319225603":{"name":"@accordproject/cicero-server","version":"0.10.3-20190319225603","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.3-20190319225603","@accordproject/cicero-engine":"0.10.3-20190319225603","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.3-20190319225603","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-qwL1rRZGOdoZuaeKqqypmOt8sPhmpeDXMC0QNqXCTuSChmPXoDQWzP53hRrigHDYdKMIGHuJOol+VEHYkLnq1g==","shasum":"5a830b12a3bc3a94c8d51c44777080ae7ee04161","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.3-20190319225603.tgz","fileCount":29,"unpackedSize":108600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckXPeCRA9TVsSAnZWagAAZJkP/3zBk2NhQaacke5YNVkq\nnCwPCBIYO6z52NnHI8+8GtMHHHN+lc6En6r6RL3jsg0Oh/fvkSCmS/Aq9Zru\nXGCXoowS5qLGugkZi8t/hLwbNkX0TfChYZlk8HWEEDgBMWxvfdIzS+kKzwwF\nKzbQs1+a3FBYDR7tlDeYaWUQYe6m7zB+QEfPG+n2v07K3fT0c3CfyC3b75FW\nNyNWwtnRMYsbYM28aGg8imX/8w5j96hoTPQXL6zuY3HD/xy1Zj4I7VnP7bQx\nc8ff8jKcJeWhii2TqdEA0+tNN/txBJ3ZRFLjgvwSj2bYCpplLB4/mswO+mC0\nPkbxc/ziVaiepMQbWaHqhziWlRGoowTXv88SisizJbs74GsRSqXPsZXdCQtn\ntc2bA3iMaMoAb/Bgwaa7oIeVi9ZBcTr9nMdD52Vrh30IzqJZCSXQ4VrhU1DQ\nGsGICOqLtPKe/wx+Hf+cMW1OswNv0nwiIg/DBOjXBjT1IqOD02jdt+ta3VS0\nVcqYH1uYfeMm1amSX8UrGK4NbaeHyhT0AvfgA3nMsy1/62Q3UTin7h43s1Nq\neeuQ6e9duMkajqZsxBZSbMIVPC+KANe6zP6YSDyMZfWouCZYXIW4BWGy7e2z\nJ4SmYgi7JQOVh/JgdW1GEXzbgBxCP7ah9E27vzsuG3WQOYputJ1Sy+hjreaY\nL26L\r\n=w2nX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHyv76SGrn1KQh3wBlCtTLZveGJd5hIDknCOjtDBGjEcAiEAzayy+SNlZvKfApKB9n53tfRoPmNRQwrLwQnKw53QU28="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.3-20190319225603_1553036253872_0.2022969703031472"},"_hasShrinkwrap":false},"0.10.3-20190320035629":{"name":"@accordproject/cicero-server","version":"0.10.3-20190320035629","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.3-20190320035629","@accordproject/cicero-engine":"0.10.3-20190320035629","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.3-20190320035629","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-qRAscQHCy6aMRmF4fYNM42WA6an2uGZqhakcPOcHiNZbCfYlIMZLG4AkiGR/cqPpedmHUkseRMtcbPzniQ8weg==","shasum":"0694b16f12e0327e6cb915ec951b74f586f607b7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.3-20190320035629.tgz","fileCount":29,"unpackedSize":108600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckbpGCRA9TVsSAnZWagAAGxsP/jf3K/W+GfEnhxiuEOfm\n7iNtIg6LyIFSgPXMpuet0O3UrqY/hdDItCYV0Jw5VBPHRQiL5wi11rmISGkg\nsvTp6axbn8CLZTjIqgzQgpjkYN4dJdP6Id+t8OfzU74yc1ErgoDgF6ctsq/q\n1rQrxIchYbMYAyk8V/FhMwn8TfqQwatDxvnFrXqNcfaY02hrebHmIrjdAr2+\nKRCp+f8yC+36uI3QmJSC4w3MdstlWQ9qZsx8CJwKHIZRGyHSLPaepy0aEHB0\nsGC6RZCgTIUDuESrxgmMAyATbtkg2RcQXyd7ktcrrBf0F2CT+DazacOx9jX/\nZ3xss1fyetlLgxOaSGnwHMNXZFCgQxGw0MLJqdJldiWSHGwzQ//C/rMRzxkm\noj9VDyrwlQqgPVezJI5eeMt4LSJ18kHt1omqwsDLCSbjg0IKU8YNAciP3nBk\n5I53lYcgv5aMgW1KKeeuiYVKqEX01ik4ZGyic1VNzi4FbOT0JBbw3x/6FVLF\n2cQMJp2C5+zYLn2d1smNYJNmkz2cmAhuB+k71IQ/t6M+TtoViJarBRturDBt\n9gh5EgEM9fKCm53rGKSbUDE6zW9QjDK25H/VLYyZl/FHIenbGI32Spu+aN/g\nfGWSJv5QT1bAovArbIes1DS0om5scq4FliNIOyAObCReq5UQHE2reOwTiWzD\ntEZY\r\n=7v8K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDz7hJe92IUEOA7MHF1llcxol45WAAVl+8DXw994a9AQQIhAMvax9Tgb0y2Ddtra1yj+QHYiwAc4aAGSc9gDHEX08N5"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.3-20190320035629_1553054277875_0.8019407107365348"},"_hasShrinkwrap":false},"0.10.3-20190320082908":{"name":"@accordproject/cicero-server","version":"0.10.3-20190320082908","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.10.3-20190320082908","@accordproject/cicero-engine":"0.10.3-20190320082908","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.10.3-20190320082908","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-onpHjun3H1GE7INQi/3N7NFfxs7M5CjnGNr94O6cEL541jTH27sUKFXHops4Zocp+q3crbFVrNdWvdhTR0P+kw==","shasum":"9a4fd46aa90ada15b989d8260767688860cbdcb4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.10.3-20190320082908.tgz","fileCount":29,"unpackedSize":108600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckfo0CRA9TVsSAnZWagAAkzQP/2DSw4ZWaoHLUjOIuTn/\nyeeyoJDSvw9B8pUVLP6ks+mrd5Kju9G5snsH0k2RfLC3IAdO/WZgW6l0sB1C\nQca01dFg9E26YUCmOo5EoFl9q1e4cxPTtBkio+/etZ6ejz/DcUrAWptbcnLb\nv3quBg4b3RYZBgy4jqGpzvKCQpuBXIxrfOzFaX1KuY4uyTmuUMPHV8E8h7RL\n7jVHyFGhg6gfIHfUSmdK3aRIN7dvBHgTBRvEeLPA05ZmIjGioWvWpbaYPkYa\nHU1E9i7ikgjs7RCsKkjoRZIPxM/2hNUlBEvkrFQSDpbXoIqDEJuJ3s/Y+DPY\ncS4CiV2h9aDjd0mWTL1f04MWOo+pFd4lB8EjA7CHgbqOuhQ00wI+7CtLwbqR\nIXnfqGRZ4p91gCDT8nJEdyV1IZhiISL9yALzdpVCOeTILfa0LZ7QqA2KG9Ib\n8/tZKkEO99NmUEBtupOswoFlEY4KNaZhPLFvxhDpTo6d+dxf6wbUlqqpH/zo\n7PsjruJ/Q8I5htQ+GU9RSFfO8NHoXfCgDD9NFqFNWssZ6U6f0QaREocU7dFq\n3Oc76LNF4SYI0Hga93K8TkYYJ2E0QbeNKzS8PRBoHelZ53FK+XOMQyN5+mRC\nUyJrSg5oa0rjhycn8kY9N3V5UIu33VAwtah8pMkePzj5dXJghhFkd/kwBk4r\nft5V\r\n=LLUA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBVX1cm+2eBJUG0VhP8fGf9TzlAaayee+iN2ZAvu76t6AiEApmUZWjWjLgF6TdJRCMRoYjKBBpMc8GaouwMBqBdghMc="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.10.3-20190320082908_1553070643783_0.6059157414090384"},"_hasShrinkwrap":false},"0.11.0":{"name":"@accordproject/cicero-server","version":"0.11.0","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.0","@accordproject/cicero-engine":"0.11.0","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.11.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-C1WRt2SSwMo24fImR4rw3UPehDGfiqSUQeary+rUO8O2twbLWB0fEghEs4xeoiqpiU3+MyoCnelOqVeD2AC2ZA==","shasum":"f84928a4b91847beea30b56504b1d6f082bbe9f1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.0.tgz","fileCount":29,"unpackedSize":108555,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckfyaCRA9TVsSAnZWagAAb6gQAKLMoC8P7HtLqeMmxoiJ\n3oiMuY4JC3JVFDNRyXWn23vwLGpb80glSwjWNOcyDyg5aRLsE2+4kIfMCgdn\nCZ1xDAO65G1BGDlY73NXgpF5HSwwiWmsYViNWzCtjHr3+/RBToU4TBsj7aE/\nx1E0HgkfMTUUEBQosulKIN1UujNiW3WJlRYvlucAVXPB1/kLr/Wz4uFN/gqD\nTxT0jGpV1mA+Bh5bDn4A/UWTfPTxr0MbViJHW366OE9xslG3Oxu5Frllt9jJ\nQIUmVzuevrj2/8Yi/IpjPPS9f7eBcMf3hE5p/UBBj9hMZcyqPK1hrBrGN8Ty\n7lKb/nsxa2QyISUxmudiEPVv2COv+vYHB6soYPQJ50s9mp3E5nJmKU8GZTiz\nwt3I2qc+uMs3r8Ydsh5pPx9EfZXeyNp13gSXXQywJQgMrD7twxvLCcXAmDsk\n3yHb5XZWjBpeLLVBrLNgXvsm2HRozLQBTS6ZaCDf7c2jCXjo0BsytWuUNrUx\nGAsM/6mmv6VT6AVfiC/lUY99oB4oI2/o77vNnLT9JFRESZgDG7fJ+dY0VGE1\nioIVsfyvvzFpHqPkUmk0VYW52p+zGKZQqWqnNT4oKVnK3dxs/TBTDxULzEZ9\n7lzYUKh2oWQfLgG0P+f5Mg+2l7OEQHJImUvx9lNVL8kJ26AtPq8zb3nUdCFP\n4RY4\r\n=zH9w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEEs/l3alqgtv3B9x10f7W1l6B9fnEKPrVIpEDxNaMhgAiA8dAZeH/vDAI8zrz+TI2sQuUqJBHppCGfzN68VJqYC5g=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.0_1553071258405_0.8920901474924388"},"_hasShrinkwrap":false},"0.11.1-20190321040745":{"name":"@accordproject/cicero-server","version":"0.11.1-20190321040745","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.1-20190321040745","@accordproject/cicero-engine":"0.11.1-20190321040745","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.1-20190321040745","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-c+5X9KBWGXOIrGGSYSnA2eulfETZNTFLH8QhPI5ZcX8JOpKiQ0nPfLscd35B2oVVRguakbSiT59rDHRTZ0ziYw==","shasum":"c407272349f47d82b8be88fbf7e0ae2ef915ed1c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.1-20190321040745.tgz","fileCount":29,"unpackedSize":108600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckw5vCRA9TVsSAnZWagAATuAP/RjiIlcxNeLXebNzTO+M\nf3CzXCpVy0OXzYnmUoCUNQXPCA2+IIlY4E8RibeS3CbUkIptoll/kC8QtZek\n6NxrZobE/lqb5xn5/hyaf+PHs2zRskwuUt4c8xJ7pwjzy3rpBOYdvNVutEHd\nLAL7T519slDeEYz7xFSR0NqMAzPDkXKOxKQODgAzSEAe2r/pX0KiHQ+T3E0J\nH9y32ASfrWs5RrcUleIoMZT3QaIcLYRs4U1ZJzG5THMz03lBOLNR9ZtGD1I/\nYEzYQp8cqnkXnzxnVFunPKmsGm7EnFFQJRNwvb9e2vmjfryTOMfSg7rj57er\n8tTgqgYU8Do5TuDt1akbMEXrSCdM+14vUJ+/KY3D1XKFFd8QknQFmfjJrk9Q\n+QSN16sMFT8l5DjcBqH6L0EwQtCqrzR4XbxyApA+m4Lagcw4zMV2C830xNe/\nKxrBO8UMsC5RCtHUPSfy6u4f/xwrQSlkjpc3+dRWCUtyTA3XzCDdeksFS/zd\nWQ+Iq63qmvsd0bBbN0O5SZ9ZWtvKKsPThkye1a0e5/fyFrMb4cSYqNkE5ya9\n61G/TukV9NuGJfbr5NTY8dhRCRXFuwPigkxftbxGBYP2F8TRhecFT8w5v/D3\nyfPVdbEPDBdcuRHoN4l105KLR96l8BRet3uCZoyiLltTwooUKStLxfPALFDR\nK1TC\r\n=zjNb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC9nIEacvNB+I/RgtxMrH/BL6OB6/A9j5OuHk7+s3U6UAiEAoSdvFJ4OqEPlFYxpaOUm00Eiu4a7g4MQn11jusDxoJE="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.1-20190321040745_1553141359486_0.01972603583425636"},"_hasShrinkwrap":false},"0.11.1-20190321052516":{"name":"@accordproject/cicero-server","version":"0.11.1-20190321052516","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.1-20190321052516","@accordproject/cicero-engine":"0.11.1-20190321052516","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.1-20190321052516","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-oezMdIch7Oj+qz1UN+HR6U95i8KKwDzIzjcLiplPIlQDATXUKJlr9/sAWDwdwypn+7w+xhEl4ZCMhlIsE/Nftg==","shasum":"4c464a2595b0b399164bbbb0b5511b0a67c8078b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.1-20190321052516.tgz","fileCount":29,"unpackedSize":108600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckyCZCRA9TVsSAnZWagAApuYP/39y2VLxifgmB2Oa/vRp\nzeX1aD33hMy+AapcnXTSg8br8SzWMmdb34zTkFvSfGXjet3jSia+lqpmUSVW\n66EY83Hk1bcoSWC/AWva9pP8po1wwSGb6/UltAsP+R3kiWrhhigewgMQNh4V\nDnHLIWioXp0iJEszMRDgPZDb3xO1/Thwrka5VmVK4U66dqun5e8Q1fjz2Fjd\nqHuxMX8a0FyBSN1o5hdT/gBhzURnbibpxiG/hQPc9/wgNaY4AT4gdr0Srq7M\nThKCL4Ezq5Ihy2scVjgSZopCPyNcs0KerXMJuNRmdqzRoX4y0gWldxUShnoI\nHAMhIGm1GkvDmV3Nr1qFGRHeBBQB/mz6bKZPXZqRF6WS2WnO0+NJ8rSQfjlN\noZo7Jvc77gYxBoeRwJBY6G28oRxSqGbyujxKffpqY9IyBlbOlscvVF24pAmP\n10dPwYFbJUsujPrmpu8xJY0kIX3fjA8/sKSfue4s55rVBbTYCFirAk3OIKvq\nsLbggNJfBjscDuWKLNE4yQ37LzlM0ho1x4NWCKC4+nAhCu6YfZSlYQKG3BNG\nDF2G7XGEIlzyCaQ1KJo41wv4fkBatReorItPfdUA+Q3eo4GFwD0M40nP9ab4\nJ6Z3mq2RYgJ96lm4IeKZM5khg/P/KWTeyltFyRszkSoWhpBQB6uYSfBFTUyx\nHEhH\r\n=yoLO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4myKcVapxkkETRjrtLzmReB8kjjAexXksie9tSAFFVQIgCQlyVpBdvvJ5razV6/eF8XBom4bcCZwKxCf5xZNiN34="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.1-20190321052516_1553146008371_0.053367396572829406"},"_hasShrinkwrap":false},"0.11.1":{"name":"@accordproject/cicero-server","version":"0.11.1","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.1","@accordproject/cicero-engine":"0.11.1","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.11.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-9Svl0o0pYjD+p1+gsRBcppnhilaFb20Suut7qYzIOo3sWfLXE2Oxn1X5qBsWOeQhtr334eQmRpjjK0scptPJng==","shasum":"4a7aaa4e40245c055f576429641d97baf45a2b1d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.1.tgz","fileCount":29,"unpackedSize":108555,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckyDBCRA9TVsSAnZWagAA7E0P/1E2VR8hWlv0OoF1s5NY\n4C/27T0AtlYVDu9oeOqLZhdPrPmbyFe3iv/5OSW9QExEVeBaGCCvr85hLcAA\nxG+lDLAGZheqiBZQVX1zC3jifxZJ2W7BrglHA1SMT5npqRdgoBQm/DWoSL2Q\nUIZ+fuDnbOZbrFgaTZvvG28WmUf7e2JOWsIS+0d0hiHD9QtA78INwEMZIuzh\nR5KDt7hUDS/euWyJ+JEJMjTclWHTjOdp/8eGT5O3C/8HE0KcABNpsFI5gPWq\nM3a0NolJnY9Ngvos2JHSiy8ALg604vFQGx7mf4agu1fO/P+pWHx4KlkVQfF1\nGUMF7bVNtFaNAyassuhICqWdNYVeZ2diGgnrAZ/8SDrg+zooOVGHjRUYaHpY\nZThYsYB2Fq49W4LqcGcZT0MalO9M0TcUDfwBRbVD4QRSzVWpm07uS40UAX0y\nYTYsVGQMEPzrAppu6QX70gcs81xVbi+CHmg/nKRqeb49capfSFqLruypuIQR\njmMsRmx6g8BuAgxZNTjp3xsiAYQqyLIwhB+NJOnQpKAVUjxWf5eLS/KoZx+Q\n5qHoKpsGDZZBeeqvnmMOU2/TF6b98T7l20XCdUs9NGxWBggysjm/oqkDivJr\nKYdwPXPwmlM0cPWOB3iH7Z0zgJUGGZW8sMMsOwVhwm24zFuc/HxdEBl1J1tS\nPu6z\r\n=Mi41\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFo6WI/o63dubk5xMaP7LCR8sqNhtXTeYje/in4hFt+7AiAUjfCc1ujOd9TE6I9LyWw7m3wcTotconvNcZ11sISVPQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.1_1553146049284_0.582502090999824"},"_hasShrinkwrap":false},"0.11.2-20190321053306":{"name":"@accordproject/cicero-server","version":"0.11.2-20190321053306","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190321053306","@accordproject/cicero-engine":"0.11.2-20190321053306","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190321053306","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-pTip5q/cGUHI+KQ5EILLR69Tuia85GeObBRXe1Zuwnj6mEwQ1TfgnqLDUlrE6B+PnkryDB0BqQXPw7hL/7QxVQ==","shasum":"2d1d4fc2a0403293ed01097b8d07b19a2d3293bc","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190321053306.tgz","fileCount":29,"unpackedSize":108600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckyJsCRA9TVsSAnZWagAA+TAP/j5RxLFW5DMxAvHrVL3C\nHszvQN2ukxEFyidYugeS5ggSh2CDLTEernTZX6SxIsY4cHWSUKbHK5w/jfCv\n+BQlKRukhB+8fJdAY2zMO8sE1CbBkI5v2wYKxgDftcCAxhIOY23Hp7PMoOaa\nC6cn0726dBai/93NxK1ZW6ENebbaIDOl0ilzIRyjOkxPdrKg/vHidKwDVe10\nhc8vnFIHd1InmAwByRL0yUchGfrw2vDxQTikCsadZBEMlae/omyKKTLNBjRN\nZMZ4hZl2btty1kbBSkNZbssV4jaQHE6eSPJlr3LraCuZarne3bSTo+xcMqmp\ngMXMbd1S5SO3MXjFSGNtDT5n8Td0Zy+/4KjxM2+PuO8qw6e+ztfjUpr6DFsA\noE3UfoXwHkHYsReKrB0hWcSANBXGEuVZTwo3IY0g5iKFIjVzvGKSCyUsP7RK\nV+VdP7eSeeSRXp18ur0/mKPjQXwo22n11kTnvng+758Uy7C9o9YWi/kqt4Yr\npAc+mCeH63IoY8ZoInZzKD2kX+1Ls+ifueSzz41nE1Kx0Z/YxDYgX4tiaG7c\nu3ea/t4uBnR5X8xOVeq7rxKiI869se7WGhuw6aldfIxE129fwxSCT1PffJ7y\nHeA/FaSR9hpyVTao/9lQR92Jp2c3hPy+UF9SUPblau8hrzzuUiD4G9r2dcTZ\nklSL\r\n=GL/g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7mLVLikyP0k3cxhmAH8Uxnonh58WxX7ch7KDEUcdRhAIhAOep6kGuGzW9SWPRwYmaIBf9/m6wlrfK5NtBkyKxZNE5"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190321053306_1553146476102_0.5318839613090618"},"_hasShrinkwrap":false},"0.11.2-20190324212505":{"name":"@accordproject/cicero-server","version":"0.11.2-20190324212505","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190324212505","@accordproject/cicero-engine":"0.11.2-20190324212505","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190324212505","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-r01La5MF5uA54lBKBb4whphU++OqQ8Kus+jw72QZnXE5d6z856hzeRZNfiZleYLPjpx6m4YGIKiiP890SPfRyQ==","shasum":"b53140e7098f7680da1ee63747fbcfc0823572b7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190324212505.tgz","fileCount":29,"unpackedSize":108600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcl/YQCRA9TVsSAnZWagAAsg0P/jFjKH0tfdXJzaMuUoy8\nM8/Y5PYPx5ABwLAhzyKfy/wFCX5RvVoUoSIc0b4hP6K9xYJSH4MTduBs4vbP\nvsgfTO3LXz0KGD4VKPFu28kSedxtU5SbJygWzU9DbXE86xOz3WrjbvLUB25s\nw8TpljCfwiy2zGdrXSOaexW1ezd2oqDIJfNwR34/f91gC+51187/Yfv3mYf1\nLT2rZWfd+SxVAX6Qgo5DDeK/2ErYTiXhThaHC6XeEBC7yiICGzR97oOLpymO\npnJdwAXlXTCBVt7f3d9TkOc/uZow/wSCMMTROm6Y/a7E2q/oAavWFNrHgO1k\ntiQNotTkTt3ZeBLBAOLIcP0xwEsylrcHDg1b1Z5Rbgi7JK6RbYltjtd+TCho\no8GV1oSZuC/nndLOBnO1/kouxoJuXA/lRwcg3rctd1YHNan3PJ62w0AVy/1E\nb8XTgLlveEmt2KTZVMDRpe5aNPIIXMhAOHlaF2aMCk+7BstCngC0ADSqY8Ai\nNuEwl5dZZpFJgCXvGJIVLiLmV/ltTWJxoyS56FCJMtRulRk1a0dqzE5P63MC\nhXvfl/6uinO4fCnSgRou2R5a0BeRUhIOZLUiHe2SDOiOQn+67d8lc/JrDh3D\n4qvi0zsCDuM+4XPeAsuiGdP9ASWDNyfPSakLT15abPPY2rs6E6rroM+PI16b\nkPlr\r\n=ArTJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUYMujxAgS0A6ek/f4eAU+SJvtAdlD3hO+YPhZmzIpKAIgQnFmmoNtT3UbFWTR18E0mp4SHajcE04jorQTHdEtXXM="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190324212505_1553462799397_0.016556359863274306"},"_hasShrinkwrap":false},"0.11.2-20190326005634":{"name":"@accordproject/cicero-server","version":"0.11.2-20190326005634","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190326005634","@accordproject/cicero-engine":"0.11.2-20190326005634","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190326005634","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-7+Bo38c6PwB0oohJLwtpb7NLZddh4dDUx1Z25TEj7DdxeZsNHphrc/1TekB+jCpScJMPI01qUkICaGe8a3LF5A==","shasum":"0a684edd02011b1f3c14853d61aac6c6a3963a4f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190326005634.tgz","fileCount":29,"unpackedSize":108600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmXkgCRA9TVsSAnZWagAAv2sQAIW6VqGiYrg/u6ZfidZb\n+NU4WWDUndP/qXnU2PnTUaDS7Qlw2dzgMvZCfcCG8Gp4rWUZVraKXXdXS40B\nYsiq/KpyUmLfiG4NGkJi1cT4FYRdCSbu68BRmB6JwMb8UMYSVXAl0jfxg0Ep\n4DkD1sieOeqo4cUCiulsNc2F1dXPWRWhrlB7nJc0lEfQ/HGB4kW9cb3CHTD7\nyv6Iw6KGWp2EWYAWbjn1QNdhqpf2xzUlIgm56+xoDhuADdSltVmLQLPMmTky\nlT7b2GtKgz0keebA00lXSXa5xUJCCOWZwj7qsfL87If5BBCMuC+ovFNxOcy0\nGk4IpV/GXxWAaSwKJ1CstBTJBlS1JxcICvArCWFS/wp7HeLdiOWUmOCS919D\nvPEW+HSgpNOD4FQyQfv0JQCdu44ZQsPxllQplUsoGQGHmqyXO/VlTyoVD61k\ncF/xEldfFPsu/nfA3esmj7fSxCo6dueXrg+WSmFr1iHIj/z0qFx3cTkTvAtn\n6R+qxnIvIWwrBSvZd8TVMcFMTTmMOWEktZIJDkif94LkvdymIYTC47M+96uv\nbMOYSXzbgcIOjzVeBWU+HeysSl/Q5s3Ce3tX979biWWUyV5q4+7xw3P+FFvj\nGbo6KsvuKtJFjWB8ZeFfPoIFPKuLagoPQ8a1ALKgm/b9FJc9/T9VbqNVpcyQ\nQMuu\r\n=a63W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5E+7vHllPeAGmWVb8341F/vD0RTB4Zr1l0qRetUzXBAiAWxSvaRE8vm4SVZdrFDyDl1k+q8zd/6PLXmmRRw6Fe+w=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190326005634_1553561887538_0.48747216733261056"},"_hasShrinkwrap":false},"0.11.2-20190326105923":{"name":"@accordproject/cicero-server","version":"0.11.2-20190326105923","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190326105923","@accordproject/cicero-engine":"0.11.2-20190326105923","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190326105923","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-bGXfz9hBraCB3JJ51rmPXs+gdi81PkvOlAEniGNjnbPP0B+PYoBvEUnpaUid87Ic3HMl5bH+eNQaas8hjkGoPA==","shasum":"d54863673e8b1249e81d61042c8a0e722448550c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190326105923.tgz","fileCount":29,"unpackedSize":107129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmgZqCRA9TVsSAnZWagAAghoP/2QPoTIYCzi+Nkm4SYBh\nAAK6H5Zz6Qt71QULmvFUju9RURDm5PEfaat6BiWE4loOhZASTOuHuTVG0Ed9\nUJ3irJtULBUZ4GypYIojPMCJ9vqSE3WkMlp/w3g/sdod0fKKyJ0Ld6AuFJbP\nCgTznTt5yIxAQHkNsNvNXeN3nAc5sM5iBZLXKmT28WKyDS3tgX1+4spZ/mdZ\nr6CWz4LgOnQH/lFeUPoXtkVJzySuTztN6ZXNS10nnrs2y854tmduIMVEKqSN\nyGFIkrZeqlKAaaEb8edHvObidkNPvjWPj4HvQHeJEmxR3EXZwkh55Y3pCbUX\n7SrBVX0JiBPAjtcCGvd2GLbWXy3eUYZShbiR95L0GGQXBCv14cZdfjFhPI2H\no+27qKSi6p5CI37hYpNhls4JLMDvy/TuEzJ/yhk1G5nZKQF6Ebrq2QP7RQ9h\nIus29ID9Vp7keeMG4NQYk4jzgsxJA+QMXggTVcLvKLAWIukZ9ZjF6mnHbC3o\nQ4AQmsSjKtFv6foaMxKh/hQkzHPurnYRUS/HlgOl3iiij2pKVd5TGwvs0tQB\nsGV3A1KHG39Ge0sGBA0I2iIk1IhbWvtQkKGs3vLUJWgbSY1D8bbOzM6aUm3H\n7dWFk9e4XituOzmTFOdUCGErBp8uHzlnpcULXZrVDLplan4g4w2zKhVWdoSm\n6g/B\r\n=uhU/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+YufhEkArDI00iAnuNhvW/DEx2koBvGx9vjQz+MJmMgIhANSspSHBsDBct1wlIHB1twyYdF50MOtY+sxThs0JC4I2"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190326105923_1553598057514_0.582797074713707"},"_hasShrinkwrap":false},"0.11.2-20190326183124":{"name":"@accordproject/cicero-server","version":"0.11.2-20190326183124","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190326183124","@accordproject/cicero-engine":"0.11.2-20190326183124","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190326183124","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Uc3m0gSUryBOFKp1unNPuHC8r03RJfGq/OmTOQWoSbqMRt03tRxeH7HT3Tef6t+BJH8D89l72K1Mg2Jh1rmw2g==","shasum":"ba2c6be00b21259dca650d04412d61f007399d60","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190326183124.tgz","fileCount":29,"unpackedSize":107690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmnBVCRA9TVsSAnZWagAACHsQAI5XAF0m43qq2CcrQutg\nwDCbp8TNH74euh6G6TEbFdeY1bHSqHOJzeflF+pCVLUapPRgjKs67umT2vTI\nFgba6Lr0DGztyQA+FQ6ZUnPQLQQzSv8MTnQvXJvrQDOXVdxsXgThoB25+2kK\nHUoLOvDiSLDS5EvaWXrpoj+ygRpxT6YA+RCoGpiOc8cGvB3W7Q+KAW02yBDP\nQ9JoO51ThAY2oN3T9etpBLzAvaXMVNra3n+yadpVKoYesUd0FyWXx4q0Q6zg\nyZsp4NloQWds/GLDm2aJ6LA1p59Itc8hOXPK1zp6KlJ6C+2gJkNflvBqqZT/\nM1bHmdLmP7vOY+4H8wVZqYAgNX9Ghl05EN6KsBuhkp6jUwyvRKTsF3zScsej\nFWf1C21l5dQkZmkJPCWKgt/ui/eWzeptOJ9+aFurMUNSZ0K8TQQTdlwCHvj+\nWTo5SmlPapXXhjk9lWDDieH+Yx6mkn9YQFkbzmvnJzwzfmqDJgkJZxdXY2MO\n+JhJN1aPXAjFzyT7uoy2ZukwB2TrR/W6n0ypRrmF+0i5bj2AXMuzoRZyFZwY\nmjfbHN9pgRG/cAdvA2Pt7K0I+WxfLigEPXwo2/ypr6b31fwiRBXbMgZPi+nS\nKr0xuaYbaGyLAvx1cA6llq46HzENU0ZSOq6QkYZWesPbuU1UyKmp1aunUGTs\nQxgo\r\n=na4I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyxquGjNd9SHtud4CiV9M6d419kDDiKSGWU5TNRqGqvAIgMojdGwhCu8g62N+8JAunbOnjlhWZhW/CAFDjhnZXmZ0="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190326183124_1553625172557_0.20089642920600803"},"_hasShrinkwrap":false},"0.11.2-20190326201007":{"name":"@accordproject/cicero-server","version":"0.11.2-20190326201007","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190326201007","@accordproject/cicero-engine":"0.11.2-20190326201007","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190326201007","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-QmsTTmdiJqaZUggPeg5goqcJYIv3iY9CesQ900D8Y41n5OYfxHNNu9ZBTh7E13fmbxhq9pem8+ya/BQvi8HV4Q==","shasum":"d0d8b3b46cf4b15857a2cdf55821d97ccc7e805b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190326201007.tgz","fileCount":29,"unpackedSize":107690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmod6CRA9TVsSAnZWagAAgQgP/R6OA82k403SK0uP/GSg\ncNk+VfldDWsUJfg8s4ETJ4BeQLCITSBFwKi4ZAfiGJg15oQP2z1ubItG746A\nOvyBM1wNUUEaR9lkFnY1uTopTdKRtI7eaEtHCHuTJa/fgkKznKpyItDiQoHb\nEeMsU2vXB6XHG+NF/9rj7RUss93WBcQvotRTea1OwNpGFPEob4sMq+tiwblO\nbu7QgxDMGrVjR8VuSLOHY/wwmPn+QunCkPYeYH7hh4fiClqTCsW/Dn8Fffun\nAYsA/5BLC3sV5Jqx0y5dm2Yx+3M/c79BbBWRLHvr40yxhTZEa8BNDbVI0ltN\nnVCuYsYW5JJkVf8jV1pkKcfo0ytXO/pesRaJTvSne6EheJiynwqNSR8ZxwCJ\nC3Zv0WRrXWCFQQ4NajknJfekv/hTYj57zSkT7G1zgoEI7qI91ad+/QpDF42R\nUvQITz5LrZITVcSOsX4wAqNVD4x6bW2gLJUo8FalLLPdLpsXBW5SmS9hfvsy\nC+mpzgb3oVxldJR5BL03bs2gFPa4i652WufXV5CZuwmjpafgDw9gJR5KVWKK\n/WIjeFvjhSsxBDjzjdsWeKUBa9Ue5e4hb24zjq9A1SPZiz9eiVVFYkhNXyBd\naCHB2ju7xHBOt6t2vK9rR3yZ9JjPdkoXz32aMLZpD4m5CNkWBmZyBbUMLdQH\nq4hQ\r\n=ZEO4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHkN/FDLN/zZXlf1/BAIbEmsXYfTQnNC4pASnx42VfzRAiEAy7/F5WzsdhoMT3rI4OA8vYRErSz0qnQNcFhXr2Z0Yu4="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190326201007_1553631097942_0.5900644266142483"},"_hasShrinkwrap":false},"0.11.2-20190326220202":{"name":"@accordproject/cicero-server","version":"0.11.2-20190326220202","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190326220202","@accordproject/cicero-engine":"0.11.2-20190326220202","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190326220202","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-ICU92mq8Dq8VjgD42fErKOLZifyeRQAidWNmXFkWjDWoqD0UGvOEIMgLl3BtnTaAlbLJkZEYPX1q9uAPCu06uA==","shasum":"ed0bc92c649fb1e114a8d6a49d75edd495855be2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190326220202.tgz","fileCount":29,"unpackedSize":106219,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmqGwCRA9TVsSAnZWagAApBsP/2Kpnw5qRITcSwkReAnC\n5lpKSDqGk5MTAS8WX1GeHcdW4hs09lfUPYHKFEjDkfl5fOIpIgwfZOYCtV8z\noHz2xRyXCXPPg3J5s6GQHedGW6GoWoRy75oBn7KueqEi3qOEK7Wty4x4b/Rk\nyALT+r5x4BYQuMS4+5u/FSVaBnaqj9pEK92ts3wbZGF5rHgqOTeidxW+awu4\n7NdxPtsux/442pB9vPgnrzeEiyEhj5Qsc2PG5vOHdTA6yvTHBxAZmF0W3WO2\nd4DkbjU58iJtqaANjxcQhbGaVNZ+OTJpwHTSoUnWD8hKwBhQvd25HaNOzHy8\n8heZ/xrjVHVrhPwYW6g9qDY6Eb5hOIMW7MyhjYpBpCp60QlNgiGe+Q4OvWaO\nMIxqfzbuVVvroCQmcYKAavOgKC/whoYSS5r/3p6RXNbFySyacc3Xu+EoLUEF\njXDOuNa8Idu7R5avdOkAL/nCvv4H8w87sKCVA2bCL/Qu2n8aUMgffcHJT+C7\nKkZgOqPsMAQXXW11rZUCv2ZjnVCFci52SB53qGT6AkzL9JfA5D0USFrI3CzR\nwYlob9rBsDzuO+uyHimHVoRlnJ1X+xWO34/At+TR+7jAek9EqZjgw+qh7jbb\nYXhkbzWuXk9oLnfJP6sWHqV0ANjFOT/OKXObOGHk/gTjXIns8PQvC5uvNyvQ\n1LpK\r\n=q80l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF81eGTqHaR09s0UbdBU2BPOj1iutC8OjutqieX0+CcRAiEAp8ULIbv6xJWXPj6+r+MJxbj99hJx2XzGumy8VqQhw2Y="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190326220202_1553637808269_0.5068405791530108"},"_hasShrinkwrap":false},"0.11.2-20190326220542":{"name":"@accordproject/cicero-server","version":"0.11.2-20190326220542","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190326220542","@accordproject/cicero-engine":"0.11.2-20190326220542","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190326220542","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-VyaarlmMGXeKdlrJrb5vbsuwL/pj8/JqdXk8WGopal1WgjafYXQ0sOG/lE6BL9U8aqX2C3DfOVC2UBWGE7X/Mw==","shasum":"dfd8ded296770501f0adb3f39ab9234f8d59b5e5","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190326220542.tgz","fileCount":29,"unpackedSize":106219,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmqKSCRA9TVsSAnZWagAAIK0P/0XYjGRN4tjeQ/+vW9Qj\nqeadLn8snhBWnoCtBavae8ZdLUWigxaabA9JdMVUG5R6YzQCQwRV9J+21d9q\nKfevyO9cKcsRuZ42BBxkPfN6hjuBHT+Zgnwsj8ZFII3k7/VxbKdBavdd0fgO\nZtIozfz5bxRAoaWQsgOreJ69BgviZi/1WBivdJ9zhuvGbHCtYDuECfRaJh6F\n2AqsUjh/tUe7gUf3gTsC5csEkfW2A3M3YroG/n9tcdLlFdhFH5TQiJUZEIiS\n2kzM/JSCFwJIUnE2unvBb0SchAUlrYbLKQ4W3z72EKQEyoPI+z7dikUvmTbL\nYpC+A325eKV1LvG8XQ8KDzYIECLAhaJH1TKxjYsCrsfIMb4s7ywyPf0Ee1qM\n2BDd5N7ZSZrGn+oLBsMrPPvL5D/hII+QBjksU/AGKpc6K3ARgI8y3/GAUuJl\nAZarCr1Jdl/XmJvglQj9duIRUtvscGk3zT963eKy2Qcniorj5wwCAsqFRVWw\nngBpMBU5u8vUh7eZYLsVrFi38JSAHz4NS9Lp5JUhQIRERnLUyKX8d6244Mnb\n1OS+Lfdk6qbFeOHz1CcK3mhH3oDqSL7+u8uNa/BqDKz8OBwFWpNU0fh241VH\nuvUoAfzCZF8ratLNQE74yrP8qxcxZjlJX2u8R05obd63BbyHyZldzp5JzXno\nlTU2\r\n=dZCM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNlb3L/kCoF1/DdHS0hpLMeKTUl50Ru2aicBowQbzU2AIgA/45jK5vF12tbEg0KO/lZA4A06mtea8W0X2cjXiHL/c="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190326220542_1553638033921_0.11846812792962824"},"_hasShrinkwrap":false},"0.11.2-20190329162535":{"name":"@accordproject/cicero-server","version":"0.11.2-20190329162535","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190329162535","@accordproject/cicero-engine":"0.11.2-20190329162535","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190329162535","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-+TcoLly4bXNbd0dKtJbpsvWLGG44bqWxch90Iyy8yYSg3fFRJq+EoRs/Z7i2NmXAnWzfl3YIauL/DEJh/6qMmA==","shasum":"bf97a1516049d53987a209c29588a17222bc01b4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190329162535.tgz","fileCount":29,"unpackedSize":107690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnkdcCRA9TVsSAnZWagAAyPIQAI14s5fMDDXV7eSd1j96\n7B1tvIxSiE1rZUBb337/Dh3JhWcmleDJreCK76YmKruiiBgYGnRY+5NcyxAJ\nZ1UJcopsM7hWKi6LgCrpBRW4tZpUaemQWlNcupeu45zrb2GZb7qVIZt+lB9B\n85+DZKlw6lPYY7DaDAmrVL4uAaBvE9J8KOBqQzLWnqgQ9N/NRuHH5Hm3P5Dj\nbX7YZM307Iblr9mmuc9ojeTQ5zO06s92/5EsYCmN2fkVSWHXOR8ZkaWqoZG8\n3jIXPY4B6IPmtEUjCNz+rQ7Az8pFCDV9/cujAikzI2uzqFhnqmqmYfIHMBdc\n6BDubDw72WGC3Qr5lmFqZvIEQ3+Pa9FH2kkVTZDX9d3GA5m4UDuFFv5yJd8l\nM2kgbyTk91IGtgpmL6GayDgFoKPWIARMmA3+6tJK2b3PEQiBW3E9aMIucjON\nDjP782RLUi14fCUpNTj9V5uKbYqHrydanoX9UdXEt8HbvCEK1d9k3/oD4Sc5\nF00piZ0qH7tEDlwhqYwSfNUhllC6RKnNCfxcZiGLCVrVuuFjXtXOlPRLZ74c\nyqISXjBJ2DqqDqgj75/IKw1Takfuk0ubsU8jpSFQmccxQEzkUZEz2BghgoHh\nR/7W2u1sXgqTc0frMUHlOqzvumVI5XFilAW0imgNnmpfEcxoQSdq/uwGAD5t\nKLBx\r\n=3hZX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEQoBChgxP1GZdTlVrUePahTkYyZR8/He4TC+pcobO6NAiB0X1ScyqgUD8jg+ZJB8P07Ugy8pOKTLxdDQ/bOBIsHLA=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190329162535_1553876828198_0.17173614996581388"},"_hasShrinkwrap":false},"0.11.2-20190329170012":{"name":"@accordproject/cicero-server","version":"0.11.2-20190329170012","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"11.7.2","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190329170012","@accordproject/cicero-engine":"0.11.2-20190329170012","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190329170012","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-SGbwg5dHhVSAOpAI7NibLdXBO/FlMaKtELY9MMUe6YXyC/cE+3F8hcAPwRQ8Qwd6r6OFxeqWapGdwubK1Y01Qg==","shasum":"bcff94e8a16711fb570c10d2964458cbd9205373","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190329170012.tgz","fileCount":29,"unpackedSize":107690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnk94CRA9TVsSAnZWagAAMD0P/1o4aLiEijt0NiGhGQt6\nAGjGwLocJOWZ5iTzbH5cVoyGwu5tQcRjFTNrUlZiIE0Ptqd2cjs8pd8Ewjar\nKqYXb/GoLjfG4frmUwTUNaD11RzMXea6zaFvyyUvKSz1eit0jUxvCYimXHzV\nM+3dWg4dVQg8zrLyEs1RHHTZgws9q1njFoin8V+r0qLiohuxNdblTrrv8AET\nBXnNVfrMQA/OVZbMxnDHn4Zp1XR5iHlCJ66gJZcbjZOTeJoEyo3QVbq5vnZq\nyjY88cMVdocvIBkpLHDccBsh0nmH/Efmtqoq6BvwMUgO3xl8cHZWt4Fewxqq\not4D0RsKfgVyzVqtb7SKZmT5cylrbAu69e04+ltU1gL8J7cl2PszjbeypOkp\nTBxRg/e4M9m2VjYcFx8QQnmyGl0iPUJzd5TvaN60oBaR/84x2PHNCp6pi+l6\nEDYyU1/FE7a88hXim/8xK6c13L9NSE9FPwiydSzcyw34t2xBnajQto0wPXwh\nKO8yFVW6bmqqQy4+qKXZ4an5WLDaW46mH4Rf1juHetvMgnB0ZEUIb5pjam3c\nn+o55WutDxslTBLsIkokMwZXiwDgXAXNV7gLlN9wWjpPcDmTtHBOyD+JBGq4\ncxt8+Jny1ykSfpOI+JJKASRIZrr0mrB+mGuP+5uMF/EnyGVfT4i4o1k7MpNg\nGcUe\r\n=73vP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFgb8krLCbz4Onjymab8PJ3L9rVShLFkxbs+nUkuKF8DAiEA+XAkAYVwfcVrAViPDNhHWLKP4K+uzlHqLnfvXfOCHSo="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190329170012_1553878904083_0.22352229311498828"},"_hasShrinkwrap":false},"0.11.2-20190329225235":{"name":"@accordproject/cicero-server","version":"0.11.2-20190329225235","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190329225235","@accordproject/cicero-engine":"0.11.2-20190329225235","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190329225235","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-O5h7uHOmQgBnxQsmn2LHxJ48qrYgzMpq91MFMFULk0dAdqVyFtjfikQhmb5le5buWPxx8a84ceOyVzn+bFK/RA==","shasum":"11e70ef8750e1f063724904e8f43a09fab750dac","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190329225235.tgz","fileCount":29,"unpackedSize":107690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnqINCRA9TVsSAnZWagAAMx8P/iG6lZctgbFPKrrOXkY+\n7phmesT7ZBsjPwOdoRCacAsFPEkNcJ5Z4nlrCoYBmif2RbRvj3iECmklFq8l\nICyhRpKXYKi5RNMNC3ikO9rpWjiAYFCiF9kOVpUMS279ZMo41IQxlQvjtuQH\nDFHFwMdqEwntvsDSnFUzys0xPtiGkiSXk3UVESlclvncib6fDRYOlWuiAavC\nLR6AQLP3BpRDopWWX1DTcX0Da261Zz+Kp9ZJN3qzqgwNzYnDlawnjuwcs+2T\n1AgMYwPbzjCBRmYESxyp77Uc8jPlGUNVfiDatRQr+MDcdrIuhb/EuTG3lhXz\n5QlSaISz4Nj8l9WuOTW/1e5QfVG3+ux/Id3LSL5qg2V8UzR9ArfsYGTt39vl\npjT3OaUb4GQyJpj5jl/wb9mwzut/0Pvr7EqV4etj4e178Be66g+g/oPNh/wj\nOlmcO3d0glK9mTgAZWWK96sPBOAeHW25JUlCB59681c8FcOpbcb6GCo0yhpm\nUGnqKduVmhoJQSiGTFqYh1Kg73l2Qx9xIYKC3Q8cry4mX9q/PQ9VaAWEYa1o\n7HyXeh1vE43KN4LBX+/mrOUCpHTfXIS3+jZ/g1VCYPzXQ3gPnDLqQcMgevdF\nDOg8GMP4d5sSl5M86ORgQ6rrWdx+BIrnmaWxTOSvi7JaKJQjrUElXEAOTQUX\nGDS4\r\n=yhUH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhvr1mMAsiAfTBKzvOveGclhrVld5jSlMSrPNJG7lteQIgUpcjRQ691w8IbfR3k/tMQ2akccCjYzIVyxPI7GZ2lFI="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190329225235_1553900045104_0.09714252885372199"},"_hasShrinkwrap":false},"0.11.2-20190401152138":{"name":"@accordproject/cicero-server","version":"0.11.2-20190401152138","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190401152138","@accordproject/cicero-engine":"0.11.2-20190401152138","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190401152138","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-6wK3cUlsWW162PNwhS4odMY1qIN/pmso7+2Rqb9LnTFNowZvwxOHmAXUEOIxtFtkPvT4eJga/IKv7pWAjQ5DZg==","shasum":"37102157db32f05d175960ed7277f4edf5db0638","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190401152138.tgz","fileCount":29,"unpackedSize":107690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcoizgCRA9TVsSAnZWagAA1ysP/2PE7Z8uhrD9B7pZf3iO\n6Ij86Lu1E/3Bmix33WK24Kyt5JMNtZilhlAv4fJJve6dwf7exPUyWstKCG28\nJcnG7gufi92W5e8Mt5aIWDrg7NSi5nwXWn4u/wFFMTZXiWjGPjDL7UXyLQaK\nmachkSLfHP+zOitsoXzWatJ6zHWf6nX6o9ZaV2qXp/v4PQ7Am4SJ3Hx6j8r6\n1i01awer0me3VfDdJ496/gpUVcw/bwyCdWFrgXeUbODgUj1amuNo85lBDm6a\nF1pilfFVSYtTQ/DztZptW6sWFOcFrwgONGcyvBHnWwcsJ7pzmDs3UpDQKQkw\nUVIHWnss6bQVZQX2EtouyDwrr/bjRL7GgBDhkADbL+m2r1Z01AUlaqAeY5lH\nnFnsKECR7MQlq51obTxb5iUvWmubPnqvmNvU0wh/sm4sPYyZNpRm6h0yNQB1\n9zsCvizxtI/BQE6dUJM1aZtOdWZuDuc8KrpPnxn6Lin/w/IqegQ9sF12nL8U\nVuIolsuqcoOsQoHLAigfdLT45bRGCttP7F9VTxdalf4zGkjyRD1Vh540z612\nxT1wibg3ZLd5b0vzzYEDodqwRMKxALAZfOpu72lo+6eKvzy+yEB8ot9Aa8CL\n7KaTISpdHV1JXU37tDJWKLR/BdI3yzDtBzD91bKVBMnpVz31t/XH7vhp8ajC\nJ+pQ\r\n=Hq1+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6ibDk+qxLQ5u0BgbQwJ0iSfM6KtKbuvgwQxXQY2IGIAIhAJB2lO4QO9o3COh1PqCeo3SNp8OdVTtsrUOrj9MMovRT"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190401152138_1554132192053_0.16519714357312143"},"_hasShrinkwrap":false},"0.11.2-20190401205913":{"name":"@accordproject/cicero-server","version":"0.11.2-20190401205913","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190401205913","@accordproject/cicero-engine":"0.11.2-20190401205913","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a \nthe root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190401205913","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-yFe8E9HcaJ/uXknFkCUBVlwB+nWhIRyhS0Cus80pE0rUjHhGXEO1GTFCHt+rS0cKfRlA34hdyFXdCsPQHueRXA==","shasum":"f51ddb7724289376c156c6b622da3222d8aa4aec","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190401205913.tgz","fileCount":29,"unpackedSize":107690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJconwACRA9TVsSAnZWagAAsgYP+wRfmypcLV4rJPwe4TxE\nu8aIrPRvuT6rgYMhf9Z8HdWV5846tbK/e2OqOpbl3gBJzBrlNAfXWUWSFrjL\nC9Ne1IW6BvUYkj5/XP0PODSyiH0wmZy9LTjJvyX9of4eUv8Kgp8JQU/wTQyG\nOVoFb1ZpWUWi0edc+gIpVewtlIxlhBmjhqLoS0jZ9eLF14JPemwfHTXFOh4I\nLN9V/xbGfZFzeG117S9/1kWO1H1H3jLjLE5QtRvITfByNMAZ5WkxIrBaUMXV\nrt98um3Naht961+qaA0le4Gq54kPaiuk5Hriw5Qkklmqbl2ark0f5tHRUM3I\nvkzEowwoCxf/egaeuPI3xU2DUK+AskNYFF/QI9Mr+cFc2DQIVQwNgbfXskG/\np5ZMyFNTF181xFtvgilBdDLLrpjEaMmkhCHtvk63kBtrZqtsu874GquM7DpI\n3cJGCsq62c7HvMA1nrXacNjmrnClEWaYjDwUHiQYEpLs3KOYi7ZvbScufQqE\nAXMUZbnwdKv25ceN2A1mtW5u4+B/wExivmS/Dax6OoAZJmJycVAJAd1Z6Goa\ncftx9R+IuNnSNrKeJVN6cBnepTxxWlFdZSGxH3+9sl8QGxV/6d+LGjz2QF+g\ned7JMCR2h+2n7GA5mqQyTOYWTK9w7fmI4KdGGTrRToc1zz4QIXU16A135Gtb\ngSma\r\n=tp0n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1TpxVbdeo2fqZ7BCVSxQIlticj2MF80tOVxE7dJjBywIhAJFPHUlznqXbw7nf2R5qTeryItTB7f5jQLP3U/xTVANc"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190401205913_1554152447642_0.4134243574543708"},"_hasShrinkwrap":false},"0.11.2-20190402010943":{"name":"@accordproject/cicero-server","version":"0.11.2-20190402010943","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190402010943","@accordproject/cicero-engine":"0.11.2-20190402010943","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190402010943","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-tWYQ+ldHxQi5kEFjFb3XJQ4rti+cIaDVz/RVu11W/xdx36OdfK4rtMbhdWZyahf30pZF5zTsk+ds+V6H/VK51A==","shasum":"903af814d4c0adb1d3b4a09fd6466ad1f1d4742c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190402010943.tgz","fileCount":29,"unpackedSize":108105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcora3CRA9TVsSAnZWagAA1NUQAJus69JVHV5QuFXMVKo7\n2qRD/NKyOCOf9lw2V9CSAv2cxgWLLSE/HYhP3ARCCS5uvlOo8AOpod7mApnB\np2rOuD87N3mdF4HviDLgNcfHdZ5/aA+8gahMekuFAJglmI6YfyecBhJjQ0A+\nMP8hdGOkUfVxUWr3+a4WCj1NNBrfWiCewbZIrNvLHedizb33zoLHb6zWV/cv\n1/L2z0N8xE6pFrv1lTY1rINqr/Ph/h7wPmgdTDnCMe3pRqgv437P/1uzLB4d\n4GfmZmJn/iSgg4zFtJiNCQR6pNOyc40ndKcjXFTorxsxQSwYpuUgr+00F7Ah\nNHgR5VSnqpVfAHWW+89EPNEo3nCIjToqk/SjOmmEKtVZzIHO4Z3TyVyaskaf\nyFw5rXrhmPTYUzChz6zekNlYgicM1Y7MaBvV6HTyKNK0Sh75ObGwOBZvEpLf\nL2sLNzsB/xl+hXtL4CFhdAANJ3yzJj9f75O+UdSg7Rc8vcLwB85XEk7qKeeL\nifFL1hnbvsXzXSunw/Rq+vULXSoaYEn4ga5YrhQHoLky4go5/2pMQYK6woU8\njmxtSHEdBkKG1rH6q3oUQPCUo61oqhBwhcvBxurP08MKakeTWwmi7bD0Cthd\n3ZYcbvnbJzpQi0Xp8mv2wWl3XckilJL0PsJPuJt0WJocW8b4J6jH4orqJpRa\nMuUU\r\n=xWqR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDg8dC9fs+e3efeTCsVNzZ56sOX6OouN8hg8qtr21qtXAiEAnNMNbBK3LCW+TWKN+J2Vj0lk42JqVglZC5yhvTjnAqo="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190402010943_1554167478643_0.8016311509011913"},"_hasShrinkwrap":false},"0.11.2-20190402183920":{"name":"@accordproject/cicero-server","version":"0.11.2-20190402183920","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190402183920","@accordproject/cicero-engine":"0.11.2-20190402183920","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190402183920","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Fh+5QQbJT/My3wONbKMQR41b7nFaOWVD490ksIsdAljZ9ghlDLvSZtBBWPuxZEx3Q2Bf6so7YoV9uRK4CKZzbg==","shasum":"a332fc8ee4c6a59df74823e91a921ebd85c600da","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190402183920.tgz","fileCount":29,"unpackedSize":106634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJco6y8CRA9TVsSAnZWagAAjKEP/R5voGMLp+7Fjq40nPfw\n2wd63S3SL6hLqMGUJPh7zOyzGXT0yFzQ/8quNtyp/Geg9z8cefQHi9X+Kgm+\nai3TmM03IVsJispJ0bAPb+28LE7H1kuPXRngMEXzC9p4+r1Px4KLph7gD5mR\niYwQ8fq0rsZMS5vwK7mSWX0HayG1yf7cvtwlL041+Kl9DSBkBWzGMxcltSbi\n8euDjQNPfeDZ7FruxtB/rYA+ZmFdzydRh6gZX65w1R5melCAdNa+bvqtn103\nwD3Matf+S6Msh6COQYH78a1i3iuKlla/f3OhjJSa9/rXC1UBAaIGKW0qJHMj\nzwdFu9rIlQcrWtJbdDnR+RG3s2wA20bClEVHt2T1N04eAW41Rgng8/AG7s3z\nDlCesA1klnTC8eR31PqIT1zIe2u94CcWH7m1ri3n2Z7tO6MSr00t6//FpmsG\nvZuG55onmAdhCSRIzLoK0bXz5bIaLY2Oqtp6DErAxc0Zivql4BvoCX7ookYS\nFr3pOWZ4CXkVD4WzhaTVaNEyA9WrP6K/3vA+6UeGGpeROY01u7abg/V04wmy\neobYm1i+xlpIB0ika79O6zIoKMGhYk60wR85tUUBmP5DVrSRYbhshy2XIO6u\nzyjwJFf1+4OSClbJXCtTC0c7/YqfcWLyqNddOcPQ4wjtAMwKJkcxmkHmnS1L\nqksR\r\n=+Wdf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4398WzlpwyXQf9ziaAp73mmwLzPbP2u+jw9rHUddVRQIhAOYZqastka/lAi6wDoKcUxUUQeWPWsGVCCBAZ4lkncx0"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190402183920_1554230460185_0.26976945365766425"},"_hasShrinkwrap":false},"0.11.2-20190403194611":{"name":"@accordproject/cicero-server","version":"0.11.2-20190403194611","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190403194611","@accordproject/cicero-engine":"0.11.2-20190403194611","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190403194611","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-8/04IsT5wnDQfy+gOqBcQuX/tG5KToVKMW8hmeIrLd/aev8FuOQ3+7NUKsKHlfDEbaM2kxFarbz1elM/J4F55A==","shasum":"6ecdfd8da4c22893f0bb00e490d968285dc3e6b5","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190403194611.tgz","fileCount":29,"unpackedSize":106634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpQ3eCRA9TVsSAnZWagAAUaYP/2cODEzjjP/mc7eYqXFN\nbIMxra2EkFBneDk46enwigfww7TYCPM5V4euHvGni6IxoOAJYvZSlmbag+Bb\n7kypLDdc8Yg2HjFnYMv9STvhcI7vK4utVgizd0LN+an0tuspu3se+Sq5DHgr\no5koyPuz64JHEj/Y35HsXFwgq2aL01zjENmH1/kL8hlea3yyB2e0N3cZGwul\nEcvDSQq5JrH/s0VPIk5jk+KBNm7S/0R1J1nAtXrzHknsR5x9Jxmb6KsWNg9W\nj8WZR+4nakR5obcFCds6l/nyv9I/ojSiDkYc4FefBq7qsrLVgnk9QJ+YuTm3\nCbUyaf1hDld/aHJ7hgFNDu0m9gL6oZ3KC4f8a7DX+nrcUhKTejbXznLbtHha\nJANIrraqq+si+t5N/wHEQLEzXfmBRFPCAstkBhivnHbxYMXwV3C7RO+kRyvQ\nYVWcwD4M9tdnunpILRMUUk0llBMZdUUYe0xobsaRj6vh7es0+0adU0i6KMYb\njPPb3QkvKiM/AHjuPYHm78sZR8uXHHWDlhycVVB7BwQkApISzvEl15iuSKuD\n8/r+afFg8rFtnjLF2RRarAfyTqaq/arOUS2H90+cBNNNEs0Wl8dwWuabUMY/\nCbVvhG2ll3myn7VOFb/lkrZ5U1WAI9lIWtF1Frmwrf7hwdKEnd0HGIGs2mfo\nfSE7\r\n=HADT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGQQgh8L0J4+XTzI3uREsQnXvgyibh8b7PhaU11NGnUoAiAPTbKY8hVxyszxN8fHsznrxfdcR3+2vrzuHm5y2LrPSg=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190403194611_1554320862006_0.024824954843773783"},"_hasShrinkwrap":false},"0.11.2-20190403211448":{"name":"@accordproject/cicero-server","version":"0.11.2-20190403211448","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190403211448","@accordproject/cicero-engine":"0.11.2-20190403211448","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190403211448","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-x9GyGtZ58x8Bsult10uL5bymK1D91zi+5a4hICsrzH/gYu5BsO3wWFLQyDtGDZ6GlZQNZ+l2dD9DKZQ3qvOqww==","shasum":"1db0d94aa37291598496b983e22216dfcf30b78a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190403211448.tgz","fileCount":29,"unpackedSize":106634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpSKmCRA9TVsSAnZWagAAybwQAIcSZzysirUwaZc9F3XV\ny5P6NC+CFVAGPxtrEK4yEs7KS4X/7Tsr1x0N44H7vvFEsWZ8PL25tp5rGF3p\nbDnCsMahJiWEv6JwJ0W/hq073+MfFva+c4bMWd2MjKCjr/c5MvzWIVHgsChd\nzM6AKyc+q9c5OYT0IZDpCxl1oJdxrAQScrTQ11DtONyRB8RRDbx3+J/+47gI\nGrAT7yYzQBs0/9yc/qxcM75sfF5EsC4W8NiUZQxHw+O3Twk9p46XX1PS7ims\nlYHPyjEstUaVdp9PU5Zv//Ve2M4GPMfMfn9Yq1MANhgQDqmhQsxtkGU/5Up6\n1fG3tv8aGpN5v6GgUJ59J71O4TIM+E1I7OCx5eyYeyVSmEn6l7lwq7cEXsWY\n2ZV2Sj4X7/+wBRJa3oLV8/y1UBl9d6uBz4LmAYOK2KXqUbBXYWF0lWo99HLm\n9mZpAGacyJfWZ6OhODcpfxiNIoOnk4eHVRhQWYrlNzPDnv4nSmBRDMWTD3NK\n9Dje9d4pjldO2kGSYtLWbsvk2OZ9+61Jkunp6hf6m6Yf4yOOrnKJ/LSiqFZm\nWfLEBIPpzo0E31C6fbt3ktbtlD7kwSCganm64GodpSgW9ryYZv63nJIQV+ms\nVUO/J54dOuQd65j2XXZZr6duJx9rMuV3EfFwcv2zywqyd4x/gOLGgrnwIkEl\nz7Ej\r\n=+zIR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGZWQP+Swjut9+cwL8cLcw1PJW48B6Cb5myXll4GWGjQAiEA1z7iGQFpO9+Tp2liaOHqR0cQ78Ld2ozRNFD4toZWDFk="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190403211448_1554326181860_0.9026292787365682"},"_hasShrinkwrap":false},"0.11.2-20190404122741":{"name":"@accordproject/cicero-server","version":"0.11.2-20190404122741","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190404122741","@accordproject/cicero-engine":"0.11.2-20190404122741","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190404122741","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-y0e5G0jsyrjNkl1CNvZiOOXuj/mVeREq9cjLte5b0tKruGyAo4OhfWnRrIcHDDb+nGdgb9685DnmlsQ8ecfB3Q==","shasum":"b6cb60274043af2cea25c9898194fd2cb2d1ee67","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190404122741.tgz","fileCount":29,"unpackedSize":106634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpfidCRA9TVsSAnZWagAApi0P/jdmW+ciIZ4ddS+5OCZU\nhjZ3OmaAfWpAfiuvOEQE5JvuLuqZGDH+49jMXAo0oAakV5hdW6T/9/TKG8Ym\nNEADEnFqGSKyBdpfpXIUVorBfbA2Tf6D/wxsEluqv4Sn2gz3q/Araq9xxs//\nZtfwgOErnbcEKiZqhB5A8p4lLvwZzbbM2omrBuaP/20VenJymZNVwpgVqPcq\nM/ZLYvVyDWL+7Isp0q93Jhk+XioNranMTVLvpAj/6qIuYaXuh14hp/hF5sBI\nzufTerXS7kNLCSOsX1gcEhiSWNv17gB5ys7cLvKN4q4WJlS4W+OxRESz8Am+\nVsh8fTGyIqWRHzFqiJAy0C+rQtK/I1C/D0j1fnS/mhTtPDc/YigCtyW+ZBBA\n9rXTVMCGjbwSo4lJe2zNQPa91MfNuvGMeOuvDNC3Cy+pb9069xaqEgHO0H3f\nhaPfzPD5jSjml++2+EkdvzfUwsnS0zel2inFWBD5qau9/37/JzeZ02GiJuAb\n8aS9+AnxY0JtLGatXDYHzTiQ+wCMwm9fa/KNpLZIZ1zB2dfoA3/WFQaXOpkj\n+zLzSgSc3eRMkVHWX7oFnrYdtCScDd7/dsqEO2ohYW1PBCmAOK5Pe/5EU5nW\nZffn2gMsGqLDqfA2d+oWTZIlqKOkYH9vhUzLaH6WfcJ7FnqaG2UfEvBoRwhX\n3bAi\r\n=uT3A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcv2Bj7k5qHiw5alUcmIwGUzJSEEtUqpzhoEX6lU9eVgIgJKb+i+0zttm3cvu6qthuqmJKuHbABT7D8OlhQyxZpi8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190404122741_1554380957191_0.11786466608020962"},"_hasShrinkwrap":false},"0.11.2-20190404141539":{"name":"@accordproject/cicero-server","version":"0.11.2-20190404141539","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190404141539","@accordproject/cicero-engine":"0.11.2-20190404141539","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190404141539","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-P1H6a8yXmloyyYIz3Qt3s33BYsH5ytkIU8Code5S3QYKBDUFuwiVnE5/kZcKf+RzMMO9WxkpyUi+g25tOWitUA==","shasum":"db631aaeb15a5c9198ff98e1e16652ceb7f5a80b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190404141539.tgz","fileCount":29,"unpackedSize":106634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcphHmCRA9TVsSAnZWagAAawwP/janntmcpiCAHaY68wXk\nDKlNFBt4Rspk6AL0ZrR8SLSh0LXyz9XdMxDQOa64fvsJn+X50ILWziNhRUiM\n3Q+F78N17CJ51hOuTJzR2tlAyzJ7bUHEqaTWVPY7sZS4of5IQ2s30xTHx67B\nIsAdYB7sk8X/1NNU3TMhW9V5MmZ+PC5AH4+DwBRkpdLAOUaQQ2o4F7Vnrpeo\nGCe3q1mkO4c4ERzCujNZB+e2cEnIqnoje8lFTNw6fBdqIRBkrqq228rhX3pR\np3uZbssm9WoQC2DBC2sqq+p4J33+/KVIJve6BWeZbNq6Dvx22sF0XItABq/5\nvVYZEUPK2uIX9iQEC1uo0AZx9HxrwqsYRW0Ld+RwrdQ5hDEuGEZejOTnVm9y\n66vkpwxkBCuFio6gnYvFQJ+GQt9TB9/dnED8rm7l/uBz30P21LFVWsJmsudh\n27a2/Unh9yhWNdcjMt9hGtS+SEwKB2QHKE2MB4q4jKAv75ytVJeDoceG4So/\nN7+uarVbbA/bHAYGqIUnfuAy2X2Zhdy3cLupYC9gdEcO+bvOQDT7qo7WzEhB\nwTTetD6rUd97q9SFEA0jiXE1F31eFsiYgrRM1zsvFFKUYmPzkYkoX9qRk83N\n7plaoO4u4Mu28BIAeQe5HWWQUeqIKaWHNCuEyirmd1TUzqMwEd1+A9zaJmxG\n9FJp\r\n=M6ac\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3KClYL54+X7MciqStZq1kQNZMflZr5hNFOpYPS/Y5hQIgYNklnjCB9Ei6dnfomQpDbxGiIctWlQEUHBAHXPHCDh8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190404141539_1554387429987_0.35395432731792087"},"_hasShrinkwrap":false},"0.11.2-20190404145208":{"name":"@accordproject/cicero-server","version":"0.11.2-20190404145208","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190404145208","@accordproject/cicero-engine":"0.11.2-20190404145208","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190404145208","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-pU7SDgpMxU9+OMEr6Nj3otts3uSprL1U3q20qtfdu0Mj860XFLaMnw38RO2xGfAK04YUIyrvmzH3jb4ajdeGzw==","shasum":"9d6d3d100cfeeb9bfbecfcefd2af50aea07b2d56","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190404145208.tgz","fileCount":29,"unpackedSize":106634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcphp3CRA9TVsSAnZWagAAr6EP/2bgHqZGWkkl3FS+t7Z6\nMxrkTCLICA/orP2HGPLIDjAmY6M/7nVZ+epmKF1eK+W1rMKOKRRiFx6+ZhEu\nzwMMSkDJlDXusQZpttGaWUIy0TaRf8Zm/S7a2DXZ6sIpi9NJisT62/soI288\nF8/u1uMEKWRJhDbenv/rLUvhOzDwLYKK2Lq+9igYJP1VRnaEM0ZWniHD8Q7t\nOQF/5ExjIcN92i4t6qtilTDwQZupd7bQF02r4ITrCO9nff3KIdyZGkq1XeLJ\nFwJD8lIIYBeR2VxQv41MF4vvJPjzX1Vwugcws/sbLHkyBiHfhZrmSQbX/XHt\nP/jgmfWPUhJ6rD0Zf9VnJO7qPCaOyeuNfnwx2DjXtil6EEC1TbTA+k+k3vGR\nhj2Ha6rvIdTgmDm+Mzz+aM7g/TaIb/xLxFm4KsuisnDHIaHgJsQs/Udkj3ZP\nB5/SS1n7p4rks24YbcTmpFUWHzedj0Cnemg2544j4ALUui03LfWIvwvz6cep\nlj0ujuPK6SzI78lSB9P6jN+6mEdAa6j2AdNDO138GCSkJ3R9Gi2iZNCby066\nSwl4IS+TlTeTBH0I+Sg1vbt/yQcAA5PHG7+7wuoSlpcat+cQayj+yRJlF3A6\nCTjjwBFiZfyfToG0t8TBVbiD/eMh9iYkLX8+FRTuuCvZR1zzBuv6jS8KF8mt\nP8xZ\r\n=1J8d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF1+tWUeLra+jIQyMEwhdQXuQDU2kMiF0RbTePMlk1ThAiBc87xM3WZNmCf1pn7Y/QkhCGZXNHu9ARMML2TKHVJiWg=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190404145208_1554389622451_0.9467408636211676"},"_hasShrinkwrap":false},"0.11.2-20190404175612":{"name":"@accordproject/cicero-server","version":"0.11.2-20190404175612","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190404175612","@accordproject/cicero-engine":"0.11.2-20190404175612","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190404175612","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-07bXpIHHynGgtG0reW6fmFTxedzBnDSTZj/iecirlmCIu05+CY4hBCSWVsC/fUuXGBbp2FV0pRGqhwQQKL8nDg==","shasum":"179a058a2620dd18ff0ead3acd3c0fdc1ae5e261","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190404175612.tgz","fileCount":29,"unpackedSize":106634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpkWcCRA9TVsSAnZWagAAgEsP+wd3oPLvJk0ogtgDcSAu\nQZqQXYo8rIKv1tYPtiD52+6dUTqGhZXs4yrXyRBJ3f5ggpvAp2IZQq976pNN\nXOTriQCMXC8B3tYmde90qZ5Ci3C77bzr7TJPDv95gRCoFy9oqBLiXlZzJUa9\nHdzEG6zaWVbhDAbF9qdnJYUxwW3/yCbBDBDW2KAw4KZk7y2UR/Q55TZyWcIm\nOUbZCahaHs8u/RgB8dywPqBmCqFZFdwG/s1AGC8XOV6hp1gn4wvUDLyMA2Fn\nw60v4f/TRbG0/6psFTJdEZeQ3xNTW3IWQ+ifG4UN0uy3MaVAS5ihNDQF9jNv\nVf4gHDUIoFJMIESafy3PuTmXHrb9coma9W8J4grdoih0SPsfvn2KaMcOboVQ\nTdrsKCUn8I8FksLxQY/czBBGa1ITxZLrU0SpEXDTRYiuaXFwIqLnNOuypJBG\nLdgfpAl5BpYO2E31k9KgqIYSUoPI/wriihlcpN8agdGZmSqn+h5NJwGn1g3e\neYwXmYiFTedDKwCYs6X0Tv9iFFBXlL0grvElbcjHUGX3yPqxxnuOJFaXMieG\nTsejCCoUNeXJc/JAip3Alu5w0vsPIUsegqMqzaUsNySvX/tN7gjqFj3+QmWy\ngvcNScaCReFCiC5Ji5a/x8PPMRjCuvPquI3eR3qSR3QdXh9+KddJ8vpbf9uU\nFyWl\r\n=DVKE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIED4cufDdECnhO28WmJaFSP3bUxuLwCURlJB8yZbq2geAiBG/Srh23zgejaj/ahe9rINgqGS9cuZdsBzgBXHHt4+Vg=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190404175612_1554400667807_0.10701519484207966"},"_hasShrinkwrap":false},"0.11.2-20190405022109":{"name":"@accordproject/cicero-server","version":"0.11.2-20190405022109","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190405022109","@accordproject/cicero-engine":"0.11.2-20190405022109","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190405022109","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-85i9trqoR7lrf5weZomAs5XEk38BsWEvszZyoDD0MgTjfCuviQlqeFFyUY+LZCxHa2kTThIDlLiFljdpB0NdvQ==","shasum":"81a14dbd0fd966f2c65a769e0b2717909ad7334a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190405022109.tgz","fileCount":29,"unpackedSize":106634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcprvxCRA9TVsSAnZWagAAgJoP/2bSKlQ4tNKDaGsbz6fe\ncvkXMHHDD53Xe+6gpl6TfdaRtAe52P9gV3VAveMqCORhKHb7OhBNxlMKx1L8\nm7oKVvecBSZ3N+tdZKLhHDzV+OfRtkGLsTGFXoQJ4tACBjl90ogvehe2Vkdb\n28R9wZ3Np3s9ews+4kiFv4WSjYOueilOioPifxLT7ZYaSQ3mjkXqkYXNSgG6\nvMyjiovrdUZh8LYsB5QCRsc4IPPC54HiWzimV0QMs6u6vq9uimRXMIu2sm3L\ndnpzT2+P2lFdkHlBi7MGdp/X9d9Zu3Tfy6WLEe9iJe8DE7wG8Mkny2qp3Q89\nIoWZzmkhuPA6aVxT5uiSGduDjqXA/QQRh35p4XPSk7B80JcTY5x5wY/51Dko\nydhF80cDkbc1z+yfWgdvvEEPdie9nJ2JJwzpIzq7qicHSaWdqZDGZjIt6ebO\n6+P/gBC0sOGxrjlRnib7HQQuxq4tdso52Mod2DkvrnB4ZnkQpEEXOL7jyi9e\nSFAJOvX1DVFEOenUApVXoT6vtPE0SU8x3KDkTL914UiM30l2WwvJCEpA474q\n3EcCYGpmiyAk1sUKgw8ofJsipx0MsuT82hghmx0Ye07zgEmiyd1KQXusx98L\npKflAWX22MpmD1vkudITH8d6DK1xyPLlojbE1JHzkpBSOrPygUL+31m/LpLV\nHgLc\r\n=NtQc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/4dlsiQVvsI29xO5wK/q3P5cjpvuvEvVulPDJ8aIH6AiEAyNIwFdTCN/kuFK72y+DYiX3IyHiwKe2jopt8XRCuIw8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190405022109_1554430960213_0.1420899995883136"},"_hasShrinkwrap":false},"0.11.2-20190405032444":{"name":"@accordproject/cicero-server","version":"0.11.2-20190405032444","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.11.2-20190405032444","@accordproject/cicero-engine":"0.11.2-20190405032444","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.11.2-20190405032444","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-vpNbez3tewkVajQN4TnAy33jpcGV7cca0qig9qPOxgr1sY8Vvf3EnPG5uzpoRYaTwq2zVLgUCcswypFi/9oh6g==","shasum":"642d090304d32ed50e7011d96b22a57db79028c8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.11.2-20190405032444.tgz","fileCount":29,"unpackedSize":106634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpsrZCRA9TVsSAnZWagAAFbUP+QD0Tgb+fRXxHQD83Cyk\nmKCTqtTQ6wu81c6Z+RpBJZ3PnmX+vSlcCB8SwyrbKHBMWxSpkFXtyhqtp7+R\nj8gszGkMuOLIl41RgJG23P3BRvIW+pxO+mVgYjg3GJA+nzJQSpGCl9PTrRdN\nN6yyQfXD8mRcLIdns2MwbmJ97ZY+9Bz2wyz2IKx3nC6H1q6T5y9wz62wQSIt\nvF/HPhTsGpzWPsp+K1pmIaV/oPJzuYuYpLCCEtzKpYiSjTN0PeH30Ylxtngo\nNrTMrRgH4ynXoUyZ+p30jI6JJZ1N3GSP3wcSoK6P5fB2+Jf0M6ewiqE2/7Sx\nLVfpShNJOm0Nm6dLUyEvnpX7H7qouE376/t6NFiyjzV+KKa3pGyXwgMfsYyL\nQXE2ouj5tbDOFAIR/4uko17aia+SY3t7zfirayniOi+QJIX7kR41brlLYJDm\nuo7aKP7Cy2RmVq7VfZK77L0qkS3EBWL9I52oX4RhHGsP0RZGzoSML9ZfRYP0\n5XKbpCQd9pb3BLtoCuRgJMm4M9w+6kKZ1SL9pcRNzX9uRYQK7i0Xy1GEBL95\ntRORv/A00eiExuVcSUZsW/W5Pd8EEo30o5E9hgpEuwDTalRRPgNCU3KYPvWQ\nnW+oe79jgOyvEWFEudKPTHGmLF4YgxBXGEp2McoMBAGBximWOR6mM8FOcxmK\nPdnD\r\n=JUbC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDt4zGVrSJ/j/svo7kCMiPycof528dX0nijx53PotQzTAIgRk+4fPZdvCE+r7nF73ytqBc1/Cidnq/cK2oPn4QaNSQ="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.11.2-20190405032444_1554434776663_0.6405807428108419"},"_hasShrinkwrap":false},"0.12.0":{"name":"@accordproject/cicero-server","version":"0.12.0","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.0","@accordproject/cicero-engine":"0.12.0","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.12.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-PE4cI3K0RR3LyV0QDVsa2F1EaGbbrGKdgNWdRxfUGE4bd1LiXZVgGCyJnRf1r7wHtiXzXo/MdrI2z6tVnGb1xQ==","shasum":"2a4212bbd1fede8840f9c03dac8c96e0868e99ea","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.0.tgz","fileCount":29,"unpackedSize":106589,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcptAPCRA9TVsSAnZWagAAwlQP/iNfWUwPnhMJrJOp7+DZ\n9RJfTqVtDjePevKCQ+Z1xmb6a6iQ/DlgiBFEwj0dJ/hKK1ChQnDEmY0oZIb3\nOBrVSTJJNmdB+TEGQopSQgt+Edumkxsnz63Z/SxwviHOSwhjao4eER80XcFw\nyI/JYCfgF7gsRmlszbJyC3loD8Pk8Gj9eFbA+zPq4HcHP8Cusxw/KDyWpHrL\nKhY6yAbCIjJvNuhjhm+pn6e7YQkGCShsL2k+NnrOAd0rP3mBrqTFOwYn7qBq\nn27nuCrGGjYMKhtfDO0YuqkXMZ2/NMLI/QK47HVj7MCqjimjNXLUNRsAH045\n/Q3p1OfAYsnLTp8oUFtAr9enmz5ukGoWPWbrfXlUxtifJfaTysOJ+ndsXKSs\ni6O2BTKuVnSzg/vhtVirUc57AZZBSOjwXv6TF7XpDJnTSHlmvv91ychQRlNn\nW7/p4pb189hRQfgdZQb7QkgJuxpnMW3j0dT1dzDI4FgiMOLbCuvdbqPv3PaL\nIaOWyNxcoCgJulDdpizfBODrZEb1LHLNKBzHJ1jL93vyEK8ez9QYPZeaPgfh\nLSEkohuQsktOfbIIsc02D9Brpvr2TMPQIQxud5q3kGTFwX4aQ4g/VwB/l618\n7B9eYLmq8iJ6Jv9iIvWQtH5fis8TBBRP12Qg3R9VD1YDqB7lV2BkQ8DR5/Dn\nLYU3\r\n=ViU3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC0Ks+iVTOAFggphwSsWDuQGM+aAhkI7VSBI7exfdz/YAiEA7ULR1EDXMpeAaPWMWo5MHu0nwsFKgzS3EeaQLYhGvCk="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.0_1554436110731_0.9351023876205531"},"_hasShrinkwrap":false},"0.12.1-20190405204028":{"name":"@accordproject/cicero-server","version":"0.12.1-20190405204028","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.1-20190405204028","@accordproject/cicero-engine":"0.12.1-20190405204028","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.1-20190405204028","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-5IE1MUJsS7QzGSkFVgJ41im8XCI+ZRcazaL+uwqJbz9qlfs+P16Zyvnb5Jo3rdXD2VjNraByVCK8lh4xW3jsfw==","shasum":"2d2a881389b75f8c9f131ca08740ef64f8920126","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.1-20190405204028.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcp72dCRA9TVsSAnZWagAAofMP/0/1Paw3UKQqqLbTNlGz\nx6lL21sGoxj9J0Znec15NA1w4G88tJSf1M+ElcNWLXgU5Wcs8HEp2doc6S5i\nOnSEWUi6yx44JY4FrmErRt47LLEVBKxz78wfDm4kHvGdUIxajWQ5JvdH9Epm\n1otCwybbwf4nL9sHEesK8En1Tay45dQqQs5PUKfr29Pb/wdcx4+dnnAsOPpL\nhSYCQ7SFE1NITGe2QAkf0Wbw/yH7JxmYpnbswTiPW7zhL00BZrVO3DofcoVy\nLrUC2EvRHbI/6NhhdEj6vyTnk24D2CgOg0MILhJ1lxnN58pzhZ03PX+IsKVD\ni4XXVWd3Z1FupOx0/Pm9MPJgkTFk5/FZN6hcf06Y16wDROX0hCumoPt0pxqf\nBd3CyPHTQtNixLgp4ekx0ojaRl1ZALvYFg2LWnrCG+/8132WEEwx/AJNpqrF\nQUdv9nlR0OgGFyUN+v+MluyTrh7PRzscoqirQ6TlAJW9q8OKjtfihZ116KaO\nKjwIfO94kVfQ7WHGLdQSkOWifU+WdIQs1/kKzcWIrT3OAy6JT71fhlSCfeys\nkSRKAzfS2JZuUvZlhxfuGHV1TRDW0y/USO2YyQ/VC10kAAh+PkqlDJ+XplTa\nJ9UJUu8UbFPcA+LSBYl/Yh2DOxFLOLT/BNxZd8p5J2W6W/E+cyNMz+rim8So\nSOvm\r\n=pAPO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEvaYsXfzPZNmrAR2Uxy4H1R/VzYHdJGJgauHKuuRMEMAiEApnMrhlSQH01kt+BdZIgqN3U5qOciMirwtSD/HGcONnA="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.1-20190405204028_1554496924618_0.033870793334901395"},"_hasShrinkwrap":false},"0.12.1-20190407144638":{"name":"@accordproject/cicero-server","version":"0.12.1-20190407144638","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.1-20190407144638","@accordproject/cicero-engine":"0.12.1-20190407144638","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.1-20190407144638","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-1FEWZrWchr5aU5Vk3+4pj6a12yF+lvooy9dfXue9aTd3i+SfCiblE4fYtuaGx1ll53uJD8+FuLEeuc14bD0qdQ==","shasum":"1a6f7be3650f1983b73ad6fe4b2859aa4a23f450","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.1-20190407144638.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqg3BCRA9TVsSAnZWagAAcQ0P/2lIG4vAzP8IMG5V/cGG\ncCxowtq/piJNTHRFvXMQt/23XGc6drBMioZNfJTVYMlQbh4R159J41fHLmx4\nRYf7NjqRyT1LqLre7pcG9pnCjDuCjd+jiWb3lrYLzVXwHrMQbToZ/13AB9HK\ngsQX+gAFKisNXH0lV4Ag/rR5DStPZCRU9O4oq+99vb7VtF7NP/3nwuRuYFP3\ncgHIDgw/EyYGKiEtOyRjpQ30UN0xl3hD1S3NPUMfFGt8ucFGVqiJ/bDrMCxW\nr4NEsHqHTNub/p1i8VbHIusHkzAf/i/2lmvINMOmJf5NcasMDISZZhZs7VMa\nTqG1zTDiWax3xdy2ZkdtprlTOmNCR8+Jgs2p0G7JTXUwG28dYdpTinWni+Md\nNzR33BVApAfawXFxIkMxbmkzn7mkbEWYQUc7hbeTVUplViudaySgShCigkTQ\nUwTUw8kXwiFfXNn6ECFwiSXPMP+FNJKHBSVV1pnXtfsiA7Ubs894pi9mIWnR\nu/UAM0EyOq1qh8hVExVF1wiTBOUCGU8YuEZ8BMDz8l8pfesRqsiduI5tTQbk\nYrHETkHim9Xj98OBLxU2zZwvwg/FHkMiECfYfpqhxHj0gTv34u9J6N3QHR2m\nbMs/O0RdYu4ItGkq7u9qN0XjtN497ioOu4ao2NOlQtWNbj+irSFc4mLsF/ZD\nkHZk\r\n=AquN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKQrQv2Gb7GxSuFKs3WQV34JWAUEk34Hx7uFmVDqMBUQIgF+md9Z12kGulzrX0Yw+XshMLf2MqaCv/QA5A7RgVmIg="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.1-20190407144638_1554648511678_0.21659864798394612"},"_hasShrinkwrap":false},"0.12.1-20190416151303":{"name":"@accordproject/cicero-server","version":"0.12.1-20190416151303","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.1-20190416151303","@accordproject/cicero-engine":"0.12.1-20190416151303","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.1-20190416151303","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-IqowwfO419Jg40bMXAxsg8O1pgjOnfWqYdgShaG69TdxMHzCnftgpq2F3sVoUicDW/Hi3hUbaWezXLQLlJGOyw==","shasum":"61a06a6a01534cb3414cb05ad6128b6565a3d454","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.1-20190416151303.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctfFbCRA9TVsSAnZWagAAOXQP/i8eu6s7Pe/Z3Ivv9Lnq\nMoauBsd5GtIvvSMey11gak7vJ0CRrPwSF3bPuDqW51nkbMrGpL7uhGJ1R4kY\naMxElC8kDWKFVjFcloEgGYTnZotL25q8X5QHdLFncx0VKNg+rQsr84TjN8pr\n2WYKgxxbRWWhgs+JBnCc67G1fop0UejNOQM2eoKVyOWiBRANHZ1RByI8+hbJ\nW60wkNxRRdHKMp7FOErh8zu9jTQatGCFawRDJ7qTxt/x9CD42uUE+JkrrBEH\nrbuLvC2hbsubwD9HOB9+tV13sAaY+XC8B+jsOSwdHLKQt/KNsqoxysHNwHgH\nQHknkfhrpkw9udSyyyyG2T/3vr2ZWNK303u9+K0FwdP2S/OI6xwpz0eJaGoh\nZ5pbEQqXpdHtBD0wtJ25zkFRlhKG9xaYMZSjgASBDpLnJYFRq+cfqpBsnp6k\nowwBvZoNF6QFCvomI4Pze6j6fJfqj+/KHV28Be6vkJkOZ9xG4WAPeqrmkamd\nUEQ4u9vzrWM44w370K/Zd3sF24/iq8ey8gz9A2Dszcnn5BCjkrUQoefcpKh5\n+6OfCZQL/Q4GmJqwiCNWGrmuGXa/rTnSYglZVlViPzFT+iEYsgx7+Jm9seiw\n12c1NJr7SePjkm3SvWP8HQvjn84eORERz39V25UV35PMZ0ta4bA0lWHNllrG\na/X5\r\n=v2gK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2UmuDN9JsPTRUjIccMNLTj6XikR/mDlQ2ZHrbWMRJNAiEAgQhK7irjV6aMhBol201cHRbv/fcHbnTyDiNGWJ5hxxI="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.1-20190416151303_1555427675161_0.699913239488259"},"_hasShrinkwrap":false},"0.12.1-20190422142809":{"name":"@accordproject/cicero-server","version":"0.12.1-20190422142809","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.1-20190422142809","@accordproject/cicero-engine":"0.12.1-20190422142809","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.1-20190422142809","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-+WXVA2h2gF4fq02NlMcK+K4XNjr8t/aWZ4+FasXcO4qMvCygWjX7U7fCCBB6qtyent54oz7L0du8DqiKvFwnHg==","shasum":"39580d280fa3b138ede5265e3be4c2789f342b0d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.1-20190422142809.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvc/tCRA9TVsSAnZWagAArJ0P/AhU7706HjMXiVUtKro1\niuPcz6ieB1RVpn8vpXO+qiH6AL8ruogu0Co95mu94xUdOaBJj4luBf32wZTG\ngYLFhLKaVyX+y5NDShH1AE4yfcN2rzsgBqHCbvkxAyLfe1UDrvIqC4cp7LNc\nXVyLhTcVbL2aXQiK+U2SQ5MQjH9NJTzQ40oaxDpoluPNEzbgLVmHyyNz+Sfx\ny+q98T3QOaoQqInsRAQXSmzVwS1YhcRR68gchMt7Hrmha8BviL8CgyI3lzI/\nQxhntZRJsJDRW8izBykpHTKQW9049SSEuE0z4BYit+7F3rl6uiVbVLOEKekW\n7R6rNrMB1LaaszokN25UTO0GJbBt9AHvUKqpxBFRXA4Ji0H3OWw+mjsVJZGM\n56aKwao7pQBD1njw5iAl9R1QAtJFzuTUwqt0bQKEBOhlvjVN84GGhugxzODt\nVViACutJpbw6jYC1tjwbRnZf9GbmBfdcIMGOH9tOL45DKsj+8pwRJLLmW69F\nD5USu4DfuVHu29q49UcfJL6MDrZ/GPv3y7qPJr4r7/wVuRlP5cyWHNyiuYeH\n5OY4BZLjg2BqNrdC3awx+6Bq+f6QjS0EZAK8u9z/db6JkuYgw9hdIzekMBRU\nEsSl9cts6789BZBBPLNfwDXD/ukpjmsOHW4uy44J9kcnX7QB9OTjjfZACFvJ\nEwB5\r\n=hTgx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjtUlKLgYTn3C5uZ/4vpv5mmhk5eDHBPIYA9ZqGa/J9wIhAPLVEiHB9qr3Bsd2rsf8bVRcMUU3i7B08LDNXSlVvYPj"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.1-20190422142809_1555943404800_0.8457583472996584"},"_hasShrinkwrap":false},"0.12.1-20190430130939":{"name":"@accordproject/cicero-server","version":"0.12.1-20190430130939","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.1-20190430130939","@accordproject/cicero-engine":"0.12.1-20190430130939","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.1-20190430130939","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-VuB1OV2VnUIRt0sHxvQfUYHbIhcG351n0EBUJQ5TWIDRDyIozr35KHEN6dAjrY6vvSBZpM+qT65YaqnRjG13tQ==","shasum":"c0e67f5667a05bd87fdc3020e43a831e867d6499","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.1-20190430130939.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyElxCRA9TVsSAnZWagAAOFwQAIIIMuEsdM/x5bTf8/QE\nycT7aT5D0cRLmwL9Gp6GxhGBF2KXFsTCtgplutN0ogD1Ec++bb815KlV2sbm\nF8uxZF0ij7mkH11CBGYGORpK+4xeQdR0tmgQaJ8+eum8mzgVQafuw5b7fz4c\nVBuIzTNwJ4PbVkTuAk5iOLiu4WnoTNJFXiXKMOX3RzYYNid5BfVJUjFJIznV\nibEqMaei6yh+Wz4aJDb/66wg9fJ72kB0kINbLiaRHYY8Bvshue9X294JTojF\nPDKbrzvKzHztt6xveK9P2cIY2stLnVDGT8oyuySIW9c/zzRtH/Gs44aN68Wp\nLxek6R8Fa4Hy0ZIOR2VZEvQRAEtz+pt1FGbvCPuuNgyn16kDO1/AdHrX0BjF\nvlJOzwaZfyJNnN1wSM+eXRQ3vMYtXq7NWibiwVuTNL7xnBJ9OQ2EQZuqYewc\nvneiULIetT+KfJMtHTcfU8Thv8XWnHB0HS0VKNyGyOZB3v+6D7nSShgXY7C9\nEWLHxTOYscy7BUNn8KaD0rfyGaI2T1XLvouEu2Au4jscmaOexOI7zDy9GtRC\n95d3hfgE7aQy872b7q3KdMTjt72HZz6I9I7zevyIDOEf7HOidkqvWA7nSZ9u\nwACi6VZJKAqqNJxuHTz4rkENy+alTUzLpAwA02NMuk8aYZXJZav7o/43BGD6\nnE1L\r\n=0kbF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBjOqcnqJUSHGrkLdk9HwRtpTODIVlCxpXT6zxlIqE2OAiAA+Uzha8I2svSXc/iKoBrnb40MHsDQk60+DPzsUbOyEQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.1-20190430130939_1556629872752_0.9603664988816754"},"_hasShrinkwrap":false},"0.12.1":{"name":"@accordproject/cicero-server","version":"0.12.1","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.1","@accordproject/cicero-engine":"0.12.1","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.12.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-WYp1S3fE3rcuJ1szMpHb4TWyUuOwZj8OKTm0UU2JKkmrZtteUk9HqFCKwRh8oirNwnQLSGkqZyrL4e1KzSEH6Q==","shasum":"dcb9d062f55e924d4507064e2a30d4444c380b50","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.1.tgz","fileCount":29,"unpackedSize":106630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyG8jCRA9TVsSAnZWagAAuFMP/0JjNcJdxVROe2+LNAHL\n1HH9uaSX7VzDIaB8aZK/8jM7vypvSQaefrBo6yoH15tc9mQ05ySeRYAxm2yk\nkSglg/EKDzdEyLh74VeqsxH970Sowhquov67b9V09D4YvBUpvj+hxyos3GvN\nso7jXfIv1kSDj/dGIsAm4JogAqiwG9ZeJ5q4bL4aKuBfoFQ77WSnkoH29R43\nbyw4CVMf/hx18mShc2t71pDM4J1ufyxTeAmCrxS1ebtlxFf1v95ma3sYLloF\nFIkcA5KWnc4gTTW7lOgi2BjAOQvHhsRvaVOGXdeKLQggNw+osglrPwp+ypsl\n/IaEEaxA1aFfq47kZsRI5nnU34OXHCPDvttlLP3xLN0CKNJG6aAPucfDG2gL\nesE5fcL+LOerxufO8UHzc5jYLTWC9B7HVTJQpg9r1DX2aPCbtchdNYN7kQEs\nXuq+vbr6JKp0hoPaqXVRyYC4PqRbjs8vueyZroI1Wf/vcQUs63FbzZAU2x4Y\nkg+JHJhjm6E6u2HpVrb36ciyV8aBxDlHMiJrnEXdWmi2ti0OjxtcWzTL1PB+\nGHnd6Ja3ANv/UZnClcQI0dHI+qe2tjlABuPiBS4oC4tX5W2jhmMCYnjWsK3n\npVOHZs20cKuMLWrkQ1B02VaE1HGxXwpWlROM2rP36eSvhythP95gDsju3ZvP\npgQ9\r\n=Vn+T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDE0bgPfFySd1lyTTSAcd+fOlWrZFtKgFeOxsUgk2pnFAIgDqvS+EXwN33pxY3M3/n9LYN9lU2U77/JmeQka4cfX2A="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.1_1556639522848_0.48389448397820556"},"_hasShrinkwrap":false},"0.12.2-20190430162434":{"name":"@accordproject/cicero-server","version":"0.12.2-20190430162434","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.2-20190430162434","@accordproject/cicero-engine":"0.12.2-20190430162434","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.2-20190430162434","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-RgMrxihUx84h8migln6oD6DrBBpyddQb8yG3Sjv0XXVqnr9c7fkezF6z/keTe72sgA7OCLcnhtZlAiyHCMeDuQ==","shasum":"fc0b847836d31ce85eedea7e05309d009e479998","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.2-20190430162434.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyHciCRA9TVsSAnZWagAA6LQP/2UoDwBP11KgsAbA+Xqz\nK8mpY3jxvBY3bxysBMiPj67a1lfoSHxXER3So1LId4W2jcs7tXR4VPabDdJK\nnOjSh/iWBBKVxdQkeUzv6DNOUW3RV9A/SH+diAHSQv9I4fBiz/mrki0D8RNv\nsBCXrdkPAU7SH1lh5F/s0MzNFmT/EloGoFI0zq7G9ESpmwil7cgta5//J/oG\n0ego6L45xzxZKBPdPCMkY9RIh4Bci/VYmR37s30qUV9k6QSYmY1SpV+D8x6I\nVkfbXHuWWJhyR2eo8uShJtkhf0cD8mAg9hqHFGsQLdhQRn4AZVnX8hjwkmrH\nI2B3/COzHucm/7sX1/jQZ0y8jjMN+QI+q8C3V9Tbns+gK9nWt3smyeSktAAK\n/tpC25lHPfSdZopWczhz74CNYNutyZUo3EfhDZP9cgX8yMPh6c04dtjIU1z2\nR/WmISfaHCXgjHAwBywaubRM2zLGnX20DqokAdXbbmiDoQZnqmU6FJjmeDZM\n4vksowamYNx+M6SzFyXsi+vxibjtx6ONJbMZ59EBMTGjANOvsq1F9nkWMsOf\nHoZY1JSsj3FlqXgZmN8XGb/yf1z9AR3SK+8HvBos5tXD9lR0BUS+oF49+tld\nnrtZWsERMj02l/BydBkBMM1Ef/9rtrCBwnmfOhkVzBflm0D1qTY/llaFNoUT\nXAbX\r\n=UqQx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBQ2VyEEbFDM+3Y6kLKfC3ozoTfNC5pJByFVqyc2UctBAiAyod32jpNo4aGbAl8en0NSDn38iatyMIcuk6LZuR4bTw=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.2-20190430162434_1556641569673_0.4655982286482647"},"_hasShrinkwrap":false},"0.12.2-20190502050514":{"name":"@accordproject/cicero-server","version":"0.12.2-20190502050514","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.2-20190502050514","@accordproject/cicero-engine":"0.12.2-20190502050514","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.2-20190502050514","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-VSO34u3GDDTs99PUzaco8zUvgqhfTMsKvnFYs0i7dCEYap2NVyPO/Q/fQ34UmAXhTOSVs3bnlz0MyrBs87SoOQ==","shasum":"a96805707a545cad8ded490a31461cedfcff535f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.2-20190502050514.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcynrpCRA9TVsSAnZWagAAG5IP/Ririt0IpUkNqDT+T3DA\nUVu/YiuyLFJBpNHXCt6/1rvDeqsslIomtZRWOlOsCd8POeEKJfzMbf/0Olrl\nA40UWfUk2uhBbMpAFBxJUQpQG0JEdBIwnnqIaPVpIhtYX7xJcOVTTQVkKWGW\njyss0gDkxQOUZ9hIx4hwQqkJnNgOTCIanJjvL3GYkidYfIx3vRLDhMxjYCPW\nP+EOnF++Mn1RJvtkRbwohjeBo0BVHqlGS474DiLC44AU5pVM/QyWIW9Qr+cF\nk8lzIqAeS9yqrJ0SE+26n7rrTQdre2LeUweTNgFpKHv+u0cJHCQMPiKa9DNx\nxJ0PzT37z/Qv8JQPXBgC/38ilBG5yr1jWBIJA6IecB8UJjLZ8/0fH0ES9zBV\n8YKeT4s5WQWmClXuHdOBHpDlUDCWSoQGzrBT5HPMopCmDyjVXLAmOCSYMJvq\n4KbEqVuUPxbHwGBSp2OQ2Schqxh1cwhiRgLaN+xlVDg8GQwoMZgHrTUNEJLq\neBVAe/pqGwXelqUsWbH2CSBHQAPfJKQedq7rgd3zZKTBMfXsfQwRe23tBoMh\nPZcIWMttc/XvybB2/eu7lzh4bRSKOPR1NXr9i6dyTEykdlcEzaK7m/ZFUiue\nczrdst+zGwxdkrXA6FG+o2PFQlfu3LGUlE0ZSmhqkY3gHepc4E3qURomECbp\nUmK1\r\n=pNtb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGGABGp5uqaYeOUEBQV1Aizs4L28Oi5Yod+9AweqeS18AiEAml7HoB1KDpPZELQa6/rokymKCD1JReeS/ceUt2ti+Ug="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.2-20190502050514_1556773608795_0.36801292701192545"},"_hasShrinkwrap":false},"0.12.2":{"name":"@accordproject/cicero-server","version":"0.12.2","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.2","@accordproject/cicero-engine":"0.12.2","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.12.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-LC3JEnzxQZC30RBPiXdFZFmcAui1RHguUv9/uB8pDsZ0/yiuHsvC0IjSjsXCp5kUGqMn886mj6UdXsRUr8dlDQ==","shasum":"648f5feaff67c526b24d6395ae376d39dc636955","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.2.tgz","fileCount":29,"unpackedSize":106630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyn1HCRA9TVsSAnZWagAAP+gP/0wwm+r8pzlXyHzUFsgx\n+m3v88xWa+E5e0dgER+9YrRnejPPuamvbcQlg9qJ2LhCDAl9XZh2KHQMHWKp\nafPYjIKu2mWVv97UI5Kbx80S55HuJmVMwNG19L3gQQUJtHnFCIN2GaU/DsnD\nXIJ6R4yB3vEj31lu6SrMHwuVrbSICkdez49HODjjEXjqdc47Kiyvf7ZZoD6i\nvaEWVuPnC3GW/jwW28gq+k/qz3TN6raM4S/MMv5zrfk4/wYfu1nC5udqqBkF\nri7/ZpqjbvX0GFx0IBydM8XusitwIBQ4RB8QDWcLyXaDgCFu7whewI1ofl1x\nvQ9kB3dwMlBspiDJk3eKbrmI1QSEef3G0SN6hdfcU+gPtvKZLsvc0AJ97srb\nCm3zU12Y0XzHDDzv+t/TVVjoDWAaTjxsUi/ReDvFV7Q0BTsR5rFn5WhaaZx/\nw49DKm9Rd3J1yISC/UFwyCiabXH+FFTTD4R6awLq36s9K8IvogrQHMYW3/ie\nc+6ujPbTX4DNXcJNDnc9IX83ghZnLljQcXojOnWS8lS+9eLkY3C8bZKaaC+z\nwSkDtcikWy9MQgsg9XHokJrwLtz6l1+zbCZ9ZQA11DzY6PROcZgW3zOxHciC\n5sJrdS4T2gUGZZxOkBGwXtbxbbFwUiBZ2fZDirvle1zKXF1DhwgsvLgMt7zz\nFSge\r\n=hDT4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDloQUEJbdilOMo26sszt4a3EiFh/DHJwQuImseoemvwIhAJQtrWF9TrGbtKzW1Qnv/HSHHXWyQMgGDre0ktN02lqh"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.2_1556774214920_0.9628125602759525"},"_hasShrinkwrap":false},"0.12.3-20190502054938":{"name":"@accordproject/cicero-server","version":"0.12.3-20190502054938","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.3-20190502054938","@accordproject/cicero-engine":"0.12.3-20190502054938","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.3-20190502054938","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-dxQJgHm0bFza32Vxhi7KGFHPpLwNiiylja4vJ7VeRAnXrFX1nUXd4pYqdlU6w7kt4HhmWDssMWUcKyoINGppDw==","shasum":"44350589414c5f0a61e9aa9ce2720b479fa9da3f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.3-20190502054938.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyoVLCRA9TVsSAnZWagAAGiwP/0sg53EbF6Wh76YiFTch\ndQy/1PFikAQxmalhFRbH/sTQeWdyLGQQGRfnUw7Pmee/B0j+8HCM3bVFveuT\nzLSm9kdymrOgsQKy3rNzU5KUYRbYyp3AK0Q81Ege4gnidmXgG+mE5gAgBEJ1\nv1XnS1MNZD+kUhl1qTuN9LePULM8+rwjjoFEvcdjMO7mc1XR5EvjnYvYI3b4\nF5yesE6513QJwqGsTmNQkpOJU+4QyywTlceBHE1Znx8SaeSE3WRa+Kn4weRQ\nxLd6C5TqPYlM6mlBecZ+oQKe3ScD1Gf98Ns/XbDSmRAKwgs37OfSVHKh1Tbe\nFi3Uq+lQnj9+HUnvfzJK1Q5FN2LkXeDx1VcoDLNuqEIRAgzEf/Fxj10Fg11H\nbeNcDpH9aIZIvekN7oQ8r57lyRdFT0g/yxtXM/mRHG1W8RqT2pnFOOrEaaW/\nuTW4E8rk6IIEtSLdmS4dNK23M048Yv6+9relDl1zLVpF8wC747yanK69Dsp+\n2CJwxRUdja2rFgZlpFj//ubevOMZ+aWktRbxUFV7fnIUJk6PVkpxOhybmKSq\nkRB7jQdvGZexywr1eL3sxN1DBTMc31gn8L3xR3QkAuAwlWF6DBdB/qSD+wdp\n/sm4RnujIMCS0CTmDgCmd/NqaomF2K2tHB0b/ax2YK/H+yJsNmJ3OBJGSqQN\n/d92\r\n=uSRv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAMlD0HlSkk9aex8YeHB48Ntl9lwZt9zHuKtisnCBpAgIhAKKWzk3lcz3v2QQb25cUAU87mpMsmO/DkhMkbzhNoKYZ"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.3-20190502054938_1556776266924_0.4430852448823126"},"_hasShrinkwrap":false},"0.12.3-20190510175035":{"name":"@accordproject/cicero-server","version":"0.12.3-20190510175035","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.3-20190510175035","@accordproject/cicero-engine":"0.12.3-20190510175035","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.3-20190510175035","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-qLy2drAbGj1rzTL1TSwdk5KYbBEmXSYPwtSFQu/tOFzxU0gbXAt47kgPwS0gIO7CSc0aujxpaGxyviCql2kH6w==","shasum":"a7d6f4f1b2afb4fed6ec8d202c7e128179ae7b3d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.3-20190510175035.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1bpICRA9TVsSAnZWagAAQW4P/2VArS15IqqbRz77x8Ag\nnIJ7XX2QSGKAoOLqURkQO7L/Z1grklx7ZE5ddiK35EaBEO/eZt/U8Q+b/2+u\n0v9CY49VAZYrCzs8r1jf2ONcGJuhmryawAMbGboAFGfjo3HVsmMj1m4xIMjf\nHq+rro1nPpW67MGFoiyZKMBVzW0/Flj8dUJ14fdi1hjcR3t3nldH8m8yvllh\neQinVWfcs7o+BRAZ7Sn+5oXacOet7JvZGN3/gqwPxRK5wcexWxjhR2EKUdy2\n2jPpcbmeMCMHjzmBEoaYTE67vhOZG0GKcbIewQxDHuSG5ppvMsdJ6DOqvnAP\n6j2cWpsQJYEQtEYv2+ZzoWHfNO4r8qqtDGlEqndk8wc9eqRyoBa7Te6YHT6Q\nKR4evXht/k9RybYxObpJqip2nBbeJBiTIRPT1G0tHyK3GtxxV9oIkGCcUn6z\nUt6rzvRf1hnc4rlTsj3820cHHqTm+FzZG4TOKa+XSLC2faHzEfsuFuec5X6n\nlP1s9K/FAjvfBn4yCJug7ye5PQTT5LhaY2bliStQO4xSqL54txMnuy128mgE\n3z1T4k64KZgTzMPSLrOvk35eGh+Xoea59WQTQxw+TjvfenR5v5ZT7TKXWppI\nz2xpNmyTk7UghiCxvOLN1jlXkQLIltKu+fVgv+1uq50U8gtD5MEl4ehxZgqa\n94z/\r\n=mZPG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBb0BVFCLPJ9odElSAWGShaJvNroqiOq9lBR4emUnxvvAiEAg3pNnqWxA2Qg3R0HE/llbS783hTYbvFs5u7bMJRzt/c="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.3-20190510175035_1557510728015_0.6650803091220481"},"_hasShrinkwrap":false},"0.12.3-20190513143234":{"name":"@accordproject/cicero-server","version":"0.12.3-20190513143234","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.3-20190513143234","@accordproject/cicero-engine":"0.12.3-20190513143234","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.3-20190513143234","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-2qO+NtEDFv5zuEGaP+QNe7T9k/b40halGmUOgALYghAvsahk4mdP914hnPJ4CaVA8/SBCJuZBkEjlN+pvYliqg==","shasum":"c45eb90f01fb5060741adddbd684964f4703e788","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.3-20190513143234.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2YBeCRA9TVsSAnZWagAAwuMP/jTJQgCZBl65/EULbOZw\nPtE9fCgpKu+xtQOn16DJPnJZPYzK5PX+LXRnRNyTuC6cciY0NuNGQoprCbRD\nZozP58VFjAMrLmPDIgVaJ8Nm4x9GuuGXjA//F/kU7q2/qrd+fY3nWXvd3YTd\nhHI1Lo5jvGqRVC2aNrEssiBW31juuCPJ3pTceeuKmDQ5TiBUhkR1gzSVg2vv\nhG99ByPLCHd6alCGx4SVYAU0jt3/JA+OUAq1IZ5cVQKhuiz24VpDVXUo45gb\nqLfxRMsFxfc20gAPRiwVfZJBVnmLmQb1kMY6P6k7Q+UHLDjiVc810glo/2hx\nUNcGaJqN8MxlFlzpJBHSuCTGZQBVu9FQhvzeh1U/ln019w/9SOxBUA9xb0BX\nJ6auPWPkf9h98PGGL73iG47Crjoub4xRQDJpmB+U7010CXC+wlTuZ2M/GmIV\nk7zhX0G4d2wMvdWoCZryWZ4FbyT+fkODahZr1ylL5nbSpAcwbKAN38XyLT5f\nje5fY1xb7koeJ/wivbCJlWyCsCiO8aW9Fl1e+30ZCl/e1B4X7/h3SaxKql+e\n1rvLsyuD33N3xQ9TkgT+M69Z/lOe8aT50EHWVjPb6ILIWpmA7U5Gok3b4WGl\nVi7BZ60ZgdvOiyLDw0pPssZoSOHRoFCMRhifK4tEYHudlFy7JfYiwsmhPT58\nxDBs\r\n=3Iki\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFEB776UpKLIGTR6wfowr4MH4IUXD0Om3Osc2qAjChb0AiBKWHVNqBnALuIIen1LM9G0fs98RQtSg2MomM8hvQ3v0A=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.3-20190513143234_1557758046212_0.7527273956426421"},"_hasShrinkwrap":false},"0.12.3-20190515152902":{"name":"@accordproject/cicero-server","version":"0.12.3-20190515152902","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.3-20190515152902","@accordproject/cicero-engine":"0.12.3-20190515152902","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.3-20190515152902","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-PDXNXXCdgo6xDkG+srKIUWogKVnxuKMF3a2a+KoZgUc+4KYhus9pnJf8gUhOXaN2MMmFOBUDbg+96SnZffiv+g==","shasum":"4c47cdcd0c1bcd69bf59299d522fce975cb5adea","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.3-20190515152902.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3DCbCRA9TVsSAnZWagAAc+8P/2FR180SSWa3zNkFfBRi\ngGSIhHf9G9F1SrIay1Xe7vADa5xLhDle8w/Ysi2hhuvQsctIE6XNhDwLAM9H\nsEcAXLnLbz1L4BQVYwCUM0WZXLE+L8ce6otMUjugJjEZ0xYcT2+zfIMP/0hF\nnw2pDXKNwj/N4ktOn7jwSjPznpibhP6zUTeAKlsir131W1XKUHO8e0GHSAXo\nLqtUYKCmoBrNt7kO7eRazVLqYOCQYfw0euESushc6qEoG+MjYwl+4C3n4szF\njoaiyM/H3jVK25Oqzk9jlh8ysUaqoSVoyUE7dmHbGFk1vj3RgAooeA+9ni/l\nhWjWZbpKDQfTSAPeVs9SLJQxPN0n9o5bCNObbsCbVi8dtrebfAHI1fp+FPDi\nitsxwuyFHIkOUSwZsrPcenTuNfx9sW1UtnuAJwtPyQ2gF/JI1ngtN20ZN4wS\nkhtGhaTL3tuyvXetdB2W1vqwvuabAusJbVQcvcQIWjGBCZnwdlAfv7CMmacY\n/aBjqdxrAuM7jjjqmqnF2NA7vJB95iAMTe12eVPSX6TC0CgmM/+GFHO6bPlv\nsOWnpa0a60ed0FWp2lR5c+ZiLu6t+gBnji7gmBSuXkE7cBvMK1ZPHj9moPeW\nszAJHSO74EgK+wOTHAP0XyzmLT6GQf1BbY4R+MfPOXGigFuRCSnXfS1ultfs\nij05\r\n=8746\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGjAI4GVt6qlFNjSkfYGQAheqkdaEI7n+fS8SSy6zQiwIhAO7FKuw0vTMgnV9jfXGjUQ+mDS7FoZ01H/NpuuOR/Yca"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.3-20190515152902_1557934234768_0.017895579319048283"},"_hasShrinkwrap":false},"0.12.3-20190515211313":{"name":"@accordproject/cicero-server","version":"0.12.3-20190515211313","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.3-20190515211313","@accordproject/cicero-engine":"0.12.3-20190515211313","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.3-20190515211313","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-unBFy+qm76qlwuI3f52VX/h2a9y+ybfnMdDxSSXQPIrCdHmfW5Vi54Yenv+WQLyk7R4B0xzMrXQve7VzIYruuw==","shasum":"09ec5012de68990f37dcc67352e09133bae1ee70","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.3-20190515211313.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3IFKCRA9TVsSAnZWagAAHlcP/jnj9rxkya2XCRfyvfpv\nWT5sdiIBBxkwZ7AGgNAaoHaAs2N8uheeAlP8xtYr/+ykntNJ6TOpR6sVoWOg\ny9zeBavfjbj6UhM3hGC5esU5Of9WJzkWAshyn74kvBgSiGT5l09rMyg5GPxK\no3YeyHe4vQ9iIcZF7cMWWow33pgoQll0ZVPeNPRuZcPuPqBRAac5XjR49O8j\nG5v2UE7UsM6Kn+sdnVCv4s/jM8gyPPjByCkXxKKlraMTp9d4+MzHrpPuHtwf\nYCH6He6F0IulDEfJtcbwkYybk51O4bFTcrnmKI9icMjxP6TYekQHGnRVOASN\nt0vu2cH9LHHfBQ/OL8d3L3co+XRFVtDqDJXrXLeRB1MpkQ0vSvuAVFNsAi4B\nSI4hzYlQcy23nZ6VTXomNWfVyweHn1WN4hdv8QHYBiKraiZyxGdTgwoOYoNJ\n0hc1hReEBsRjsXmJkVIDk2CDMf4F/FISvlK36RuRWiLIM+XaLbg8P0AmoFcg\nPtHrSJNJao+8RZ4JpqDVoeao0j4fEdj6hZGXixGfTO6PsGbmGze21+BFHg9/\nyXBt04xspf0qsi4G5s82dciCG9GTt4TnQn/7IEdE8UMRr/nwcnDRXmJLiVoA\nBFV2b7+CjWlgW5n/nRsWuPCqzqjqzNWhlrXUkgGJB2J35xn16ndfJprWDy8p\n8mc9\r\n=f+IN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxCRDUQQJrxP9rf1A+uP7pn9KdpL395dIx2fz9DHU48AIgSz4DucAyiI9U9G9nqBtkX4zEVkbXL0y/j3MNtQ8zrKQ="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.3-20190515211313_1557954889354_0.9869696264533134"},"_hasShrinkwrap":false},"0.12.3-20190515225306":{"name":"@accordproject/cicero-server","version":"0.12.3-20190515225306","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.3-20190515225306","@accordproject/cicero-engine":"0.12.3-20190515225306","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.3-20190515225306","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-lP6vPbsnXpUsI6gRr0PIQJPXVdEM6h5ooWM+hoT7LqLEhX9pnw9OwBdTUmrcxChb5Xo2F9mCkWh5UaYyW4HLxg==","shasum":"9fe94368179a5d54d0255039bca2505f4732308b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.3-20190515225306.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3Ji+CRA9TVsSAnZWagAAJVcP/0SMe7GlcbhgRsgYxxIs\nfvcQpFoOuprdRE2xmsEvI2f9HLmX8nmgid8JM5xYVi0W8dzEih6HlIblPSYt\nSjYnNH7odlNrIBKNxwCRKqHqD0UcrRsKNRw5SXUyrRwO8k4wQn2U5tQZpsKj\n4C0oSMDzqnkgeH7GB9B1+HEKLHwoz6Th8Dxlnhy03KBR9rkGIZUEr5YUwWij\nD4P03Z6RwXpGKfRVlxP34V7gFx1VkZaPLh01FajdiceRb5ckPIWSpmYyRxUO\n9KX57vVuTbpZ7PinqycUhMCffvDqlVpJLp5r/sBIAaO0+sX+eKi9MgV0VwQy\nP6KgCkCRZBUWc3LV2GGYEbZ7z6G5V/tVUYLaPdS3YbsWRSIGVBDwPq0DMdS/\nBYTE3uFqXHYash2+93XjZEGCdJgo6TbyS+qWZJMuTqVdllunnjRBguctpM9e\ng8ZQGrggDBn8CKBRedrPv09jthdxBKAMXGZ2JKXCOFyEX79eMR7U0IrQIClm\nBgvH2tfHJmalDB3YvnpnI8dP4RkmGkYNAUM8eAZRzdWjWKpLn8yriOiuYRZ0\n1nJ+69MSS3Z05GG9tpCU9CF4L1abKI84hZ0YPhuoD4ue40KNUZ2Urv6kBGYE\nw+eA/lE7zYMNc6lkBGSkYlravI6uAqIoq6syOMvxd8k4TJVJLUJzkZ0pfPFH\nfVjJ\r\n=bCOi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmMWR2k1m7WblWyrCahiiwc7H+1SeGIBfoHLBzzEmDoAIgU8vaS0UCmlamNWxeswHOmEckB19stY4vEQzNeSAAYss="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.3-20190515225306_1557960893588_0.9495948894886097"},"_hasShrinkwrap":false},"0.12.3":{"name":"@accordproject/cicero-server","version":"0.12.3","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.3","@accordproject/cicero-engine":"0.12.3","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.12.3","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-XcgHLBlh9KFAOw55bqeD0s9jrlsdLWJjhGxoTKmvLtL4RJQwtWlHh4fUMu7vMkJ3XSNTfT1ofTWr2FzDpNqtXQ==","shasum":"35a6d8f8018eb40418b5d626e6ac59a3d1f6207f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.3.tgz","fileCount":29,"unpackedSize":106630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3J3ECRA9TVsSAnZWagAAit0P/1X3naD7EmPClcjN8lmt\nkq7yK9Duq6dMzEEh7dpZ8wO7vq5E8txTz7Y1FizP2gu6fQ6YLuybLjGHhgHo\nqvc5ptMjGbglaTxRtIhtz9+MZfiX9TG7d/pIyrcu/HNTVjOQb9cdspsjIPRd\n6Du2Q7Sjra+DC8azIFricZVJfogeKu0Pob79jWZYU7+V6hCftukkiYlD0L75\nVFp+tGHBgYpylk2FdIwPAU2wpCWfe1CyXkaGR9jIuGromvbxB8BBBAYK6MPH\nXvzWWxoK6kltPSN2ep3RuD78ACavyoGINtNMl9ZhMvwF/2lhyuLnJTrtdqXj\njUSFJvafCEaS+ZgVh1uE376VilusUwm1E3rRY5pyEvIQ8VeVQoC1mow9KJ2S\nwG9Iu7BjqbLS0SoiXZ3//DMKO88n7cWKRPSVBMZrcaRcVWKSo6jk2PTjd4n0\nraJV/JNP4/vI8872EchswWd5LxtcLQ5QKt47i5LfirMTwdGN2LPwqrxEKW4A\nY0y5S4lQKFQDsWW+9+cU/0t6SNI05ouMEUZx1fArWOWjiu76A6uEOT3LiEYK\nzpStkxPGUZ004XeVIwE76Ka+WIoxFKbVi7f9zUMU9Jk7ZnueDO8BAPMoWjdq\n62uRhUstpsQTKqbJFZn9K2cWhj98zhkfqarkdMbS1a44/9ycdu4aSeXxWpw5\nmSB4\r\n=fF74\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGq69LSOsKH5ED7ffzaArsSeJ+WY1k/JSj9Ra/x+HbqUAiAXC3+pjYKwZtvaSJIMe1Sz/itiG0mlKKsay+lTaS0fFQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.3_1557962180026_0.6039101095903125"},"_hasShrinkwrap":false},"0.12.4-20190515234019":{"name":"@accordproject/cicero-server","version":"0.12.4-20190515234019","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.4-20190515234019","@accordproject/cicero-engine":"0.12.4-20190515234019","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.4-20190515234019","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-oxkBtB7U0MXISROmOkDeyjBW+uRX0TTUE/j/MHaBWPnKzu5CjGMYmz3pIJgPzgxSetKuDe3wMz24KYL5d5D6/g==","shasum":"d3942c015caa30e343cc374ed00a15b6e70116f4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.4-20190515234019.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3KO+CRA9TVsSAnZWagAAl7EP/06b90yBMLSXt0+vUFCd\n0konueh3SvA++SrUYsbUx5F4FPMejES5b+bVigE/1xrYQQQPNvTnROz/8OPz\nbSaNoQG1FawIlZ8ejYvwyiqh4GAzpCa99T97lhMkhy9EnqX7Vpghi5AQVZdN\nrQP2EExxCqLu581/P21Qc7XAynzOCII4ePxUB7nrBh/GzHHDpOYXxdzykLp4\nRzqUhATStAt/nnncdbHVjw342HaeqxGwkrnYfXYoEdkeWR+PI9fvD53M2WyV\n8c0H7BthF9KrPTMYmmGZpHWuO4UzO1JN578NNeQrevaonQOZH0sq4uoOOw7v\nPDvXnhmoN6OO7je1VcXQrSOxNnGrfZSkoGuFviO48GOwfB7NRZhvbEnCZ2wF\nW3gCjwciCwhs3R2mgsJLXsIOmQFmgkz0ieGzk51RaAEQRTVh//zXvdfSidXZ\nsgjSJZraHC8M5M/4G2f3jlPHRRKg0NxBsMau0Y9AbK2vFkDs/JHwEISI4dxp\nCK01dGFD7COHDfYcaXIR+E5IjNXyPp/wR4iR0pQ10APW4n4K+w2DMMnVZDLX\nRczJkxHYx/r4bBxcDNS1MBJRjUgIj7EAw9SRI5x0WxqPw9qKVosogCUN1bW0\nxUNyw0eizKd1JCfpYZihlUv0wLnoqtH7Q4BuLBa5PTODefy6Xjo2oqZC1VmJ\niOFm\r\n=eyqb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/ZgDBGCF4Ta0YVriPlDCR4qq7kujwsEppXE8M2IfNJQIhAOy3loFTA7BRPQzaw1pHffdGRCoa1xq/vNlGrFwnmSQo"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.4-20190515234019_1557963709617_0.8571027834681173"},"_hasShrinkwrap":false},"0.12.3-20190605103628":{"name":"@accordproject/cicero-server","version":"0.12.3-20190605103628","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.3-20190605103628","@accordproject/cicero-engine":"0.12.3-20190605103628","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.3-20190605103628","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-sar5UmsPOSuvjZOkIzNsdq0nBe4+E3qh3uPoYmNFHGcGLcbxW8pFkra/0ygII54oP6tuoS/TGEEhvv0zEEdQFw==","shasum":"4378cf9157349b1e18d56d73d3dfae9f9067a2ee","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.3-20190605103628.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc95u/CRA9TVsSAnZWagAAL4kQAIrNKCf8k6MCiJIEpYmo\nl7s4KaSHcuphZ0AnYLvbe8QJQFKc8XiBgnf0vDqURLoEFtQeUN0gEsx4bsMA\nzWoO/WLhk8D5bQqBjoM0F7Vo+j/aNnDLKoWRJWsnp/0JedyVjnwycJsp7QCS\n+h18+QtrYH7X8QQzPQ+cqNGdlPXSPm76drUP92NSnLsxIXQTjkNFe0fCSDFw\naa4Wg09Ni5XZcyUU+QaZ87bb46FH75mo+LF9Uoe82/ayXo7wO4Vut6tI36kv\n125Dgp1rtAPHaOtypeD0eff5VO24vy77+uMHMgk2be6TnhHx7+mNAIT2FCUh\n+ce4MFMtkQ6RJGSHj6IH0o9TP2kPKLyQOIb0Du7CRZoV3Bnrc3Z2WdAWj4AR\njhXqQyY58RSgc8ajpwEEFQJyLHKaky1EtJ/LGPDow+q598Qg5b7z+giW6wiG\n4jkhNtBrp5gcagTb1xgdOOcOTM5FFRvkYJwsZR2OXa8j52RD+W5lH5msnCzj\nd4kfztvQSR0OvO8jDiWJaLvqT7ZlBGJ2/vth+nmm1P3O4OkT0WPwHBZU3VZY\nKJa/9x6uvi25BEvJ4EWkA/YLX1rv35Qty9iZggENiHP+wlcRNpxHup0+G7QA\n3GqM98a9P9NQABnOs41vvgAFheFg/O3dvHe5JnuqKlTm4oHx3ykY1sXJyQI6\n+i2A\r\n=0uS4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwOarQlI84ukJItZz6dlYClGEFRTj4wHj8CqKJGRq/wAIgLoRUb7VAqdWKgYELwTCCrpTna0Pgzf6JD7SoFTKQBGk="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.3-20190605103628_1559731134618_0.7377011650171896"},"_hasShrinkwrap":false},"0.12.3-20190605103856":{"name":"@accordproject/cicero-server","version":"0.12.3-20190605103856","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.3-20190605103856","@accordproject/cicero-engine":"0.12.3-20190605103856","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.3-20190605103856","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-/3PhmIqdPLX2lOZxbPHjogif2Rw3K3SNXTfzz4oHbC0pct4oO3mZSXWuF1DyMZG2vq55SbkA6r8C6p5qfRMRqg==","shasum":"a359628d29c1104b216236209a2d32842b0f6bb1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.3-20190605103856.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc95xyCRA9TVsSAnZWagAARYoP/2lg/tmpdnm4ETD3SVbV\nH8Rc/bH02DZri7cF+LZ0PMq9GatVtTgX0URVXuTFGqXHOI/Hnne2S5LML4pT\n1aPd5R+o/yiGBoEFAiErT82Swz9Ceu60u4DJGfp1U0xkWvxWvn0qk2M/433d\nXQv8D6gDsm7WUAUufk7I6VQ2j8SOJpJcM1wS4BQmUuTxCIXoifLtglHCe/qp\nGNPM2EA8X1KX67wecoszLPe1qRqGMgqXALBbsrKQ0Pbcem2RNskvuOB3xAZz\nHt7a/0QO6LgZioF/LwBO3Za/dCh00EUYMxCvTj0HrHUXU+phfxB3fXDkj+EU\n2xpdGcpm0TmCMPmm9Mw6W+0TifvKlikAlbjanbgdXzetoyuYFVX1SCPuXKW5\nmO1NWflQmmVgaqteNaAIkgjnNIiKTTS/hiYulAMeTLthQo91UPH0VYKJlGJo\npKezjgSUxtcMZZiYuTU+ndihd2UQ+ZIw09N1ZvGEea7s7x4OmZlDjTepsB4o\nRe/doscqsXH1ckH8Bb6Jj7Kv9E/uryJbevrTSTYkXgj3KEuWdRJuAyfCpAJ8\ns8/SqSyFew3b7t3eJrQf4OVVv3gau2VTHKOR4bX7skszrNXiH4Jtq9zy9VJW\ncxAEK5Fbjpo+FqPoxyHF5Z7l9XYrpm4Ny0gFB9lxA2lAW85fK0U+Y2LAblxP\nxH1Q\r\n=zxPv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGWuCGdOQbdOYXHAPaFvWaENqnIBfQrZy44BUDheHVlZAiAuj1SdKBGEnSPOmuN/5JMuxR4xMlWmuun7D+XSEIKX9A=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.3-20190605103856_1559731314098_0.1798253352078396"},"_hasShrinkwrap":false},"0.12.3-20190605112347":{"name":"@accordproject/cicero-server","version":"0.12.3-20190605112347","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.3-20190605112347","@accordproject/cicero-engine":"0.12.3-20190605112347","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.3-20190605112347","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-4VuXWfYVFD/7oIXXdT2J/NZ2mPuvT8SeKL2F+4/9ZJBIslqD22WbSQZo47Hzb5Lh5WEZ791qBNNPTnTYIDxc4A==","shasum":"0d851d9a6c82e176ada94f6a9d811d12aabf8c5f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.3-20190605112347.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc96agCRA9TVsSAnZWagAABZMP/Ru9sakQZGdEy75DV46R\nuwE18YMLT4oG206pwWuzSk2Im+0/LZRI7CO63paoX9aFt8QhadQmCl021+/F\nxyKDkzDij5CbuDSSlTr32K/kfncEPQE0f37mXE9XD1DgzMy1QhbRjxTrxxUV\nlnZLL1fdeL2WCLVD3ZzGcW+rWyfmi/BKkVIFa+e5EhYuVdtH0ikTIg2uv54K\nxFcY+Bd/C4UqwRCbBT1UZ5rEEU6r4xruOqApOrI4pi1WMysmePpNFguUbOeJ\nWdGD3BK/XXqakOzwUgLhSuAyYSKjwdbEl3oRZrbkcT8SfvH82cxb6qlDLd1d\noKLYtBNhmyYt/sdqHAAqvz5fX1D/s+xILw2VOSf2cqiVWLsjV4lrv48q0y62\nIKMl5kt59/tErBUMsM6lbMZiK9K2HDjgak70KeBDP2Pd+mPrWr2Ogznp5qIn\nOaeG5W7OqUxSVS6DL8lr7WGBACaJg/zHPLGwsGSlv9pJECLZqWHWUtNlzmOh\n6q5peKXvgIISljvaHhkiOWegCKseqjIxmaI2ntSZh9NwtC5ul+tJ8ESaztji\nLavI/A0Bc++hgPesI2f4q9bYvg8wzeUxfXGC1JRayv+T9n1yIiSdth91BgPo\nDb3znPWn0VantgdNBZn0fe1zRST/QN2LEW7YqbEatzeVADaii7AgmOI9kWI/\nyyLX\r\n=agpm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpGrswK6MV53ATXAY5YyJUzFXqUh9+R8sMLTEeBYBeKgIhAOvwXogxjgGrHYjp7wpdyvdEB9QLgjvM/MEJ3jM3SOLp"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.3-20190605112347_1559733920159_0.17362485094195024"},"_hasShrinkwrap":false},"0.12.4-20190605151254":{"name":"@accordproject/cicero-server","version":"0.12.4-20190605151254","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.4-20190605151254","@accordproject/cicero-engine":"0.12.4-20190605151254","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.4-20190605151254","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-QIffmoIBSSbzVwbTlYentjtLZsE97MVz5cPOTertF8vR8lgS0j4nVel4NVj5E2BIx6JI1EO5hTtzS8sw0quaVw==","shasum":"16483e615803663431bf44c7f7ad21abf4e54326","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.4-20190605151254.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc99xaCRA9TVsSAnZWagAAO7oP/1P897ZJjb07SHoMSyAa\n8I6yIKqF2PNGSgchVDQXNNOPe/eUIXCH9lrkC6lT8QzsYxx1nYrOD9854TJn\nJIJcsJG4JSpEUoHdtVPCQ9HPGK+0pRvfrVxX2dRfbkYrbMzxRMZQEfoXcFAw\npe8luj/eru1lhpKFrHLLm1vdkZJ4pN7uoQYPeBJp6b48aicPti0tgk3GYmoZ\nhsveGvjeANewxw3tqpYa3rA9KDlQ7sFE/MVN10cWhL+Qb9l0/SKPDFFl5VYP\nNbKSU2aRezZtaLmXu++iqgKFijdrEXD60URobv5wIsUrEXVSalVsaD9vwpie\njh641lkOfP8ISuLhOIPGnde9cYzZPco3fnjjjabdz8TrEenmSsa2Z4VTeQ8U\nkGMgHAvzwt80CVFUsO2RrXdRqXNb/GH9zgSTu5Km0pxrSWPyJ9ASUB54Ugty\nRr5rneoTtqpmoX8ggUL+qtXOSa19tXJBoJdulZ1nJnwalI67zD3r2VXGcVV9\neW15oFrDD9jPjN/dvYmOmFOoVLQ9vqnDj6YmaPfnE+6b/PC9/oNdSkuHGDl3\nEInV2zqtM2730qfxV1wholRpEMO3MzBn3T98nyspHHotcahd4hJiWyMvO7vu\n0qEdQW59FCkyirMURvR45EbkQ1CnNmOVwi3CFTH9pcd8zPazDboHpduQE0he\nqSWx\r\n=5nzr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHiHC7ko7lfuWd86ZHUPvBsQ958FGrGjnjWdt9SoYqIdAiEAnUaSXbL+1heEHs56FJGWGyeA/hbRFa/QDig/qa1ba1U="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.4-20190605151254_1559747673910_0.4870950521001711"},"_hasShrinkwrap":false},"0.12.4-20190605151933":{"name":"@accordproject/cicero-server","version":"0.12.4-20190605151933","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.4-20190605151933","@accordproject/cicero-engine":"0.12.4-20190605151933","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.4-20190605151933","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-mMDX6nvG0NN7ATof8eTJB18tc/i7CIIBqPuI8OxBuUkHT8r/p0mu4GY5jLaYMBdDDpIZUePktoEFh9Qsxn3mhw==","shasum":"c69b2a3fadcd4d998575d1c940e306ceb66bfdce","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.4-20190605151933.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc993gCRA9TVsSAnZWagAAMggP/19r+Ehrv+zeiiVtJIhq\njH72Usn9M3hxOOknBS2CBzJtshxhU8ixhhNZMVmoaqwbjCE/U51sn+0SYYC8\nbL1V7d7xMVqW2bdRR5CImPxpkUeiC1RUSuxpPqO/RJXzFrbFPJ04qNhAHduE\nvCkLl/7aR7NhRa/horPBXHm/oDLRWK3SLybDTYruckkt9UyL3ZrGNokBx1lR\n8UyyA8ynRdm4TqXtoNPnAjhGGs8XVfX/F6Chcyv2AV0/J+zTEDBefcqGVE42\nZkuWUVqoL8nU97BMiS6H/UouH0rVnCy1vE6xWMxpW/KGH51sVsIFDXPwHxNa\n8+CaeIs/4TrkBKSr2vZGkP7qzkh4WuIudqqj5ZWaFNgTP7wgN7AF5inre25U\nfQAXcRLs483Mz8r2RjBk9bQ3+g3bSI1cxKBuab/OhAjdCRWgAkDWdZ2R2eC7\nHLXO2q1hibL8LkxQqQIcsL4MfcNhWh479h0u3/n6XcPfzc6/4LjxkBXbZTky\nfKaJnrWwWHedJiJgL6xC5EXy+v/xbA0GiW4tb+L+sfDhJ6xvyzL93todrMjd\nt4053mht6TReF21ahvMddG6/ZRjCh/zevOqN+2bhJzHYwxDNxpTCqz1uCCWT\nqUx2wvrXJ4ZSembFNGd3FWBVeoHRALtm2aZwPM/XRwpS8chXm5Dy2Gdhsx6N\ngpfw\r\n=d/bH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQDbhGBg/cnqoncRciiZZpWJYlkJKulRuChxX/fmTGVXmQIfWg8d7aw6Ox5NZ3j5johSCQAlrQm8g+SmKajvEggkrQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.4-20190605151933_1559748063613_0.21391994260156566"},"_hasShrinkwrap":false},"0.12.4-20190605194452":{"name":"@accordproject/cicero-server","version":"0.12.4-20190605194452","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.4-20190605194452","@accordproject/cicero-engine":"0.12.4-20190605194452","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.4-20190605194452","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-7DNhZx2HZiMvUFvOLeHgbQLLCG6cmJYxE5AK7VxksE1WzujsTwp5UdMx0hGLiPmUJPJoKFTvnPv+T3/hQfnXzw==","shasum":"0e4f907cbeae9a08a630dda38330a6842a0be275","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.4-20190605194452.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+BwXCRA9TVsSAnZWagAAYNMP/iE1pR1SQ9ZgmzhNl6ai\nnE59Rmnia0/iCLR4voWq3XFNPf5Sd+He0i3kDLHwVOaStW7w7M3vkT2EmBaL\nVe5dP2taAV5CXZ8KKV5pso0PPHPgyWkBt1e56QWdvZU5o7ahvRD6jMCnHcJ5\nPHzbQVI2k55pH0PNY2pLznHNcnJS0Dt6fXeuilXJyY09t13DQCG4BfknWjJP\nNMEnPD0GaD3rB2dsFT8zJ8vFjRFUSMr1b4RDmdJJCMmLvbMBhVnBo7Ev0bM9\nz3jykhLTg69rrP3offOLfk6kS+g70X40gODopG6RFbRXt/VTQc/obSYrNcMc\n0U7tZRe+jcMm48Ac+HLxXesTGGliirif2DiMsyzTYLVEw5YDTWH9xk/Hufzw\nnwILpqJEb741/tyFCmhjVJWPXHWuEcCRCx3wqVwPQqK16WFlBIotmkrwnVw8\nv31gm8jS2MDFX7JTk97vNyLeAi35fWnSBynx/2N2+lOMaevCQtYh63lNK8PC\n+d4mV6sYnGH0wkn6hDwH7P/Ps3b4Oqs1QpgcogpNn0bdUJy8OOG3fyUnidQb\nrpHlRGp3zMOFrqKVZlospgBDyGjVRRN8TfqWtq2yNqVf7c5goqH/FJHo0CWB\nqwWc6UUET3ez8/Pjy97cmatYelf5SdLkDrob4hXXe1a5ydJiLiT5dcRdTA8q\nvxBG\r\n=2lju\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICVWmtsZ90tDie/0XYT/r30wdBiW7iU2JvVRTEr+HRewAiBlthgkRbDuhaXpYdhEEEXR0xCh6T8hw8DFXBbvKdXvlg=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.4-20190605194452_1559763990746_0.2252055969812785"},"_hasShrinkwrap":false},"0.12.4-20190607221454":{"name":"@accordproject/cicero-server","version":"0.12.4-20190607221454","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.4-20190607221454","@accordproject/cicero-engine":"0.12.4-20190607221454","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.4-20190607221454","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-QqPgbokikWMGLFGrLAx1+XnodPp4jas2bREnGoGhTFAvazmo1tpK4IPYmUxFqCXNXJenF4jTT9RHVZV+UHSx6A==","shasum":"f93aa8c3f9c2e83969a3365c1bb417470ffabbbb","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.4-20190607221454.tgz","fileCount":33,"unpackedSize":111576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+uI6CRA9TVsSAnZWagAAUcEP/jFDBskhuRWnRInpg+Ht\nW3W0Jwr7Bz69JOm1XSD7ykEbr0DoDfl6QQgzsQzUuRFSKMkct7HpN7OxnfO0\nxkJLEhwIg+DeQEiFVl8w1UUSrbEa4cucdoKBNH16D9oHmi35u5snBZCvaJ6Q\n5pP4yYUADzTgidxyzvVyvni6AQ5Zt2XuWMGrj7LmWh+CISr0kbUMS6gh+SBh\n5TYKoak1qb9uSw5NzgVhepbQVugBra4My3jsEfFnUvMbj54sCV9PX9Xqbafo\nfSkFTkeVIFzung4xGr1Ubw2ukJsKKME6PujMHGPG7iHA4gY4JTrmSkmkWIGH\ndbzv2AcymQsFNmCFOPn/bKjBWopd1EwpzQzMEaX4Vtuo/mcf2AY+ExcLS+sG\n3ne9RjPqrJTfIr1JDrSr+6A2FEff5v5Mz2Ro1CgxzWP6+RwVeRcR+r1CC5Gm\n8KzeTbGKik8mEmiF+o8z2KBz3fp77kBnSCoVpjoI5v9cR5+2RNL+3bZ9KXEX\nRHT2x/cK2RF5rpWnym3G0SAjfO4nDZsbisUfPUr6WW61ui6KUEn0pcm4UuzU\nNV9oxXdoohxza/lXQsdBIIaZ0MuEDTLUfoNHNiZNdy2uuzJigd8kIBN2xXmN\nNtt1W8z/TlXp4iNBL8dlfuUZ1FPOBQcQcWS2qtnaz0d4lM/6svZzenm5rsuo\n11vg\r\n=f8LJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjOzOp1jbTIaw96wmEjQ/WcUQcI/DnEru9gOMr4UTe6QIhAKprfUgr0bcvbSHdsdH7yANpSUOtgVRXM6TprwzkXN70"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.4-20190607221454_1559945785978_0.7292813946331622"},"_hasShrinkwrap":false},"0.12.4-20190607221638":{"name":"@accordproject/cicero-server","version":"0.12.4-20190607221638","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.4-20190607221638","@accordproject/cicero-engine":"0.12.4-20190607221638","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.4-20190607221638","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-73ol0uz/u6je8+MCEeiB1t9ajxqaodTi7JuCbs6aKt1+PIpadooBM35anvrdJH7lfdLxhatvE3oEUvRZbxh3yQ==","shasum":"d124d9f4d869d3f82a41e62c22c36e893dfb779b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.4-20190607221638.tgz","fileCount":33,"unpackedSize":111576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+uKtCRA9TVsSAnZWagAAJUMP/1ogqBscO3sqsJNVEHY/\nhMUfqDmKp7E+dBchlmdVxKVOY3n3Q8DoKKBBEvITJ9h2Q776hTJqS99MUXym\nuf0z3UcpK6pGSOS/SRfICs77gD7AhUFHe8vCP1YIgWmu9Yg2CFuCiqF5+rMz\nJD0Ts2zhXpMdpNHeeGK+i7TRZM3Ki+Q1Wt5+xUqq3uUP/wZRs38R3Pk829TU\ng44s9dDPCJKWYtxXg4jU+j1zFg2PwNqQlQ2NgogzzQS/TXK6a8kMrowgwLVW\noReVjlnDvrU5QC/IRapiJxn4SuLViMhwaEDbYkuVBKWSbSZ4ArDSdT8xqJ/0\nkfJY+Gyl7VPR5CD7NEcjb9r3Ixc5ntx3Zq5q4HiEiToZnOmZkmcyowZn6ajC\n8y5C+OHGZp+fYfGS0K51K++19eGBV+0ZZGt2A2Y7j1DXwL8gAe/Mh6AP7LNY\nbvrx1/MRCOZTt9HevDRXKZey/c0rj6TcaR/kqBpQPEjsGmf0PdapGniTHBFz\nfYCQvOpBl5xqNlf5305cHY2xmcoDaSXGLRc042wGbnALoZKkrZI/j+l5iy4J\nnu2ZSbf5UxahPp6t4W4iE117IkewR9O86Hy275pqGE/Kv4mek0v4dp8rnebe\nuxoa/JJHzfHJCktpvD9Z7clpnjz0LhNeNUNr4nE8Q3gMlAOU7qbeWRnPHwh/\nE/Vd\r\n=Pdsf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZgfLBi32Ddescsrm5IsNk4IZpnWZGppzfX7SX6ZTczgIgZnHASWykhuPgrsR6jAr9InsoB6rstRppJ/4gahyAi5U="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.4-20190607221638_1559945900703_0.855781164340405"},"_hasShrinkwrap":false},"0.12.4-20190608070307":{"name":"@accordproject/cicero-server","version":"0.12.4-20190608070307","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.4-20190608070307","@accordproject/cicero-engine":"0.12.4-20190608070307","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.4-20190608070307","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-8mvEHHnJgcymOpGU7rBz560pFN7v86TXgseZ3CKc0TE6WlFzgHwgmNaxeyg6X6W+laCwXI6Awpd6tLvGlwRtJQ==","shasum":"32ae168d69864bfcc0878a159db8c297adb397eb","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.4-20190608070307.tgz","fileCount":33,"unpackedSize":111576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+14OCRA9TVsSAnZWagAAxRAP/iKjxVElC6C1jIAM+o+a\n/40dZsJpXKz8AxDXhIb+GAdcU0afeIXhQW1ir//QCU5Wfjd/A/hcGfw3CDKj\n2WTjHgBCWwz0uptQhC66OqH0QeA+v5qgtlZ1mGl2BwKe+/9VCfJqdXmLC4Eq\nyVZJ+d3hRenO9JBjYSx7MysYwpXlfVOChkLXFiWhshCz393snMMIdurg70cT\nOiXnz9Bses8phhy3BRc4przFxwtHoBVdv6FtmcPahBcO5uDJGonm+4drHpL3\nAmZ938SOKoU25NaypRPn0RJAKA/FmBcFLZkqr40IMOAqUrfEvid38jsPT1Fb\noDSl4T/bb2kWwWn+YpAqpm5knmeFTp8gl9ByWeRvICol1m+lFp80KifM9wa4\nCK/xeqLr/Bb79g4Q/ApHkShaKLZPtVy70e2A8OErHRgDr4vLTTj9DXcrATve\nUjjLjED+UeqG2iYtPAFZQ0ydfHYQX2v9m0hlw0p+H+xunnaVO7J459ZnEpm1\nKjA5Y5UzbRHIdz59dtt3WLwEPwG5EAFhPxhMdG414BJrVZ+KFepYNwpnFXNk\nfdg+lhTslytzw+ggkmfPHjAl5XdZBrB2xFWxyP9kd5abNvRow3CxigqNSKlB\nTLEFazEB6D5DYJ5Ra+3UxaCfcmWa/JgwRiNmwliEhk8TSYhdfRbqQTh3DdIC\nTyi3\r\n=Y/1N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIErt4qkbq/1KQOerPtX5UkWiu74ccy5Tlbkc2YQxcz5yAiAejpa9d05zeyvvPx+y/zB2zY1PkSl0kqqehXY8H/Uraw=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.4-20190608070307_1559977483920_0.5623463076749031"},"_hasShrinkwrap":false},"0.12.4-20190608073713":{"name":"@accordproject/cicero-server","version":"0.12.4-20190608073713","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.4-20190608073713","@accordproject/cicero-engine":"0.12.4-20190608073713","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.4-20190608073713","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-BA13WtKVRz4HwwZevGDBnsdOA1lB+9rrsF8DlJIiTo+HfsYiglqzj1YKR5oGYuoTcepF858nr7qtS0rKW1G3Vw==","shasum":"28c63765ef938a85054471df8d76b80f832eadfb","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.4-20190608073713.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+2YHCRA9TVsSAnZWagAAeOsP/RjxCjslHxatIDh7lW9P\n4Hk79uVUzVfy3c/DrbCGTuJCCbO1XrZiUKJRSvwZGD3xGVw4CRIllr8rKvwi\n28Fqq+ex9g6aghtarJRE010xUp89DFQwIYWldpIKBoOwS3mKZzepzkkwboqT\nsZlrr2vGP5kY54saArLQ4/UEjfeeWDwkDHsZUK/DmF6fsReEtZVqQjL8zgY+\nKl1tYDT7pqV8md+ot/yaFyhKjgv9siRpuSXzQsN5dXRieU8cwrkUvprycXIy\npLigHs0rC0nwIVu9r+8wNJtzhB2M6kJPNGLMyj3waNYkzaAKo9vh7IbMdaw0\n468MukboEuPwccpqYSq62x6LdXpBmuR30Paic+U4yNKtZ2igOWlEbMvdZ+il\n4BRNWIj/2lJHeRWabPTaf9jsP3tYJbdeoW/KtlCH5l51WilieKAjoqWnhjTN\n9lta5L8nEtHaFaGPV5F8nCc51h28F3x/K2XfSyI8vxjrD4KPgT7FaJA9wAsa\nb1yxQXingT1SzBjSHoSdk86Qr9v6Vx8Z6I/v7wOuenx7jIQV972scPAVV+PD\nWK5eaJc9Ilux2X7B+9LjkjWfiFdMSntThMRl6P+yUkGdqqLtDl2kc5+7Uhg1\nx7KH80MVXLCL3WBr1r3mKDy0HI0ODnGqVbci/Hd+0CvuyIzEPq7eInEYBJmQ\nq9p1\r\n=xNoO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzBvpOUiMGcMZ4pN6FRdB2KxQ1Mre/qGs9YAXnHy5VxwIhAKpCZIcq3+vAuLgjifz2rP7Jd2sinI3V3hRTeozOEDZq"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.4-20190608073713_1559979527189_0.036371326001339854"},"_hasShrinkwrap":false},"0.12.4-20190608073815":{"name":"@accordproject/cicero-server","version":"0.12.4-20190608073815","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.4-20190608073815","@accordproject/cicero-engine":"0.12.4-20190608073815","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.4-20190608073815","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-PMHEKaK+ZWFSeFGZVq7x4teHjxyhG36KvBZJ/vrPp5PsPksJbsrLol9L1P5DlkupINbsT+OHsOmqLY2r498ocQ==","shasum":"7ec02e9ab73a2b1b6316caa6fad8b7bed1eafc51","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.4-20190608073815.tgz","fileCount":29,"unpackedSize":106675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+2ZICRA9TVsSAnZWagAALR8P/R1t8DYFrcoaaIKWagDD\nj0xID+ZGxp4uLE5Kz4JCyJ9HGRiOFGAiY90aMj8CvX1APXU843ii2xMuMlPu\nF13KvDn3T72rQ6B5l0ANoKafxrOCORCia62wNsMqqU/VHzzricg2tyueU1YA\nDdK9HTfQaa6SId9p9WiuS+8dSrVfCl7pkoYcDIpTU25nCL/KQAusG+upoavS\n8u5R+aVQ4/Bops3mrwp/zjurVjVYWhYqa9o7JUIK7uqPSOItC2J4qXqtwnSR\nX5vYxMpysdZUwBOCHbstk1sHa0x4JixPGPDn9wQ2qKSpMHE2/YGOiiz4f2Bq\nc/mtvOTKn/X4cI7l8BIL88Vz0eg8jmNQ4cHVQDyNJXvvE7A/YAixq4m0bSUm\nmgVB6WWCvs43WgaHsj/wv9jfwXmAi5pPVJGXyZ8OLzUZwffMyatfhx4HXggi\nbNrCyoT1pmDg+aiyBwNFcTAx3qmh9yr74cNXKgzvj3iQ//9Re4fTqnIFwl/A\nNlrEJxFXq3GoVXWh4fipkhDr+fA76LkM4xfHemjcYLcX9krDVV8+qiyetqFs\np2tH9JZ6lPYdUHLvftTj5YgLNahYXgimXzyz6Ofm4Cn9euXSq28HXlzf+kOz\n6p8Iso/jhgMfJ3C7egXkztZjqlTejkLcQO0x3oPzDqnBMAxIg2lgfMibPIvD\nB0nk\r\n=N8ks\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPOuEedrQbvg8Q2+Cog9KBBD9h+kOhFw7eqOdnh4klLgIhAPSVMy4yxyxojpdMszB/Wrx+wAx1RPXGvmLVSxEXHmxq"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.4-20190608073815_1559979592254_0.052473430287783396"},"_hasShrinkwrap":false},"0.12.4-20190608074827":{"name":"@accordproject/cicero-server","version":"0.12.4-20190608074827","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.4-20190608074827","@accordproject/cicero-engine":"0.12.4-20190608074827","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.4-20190608074827","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-wurYU93781pvsOQyojPoXtSafCE5TwVGFCHRqi46VHzo2q7DkoBvNb2wNy5XQGYoVmq/YBJLkU3SMV9KUPO78A==","shasum":"def2f45cecfa58fb4871beb1503be7db2cfd46ae","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.4-20190608074827.tgz","fileCount":33,"unpackedSize":111576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+2inCRA9TVsSAnZWagAAMjQP/RRiguKFc2LcJIq9ehas\nqdPsIGNpB0LpSJ7AhQXcbQQy3HYX4e6kxgxH6/f7aKFr6sZc8vsi0qD1umSX\nWwlA6kI+vXtTPa39Z/sNlUNw/PPdLbLtl93+SwdNAhP9zG5L1byZihQQTko/\nNghlN7vBbmoEVkGeOWLX/DKU+89WLm+L8lPGwGZK69dJtnVGOspNskHjKS1k\nZd0NZPLLE3jCoxUv5BqNv0ZQSVHt6FGC9/4fc/MsygEIVg9drET5svkhkDCb\njRNsmdxBNL7zWGgIh+6zpoa+xB1BUhcN08Grfh9AIA2YjQFwZXRJ7KbV+hVI\nmCIojotS2AOaY+gYL7PKoDuUaRh/iu8BTnP1xx989jB7kmokN9HnhiFRtM6R\n2N8t5z50NjDE3KUWWkMLwbSRMVlhBoLiPxtxMto2oqu5UAAqmBJZX/y12ueC\na6mxXqVcrC5OodoaqlnMb5w95kECtDPpJ+0DYY4GEHakO+QXTDmwHv13DuE7\nC2wk9rX0/5ejaUwEEPIf0uWMjPP/s3PECJ9Gnc94x5JCNzaOOj7fdqO1f1yI\niA7kO0SOOhst8lx8Xv/y+I9J8Kfx222zuFEw6dcieR0YEtHWug54ahw5LHgd\n4xZSFqKNcVSL0gHMr821U9TmKYTOvXEWrTJvvE5oAqs6aXN01cC7fQJhFdeO\npOGB\r\n=Wfr5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICCKb7jpi3vg4PCDVoavvYGBzBbewdj7Ch8neM4QlZjyAiB1E8O+MiQbbLbxopYkt1gSd0B59d81XYZs5fyg8lR47w=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.4-20190608074827_1559980198965_0.21121223424324098"},"_hasShrinkwrap":false},"0.12.4-20190609021349":{"name":"@accordproject/cicero-server","version":"0.12.4-20190609021349","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.4-20190609021349","@accordproject/cicero-engine":"0.12.4-20190609021349","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.4-20190609021349","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-HrErUYTLJiIZrSBVJPUxgBdGTeEOImeFh4Ja2ec4/45xt9pplhR6zLTFwJ4/1bb5a4zyWX9V6TmYIVFYl46pKg==","shasum":"f29bac6f73046955ecc1a882b4c454cc8731e91b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.4-20190609021349.tgz","fileCount":33,"unpackedSize":111576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/Gu3CRA9TVsSAnZWagAApu4P/j6HKCSxY3I8lMPTPhzN\nv1iPFnBvTeApTIM1Bezl3X5VChOnF7zIzRIoblfjzihareX6LKfP2GQzYLHK\n34VudEr4J16TZ++7caz5gNmuPW90Rr1B1t92smIzlWOeSbFHH5HpDbHs7acb\n738uqIPX17vCJltyng5uhPhYftvjpVQBADkFehNqiLLyAg7qhnbL98p4BOp+\nk72tHlgNERzRBcWDedgKIVo6m4VgfkEzFUUjGJiNbVPSJKkc4/aJSd3fXVUJ\n54oW1SlleWTxWQTraY9pvgGcmye/OKBUtzIZy/HJzQlbUw55WuCgyAyjxuUd\nqW8orx69P9iXuuSWSdgKi4a1REOJHVN/DHs8gQG19Mf7WG3pNUaFtWesgi30\n5+2Ju/AHsan/RTbwtw4shOYQ2c8rOd9Pm6yK0KrkEi6/2S/C0/CXeb0oDvhB\nQ8HZagk9+xpeBYNrcQGmMBqhWvxFbE2feVJHQndbXHFb1N03Tv6fTTLRj0tn\ncaxRBQvzCNv0lj4CsCpv5npDdESV3xGsIjJ509zzMbTcc08Y4rd2OBwBQ3T2\n/K4l/ug69VDHRJv1OJHRf5D+YlUla/Sa6dDfuUCM+dFoJ+EhuqIspf+tfm+9\nu6VGMLZnQjw5sfwQfZ/YeJ2NfWLeTbLSsaOYD07HlSOXkIYcs/OmIT87cKpF\nYRI+\r\n=GLdB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDODkwvZs+DJ8++lAJVg9CcZjj8+UrLrhyYqTbCtVLjyQIhANG9WLc1XMt49alzrGaloh3bzT+NeMlmEJS7idZBdK71"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.4-20190609021349_1560046519148_0.88088249897294"},"_hasShrinkwrap":false},"0.12.4-20190609115219":{"name":"@accordproject/cicero-server","version":"0.12.4-20190609115219","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.4-20190609115219","@accordproject/cicero-engine":"0.12.4-20190609115219","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.4-20190609115219","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-+ygET6YI2kpEEaK4xUotal2nUowlwdJBx0OcmYrJMQ7p8uxRJPi7sBgMHbfrMvOigZcMF8wTrB7qHEvA9Bk2eA==","shasum":"30e6a1d35c098633de06b5ae50d0986fce80a157","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.4-20190609115219.tgz","fileCount":33,"unpackedSize":111576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/PNNCRA9TVsSAnZWagAAg2wP/3lRRcFW0Q2eG154DTdi\nWdE7AhZHSvTtmLfiuMTS5GK0IV/b/XlAGU1TQIGRRG2GhoZ/07CN3GBrzhcD\nBmkQSbCvnZCCCuF2KRgprWipZaO8qjf96I0YtNk8yaanibgFjywmfzOgBcYt\nLoJdaK1h3tUxhyKOc6DBOE2eq46keuaULxINE4QYLGMowgGBBzFxZm3lq4yf\nA6jKHePo9XUOqGmMdm/l8hJoYzrs1WPxzWg/gu40poL9UDW5yp/9rVPrerOi\nJ+QYHQ2A+HH2RmCqgBFEm8hG9xWYqIyBiS/k+q7zMBh9UXESR64DExfAhvxe\nYJ7Yn4acJhX2GT6q0AwMvZJ4FKQJqmj9mU/JVI8SjSzE1WsPAGxUllraUyZd\nrZNKe3L62E9JtgCu0GH7CSqfLvd4taNVPijerJPfnr+r/a+8lLT8oqSb6k0K\naPmeqzPdrD6jiwvGVykEUU8VWCDT+EdmAm7jqjKpn6UZBdLsxtXuT/UyC3T7\nN7eXm+vXrmDw+XaYT+Wf8VTRg2yUIwOaIHX5YenkEGGU8wXpttcs3YLXzUvW\nJywc3Vmy0Sk3BoBK6gK8d+KJssNYTVymttWIerMyX8SG+2OVNIXk4j5Rl6qe\n/Zj+muvR6vZRA0tzmZ/GY45RAteLms80/rKP3fHFfyVA0ww/bJkdLlX6HyKl\ndhXm\r\n=jTHx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHEgPE3+mtJfCpRXp1qOth6YaI02bt0elZZ+az/sckDRAiBoR3fH0F/pRqJEjRpe5wGquzyk2aSYXr/zsXtiTZcpng=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.4-20190609115219_1560081228631_0.8723608702719059"},"_hasShrinkwrap":false},"0.12.4":{"name":"@accordproject/cicero-server","version":"0.12.4","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.4","@accordproject/cicero-engine":"0.12.4","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.12.4","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-VHV6xMw0xNR58KfelNbBUiehgOQbvIyhqU03yrFvENqBJGbMIbAY8ZqE1QtkXl/U067y3vdqoTpRTwmTOlkAPQ==","shasum":"c48017905ce0c98d57883b8ab4c4bcf226dd78aa","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.4.tgz","fileCount":33,"unpackedSize":111531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/PQLCRA9TVsSAnZWagAAh9wP+QDqL0wdMJKaW25eyKlQ\nPEtMkN+rxyd/ti7Dl6gT85phAOLhDqq4vhSvP6yQzXKF6DhBoS7AYSTgxc9j\nhPCYYkY00ML4ZL6h66Ro07PCs/kUfi4DYwmSqaUyejgoC6MM+QnKXI1WO1rg\nvZ743pLhz6fSaYq5fwthm6DkzKZF4VNs5A9Z5lx4hIIk7SCoTrDeRIkFYldc\nR20Z2JW2KZV4eKbWJCNLw3f75kCNQTY+/ruOPIlhEAmKGTBe69nJ6DHl+mHt\nIdYCWOJboU0yGHgLrPebPx7G7VhM3VryGunuOJwHxRKfM8qi+yTjzPrWmrxz\nCjtiicGMI+iC4deYoqhcCmyzfIXd00XSe/BdbYXEn8V3pgGo5PVtY/z06jpg\nEupuhozMVPSeqvCWaNrOTTIakGzUfWXOPg5canhq2+AAdsNr5+QWmP+5KQTL\n8jfZy8SJG9WMKjHxF6MyColjchDHsSqSQ43gjmUYzpFl1yyUUbeabYMoqWAa\nwTtYJRkRpxYX8HQSJk4OazrRfG6AMqz5YbGgEWpvY3oIjp7EWa3jIv4WMUMB\n6+Qtbqbos+kQY3qjoR771n7njp1x2N8IrYE7f3dBuATxwrTgMiczoy1VxwNn\nSPQgU0xDXn37WB9LwtMGZR+aGqEQWxQANVk62DDiLFmjOvToDcjCXEGNue3q\noeNZ\r\n=Yzns\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCECGZndDio/GZKbTUx+ij1Qf4I7RVyQJ1Hno6zVbt2FwIhALUQvXkSBIXQv8cKUi7MAHhOS0rbJ9dg5PAFG8ZaBDM4"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.4_1560081418772_0.7062829978380802"},"_hasShrinkwrap":false},"0.12.5-20190610071532":{"name":"@accordproject/cicero-server","version":"0.12.5-20190610071532","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.5-20190610071532","@accordproject/cicero-engine":"0.12.5-20190610071532","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.5-20190610071532","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Uc3RZWCrv/UXrGiq9+JMbBknjHoQ5FK+tajSUTqtyDD//mZdctA3t1bRg71L6DumJvIXsdfIS9t9b5oVeG0Alg==","shasum":"c6e95023c374178e5b7488056591d3c505305aff","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.5-20190610071532.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/gPsCRA9TVsSAnZWagAAMQkQAJpVp9TBGUvzYE/zvUTg\nQvkF0rKrUyC+Q4fSv2o2Td3Io5epBFkzedtmxJ49VgCfTYXQjI3dd0ZKfopr\noa2XIzNt7BmQyVQZnjFk8o4txHDi7mgPgGqQHMpcow2K+GakmvhDfRdXBveP\nGanN3xapq4mCwmB9LI09SdIeTN3O/IWQf21XLAkB3hPgNjLslV1AmNf3gtj4\ns+2SpWhEhGmXNAtig1rMYlTLhChkV4VOd1h1dDpWTm9PvegrU4J8+VfjbS3C\n11KFX3hO8owVHuJPdc8QuK6gHjENvujzEdcE0iG8rcjpFWE+LMMzYyLsFSgN\nimXdCRFx9+aUrZvzkGSFXVLaieMTyj7Ysp+CZjxXJZr4zo0D0K/hqzYLNfuR\nOrXahBriwBiLXzCHwvQehFKGKDc+YKtQiLapWdm2p3VCur1TFydYxYmEo2F2\nmh6NQEFy2k+eLFIjr7azPDbR/SC1E+mVSOVJ5PeAxh18oxlUiMaYOSu68YLR\n9o4dW4A5ZSL/TSN8ROnwfBN2nC9tebPPEQo4qsVtKoT9k32lFFPljdXfr60m\n2zWCF+UFq5kmQWMf83hIIdcc6AHKi2upXbUGQHGFHFpabhbuRhHPxLdI/bjz\nKVxdAFI53gmyyHXefP/FWjo+2lkUBSAP3xF3s9ge9gnCEOHNXZ84dTOI44Yl\n7sRs\r\n=PBo0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICwwK+8fbxrSvk+VyXsNyFWsSoIWpXp7gEkAL2nt7flsAiEAhrhYYs3ktypek0q04q0rpfsrRteOr/BpzwhZpZvdUJ8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.5-20190610071532_1560151019498_0.3186541929395539"},"_hasShrinkwrap":false},"0.12.5-20190619040852":{"name":"@accordproject/cicero-server","version":"0.12.5-20190619040852","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.5-20190619040852","@accordproject/cicero-engine":"0.12.5-20190619040852","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.5-20190619040852","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-yOtlHnlmzM5hyVNbdHp+dYRvsw5G1EXIT5U05GNslds4EoXt6GfZEyCSiZILdOVIHPxkeOoQvWEQgmGYsXtMIg==","shasum":"fa8ddfd4a41bfccc0d8ce03128f83e307b5e355a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.5-20190619040852.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCbXTCRA9TVsSAnZWagAAXkUQAJwglpto7gBGG+j22yOE\n3V1fdg0lHHwm/ZItT8d8RkJLeXMO4q3DUM/1odPtDMvQF7yO6ft5+oDmqykG\n6+9WpYXoueGzPd+7oHa0V08YGn2VjAK20j1MCOExSBxle7ZpUTH+lM3bHNqP\nubyjhkioZIBPtm/2aWZyNHe/j2does4P38r8pR/L/rD8RD6LL/9bc8rqnH1p\nl5arFjWTg7cdoVF2TsVq6pbRSiGmwEM6kL7DfBrgjwWzYEHMLHliZWfZjG1S\nDFmUuo0mWU6Yqd8UTI46TZ+Ext2LmCxJS/EZoyF86U2J9n06WOH4gjj7Vvq+\n+9WzyZv83fcyH9CRVlJUzEr5QMyc/Gxj+xelQMD1y5es8itx2OAoRKwE7mTm\n1OysYxpah6AraGJdN8UPTdqRFRvNzpuDgOC4Pi6xyhjnNVB1HrzLDf+35qPv\nM6Sbubk7FaHpZUZ2+sIenXmvDp2ywu0pbcwHo84UOERA1UmXKcHOnVuaeS+U\nQvV3h/Dg/da2/Qi+xqA1Lr0VzMbmsDOj0XaFrbkEonXQMFpJPvOwYsLA58tA\ngvjpkVooPSttclVKaae7flYjOZkePcKgTejLZwNzcS5lyEv17LsxHAh+Pypa\nUb3eyqlUvEkobz9LPOmuUkzH4oxMZLahjYH/YwM9KBWKF4nD0luMXSsPaRsu\nWrX8\r\n=dYKP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCflo0xFd6hEwdcYC11eRwr4CjR/8nyJl6jsxQENN0iawIgITzYxo1pkE5gJ1cQZ9sQ1vvMgC/sKy8Y44ryTDYcPUE="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.5-20190619040852_1560917458416_0.44373738447387234"},"_hasShrinkwrap":false},"0.12.5-20190621152905":{"name":"@accordproject/cicero-server","version":"0.12.5-20190621152905","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.5-20190621152905","@accordproject/cicero-engine":"0.12.5-20190621152905","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.5-20190621152905","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-VVvM2gVeki90LwGwKf+R0dsY4Do9jy83q2V3w0EmTwJm+Rea7DcHsZxOPu6ENhNk7v9jlPymx34GFkF5f2jVpw==","shasum":"88f36b4d77a9ac147db2b99528c52a88b00d1232","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.5-20190621152905.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDPhvCRA9TVsSAnZWagAASgQP/22g0xpGEUrY92Qwu4+5\nCzD8lf7JtLZPAzwd6VbqL1UAs0JRoBOE36Tv0PH2tS6VMdF9nZQ7EhmTtK47\nPHG2xnsP33iLqzjNaZTIIGI9O5/aX0bhAbXHKKKkvmLUyEByrxYiv/bdca5z\nYVG+6c31k+EES4fyc+wSBtoZaiSjfgA1Er2TPgdsYi0qydvtdE3NsEYuWwfb\nTnQvuXlMt99W17+0YAvopMIRR8ZUvUXMRqHnU/RBMxB2KNv1S15nog4NP1dq\nSXzx7IWvlGYImabQr/fSOqLi0v8UvKKb25jgsxkJy/CoxKUaxUcatS/Cga5C\nDQZ9ycaVuwzmXoWNAC6NX6CXXTDtddwBYWSCU/rjIaE2gMADtGouwPpHc1x7\ntgUfJv1DGA7/IQtHTvGsKRgcnNYNCxqkbBvsOiAKB07VLTMZ5SWvaNfltBXA\nD7oHx2L45APZtCeP7+atO3ipch49e84S60j5NXUZR8niA6wWS1PNSBS+YpK3\noETEfGarS3xhUWQQJjKz2fqXtqdWhDFa4d9Uhe1Xewgv/IXswq2k7RqMkHxP\n1ZyvU/uHIb5/r8lZ2B73+I1sjDuIIyIqaNwzm5Gceg+qIeSGxUBd2yvLhjiH\n/jYD9wM+/eid6NMg7MBMi37D8O1QFcIFsYEllHm1l8dlxdUxi/134NnVtEDQ\nmO0I\r\n=OKuN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRCHwYWxbyg/hVD2Zo1DxQ55pwcw8VUGlNPBIgaO/xRgIgafqYqzXNfrUio0hAgLm2jNmiyFEZt6aqpffL2PZAEsc="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.5-20190621152905_1561131118691_0.1333672857506889"},"_hasShrinkwrap":false},"0.12.5-20190621153744":{"name":"@accordproject/cicero-server","version":"0.12.5-20190621153744","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.5-20190621153744","@accordproject/cicero-engine":"0.12.5-20190621153744","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.5-20190621153744","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Yq1Vv0E+nuMGO/Evf8q/UUP3F82nGMWuaOTPB3YxZ6CU2RY7WjiKGQtnoAeBk6bT9dGXjaWOeQlBt/5nB9SKPA==","shasum":"46be0d03d4f32c99d61c58df3a0204a28c9a85d3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.5-20190621153744.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDPo2CRA9TVsSAnZWagAAU+AP/0jauCmgWTBMkMqVfxuI\nKtcmLUlTqrQuELX6RAvTpy48f3oQRFVeXmwyMmZ0VhF+onZSoP+MVo1I0DA/\n6Pu0L55+iwLOchWwOzqiL1sib6vEd6Tp9E/9sN1KYefAc/yUJYgVNN8nsg3h\nkzoGt3/nTxSIzduUB1C1DrEY96pnf5sf3z/Iqt1b/qg4hy7yEoVwZ3bWEQzf\nxYtjWZ3pz3II8VD0x5Pw5Ym7Tg+pZmOoT379WTeQ9Z6YCQUVWI4/4ki2kc3O\nVWfKQ5GZQhCUtEIo+9RlfGTjmkiZCoktyllLFmupHW6lCJjlJdmu6vMygqZb\nJCCM014hPOf7afC9b2MufP32ClVtIFKjB9eru7tYvhgHx/iUNualTmJjbEsP\nmPLlB5/QkIajPz3Ji2Q3G1PFbKvF1mxRA5gXnfoDCPd6Rr0p7ZzyKItD+m+/\nxaIfE/ijx2F61muDrwJfee+otk62xnIiuHGWWrDutRuW+xRkPi/AdRhDOzHh\n3spWNiyQFLqboavWV6V4lAuBQ5dP6zwg6LRk8AuZNRKw4YFWPqQMI8QvJ0UB\n8t82GdAzmPxrdz+KJdmTENUk5Zp59m7o9kVxlRpUaEgwjaPYdBVKnWW2IMwY\ncXb/bTUqKHujo3BaALzgFVYZlkq888sGPT+NQ/G9bKf36JqjmOAe4Cjxo0Vc\nrk7R\r\n=eVrU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID7LWGWJX/tuOtNY8NM6MzZeslrCyrFoIthnjnKEPXKeAiEAmrfOO8naW3RvqurG6YlqKbFxyu48ts+8GSEl/faV7zI="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.5-20190621153744_1561131574183_0.5628727058934493"},"_hasShrinkwrap":false},"0.12.5-20190621195942":{"name":"@accordproject/cicero-server","version":"0.12.5-20190621195942","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.5-20190621195942","@accordproject/cicero-engine":"0.12.5-20190621195942","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.5-20190621195942","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Pt20jLxmYQ3cVHTAWlOMJOvNSWE0ALVK5fGaR2A6HYHLwlLCvHvAMUBrduBUV1YKWyLcvSVh9WFEkdPB/+RiTA==","shasum":"e1d7ffd3649d7e1639075907ecb04a6df9956ac7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.5-20190621195942.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDTeOCRA9TVsSAnZWagAAfZUP/RPpOogw823CzhIgWqQu\noMlmP11HHtsb8o+KAk91grDdXyQ2ga6ssvnGoE+jISQo0fy6rVsN4YYUmMIQ\nXiQmqXzVS3qSAt+0HNyO8Lts/a1iFmf2f6s+/NwLhRAHrb2rQ27K4ne2ETIz\nVKCbAUxlCTIDd0NCycZ0z1TSzxYD4HbfKntMUWQwBNoshVxFbJpOAMAYBYeM\ngmw/Y/8f9pIIzzZOGndQon6nXSnub6votA+WGc/pHB4QnX0916CxUmfvWCIx\nNrTjC+4fSG7uMkWyphaY1QMueD39zevntgJV3xrJlOmP47+FwLpnlIt9zYy1\nEWVOFTroPQAZMvR94oTQzYw32vsclVtutOK0cyQ2mOUTGjGa+0BbjHTxRnRc\nSbu8kT+8OL3cWiZQIHfuZTSVDFg+LC1Ln4wnl3Q1JjeS2/x4HDpqgJNuf9AS\nsuDNyR2VBLrC1LKwIeemBrhSBGQPdDwGiATFoFttGKpYYMGWQSFtMHJnrMhq\n46KnOQ+eY8tLxeSUIzEcmxhPpKSx9gM5+76ON6FlH+qP3Em02D6r8JN3FPPn\nTc4uXAULD9PmX/ougULotbT80xQKj8TLgOyWr0ej5L4JsHIXAGWOI0VxChTj\n/YHAKzCdYK/d3qcgVnNHuqZE4LL8v/4g4C27dsI4XBeeVU0y+4upFWJCdS7L\nujL1\r\n=qOii\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDI9Pnd27NzjVr1A2/GVO4bFil6oUVmTMXNvhziPZkpvAIgNTZYTAsDpvxI5/jHy1R9IRgAeKIt3PSgYb7laCezBu0="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.5-20190621195942_1561147277906_0.17652806490374218"},"_hasShrinkwrap":false},"0.12.5-20190627101942":{"name":"@accordproject/cicero-server","version":"0.12.5-20190627101942","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.5.5","license-check":"1.1.5","mocha":"5.2.0","mockery":"2.0.0","nyc":"13.3.0","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.5-20190627101942","@accordproject/cicero-engine":"0.12.5-20190627101942","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.5-20190627101942","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-S3eFwiDArU10ZlNL2QZ9+47hQ7kRQdFyrmkRyih8YVCQ6Sa4cYmcSwVzbQeNek2xGnji7WABM6JFx8740GXajA==","shasum":"f34eadfe305e4c749adfb6ddb3664a8609ee532a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.5-20190627101942.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFJibCRA9TVsSAnZWagAADFwP/jf4kbAHgGGT56LxLvkJ\n+G9d9gJHWa/Vu2VZ8zc2P8cUWrgZd3fRkGFIqWPrboocdXscHG5b2B4clX39\n9d4leRio/5b7XMJ9nKK32kyVCpI/rZlrLcbuwTdEdLJ+xui+TYr2UsL3aTfW\nAAQicLcRI+/akhflhKN63BOsWe42p5UDr5SMg95gaX7zEF8jiJCbcgyWMr6W\nWJw1U8zFrFE9hTrkKHeAuyFG7tx33H04BU2e0HpLEVZ3wEJXJlw8Xzo19ks4\n+f4fX/iTxilR655kYiJYk7IzcKgYuHJoxJNXCoVI4QY6TYdqlAAQ6XP0D56a\nLI8SIxMHI1bwBbLa+I7r6TkxVh7nWj6JoI+zJbgChJZOABYkFHfdS4yYnomC\nPFxWj9h9MRbFBINJVH70MlywUiIdXRNTRzZ9NtUDdOWmV/+qn4ESq5UuuVDB\nrZa3kvi1pMrrZ20h23tDOJ+loClAJLu5PtULFCU/0ul2dboDPiYyhob3OYex\ngVMyWoOVxfsmVR1e/aFtS6BPuiAVh5GSLkNMNM0LNKpZICNGiKfPb8TkCX1/\nf5n/TtkkNt19vzzBLhiJblEcZbmNVkXrgvb4D1CRQ6y9PoAVNq9dNOp537rC\nqJ7CDuhqATMefzh3+fI6eoaHe1THiMrTdj4lLTwFO6z4W54cGciyZHlWwu6Z\nd3Gk\r\n=JRCG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFV8d2DfLo2QSdfLO+x5jLPZ0LQD6B1S44QY/sLBMbsyAiBpf1bywa6Ws/RxtpKUOeFjrVWEccHe82/Jw6/6uehPXg=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.5-20190627101942_1561630874953_0.10038183131300182"},"_hasShrinkwrap":false},"0.12.5-20190701132937":{"name":"@accordproject/cicero-server","version":"0.12.5-20190701132937","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.5-20190701132937","@accordproject/cicero-engine":"0.12.5-20190701132937","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.5-20190701132937","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-L6sCMEwgYo6u/WgnSYbavFvYfLAPAWmz6s3aflLJy9Qs2vV5G1mRQmvHY2DPoA2AwRlr2QRWwpUTBiY5N1zKKQ==","shasum":"a0678cc5a0d6b98adb488164ff8b280f600a2f91","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.5-20190701132937.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGgspCRA9TVsSAnZWagAAfn0QAJ8qrdlNetQ2jhIHBu9W\nulAvS5DyMh9V11vXPDo3dovcKqFoqCBhGnCg3C/HNBl/thLXIEumgyV7FOks\nO2QW7HQ124+tncw+yrNnBgpFqsKNSWZgWHYoJvxQqcLUBcd7pwRdXKtEU3F5\nksIshsGFmZThSXFwa9/KHz6VUgnrgoCSSC73KfYXYBwbZ9WZzLyZ61MRTmxE\nUw9cvuMIMxm+ujeSj32yHCS14ba1jn6mOOvSTnwzT9srwxOfMseN1FqG7GtQ\n70/H7mQ6z/KlHaIa5dYwHTgnyKb3WmLfRhBxDXR4xb/hFscnzgfs69BXPKmI\nwKIOPtpSg4ifnSxDIuWnwWRamuiZhUMxSptASa0fbG+zEiZuGX2s23lC8UNC\nHr4LSvixVTaftbQvwxlQgzc/NNjvsNLBQRVK+LhbgSOrZW8XTvFvml8fBObR\noSzkxuW1bTAeOqfPm4JrTJS+hoFWmOswl5eVpOQUmGKsHRZH9YCvXyAMx2zp\nqa3ool/IWHuZsmko4qdiI+dzfKTBp6oCFaPD5/VWkSrl9QKsnSeKen8xt6bR\n/9+o9WkETyjHVYaaHTAjeCEh0l0nXteQLtsXdYV89nKZyAgeQNIVQV96Rtdz\nh5xeGF+qzM5dRc/spOVa4S0h/E6QWy0EzB6WmaV+4HlXOnti8Gn1UaPEwwcD\nlTyY\r\n=Wv2N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzqn9IvSszD+S6gncMNUCpMPcsoL7Rg0x9W4hbiV1eGgIhANX7Wm5W316ZhIXXs/tG0QxL+Be7w7yHNhWeGpRltCx3"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.5-20190701132937_1561987880526_0.5281577967048896"},"_hasShrinkwrap":false},"0.12.5-20190701135106":{"name":"@accordproject/cicero-server","version":"0.12.5-20190701135106","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.5-20190701135106","@accordproject/cicero-engine":"0.12.5-20190701135106","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.5-20190701135106","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-dGxSznsXqUZIVXj6HxHbNDiWF0HTBsVGVz5O0L1YMaysqkth9ZkxLGUyik6YtVPZbE755ufjXeU/iXi9qhLlSg==","shasum":"27131c09d967ba729c7789e73919b79adea7ddd3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.5-20190701135106.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGhAsCRA9TVsSAnZWagAA1zIP/jvXwYPigUmRzd+dDT4F\nz7DCot4ykD1Fw32npWhYF0d93JLTjV9MQpcTFhYW6yo7+YlJq3Rb4KsCVvDP\n8sNZJV00K/POJqK42PcsqvO+shh6497/rKXdwrA/UlDeqk4TmLQKvgbOox36\ndXMIIU48dHu8zTtvK0mP6RFAqJgBS/uSdnjiEapge13moYuZDCwZZHpz+9lw\nC4gGYtuYfvFSkFoWRyWndJrGPJObLaBQj09OSCuvEpjGo8kUFUD+gIkApO1H\nxnypQ7Z/qdU01aZRhbeWup/f4sEDbRAmqWhsf7VYb/VKEpw/MhvHxcjd4Yg5\nD3rybfyN+u2Ft50BTBGRfVyWl36SqW4rWNvmZ80f9vMo3+HnR2gyOX69nnCJ\nQEsbgs+4wGGqdF8Ox11/BmUyeFyPdRNDYAhz8zjLSWUar5x/CjZClPE8149b\nGi2EO1ON/5d2vg2AO0jek1q/Y4YZc8zUACM2/PpSGx1lj7NEvTmCcxg90a1L\nSBSLw5IKBdQ04dp35CfKSPzerYcOjPqCWmbY3qZrJBrQhHF5X2GklvFL/Y6c\n0uJRApAB3F2WWxF+4eeKZ8eNiBSqXKCFPyJ5hAM8mFp/Z8esJN9pNZT2TD1N\nnE8RspJOpiWWZO7Q4GSw5SJodg+U61EbGh///hEPPgxocznfnJegz5WVJ47U\nRvUb\r\n=QNn2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBgEuR1A5MstnJRiAglt65fwjuqZe991/Vox59swU+u2AiEA0y886MnBtEQmcTXTpsXCCOD5bbOrajQBsMdnl1cB/LI="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.5-20190701135106_1561989163580_0.08381115560436703"},"_hasShrinkwrap":false},"0.12.5-20190701155029":{"name":"@accordproject/cicero-server","version":"0.12.5-20190701155029","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.5-20190701155029","@accordproject/cicero-engine":"0.12.5-20190701155029","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.5-20190701155029","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-qJ4o3Nx7nY1+k7+Zv9zpOYNdAk1l+LA5ZqMhxysUVuwjlVRzDcLbsljIEC5xm6MHNN22JcnQOWfuu8gtwZVtHw==","shasum":"019116e710dac21d006a808dbe6abf692a35989b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.5-20190701155029.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGiwuCRA9TVsSAnZWagAApTUP/1K4OkXqbm9G4hGnYN8E\nJUisAoerDMinResznQ0eLnqNwT1x/CLxtjJZqOg5TUAUBz69UmEqY4tdcOYM\nu4eZkoxxiT/xm/BnZMyLTUVSXY2gphMoj2O43YfHXJO27asQlspCIHscZXYk\ntpnCC0Ei0UtFJyl5UASSQf1rw6wYY90D9UbxvVURv/9DzbFrwQKKGfSQdS6B\n9prM+9UUiTFoYoHK1yUPZ2VN7BpLUCvfMfoObhERzvHI0vZSpBC9pWqKdHZ5\n8J4Wr3atBZ1jXWAVKmsZQbb1h1bbz8K7JB34BkN639lc140BLIt/3iT+m27B\nOJMci+G2EoCa+L+ixtdZFk1a6cRz1cZUvEhznmW8Wiyak1NvjRHR5lxBxyZS\n0G/3s175MtX1gjDQQdCfX49rbC1EPYeMbSl1VBMLCN8h/X44Ge4YC8q/dowA\n7wkeCsfPa2RfLO1QazAashhQ7MfveOWL4pCI5APnPsr8lPwFDH7Cf97pzk2z\n85yIdaSzEgNzEc0N+27tJvfGeBv8DF5ktvjVySvYYE83V4Vt83x7NhZ9G7LZ\nG5HBAafBir4WY2yeoKCDgFdZA8qvqzII3S8kZrSk+imeyEU24Qxakzm3yc3m\niMRcXIgPq54mOYiAKsmIsrTY+UBZNgjbwuQHoql1KEHxd/0bhaZC54Tt25H7\nSLyU\r\n=nBAK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEsfIRpyE0cJHHmjumIKE3SDFqU7V2oZjYT7cpxp58swAiEA+aZtrGHLmTzpGvGorgO9lQoEp55RLepc1tJl6z+9tgU="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.5-20190701155029_1561996333413_0.3934110711701051"},"_hasShrinkwrap":false},"0.12.5-20190701161023":{"name":"@accordproject/cicero-server","version":"0.12.5-20190701161023","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.5-20190701161023","@accordproject/cicero-engine":"0.12.5-20190701161023","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.5-20190701161023","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-7HQziz/RkkrB69K5DtFdomK23P6aZF3sOsNO9KmYmm6HXXumAVwl/IrYGEtuHwLMJfOSgkA437u596tHoxo8yw==","shasum":"58ddf668fdf11fe81f8252c9e62cc0197d2d21fb","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.5-20190701161023.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGjDZCRA9TVsSAnZWagAAxFEQAJ85+3x3GFcfPnXnyPjT\no2YxEYgaX47WM2FOMU3h1y1mCTfp6K5oydHp020o/FFLIn+s3COuAmhZa5aa\n1xnH5eIff1oQAKy4CWn6cVbd80hKrBYrQqT/EKxb/9mwu7tytqfEJ0P7p6yx\nqXHRtRP+2qgZ7/MHN7OjScvZJQUeQz9eIpDbrlDINcIO8Z2JD+v5HS6x8AOt\n1XE870pIc7AtYjlyMd1QAyswvmYMcjQ2RY1pIKD7Vecoj7yfuH+W3xmlOF3z\nPHmwPaYtY39kKhZicrr5TJlKz9o37aF+IUKKk5uj69JCR+YDUltXSJU/FfFx\nQKdA7Nmq/Sm7/zr0pHCjxZU9FxSS/TixvXW/bn1Rs+k66TT8KSF9VlDv05ca\ntEF98TDDVxbcN6k2Vu5yKwWh+WjLUsIGXYzEmN474dIFLPG0R+Fn2QNAiUmP\njYmUqywQtNADQL+8s8YqX3tYc3DIK4uHKJRahm+yVZzvRPGRbURdcAhZ+gpn\nEWAE9OmQGnFsv5CyQiPwfhG0Qripb77PefT+zxDFlNXdWFtup5VNCSWCFDGg\n0rAzaDjaIjEweg/FLUejIrWknKvqQv+N+/mVR7pXr8TVngESVZBkcD9eCaff\n7CHGFk08e/Zbisv/s2+dE1StbQtR6//GgOPe2XPiREiB7B2N102vPSQTwrf+\n2LNE\r\n=+zwu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDy03CnMto+ZJ1Hwk6Y/pvX4x6OiHGB4gyw1SqzBIcKSgIhAPdH+t0pNpRDiAxHOu4ZgEu7xdE6ak5ZVwvblrqWsEyR"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.5-20190701161023_1561997528415_0.2037059977240958"},"_hasShrinkwrap":false},"0.12.5-20190701172633":{"name":"@accordproject/cicero-server","version":"0.12.5-20190701172633","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.5-20190701172633","@accordproject/cicero-engine":"0.12.5-20190701172633","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.5-20190701172633","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-O3/LbNhpjzQm2egbNBxrAjgl/R1CRYQLoA9HAdoaDS+AGBeIwLg2niIC/eFVywPMKG1L6nboaRV3svHQSS7AtQ==","shasum":"e762b30e60141ab5b298dde9042506fac1134641","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.5-20190701172633.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGkKnCRA9TVsSAnZWagAA6I0P/AzTHHC0gMEmhuA4KFGK\n+4KRf54gsUhXVIspUajIkiGJ2Q9iihEZzWsC9/LCAD2xQ/wtipPjZF6VcZx5\ni2KweC2uW1cFTZkl1Zg+h/A/KxnaW+VifpEhIvcJDPZR18Z6VYZh7nBg5vKD\ns3PFKCzHRlLwPOt6E+ZcAXHgnPk4haxdtwyhovANplQ7rOq6/ggICq2jalR3\nIr6cARx7/6WPbrhSeyd4eYLia5K7ovj64Fla7fbk2CCvl/zBTjhclHtBYGz2\nltVGNnIvnm5DsY1JWQSRYLe2UaougWS4r4qpEBduJATDQ346zx3Mjg1/3MNh\nKgK9v6ErTlyjyvsT8CrbDOFl0sezfR2d9VYgcEaQ/QC1LdFoDqpRO1NUmOoN\nz9NEnk3+TSlTUDNKCBgYzLQ6/xWyxRUQyeYfxlwRbQqhGzeCXDi3EDi219Qf\ndd6Peyb/xnUyR/fChQz1oXe74ukiOrBZLgbx3EXgU7VKyFPvshJOVAkJzrfE\nY047Z1zWiFtUhALE0uAtyLMQQ5abMth69VhAO+Bw3xvIF9pK5TK9w5up7wNg\nV36zEjZAtHo+E3mtIXZrIHlpri5gE7op+RX7J1R+x67gkxUabH92IkzkhqU7\n0x1WXt5zIoXO5XZVVVR1AQ2/b8asI1ZTbWesQRVIzxsPqa9ItcjwygTswmRD\ncpTE\r\n=4bId\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKnet7e9HMga/Mf8WrUTatYEbWFAuVfxSiFtCEPQcryAIgU63qgz3T+WEslErIpSXikSKV0MSHUY9GV8xZ+8gZwtc="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.5-20190701172633_1562002086926_0.07740239614113831"},"_hasShrinkwrap":false},"0.12.5-20190701191438":{"name":"@accordproject/cicero-server","version":"0.12.5-20190701191438","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.5-20190701191438","@accordproject/cicero-engine":"0.12.5-20190701191438","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.5-20190701191438","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-lWzaE1IG6nZshrRy/M4GcgXui5roHSH6dMc4aVG2+1Eunw6b6xZ7bR3TWL21nk/ER9U7iBwgRsF1g0PDF7ET5w==","shasum":"36d3ad64c5b4dca90f7b9df123a264cba07f2920","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.5-20190701191438.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGlwCCRA9TVsSAnZWagAAFS4P/RYPDJDct0BYmplaMt2s\nHwksflO7AHcfwXlayV+YFOAgKkm8fTrxbnARdNfeQu3krynODaHsBUysH7Jl\nkKfsnbs1+la8CLADrRFhV8/Vc6R8nYrZhAjNlKVbQMrvF6+61fmZ2f/RE0HU\nTmVY7/mpkPRq0t8r1hyev6O+0E1NSkpD2D4wevz7mXVQzo3G8u66Bjhkuovl\nOjKEWbOeokdNp2gLildWT45wltX8tCK+s2ILRRy/JIeA+SEZFQYP47W6UkDt\n5TFsvP9pkh40YVmha+g98AfI+ZnieuXFno8Uy2mx69HEgfUAAVdw7OCC0qjw\nNAnX6an1j7/E3bN8ONCtqjoo0cAP5gBBI2in9X/WHx89h/sBJHG8NDj9Ep3Y\nNIvBtZDf84rNjHy0MN+MLB+1gCXNr38mNUt0p0QRc4dZowgdgbVobKj1m8sm\nysIAuXGGepTvgLqcSWBIzCK5cia/weWI7QoKLUg3Tb2RCCPlykQs9vZJMt/F\nNDkS2ECkFdLvWLW5z7R8HFR2rjIm5jCxW8deKsFagwoRsgszwWAwmBObP6/I\nfKL39EHG5W3AR3lCffPSeapXxmVeb3pFYpeIwhKJBIapb7usO7/s9+YJNPtE\nEvEjOP5XxNygAQMRSkIGtgVgVsjL4rLWkc7QJ2hBTbyqyqzNPHqJrOPkKS63\nnq2+\r\n=KIjb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGbv4WGXz7n/1XOD8tPE9MXny9NQhSZLY8ZuQoU3Wmq+AiEAhL/eocFq9Hd/R4xqRD8WxWZOQvCKU59ZTZEOf1+vDas="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.5-20190701191438_1562008577963_0.8757827059614618"},"_hasShrinkwrap":false},"0.12.5-20190701191610":{"name":"@accordproject/cicero-server","version":"0.12.5-20190701191610","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.5-20190701191610","@accordproject/cicero-engine":"0.12.5-20190701191610","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.5-20190701191610","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-cfrXiOBTQf9cRDjO4rC2ErbDMSubj/FRvrsO10RYmcuPZCKtdT/7oYgQm3JEkGtS4vfJj2cZiEOPXNmvcBvR9Q==","shasum":"361015712db87863e5ef21c0bdb226b6d2433261","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.5-20190701191610.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGlxXCRA9TVsSAnZWagAAVhAP/1opWZNjG6eevOPfVV6j\njxRCIVIxcvWhjx1EqVrBOMMQU3AJR4+LCAw+cG6+CLj+hmAbSfqswExaxP4C\nrV9GNaXCRse/W5mhjNq5fZHAdzh2qMmETJYiooGI4IKhiXziRKxfJ9XG7jHx\n6JvYLZTghO4XRwew5n/JssV2SetxmKWOD2MMNCAwvJy0D4itRRcMeRf5xVBU\nlhx4Og24x1pf8Qgo8mWc50CIkMNB3RCnXYz6N7UFPUfTOEoqdG2KPRo5P1QS\ndRIeWtGIRnCytivzG7B/eXO2Ph3TBvrlntdCZYUXm6+uIJ7SKMXsQ3S1NOVP\nWyM4oo7/NicEGPf6fc5T/zyEFkNhBIgfs83zKj6lWXetLoAIaJpZCc5Rt7UZ\nHWdArGswDWVj0EtzYyaiqdRLUXYta5MPmB8jc06ztvOG8aPhoOh0JTVQpJ8X\nOQnzLfCcE2QTRmn8qq4j9i8HJ5psubsVodQLu1iXwgEofpQ9kTYGsGklBEJN\nz8mmIzZafR0uEQ+pkb8cm3xzz/iNN62A/7utQ829AAiQdwgkNXa6Jgblajfp\n6Daji9q18lFYQDZa7u7n+K9u97v7DOteePZdPGdcBJpeCT1OXFM3r1vAflAO\naJJ3rr10MuxLGYvWU3yhPBYB4U1bFmuKISzJhsnL9ljEJ5zoQxzlvE0ox3jw\nxfXp\r\n=Q3c0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBABAGkfm0OXXc+FK0U5f2OuvGLUMnmlLIbgSS8EQ0ySAiEAw/Q25NwR1dhAXjdKBQoVcEGOnOuPly2hlE6ucCyTLrU="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.5-20190701191610_1562008662746_0.013119688091952852"},"_hasShrinkwrap":false},"0.12.5-20190701210257":{"name":"@accordproject/cicero-server","version":"0.12.5-20190701210257","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.12.5-20190701210257","@accordproject/cicero-engine":"0.12.5-20190701210257","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.12.5-20190701210257","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-JlMKlr2L8cUTba453xum7R04wXabpEKzzAQQ940RGlHwTS/x2DAc/B+Mlh+OYeRbBv2vAKy4iZWKeqefcfh0OQ==","shasum":"0685a1b0eea58afb29b5bad6a925f06c6a217296","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.12.5-20190701210257.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGnVeCRA9TVsSAnZWagAAbscP/ifFGshw5xEU85NycMBz\nt9sLt6y+qSD2OdvXi1W3Zhp5yGa0Ohs+G0MqhC2G86+rZPvRf6qRzvhCF2Qs\nvW5/vqFZwyqw4y139UsxLwxU/gmf/OxI0YAsJKahA/Eofv1My+Yj0+JgGBQu\n+XTHtzChr1NpGzY4x0XaNB9mEkVM8DaDKwxmewu3kqXld3GhfdkRLzU34wMQ\nRnNOCV6+qTWmo/JrQVp9lqd1+9UT1+ndEk9BwM6YuaXeeuEJVHliT7woAVP1\nFJ20fCY8mgdY/aiop9gcpk6VY9W8hYaWJjW78S5eF7lVdUl1ZYqe04D0rZZS\n0F2gXp4FfksgFovWsV0RMxJK1b80gfUHAKAhVufOi1rJ5va5nzv/phvo0APt\nE8y5XYB5yGOtDHfArc687Rt/7sJDpCqXnkmaXqlnvxRCtBgQFVAITjgIIQfr\nrVQb4hUe8kdLZ1QpGu8lIdP0d2KCI8bP3rweqt8IAFlPOpiHtWUpWNKl9wDQ\nJpdP7ePm/ZLyzfmMS/UOpfv/B3p6L+goyJqrc3MdvHH9awVM7QzmcUJWeHCg\nhDvV4k0EhcLzj2klatc0NDKEDqn3sWcRfogEuew3M+raQUkIzWR407Tctibz\nP/ubcVP0q78eIxAbzpJsutY26+OjWMAZ+0XEPbJpWoMtXG40ZG1CvLCUnJ+j\nDNpF\r\n=0BxZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzJGfe4KLBqVmAOKWEMApqJuvZZXSn9H1llHq9ykszCQIhAMGVUH9XKs/Es+d9FENaoKRZp/zCakY0x6LkZm9ZvHA9"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.12.5-20190701210257_1562015070130_0.25436650423391405"},"_hasShrinkwrap":false},"0.13.0":{"name":"@accordproject/cicero-server","version":"0.13.0","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.0","@accordproject/cicero-engine":"0.13.0","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.13.0","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-TnM4KG+YuzeiTwH9VI0DbQtyOOHQNOFsozmqa29qM0f0F28WOdJU7JvshVe7OWUjcI/F7092zCYJPahRKXJj5A==","shasum":"eb840b91a86d3ab916a5f297d6e052bee2cd061a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.0.tgz","fileCount":33,"unpackedSize":111554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGnrECRA9TVsSAnZWagAAWU8P/iKQlb2N83FuWkXG+1Rj\nVZqm+YTbxcUf9R/tjGuFVvBcTH2SzWGkcFCvnY+loAhK6QMSRlYTy96ETi+8\nB4EGQgcyGw+IUlnxi2HyJsFm5sRUFzL9zYrN2O4NcHFukWx21Wsb59JgNUkT\ntgbnzT+JRfmTFb/qsUpfBIYklaOhFY5pt38LeaduXXRIybiyp3nsPwiAzZrh\nU54pTAgVOlGXcavekZpPY1LAMNbWyvk0xZnx/8wWUGl27Cs+j8iTZS5Il/Fn\noX9+R10x9+zTNRoiXOU1ofLIIB+diP+paArMXf9n+EIcYUw9SvB0MaEXl+Do\n7gsK5t8VbZuI/rj5R2GPjAait94L+44Dwugt+lMbfobvHTL5YdmneU96N59C\nKXQjO/rGKYEmTX7C3XkKw1YuoVDvdGRYHqUo2WhSsIQ3+LEIScZc7sdrzb8c\nGGL9lPqe5gJKG2lSwV3sSF5vql8FLYA4cXK9lDeGNalofrVMlqtu6dF7JQ8f\nBYyObAT1GMwWUerH2bsMUJJik5FNd3/JHYDss95uxOOOEzD2IhHhGqvB1PDk\nzOfs7tjiMW9oVsN44G6OpcRpU3tSwfhunPSleZJ+dvFHmLMF8rxKIO+Ijt0A\n2FOFYNyy9dK5FP3PO6wNzbfm1NYmhh5JGhJ8f+oUAi9fMCRVO9qpbQzk7Xih\n62M5\r\n=fLwn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBMBzNxzEIAD8iXu7Ns4RfpHRvsZYFNVTj8ew8VFCyfwIgIz8OjyKSkNNLyG9L18J/EsoNg43Sbz28YwHNJYB9fyg="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.0_1562016448736_0.10592066202577932"},"_hasShrinkwrap":false},"0.13.1-20190702162137":{"name":"@accordproject/cicero-server","version":"0.13.1-20190702162137","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.1-20190702162137","@accordproject/cicero-engine":"0.13.1-20190702162137","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.1-20190702162137","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-4rTK9t6xrPg7+T2r2WbCzBe95rNkJgNeEvgH3RXO3VLTegobfx6+2/PnejTvLSMIOCxRKvxB8gqKZzjINzqIIg==","shasum":"9d02da5afc78807facccbbef46cf3cd72443deae","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.1-20190702162137.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdG4TsCRA9TVsSAnZWagAAZOAP/19Us4TsOrDg49gvEmur\nIQXCm8MJ+S678iJOiz5MPD7Zd2IoOaECs5d3l8L0c1r2383EifaMbC3C0vEv\ng2YRg/GMV/Mg8nwMF1QU/9SbNDXXkrxCtgDS8lASjwvEMtfIoU+S5WM+pyEA\nsgnZrG+lytOIfGC1YgAkkegI6AeL4T0a3weSK6ncEsuMgNEgf7mdnXQvfP6q\nBgwNDJKVYixubySWSWOXJJnHF4GbMb4SYJ2OCgTCxph9u0rXD25DUgkDBeAX\nVNOjVwhb1LMs5SoyPJbqJeb2a9wP6Nu3yKOLn+tGayoiI2oGQEa+ixoeo3O7\n8WRQQBSEWVheDLwJrcqVAVkjyCyZX8ruNb3qsCKs73+cnvM5UK32i3lIouN9\nKJ07qm71Pqi0/5/+7HobiBBnstzTW4TYQjhVzfWJ+Am6creDT8nrUW1Rb0a2\nmYwQppmbAQBs+r5pLGXpljkj3qumuTmKxUn+xL3/tue1THuSwF7pviv0W7cT\naS29g/ndBs+GQhRtvxjrPYseI3FVNnqbNKH3xA4LIbHsvxut+bVzo/h+f3DS\nfwVYhnjkRs1+0UJhVnMhzYJmp9N6iyFJ+1zblya+cwFBDZlpeF/sBfqibFGW\nqLQVhFIxDjLGAlW9Mwz3jXKS80NANL1FprLAjSX+zNyuxfuwkARiOCgykluO\nB9hB\r\n=/s6V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFL4H9C5BtBuPImKOduOJBEUotJriRNs8lB/6aZwQlKDAiEA0A53IipwA5dlYJFHx6Vmu8c0k5JH+pIi5JMhrH8Jc4I="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.1-20190702162137_1562084588043_0.8498885697066532"},"_hasShrinkwrap":false},"0.13.1-20190703192622":{"name":"@accordproject/cicero-server","version":"0.13.1-20190703192622","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.1-20190703192622","@accordproject/cicero-engine":"0.13.1-20190703192622","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.1-20190703192622","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-PWINB2k3BjNAP7Acrg3l3Do7/lvaA5fuZ77fVvdz6fpRBDcIELVAah0yNr4U6bEX8yd4tAwbT+/4J07MSxlfOQ==","shasum":"17b13360f3282039858c278ab65c15721d516e38","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.1-20190703192622.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHQG4CRA9TVsSAnZWagAApY0P/0u2qCXKpKqN9Lrcm0Xc\n373I4gt1KfSdJcujAsKPQHyQX6ZgvaH1G3OCxnAp+0TV3uWBLeVrCgXSNBxN\nNZBHMVp1WptT23OkQob9TEpkr1DtxFmWmJ0PhZ3L094qLokqjPRGBXxFrJ/f\ndWmcl9YpZc3PFdH0sa9X0kpSE4sE5TbilOOkPLT7sYKgMJhrIJMsKHehaPrk\nqSR/z/C7fDThXauDJk8SCFAQDtCCxNrqpjrB9dzw302skmGA6uEVmDXbeySf\npFOIzT4zOs1UJvqEKbRhoeErwxwSD7khVm73cAZK8B7EG7Bzk+ZWIsK5J/LY\nwnba7CtbU51wQqr6MkyhQjETM2jHf9fyKC+g7DoI4TTlj5Ym/PFg9jZAmwgI\nOyjJ8KwXwtoJikxv/fPvprInlSKO6bW0J0oERF1LTwxWwEV+17Du5YBjlQMK\ncB8LscIm+KJ1jJKfJprmXyGXlZHjzqlIDXmVNlQn7xQcS1SoQ4DiAfXcvJHj\nHkdmIsU+iuzveuc093UFLwYWzpezCxeLpOcIZIy1V4hgDblSTnVtG9/y2AA/\n2Taa6PQW2TashXsA5cBs97044Lf5mLcSR7zr2wE45NEOFsPiJmG+AJVp6rkK\nEYjU8rU/az368SrUtfP9wXJqRyGNHFPRnwhgNibuUVDcg5bxd0/MTvq+8lVA\n0iZo\r\n=YSdE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD38h6kM7VqMu4MR2YZ653Otta68DzblQlAFAAhxTmvyAIgfiDs6LbZoajD2q2Fe9yltjEYjDAzh1V60ZDg8JxDB7M="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.1-20190703192622_1562182072213_0.7146496126583253"},"_hasShrinkwrap":false},"0.13.1-20190706002451":{"name":"@accordproject/cicero-server","version":"0.13.1-20190706002451","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.1-20190706002451","@accordproject/cicero-engine":"0.13.1-20190706002451","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.1-20190706002451","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-8JtEIzYtthJzsYDCT41jnUR8eG7+KzvcTI2s19LR+N81/BTZYm/lVqVbM4GO7xI+ZIxVzEU2/iAc+Mvm+2lMSg==","shasum":"363681bebf11c964aa5b25f769d01aa3e78da76f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.1-20190706002451.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH+rACRA9TVsSAnZWagAAGeYP/Rd974Il3xLJuoHhhuME\n7nB7Ke3PAa22l0h063IeIn1vNlvsQKAExLiOTZ9bmGsnJOQCJ+rGMAa5sD/M\noPkyfJgNUQBvYz5Dl8WSbhKIgiXMwo7qzrhlaCT9+AaFeAKdQNzzWrsdKelF\nR1+hoCIOPlLKdWMhJbhjpij2mzMLTu5XXgMX3wR38Xv9qDcSkeH7OyFUCHaO\n9CWUP6GPqM4czSp110t3SpwzouLoobzsNt2P/eEdZpTMDZHx4wBYZGPu+uHa\nYyL/YwfaNIGmADhTQAFPW7POyZtkn9izoJeqXl/mO82+Xoo/YIWDzz/M5s0u\n93Jz5GkXusMlXimP+Nr/siC1RjnTdkLk/6I76HY2dxO7GXDyyPp0L86fQ+pQ\nHOXI/s9lKr5AIX8Mr3ai2vVe4+ZxhbL83TJQw9fFOjzGy947dmSJIDMCNqtu\nQfjwaXzCtIMXFYf1dbUM5JzHjUvDYZyH//1tpwn9OmeTzwb+icxtRq2H9qT9\nJlOAUUZCYeOkoPOkXZsj6WVX+AwYpg648DYFLK8SwT9KDdaSR+zE1CCe64Dd\nacFR85swRy1DntWP1jpHRv1Rrgs2M+mJRdrmksGnby3Ks/viTKqb5hxjbyPf\nGotx7s4cE9Ok9mrufqfILNBRifO9oXOu+t2Zjj+yCbe2z/E2IfC3PW9C+jLX\ncgnH\r\n=gLyS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0AFF5Z9Yf3yQpVevxMt8eJxc4qJZjS4JQMUKxo8d7VAIhAPjhzMRoikGj3jLxnssAGwYCGf3YA10ZO9dvawbHqBth"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.1-20190706002451_1562372799643_0.38698486747030914"},"_hasShrinkwrap":false},"0.13.1-20190706003246":{"name":"@accordproject/cicero-server","version":"0.13.1-20190706003246","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.1-20190706003246","@accordproject/cicero-engine":"0.13.1-20190706003246","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.1-20190706003246","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-YO/jSMoC7PXRC6huHqXfMw7mk+l0W0wNtKIjZ6m3TDKln17dTvjPZZpBy7dYSrlXHg7wz1fflEB7G9LoJWE9iA==","shasum":"546ab3763c9511622e97f6524fb17d092ef31640","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.1-20190706003246.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH+yeCRA9TVsSAnZWagAAQSYQAKMpYpqs1HFFSoeDQ0V3\niL5fxN73ZkLXy5fJFLETb0aTxfgHnvsUYoxQkcgovzRYFyvx532O3TcTPa8m\n5aKrVmy3bvIH51k1+MaPHv9DlaW6d8CX2Xk5+l8GgcDPlxZ93SrnWFGO3ZMX\nOJZAacYalRIjUQWsSZSixmQ+T2SSzc63jGPH0a0HBPEn7iA0665xcljs18BB\nRODFJqYXtrLGOUq1x8QcVp2Iv4NzrwZr1XmtnF+iwtBxe2KTh5T2ohKu7aL/\na5+QLkr1tmkFGmKnJlVwwAEWPW0p9JZkPeJcLAF5MVtZaWrIwYkw6tCjpEYm\nfnXtfKENN//7N7nBugnvx4DP5pnC7W8+3i1LKtuxuViSV6QkzpGnKNEFwxve\nVMhanSRcNeAuc2kze3y3aZncEXLk1DvpYbo/oj66j0zPONiSAU95E4H8Z54+\n9Qf6hHqmsxWmLA9amFfAFzqLCqW5FER8MpealPP79c/1y7yyYELk4hTAnjMu\n+kRxOShu/HEDVqmaT05sjzM2YvWpWaebseYYtsVxJSQQLH/1TaF+HxjTCl0c\nSakLjNLtoIo9ghvc0sD81DGDctPbUzeUlTH+tInVcfNGcryABxtVoPdTWZDn\nTPAhCK0v3mnBZToZbBNGDofBC4/QxCp8MLBjYghBGY3dEO5gmITu4kCekjtI\nDBKj\r\n=0dfo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSqKxh5X6bwK5nI8ExRcti5Zn4XJSfCqG+a+QKPhZqMQIhAI1eMtoNT19t4xiS+KJZk8gIghjw+Yni2G9TUbOimJU1"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.1-20190706003246_1562373277603_0.8470072218300988"},"_hasShrinkwrap":false},"0.13.1":{"name":"@accordproject/cicero-server","version":"0.13.1","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.1","@accordproject/cicero-engine":"0.13.1","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.13.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-r/u0xlmGPwhy8taukjlWjoTka8h8/q19kEVSYUjmCh+N03mFB767sXuywC9aIUErag8nrnSgVmgoyQCwAMVG3A==","shasum":"6d95446c55f8715ee7ad104c1134bed8c7f223bc","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.1.tgz","fileCount":33,"unpackedSize":111554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH+6BCRA9TVsSAnZWagAAF0EP/1wIgUn+kLXJ6loedad6\ncQEKXxXIHckPDncWkBSHl/ONu21nK6Y3LqrpJ1s6B+2iDuoUmzHBrRVS5vIY\n8h2MBUtBFEhn9dmG6ndF0whQrlbh/QukM35x7vwn+EZWAK9eBZ26dKbxiiX0\nDviSLvjywf0SyjxEiaxFiEDajypoy0OVe9GakBCR0PdUdm3aYeBkgIHkXIkC\neXEZ+Rq7/epU8ETvHLmkwNrPeGBrc/AMtIytWztau2FVbw15r6x0qLB13v4N\nfVMz1OqtL/I19NeqaYQh39RZRmiLYHG98phq4zTfTPG3YpCXJ5MF8nYnq1F1\nsvdxK9qX9h6eF2HhgteQOsvcW7Lgc9alrU8Xjys0Pux6cL4p0MspQ4xi//ny\nS26hqLpYg79vWaCT7B371bhpYMu0Pnu/LGhGgkXtruFI2Lle1YZzQQngnMdY\nfVFN83heyHe/zvddUXndcGFd8NUNnFFHprVdraPdFC7y3RK+IhEajbQzpklj\nQmb7wyIc3wW92MKptjUp9M4Xec6CMkIYzvCkSdUio1CNOBBRwgtCXqZ2LT1C\n9vFv+1H8UAVfCTN21gikvebuLlQYEf/hUw2p+anZO2QviES2t1lxZ9CrHlYW\nFZtp+DPsOh1Mxzf9qihxvq2ZbqKCxVsmfngUD0b8n8xxQzulUTv+DB44BRqv\ntics\r\n=tt6e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA2qP4cQwz/tC4lircektu84YzwXTZv32f6fOyGl0SRYAiEA5nOeIULDj4CdCTRnt0wg98qo6BV+LGEvogzYV+5F3tw="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.1_1562373761240_0.5386054116669152"},"_hasShrinkwrap":false},"0.13.2-20190706004611":{"name":"@accordproject/cicero-server","version":"0.13.2-20190706004611","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.2-20190706004611","@accordproject/cicero-engine":"0.13.2-20190706004611","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.2-20190706004611","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-mBxptU9sEnsumM9qzCc4PFK9vMshdXbGSXZdHUQIuf3HifZbJopiSgBZZHgYysd+ntpzmCKm8MRt5XQjPb+3Vw==","shasum":"16c8d5d3bc5a39b2ba1517ae36964ac51671bf3a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.2-20190706004611.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH++wCRA9TVsSAnZWagAAbSEP/3yEF1SjCByIsK8M8ypK\nrBaC45SZuuNBRCMFjM/a0XjQ8p2PRgRzgpEoD8gvBTh9fmKWzNl9pm9SL69u\n1F6+CF6hMBsifdAlnGmIKVp6be/x1/kOOU2grlexuoIDthZwNuWi9Hm7GoW/\nsUuxvj2wjsLC0BMtR85W8o6MWWyumHpVp0ktRK7ENYPAGvcCi6lOEpa9ySLl\nLdszWBAz1F4yBDQ0hQfoSCBSnTDm9dorw8/0yHPySNuCRq2D91o0C3LCRQVp\nPrwo8luSKUoWrIOvtjOiN443gICKZntPULtOkSjdi7FA6yw8rF0WeEE5VdJl\nXAcgfezk2BMqtUqKikuCI9jxSyeiE5KArXaBm+OgvlpOpRyRtXoMVGPb/+ti\nPXGqKjTxaniCeufY6gzy7NEhDpo9GGYgWowExxVp7B7/FiJ+9e9EiGyG/jrl\nwBsVYZiNVNE+JKIK0GALB0YEP+MtJ7PQVRwOLgTH//WUzxA1aknp1qR+A49g\nURSrxsMXOlvWM5yZW5bvB4m0X1yBYhXzMg4OE7OfhdO4e8c3UHnmk/fCkMYK\nKOBO7n8ss6sy1Q79P0nYdzSg21c7N3HoAYUukhKnBiBw3c1gHLG+Zghebt27\nOJHznOAOB85I7XxqEWB3QcVZ1sB34dYhKbc54wtKPV7H4vhcN5Jg5En/fh6K\nvUW8\r\n=Y2zg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEPz4mhkl/Ymur/LKSaI51vvreZuP9+x4qcGjxFeTtkoAiAlX1ECseOcjf/lVR6kfejYT7x7mJQ2gw6YubHYUbZUmQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.2-20190706004611_1562374063618_0.4610248133572412"},"_hasShrinkwrap":false},"0.13.2-20190706132407":{"name":"@accordproject/cicero-server","version":"0.13.2-20190706132407","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.2-20190706132407","@accordproject/cicero-engine":"0.13.2-20190706132407","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.2-20190706132407","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-o7CHqfGCKJAAl0iGhPg3/zE7DJJxhme8Q2Z5mJVSA6pqszf0iObie+ejSnryuTiq7O6+ciG4PF6JcoUS7M2/Xw==","shasum":"66479629085a32fe40d5f6602c1fabef32a5f2cb","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.2-20190706132407.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdIKFUCRA9TVsSAnZWagAA4jIQAJBoVA0aUh0MQJJ/1K7t\n6VYpp8wiydVB3LUfvIKW+nFgCgsrrVFK06XeBnTXaAeMDO5sTwzQdgW2kNBL\n3jwi1r1gDvdiZgv55Vm2wGXMQqt94esWoYZ5ocUmlwhynE65pW0l2r/bYD3l\nxLQGS7Cok1Oni7ai/7nJdeRk+3DIKtJnYunsLM+NCHG0Pu01YauhddCLS6Lg\nDEsmVekKAHfZDgtVa8V2gtMv8+RbWb9kUHvSmQkESBwVuYGp3PylMFFpXfw2\nk/dCHc1Au3F34QEQ6Sk+FXGz80KKq2yTADfRsQKzP9hVyHgqZ0JDKhXwj7sF\nU3S1srnM66o4DR5FLP8myosLKXb7C3TfEM93NTl/VmsBeaKOA+KWhYX07Ax/\nI3Ub/TKR1HDr0cJLnWV7JIzTiIFK/tC/quMXGR77ruamARq7VutbNj4TRb+h\nbka02TlhXuc77uji7OZhz6gBgxNC+Zn5yaz+D+SVxa8CL+EbEg4jQzh1mVRn\nNsL648k26LDvkmjS7IcChzlhNNdb4Fvy0NF6KJz0ImvJWQd3qB1b4cYJTDGf\n8ZqT9iuYFluKlY2nZw+izwUHNNGH0yWxZJYCfkbhvqOq5AjPatEyeT7ALZLu\nd09Gu8GzT3fs0WKH2p1Nm3qVwWjJvDV3A9kmcgeAUKv2oU9Mab0b1ty69D3f\nIhqF\r\n=M0Qc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNkhQvQ66fioO9X9K/rYbLdZIr/zVKSedULngE5sA4dwIhAPHvahB43dtPgrEM17DL9nyueEYiTr49MeTE/5GLDHaj"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.2-20190706132407_1562419540106_0.2530882190255719"},"_hasShrinkwrap":false},"0.13.2-20190709013101":{"name":"@accordproject/cicero-server","version":"0.13.2-20190709013101","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.2-20190709013101","@accordproject/cicero-engine":"0.13.2-20190709013101","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.2-20190709013101","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-qhyyoZB20g3eW/xF2EvcCeSKm6JMEqDl1eSC7AJ1YWFecSP6m1XIP4us1Umm5V+Kq9fnR26avMkCYbZQqG5OUA==","shasum":"e0611e5e717ae12bd0d0711795bda7b9abd3b22b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.2-20190709013101.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdI+60CRA9TVsSAnZWagAA35IP/A5uEP19AMPXdhAKJHHr\nFQ8mTcuN7QJh6U8IANTCcMeyyF2lUacFo5NJL6ibxS3FhuQ/7jo6F9VnGg27\nQaDUcCtZaQ6AuqaJ7EKdiMu38KpeFxIjBPmV2T2ViuHA/TErQAXJi8hMoOwI\nT9k370y8gVMdnVxuvfLpWMgfceHeildaSlUFwUikmLbklKbi17ZRoCbIx4on\nmQXSZ7mbqceFm6ot9WaVsmxgQQpK3hpGEJAXFqGJFSACT1Nebfa9KjlvWMJR\ndpifjMNOIApGY89Igospu3a2vf7MVNok8VE20NPdQP+T9E/JuA6RGFRpl8KB\n2xs+ym7+BsDGaX56qbZfSRzVZ0xZUn3KlRFogkPE59bQrtOebfzyLtggDfJ1\nO9107TrwPxvtn18cLxbBgfzYKW/3/40PfBzTGjxmxBNBxKEb7vWT07yqgSRk\nUH2fO9GK9fuJxZIr1ZgBaWX7MGLq+d5zk1Dcy/jYrXXpsQqOu5lfg6831GH2\n91nWQzFgJuqGo13zcz/v1eTp6EI0VhTQyVYJhPOdZDRdU4G1yUJyFfHasz1v\nixth4OxU1CeEaBQCsNRKjVdpltGXX+y7XQ6WeIuoFpZ7pJOileAC77xJKmwF\ngYwVLPFAoF16P1kGvVKU6QiZx4syEplPK2X+CyaozL2Pu09vyr7QhL9F12ww\nYd9e\r\n=vJvh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdVXPZRz1hle3LXljC8iP1whMr5lbMKIHTUI0mab7VJgIgN0Sni8CDbsdhNpisisem0EO8FOGV9Ecfel8rsXEO2ak="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.2-20190709013101_1562635956123_0.5790266967731938"},"_hasShrinkwrap":false},"0.13.2-20190709181907":{"name":"@accordproject/cicero-server","version":"0.13.2-20190709181907","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.2-20190709181907","@accordproject/cicero-engine":"0.13.2-20190709181907","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.2-20190709181907","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-mFY0tK9i11NMG+xr4bHUSl2lTX0rRiq8keIbKXi3R78QgxT7UZ30UNLq3HS8sZilV/glHdXd4PyzPha01il8og==","shasum":"50a808464d0df1823db57f48e5e9f0ffcac4b33a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.2-20190709181907.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJNsNCRA9TVsSAnZWagAAc4YP/AgX11O1eK9j6DkJ+6Qa\nZ5+q18nWGf3sBmZjYBBJjILKBlS13vBR+Z0eDe2Ajth20lcqBaUN1iLxNKAT\n2cyZI9EOgRg2ozpS7/4qa3LZXn9OfPGDorfhU+jcN/T9CNsF95aYtvV9xDD4\nQUU3DmdIDlY7d23RlUySAQxXQ1hl5FF9UKQJ7CAuM8B2W5Ha4DZ84vn1z5kD\nOol5DG1oAu7NGeWkJESbf270lNSgraPgoST45YUVemNu5LMZRSLtx4i6kekf\nveynbo4kUeP6dhXEJOHK87De6Mc6KpWxf2ICXr/+fvqulDVPBy1uak5iYA06\nYSr2HyFeNZXHhK/jm8glIBMxY/Ac1F9D8Gtdup5KlbNkwjp6bj79Qo1CFbSV\nlDEcRR/e0uNUtX5wuBtIXblsn+hWGeqkfgEoS39iqtIZmpKrR2JeAn7pCwTt\nV+QSnEo0QUOv3PYIhip2/GL+0nqiA08KMSRJywN/pdkWN7nH27jmzbfLC/x3\n2HxWlP1ANoolq2GocURjcUaE4Df6TgSOQYVE1H7KbxeSDGupex/ru0E9I1yf\nhX4LqhDyZALw6D1DHnDKQF6eCOS36NWoEKAqFizOQX3IV8Rs2VifayQTM4Kx\n/skHNbcMHgpOQuOAWa7FA9CsoySW730ZFAyF5xVenPlnWQcLy0leD+UBYsTr\nmGVf\r\n=uVXP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID3k8FnDcwBfLsH/zeqFDmiI5J9r8Yq9onzWF7KQX9lDAiBwCIPPtUZsxazFlSNZ5P+baqXWzHNx37LoRgPXdga/TQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.2-20190709181907_1562696460482_0.38224177520038594"},"_hasShrinkwrap":false},"0.13.2-20190709190411":{"name":"@accordproject/cicero-server","version":"0.13.2-20190709190411","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.2-20190709190411","@accordproject/cicero-engine":"0.13.2-20190709190411","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.2-20190709190411","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-nbk9QXYu69LU2SiVhUkWsSBUGlO01PGgytDTl9Yz16k5xHF7hIKMdxaIBeAXh9tfSmoiAAnbddjNNzh96SUyeQ==","shasum":"8ce09dc27597a5c13359a3e4a46dcda5d185f71c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.2-20190709190411.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJOWHCRA9TVsSAnZWagAAgpYQAJRBPe6S75Mw1EYk5wqo\n/nyWNj1as8UcAAxYR8JfEIFNHFddr0GtdjQm92iPqEbj7XOOAIVAkKnNKNhz\n9aYoPkXXrvEjW2cOp6/pd50sxgWnsdPW57zQwCF2nKTCfcZipmqhgopqCzgd\nALlNDVvVqPc6sg8ucRaJbD/UJN9B0NbmIQ8YTeKx8wBPnnjRtXs0WuVnXdDe\nuMeLgt8j/GMlhOLDfz/PmipHkFEGod7iQANHJ64nSk99HN+mcl3Sbx/wEism\noUAtFSihRtWJXYz2uMfuaogvWR74d9xSp1zRPxL/6t5WIaKju7eGK2i6XGNe\nWqsf5esmTch541deyjGlSOEUtpLv7z5qsnkdAt3+RXwrZ9gQBy06bIWdU8Sa\n2R3xSnoJLbyBAEmZqUtRbFzukyaxK0r9776XJ1Frid0FKVEYjTEs5to5IYs/\nugMwjbSZ5LS/BaKXrgP5tS3qClixyAuSwv8vGkuzBleaKIJfe2KsS0aWcUxb\nJg0W/qlIigj1UiaLi6xC4/99vglLBXXnXWX8y4Cj8FdDcrF9nBmQn7+ggdQV\nTvM4q82yH0Xaj1GfN68HigQM2WEHi1Vi6rGMmm0Gs99J12QvNXQpJztoKjha\nTMtH+WfLtheQ3x+U61pwA2d0nVM3tYvPmr2RW306WYd/LQkKa/xxhP9d9GUz\nQl5v\r\n=RP/9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0SSSxfKWWO8prXGRzQNVT3p0h/btTrQ/FZFuV7AxzFwIhAMaDxmEfFWmA7RM58sNwomLIHwBqAZSqssiTeup2ln9C"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.2-20190709190411_1562699142563_0.06928781935117456"},"_hasShrinkwrap":false},"0.13.2":{"name":"@accordproject/cicero-server","version":"0.13.2","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.2","@accordproject/cicero-engine":"0.13.2","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.13.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Hl3Fe3vkVPBIJSH+pCdXVkiUlW31jW647mErehh8emFYpO0+fhrboIPqJifnw3E+/8WhzA4Sd2tilPBB1QiThA==","shasum":"ac49690cc5b2a4e75b32a9604a3d2fdf5840a132","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.2.tgz","fileCount":33,"unpackedSize":111554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJOkzCRA9TVsSAnZWagAAlucQAIxm3KKbI8QXRLPVNUIx\nxwlNs87De/7jJp7gEcQ8E/kBjgT8dUl9z1HiKtgpxo9Rm7l5e9SLGAdHBkL9\n6n0wJYP6NlwcIfHHMAQhazoUS6nDH4IJkoClGNdkz7gGpEU+Ag0Xbngnt2KO\n5Fc7hUiYOu1db+j9HENHqRSzlsMNbwSra/B1ctCiXGOaEtlzpy5oNAmDi4JC\nKlHiXdjWoDuuSUH20fk8ExFxPhZoQCKMLJqAH85FbPgcNIV7xR6REex9/79D\n+TFTpe30OiFfuK4O7rfa2D5xCp758i3NDxOxH83w5Pr2F93RCD23xWM3CT0c\nf3+rB40rBZAACShAvfUFPDwGDe/UP/Jl8YqpPqj6wb316o5F/sd9BvFHh1g9\nYbtjpkF+lPSIf50KPjC0w5S71yv8uu5B0zOdWKQe8SxeJ8wYcFzTWc5R5/u/\n3/ycLqtGtpcm9nKQw1syilD7o2M2Dhv9Wv5SJC+FLBNNOpVgSxL4eRxzPvtk\nLTKKWIdX828zBXJVmQPWcOHfcbYA7kg6KNRsm8MmvHp5mX5vqoCE1bSfG6qT\nDb9bGYGyED2ehlLL3NVkOIzeIqEVLqRMZbzRCL9L5ylRNhGmu3XuKRHKl0es\ngLPCtghxqUKV+4tHKaVP1XJky4OTzzcyGznwlKzZWweqTFbWq5oLZ9OuvrFE\ny+es\r\n=jOM0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4sBjEc5bWm6lNjrOZBc26ghfi+fc1aEd4SgMOKB70RAIgBG8d3LnXo54dvJnGMlFnhaU47XZ5Uogs/jX2wwnWiQE="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.2_1562700082426_0.7530978629401741"},"_hasShrinkwrap":false},"0.13.3-20190709192453":{"name":"@accordproject/cicero-server","version":"0.13.3-20190709192453","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.3-20190709192453","@accordproject/cicero-engine":"0.13.3-20190709192453","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.3-20190709192453","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-KLS6+PDV6RQweVnOPFg1AKo/VYG3OT2a52LOplfogK16FVQML/euKdrijLCuBwdz5ufaTw9BMcKWrGYTWT9i/g==","shasum":"fc19d307da48db55d8812c4dc3903cbcc24be48e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.3-20190709192453.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJOpkCRA9TVsSAnZWagAAv0MQAJzj0/KCwczcdIeAGaYq\nO6DdUY9VQtt31OWa4evm+p+gOhoICP86tLXpY6WQoo1efE1FHrqkTZEAH+z2\ni61vTuTYIah0FOcebfZrzBcTvQN7ReA2Kw9aakqJf1wMuEMbr4y4ipHK6VPB\nOC6jYZ2ZyLGqIplaC5t1DceRkCovHbqv6txX0gNUPakCShosl1j1vQcxqX+z\nNTS45Qw2+DtBk1S1ZaPyKCTrWMpGJbfSWcm3lsQPUJAdbiurS7SPkDfinABo\nCyfBMINmHFdkiGMuK/G8DokS0NOEDPG2NZjtEkPhqiTW0DXDjbx5Fc91fVK3\nNZuUSyyF5D6z2XcMmZhsA+iH2YZNkAmkMjz1QHwSHg6wu9+JKwbrGi0ueFwW\nSS38AXLr0F8PSVhXSDphWb/e57p9zBBOVV+lf7K5o5Lj9rURRel1uWEtLOIW\nkblPvkChWgkTak5zBYKyi/mYASIPEgu4sVN9Gkp7/vRi2zbf3IYtBWArX4wj\n7bQE+klJ8p3bXupYl1wCkwXRB/QAwmTyJ35MdrCKGw/XyCaJCykBxmeibhXW\nDlEXIoO2VyUAM3+ClthTAl01R6c/Gvsrlk7MkTQdPBxqd8ZoJZor5478Z2Cn\nuzggXqxkO7R09+Qahkz1LIEKNfadX0pOxstNX7AnfZ/KFdaKGG8tASZMKd6r\nylWD\r\n=ojcm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCka05SrZjZcOf79V8yPfojZpRqbdQLfNoJD2RGqDKRZAIhAIlkRtbot8UMZQkQwJOSxDGZtIBqUXTVS5ohOGwJhwLk"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.3-20190709192453_1562700387241_0.05377099222036108"},"_hasShrinkwrap":false},"0.13.3-20190709220414":{"name":"@accordproject/cicero-server","version":"0.13.3-20190709220414","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.3-20190709220414","@accordproject/cicero-engine":"0.13.3-20190709220414","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.3-20190709220414","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-KiavHvCZFN+2ps+MpjVrKVt8GSbhpuN/GddQZ8JalsMi8iEHw+mPLwJLf3NXyttwAPBL2UOHyrLguveXZBcTHA==","shasum":"b4b611f5378a504b4fbca5d28e0c0cee7665e66e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.3-20190709220414.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJQ/CCRA9TVsSAnZWagAA02YQAImaYYlvhWFbq3I3jcnG\nTOE/YXn/2haTNjvpxrK96CE3aYqpZlH36Xd5qp9wp/k/+Pw9PRnOLmB+WCQQ\nZxclQeerFh9FF4xdBWo+LNDBMue8A6wrDPP8uEBb5Z4kMzf9ENQcRDrg/ixV\nMh4eKGiGFdHQowYPd5YdEVcElwkEAhuqRfjW3mkxf78g7UOaLdSuuNVLXVn7\nOXYsIRKhA5CDhZ8X2CxkTYbPnqNJ1M5CUl10Ol5qz4dtaInxz6QJ9MTxK3bX\nHPtSsSoZZKcLLNE92dkjVVixvRYlGXawJhnDe13883mgpOH8ZJCr0WWrjvtC\n9soy1mXsCpzENJ+iC1g53kUtZGlB9LcwSo/weV7xtE9uUyTTOBCTEy46VJO7\n3AfPSoK4sNc5Zw4sfl2gBExX+6QuIkxMlf8BTitDgnjVsTwWpOKdR+RKCHzs\nBf+8tmNPKRkD5F7R7lhHnrRRbVTFVFSUzbdpisr+zC+DU4cLsNMoLvWgEnB4\nRImI6IYGQr9x04N/fzot6SpSvQ4ZHCXhF1yZM4iY9GKNNR7KxACTpyVTzYE1\nR0QmEgLy7ch8S+n4ExMQGRGe6WEr/0TmE47iPmcxc7dkUOH0MKNIYS0SF41J\n7oNn5NLC63UXXPqk4SZuRx/GuCOUaaKZ2tT36fD4ZG4EO+rGrnSBDm5o0QD5\nonio\r\n=NvW0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDB3+GfUhAOLnH7SdcXvAq1LkPySO3Ss6CPf1fft4B9BQIgeIKXUgNe6BUm5wKngMxru4moFOWoYIaLMkzcRkOJECM="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.3-20190709220414_1562709953715_0.9945879385838261"},"_hasShrinkwrap":false},"0.13.3-20190711011645":{"name":"@accordproject/cicero-server","version":"0.13.3-20190711011645","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.3-20190711011645","@accordproject/cicero-engine":"0.13.3-20190711011645","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.3-20190711011645","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-wE17bmOuj6OWXSat3XdeJIrfGR3d4O/MJ2bVG6oVUOc+gbr168gCUZJSP6KQ/6bsdCc7kTbyjEUiMEoHKedWRQ==","shasum":"6647e5a1ff772d4c2970b58c2c826fa409ccc5cf","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.3-20190711011645.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJo5aCRA9TVsSAnZWagAALzMP/24UteJP5aqfWr+jbeoC\nBRTTpFqirBZhHdC0K2GPvMkJZWpILdFPSZYrBeh/2i1k9n93HW8RUDUjK9ra\nOsaHm25dhWenLSVQTajy57nMzcY69eSKUu9u224eT7s7/8lS3yfpuUupUKOi\nI6jhGj5YaxPtIpKmtQXrPlaLvIfj7S4t20JNyaqfnTYIEKehbPJKPZMVRPEB\nqmOvXf2f+1axacWQDANMHh1cbi+DG2sMp/5MTbbIWPwAb/PsL9hLDqDc3ZPj\nq+kVohPk9OYmdo+w+ISAQsshG35KMrChC2unt+a6s2JDIZf3wU/fue5//yRd\nzFeL+jhowN7rJNpxoJQ7zIhasKdUxXQdi+HkyjcpYYzzOdq9TBEysnwAzlX+\negRqULZjsEhiiDeaPbZuppQSLtv4rHpfppeSsGa9v33I3wOveGZLSgWLrjQr\ndgeJIJp0dvRQpahF1Ta141Fcc945YzXAJkbZt4WsVkNQzCDvKGLB6T5bwrzY\nRw0fA3lFn/3wIvBZ2W6F7uWX/5cDENb4xKSvD2MnP+WmRu+G8jVcyIaeuVG9\nfhTlEXpbZnzIugqeXM6u9Jswqa+nb9aF/WWBBLkgEvcmhWkGg/yad1uZGZtH\ngi2g5sXpvXFLByqRoJInxKU52KLl7rWNCpa5zv94uyxxrOtiEq2oUvr6fn8g\nkKLI\r\n=ttjg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZSWHr3JF5UgFSN4f4ZTqL8e5haeBo/FkH1Kqc9OZEdwIhANQoXVJZqTLLsFCQneYbCiEjJ7HM6w1HuFO2G7T+IAzm"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.3-20190711011645_1562807897715_0.5373734412641771"},"_hasShrinkwrap":false},"0.13.3-20190711160708":{"name":"@accordproject/cicero-server","version":"0.13.3-20190711160708","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.3-20190711160708","@accordproject/cicero-engine":"0.13.3-20190711160708","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.3-20190711160708","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-6PDmzPHI6kuC2S/PyXUIuRtUT0GTticjTrGHZSj/Yz/RGp1drUtyrigiPtsIDQXxW9vmyd7+3jix8LzDgbBa1g==","shasum":"a5958b8ebf1aa997ee5e82891282fdbcffcb3462","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.3-20190711160708.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJ18OCRA9TVsSAnZWagAAEk4P/jxLShMfZW8RDy3tDsBx\nV0AUdIjxasOc3FZA5UVsSfsuAzfVE5NJoombXcy8j+TchK6FpqmzshPRuJEl\n4PJB00exfvKpc80TWyxqI1VNLA2uSNa+4c9qz8g6uvG5J3t8rDRacdZMF2xd\nGzv0ZYAWtRKAddm1vz6zS49fiq1c77CZdpXJyRFhnOqu+G6eQDV5ihEu9C3I\nxDTe9RZf0Qb3tt6JbPb+qyZCA8/Lj1cNIdz3eui2EdVjSX1AjGTchvsWBrRq\nRWQWZgZSnA35VRXlnTbV+WfmCFm0iQ3Orlb9MNyEP7AZC/N45W8OrHcIpoe3\n9/d0pjHYjYY6Nnnj2DudrIBF2g0mOh3/cA8vM8d5Dr4UcgrrwGoRySfph06u\nU097qjNgD644w7I6bBLp0MtrsvlkgitVRTs1vhwZ5lcfjjFt+cOVk/23qQY9\nVK3W9Vh0IOVEdFEtldYYTbSbfNM4Ha5jCici/jUHZ114hXsidwaJ3h3gjUzX\nzLUGY4mUIL2iu5eEP37dQsugDKfkp3J1Q/MXU+Uae/5jgKz/IxtUaNIC5o36\nC+uNp8AP1i5/1ol3oMbHihxt+J66qGHxwqocVpjs/McW2kbnKTrxim+GU0e/\n/92EewqfFIqH/be35r9bbkUBjGMaiclZ3slyR1MBagcFZVDBJqWBFaKgiVDU\nGAGD\r\n=FIuw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCi0r7gTQhNN/pGfDxaDRDpT6XkFMEK02Ai2904P2EvaAIgBQlPQuMvV21KKTbfFdmIZCTSlgfRsnheYr8FmS5EGF4="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.3-20190711160708_1562861325209_0.30538183953047526"},"_hasShrinkwrap":false},"0.13.3-20190712120947":{"name":"@accordproject/cicero-server","version":"0.13.3-20190712120947","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.3-20190712120947","@accordproject/cicero-engine":"0.13.3-20190712120947","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.3-20190712120947","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-NfnEP4aNrTzpjzwl6zVym+j/ft0oZ83ic2ESAa2Dwbu9iC1qeBjzcIju3j05h/g4aS7AX7rCpS99EcoobKa/3g==","shasum":"20f323cd4d85fe6a9ed2bc9aafe6dd9f4cb86241","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.3-20190712120947.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKHmBCRA9TVsSAnZWagAAiiQP/iOofVODhFTK8vJ5kWoI\n6V/yG/kX/PVsUnoUDzkp/Id+LcaW+1S5AqI3sKf5AsXRdeXe96n4t42yKG/s\nal6tzXjzd6/iH87R5BOjKsLKYD4RKBfnXwrPP+l0PrFtRXvIpQp7idwEiS0Y\nKavFrSA0ir+fTj9PNQL8hWHgOMG9SgPKbiUza7bIlEBkrTwgXvNF2ncEtAXz\nHs7x1SnCwRW/sYFgw7NTL6mZjr5z5QVTOZ90JtY2WtLUiN9AL5AsACtqPhBh\nOwmj2sk3Z7yXpRaxAwRGR1oZH6yTvSS/y5vGFXpu8Sqwg94x2LvsWJkL3bmJ\n0kLTifog9Gk7ka6vX5YSIKuyz7HPh3LZCkktO9TvWkgwWNubS+BxDjMBW5dg\nQr3c0FZ37Heo4H8mHBQcnuc8XrQVXeFU+YARQodR9DFxc7pHm1Qdx+ZNqEjc\nfudCrxy6WuIcyQrNByLEDXKIW6qLygHEqfPFBHeVlsdFd3TrUQ/wPwnZmOER\njxpWF1YrYVp89+/qmpunUyo8C8gKprG7HWW9e3bYTgFTQv6MlijnMxus7e27\nwxm+wlgVTDSUrLFjqjf5GY2sJY9PEVqSN0oWZ/o5MabFxpFzx/Flq134taRe\niN54hvhpBlKRLHUGC2Q9qkO1N/FK4ZcSMWjlH2fNQhZBi6I7e4pdkuf/URMC\nSsSh\r\n=Dz3M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUyw1AuQbLkk1g8ym45aBs2R8FvJp3vaQB1UrHBXdnsAIgN3Ck4iSIAMi7LviCVAsIcFsecIK/AK6LGjGOENO18M8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.3-20190712120947_1562933633353_0.7721186316277631"},"_hasShrinkwrap":false},"0.13.3-20190712130531":{"name":"@accordproject/cicero-server","version":"0.13.3-20190712130531","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.3-20190712130531","@accordproject/cicero-engine":"0.13.3-20190712130531","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.3-20190712130531","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-0e0TBgIpNsG8nqbO1OV3MEXnlG5HVgwCsWLDUgxI5sQosy+MMlUdZkSy9MKOEsgjr5kMVib0wUDtNpHMIv1wRQ==","shasum":"15c09cb9b6d3613a56867559ac40d1c2c51c6052","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.3-20190712130531.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKIX9CRA9TVsSAnZWagAAgDEQAI9PXbg28UphjGfW5HXt\nQNj2vzCPODn5K4mlHIfLXGomrMW7Xoa+r+SX4Y6cCltmb+x7heCC7FVft/RW\n8P4WaN5QDajV7ClxbhyNgoGWi36GzRY89/+cZPt4YeY7SHM+OptRgVfzItSW\nPPHU16cgn/NUfu1QuCHLrUCqX8XCTcsfp8CcECbAOS0Pdshv4vjhBLIGOwzd\n1/mR5yMLHJw/rvq8la5b1Czhxt5az1XUJJVfjD6Q95UMFlVVJsfiYXQSbkRk\n8X7kOTUFZlq0jwpI076KCNxk9pslhtLoPi609HC8DHj8asJjLMbpF79+OC55\nRR+jQwow5bWJjeJKqhOPxWDaFmsHHkWpQ9IyHVtox9q1uzSsXs03BHrC/+Lr\ncozpDxooCLUT0Va/4lDfS7eFukyN/xjpCq6zOSVwW/l+KQUiAma4GarDVLTc\nLVt60oBwjcIjnEHF1uGsqQq6Vx95ajr8a0E9TSPOc7DfNOVUDo3APw2pdEts\nJ4faTOBaTZdz7W6BNhJoxTED9S9+xJs9Vr8cJsZdQPSTnAvGOljbGdJ5golF\n4mOA4AjQk5Uej54/jlULujOCSkKUm/1a4vNLCN8dhZoS0fCY9h4i6RtkB5Vp\nlrq6DQJhy94+4JBWv2vhoTzQ7hs9NKQgYrEfuU6iu7deuAYRBh/uOamX35HF\nxxGd\r\n=stNx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFTAyztsKRm+YvVXm/Kx3WAD9xEv4N/YcV12V6XE55OmAiEA1G1DXGURcEmBbyZWrF93MZ6zyMkph6W73f7o0dRRYKU="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.3-20190712130531_1562936828937_0.4334039819211002"},"_hasShrinkwrap":false},"0.13.3-20190712185029":{"name":"@accordproject/cicero-server","version":"0.13.3-20190712185029","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.3-20190712185029","@accordproject/cicero-engine":"0.13.3-20190712185029","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.3-20190712185029","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-7PPi+OZJt5xFF+9n+iHVPmi2do1Mx9w2vNUKXGxVdGVp/vQXxJv4BEtTSfZ3nIpIxGapn8ufDGrVlFDZkx+YCg==","shasum":"3c5836f82337b0a989769622d1e9cd700f0bca12","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.3-20190712185029.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKNbVCRA9TVsSAnZWagAAU1IP/0SEgG8XcUuzrE68vHTP\nEJEISFVy06PjkFsJJ4eALJBj/gfhljq0RCRCfFf/+Iq4ikLPThuZV9NLkywa\nlO8dISOrICHGJlYhxB+fWsOQQS3qa0XgPhBL8qJDhHd0PT8Fem+RnieM5aCp\ny1oR8SVYG6myB22bo1AS5xN9FP0yT7CsTUK/Jei9+wrvyj6ey6+F4tFRhKdF\nleY6AVJVbkcZb7oQwHfqMI+6CnHY8pXuRwyxUoD1VcJ3JXva/ck4lAjyuPUS\n+ZB+CVQeTkLIzeYz38Fb8CwT9qQ7KEC+jFKgyzWLwnPSBhvPBV6qK2RPzpBz\nt6K8LPzYtYc9npuGW7V6oWYjMEteGSlMB4/qE4pcwWvhq6wdYz2RdiqE8Kia\nuykReTOgYz0FlnfSi3/1xHjQFv2Xk3hf7sP6jTBH+cSpysaqv3bc4o7VMjQu\nU3OoT58tQ021dr9wwk23XR5mrk6laxr/DMg4S4bacQMgZoW+Q7Mh6o3iaZwA\nfPnQBcJGb4phtx+vsPRE3la04Qd3B2rPWaDcAdlb2aFUM4GEBQbMASsIlqxC\nlYiDSgZhnrTzB/IoySFRQybuUepGRW0t8tDMHmDZbIdao81ZWLfn/EYR1XvQ\nvSj0Qq+8tKcQp/Guzq49N9QHkFigGjtZtxsfledCHhEzvJpnk4LS2+uA48J9\nrutE\r\n=gecT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGJTpd9Yd813j4LnH/lOme+OqdocaM1UVvlBDzB39HznAiA3qMk3Miqv+5ObDyI8W3X2Zt6RMi8FV2bapIfv56paKg=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.3-20190712185029_1562957524916_0.5750188581769247"},"_hasShrinkwrap":false},"0.13.3":{"name":"@accordproject/cicero-server","version":"0.13.3","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.3","@accordproject/cicero-engine":"0.13.3","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.13.3","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Rse2/BEbFgphVXyb9XqRfvlwC/7AoooIXEQJbptumUevOEv4AvWUzt7XNSWDa/fMImNqX8VG581xpTsfOEv4sg==","shasum":"7869130df299980a0f99e3235bddabc4434c94e1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.3.tgz","fileCount":33,"unpackedSize":111554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKNiPCRA9TVsSAnZWagAAnu0P/jKjGFxebeeV1uKxq8nT\nu+N0j6orgjoi/wzbSA8cG+xSC1uZ/I5n8R5JIdOFj8Qjsa3UJ20ZNzWqV8sB\n54A2kQo5HTDRc5BrVXgNSNFKridjM/uGm7INo924HVJkZyuIEDD5+4aFufyg\nnEZRCO617Bavmn+hi8e40K3zVISi3X+IMdaSkJom4TL7SkVC6mi6qhdxyLH6\ng4aGqmo1ZyUAP90YWISdaw+RUALaSegP6hyp3YO/n7hhJFkfU/uJpb1zHgzM\nMbL6Uhmf1SwPwTbfwmlSXy2m96FPf565S1jRFALnDsOizng12uqkxvpJuaTP\nyM3ChEdtmm+GIV8uNHO3Sl6oeKRLjDKXLvO8Lhy0okYKOQnJXS79H31IvRh3\nnHMU4j1I4l2MOTs+PZsVcSqY8cuLTTvKuLqi4RiKbU4o2yikWz+4m2R13aWF\nUdKLZppuKEMRb3nhF98isXQtMRDER/Ep6srz5dd+jdTye8a8s/9DqHzf12je\nKxcfsWCf2aae9s+KIwBr1Bibslfo62AnAG3bvNT79/jrlE4TFkv+MKYBW2sy\ntq5YwCZFDNrSpgNx1pVAUp1V3p2yC9+usduiAhpVru1B7RVPke6YVjdfmfxH\nCjDpPQUiIKQmMlynhU5RaWuFOSvmEGhS3Ohx/jWozUIriu56bxUXE7buJuQk\nB1zE\r\n=SLe/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHM5Zt6urjbBHh3WB/Jb3hLsJtsBWdjqbDRX+yiZmuHhAiEA0Xy1ksaho0zPKzeqpxLUf78B7uTgAwm1kaT17pddhnA="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.3_1562957966556_0.9728686352031803"},"_hasShrinkwrap":false},"0.13.4-20190712190250":{"name":"@accordproject/cicero-server","version":"0.13.4-20190712190250","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.4-20190712190250","@accordproject/cicero-engine":"0.13.4-20190712190250","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.4-20190712190250","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-+TNK3is4Lylyh/Adzi4/ixJEk6/jjsD8SDVDGadMUK3EJh7JjzhtIs1z9BsOj0o6SDXiJ9DRMI151eKRwFLgaA==","shasum":"69065d8c53ec229423cf81ea44e72d7abc6209f8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.4-20190712190250.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKNmxCRA9TVsSAnZWagAAKoYP/1AZdDt7OiGdn9UcSZCO\nTK4yuBTwJaQ1kTWbl9uedzQT1zXHnVsOBGEYPYzJ6lYevZUdU9hZRni7tS3E\nZVEceCXEZpr5UHkctnc+s7U09Oc9V9VdEi9qkUE9PMX0GCkIiEhXbWnom9lO\n+FMjK35IwRmRf9rdZMpfRZ3oP6ztK07c+dooNwEJMErHHUbDdv8TapWCIXw4\nt7JYY6px9Mjv9JoUpaM2rK5o/pqH4brpOFy+W0ysziXnNCWRk5Comh34EeaG\n5ch2VsLEII5fEGH8fIhQlrppeCNOw0I4fg76qpxCI+DvHVAluvMBrL59C6Jv\njXgVxwVtggTGROZ/+oED6UYouzXfs1+uqHdtayYlDbP89zCkhcT1rrgCCR9U\nq/mkxAvb5mIjh/yAwWzP0mj8t5qDZ5U3OA/sb6F0tlFgMYZWKrPdiCmkHi2b\nwuHfr0yIHZlYreU/iq1iU03XnmDdB7+SQ0dw8IONVieZQH1dKV6we1Dfdfcl\nzoe/MJyWhaLZNMuxt6cJE1yHdsBIjH1hzVz+6tNrfaswnua2M50eL5CVXJV0\n1tTFQtAm6B764fXGNoEl7p34C4HZSbEUrsH+aYoWTy6W8RDe/uWfDMAj5AQC\nb7Oos9Suj8zRecmsD/sESErPQyUzlCdHuEDb/3CXBdYELUw1efcTUnsb/ZnC\nDmt7\r\n=70Ay\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE8IAVpmkfyG2qRzUo/gjaTAa1H2ZOmp/tDpKSyULHvvAiAp6YXCP1Qax9V7UDaf/laetnnN2yg1+sqnLK7b7ZhD+A=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.4-20190712190250_1562958256799_0.14291510531918172"},"_hasShrinkwrap":false},"0.13.4-20190717044503":{"name":"@accordproject/cicero-server","version":"0.13.4-20190717044503","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.4-20190717044503","@accordproject/cicero-engine":"0.13.4-20190717044503","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.4-20190717044503","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-SDMd7xIcXJIC70zZ5BFuklLX111laXnLSJZ9AdfwSe0vd04npfOtiu1IKCG+YXRMWiutjSxv98LwwhYmsH0uZQ==","shasum":"5c2e275f73180bfd263a6e18d3ee156d4a7b95e3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.4-20190717044503.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLqhCCRA9TVsSAnZWagAAYKoP/07nCjXg6QLlMJdNXFxi\nus4cgO5GOihF19Mkz/fT+GzbnxkBpNl2EMV2sbg3i3RwzyvLA05LaB6TVzxW\nsQTDOrYw9neBg+XbKuWhknM7aixxc0VT8U9lFVBkGa1UEJ8AOFmZM41Urh+N\njwH8cH2sv0JrFo2tbZYcZDE4aB+ic8asfZKxehtGP+Wlr3zg3yP21VQrBzvg\nuvq9EoiPrMZa8KXWiR040V4oyBgr7kxKMFIXvu54RNe931N3MWBVfW4xuj0Z\nzoTD8mqhJomSmPF4m8zqPnMluHhfNpFEzOgKlTJSg3EGBWt05j7/KwYy+5P4\nT8MjcWYk4G0EN2DXcGMZ2v1IoxS4SLNsicVwM1VP54nJn5kE8NDD1Hwn0kNr\nxCHVg3T3fMHXhb4BrXpGP7qmzwbx7W2igq7PVv+y00QBkES5yNjb7dXHWuM6\nvqpKaD4NtrpOYlTqP6cYybuNf9JLU2Lp96d3bLDC9NeyKQTfNYRADvzZR+zA\nklPwGSGtcQstp85WrqJRZz1P9Q+N+mwii/2CGBCfRTkIl/HYM1RiqklVjfQF\nkGm17NwxcLnQh6tFCGC2uE/54ZTDTr8kIjt0UUlX6WO6DvBOeVaF0EprdIVB\nQU1a/X7yHIiotBFXAZqXND4OlpJHYIoJSPIBQvGPiQtrZpy8YRQ50xwgN0yO\n9p3h\r\n=JkYy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDv1lKhS6KVs1wO/eCXAOrSZ1VdolHL+Nvs5ah3A0VNMwIhAPbVScoadsFDwAyDXLzeNxEr0kIJEx9p5b5giX9TEtnq"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.4-20190717044503_1563338817385_0.5460254601389252"},"_hasShrinkwrap":false},"0.13.4-20190717165720":{"name":"@accordproject/cicero-server","version":"0.13.4-20190717165720","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.4-20190717165720","@accordproject/cicero-engine":"0.13.4-20190717165720","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.4-20190717165720","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-0xdEwXENftYGGp3EhofYhPVg6OQHmigNjFokMJpGEWdnxqhYlcRkJCOdKZi3kCVPvYHbE2TV84fb2e/qJfkr6w==","shasum":"77bb5994161e560880dca60e32e7a0ec550aebd3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.4-20190717165720.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdL1PWCRA9TVsSAnZWagAAANQP/1qEekdKt9mujFb/0mmS\nZXAomNL0h9qMDqxdByESnP7A5sRHf1JHTgDRRBHaGoolTkPXOfyEZ6eP8w2l\nXYzx2tXGkZzTCbDyv4DmOgvi7FYjsEmynZetHIych//L/c/ZeV00Zu3GzdIR\nWhgMw4WV5294QqyV+r1rt2SFVHAzInZuyEj991TZeDFTTYlCInKVbkLEMDzB\nl6ie+RqpaP4gRdv5rf27GYZWvb/b4oPDxCg9FeKSAj1HKutiQvDnKcBUI01d\nKHXPh3n4UXCzkSGAsHxT1fY2ruHGQqTw4nP+ULziQobcjSdZg8F4j3orrzq3\n4IwjR2rJUc7MNCwGPnB0qiswAeiFRzRrNUYoKLZg7luCSXxYhqZN9OcaeBVz\nyQ5zQapLjQ/wAmlBeMaD7Nft30+90su869m0iTKIA27cw8DrxnuCJmtb3SQ2\nCkSMmEQxBnGk9iop3dffBcovbRFAnIIW/sZL/R86pZ8t540pvYdyebbH/Odz\nlZ5GY4YKwISG45NpFT3CDLSiOW0o+npQZv8IZaev1zXNvHCWSN2Na5lmn/Qh\nAeDUscTmvr9fJTJdGTNW7Cvlp+2Jy3VO/ht+WLs2wSHGK20MkuUZUAaIfWnd\nJ9MY4KuMshaZ4GFA4WwLtEbqGivy14DxOKfP5E7b8lI2kyTZJiPuGt9G88IO\nhMT4\r\n=Ucu7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzyJQfZnZWLtvo5iwOO69w9pQTsTydDpWll4RRWz3w1wIgeoztihUFoPHVPS6Nt6crqcFrJhxXlrCrrDFWcy2haXY="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.4-20190717165720_1563382741963_0.6186984412712258"},"_hasShrinkwrap":false},"0.13.4-20190717190436":{"name":"@accordproject/cicero-server","version":"0.13.4-20190717190436","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.4-20190717190436","@accordproject/cicero-engine":"0.13.4-20190717190436","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.4-20190717190436","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-qYQtn44ZBFhi4cFya4bGyRIfGYgvBl2/35JZlZ4wF/61c3jxsCtZoYyfSH83GxnhoSWTaMXLmUVXUG7zRmk2pg==","shasum":"c31081f0edf9aef790bcbb0d3a8e670007ed127f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.4-20190717190436.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdL3GiCRA9TVsSAnZWagAA128P/jKCt6BsW0rnJuDXxvUO\n62KL4Oap2XD8Akcu63dDXDR3T/8L/wjuBRlEWpOBdklmg2xX9CXMGnXMQRv7\n71ibBFSAsm3qTTbhF8u8gFjODOjZzfPbQW91BTGjQo3DQ63GNqpr7zp0sv4c\nRLN/tdpylqqRw121CqFRZjeO0TmB1zsXnfUGWeGO9HJnalYfucSzGNipn+Wu\n3N+TJwieimb1hq2f/0gWM/5sEJ0kChgqQ0XFm6KmStFBxSpsuvkiFeX+GBKe\nU/XmQWfHGMpUql95RChhL1QsY9MHcMD2g6Cx/MWjeWQUdxqbcFSptm8QgDkz\nwzlgp/K+9zeJeCPO2LLquiDE9phK3qM3nLjg/5cnLbYDpfn9uksotOl0vIsY\nt1P4h0Sxe/Iib68TjeBHZqL4p6TlUgRsGElx/o7KhEOHunjjtMy5viiNAXap\nqNb290g+McwR3QDa9NRZ90YxN6yyZCMMXqRgEVF04+PEKU+6EN2GRR4QIJA3\ndcfdN8VlQtbdS2ptULzgkyudzY58jnmqbpuqtCnVnvPwtjBh1a/SnC6/gg6t\nFU34vrIOE/Avjdf2QB/7MVxH/c5UQXtXs4b4NSXvby1asXmiThU0gquf+M2n\nnjs5spmulmBir9lnHMHsQolYNAbzv4DvAYV1QPIwRKf7qK3HfGZogbCc+ffx\nxC1G\r\n=Q1Af\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD482Q5UnlP7P81fvhhOGzcdh0Gu6S1KjDf+uOSJtqm+wIgNvayiVVvT0gEliY1T1CF7I2e+vZ84YfhEMhnAOIVtfE="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.4-20190717190436_1563390369534_0.5306798960002392"},"_hasShrinkwrap":false},"0.13.4-20190717191853":{"name":"@accordproject/cicero-server","version":"0.13.4-20190717191853","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.4-20190717191853","@accordproject/cicero-engine":"0.13.4-20190717191853","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.4-20190717191853","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-pjl2GrZtm6Kd8xBBzBo2s8eTNAd6tgArHtvYvFhDrkomx3GgelY1EhvV2qCxcHgbuaHsYn67UoF2boNwkk6p5A==","shasum":"22a5bc7a39cd09140e110be49571f2828f792882","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.4-20190717191853.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdL3UECRA9TVsSAnZWagAA3LMP/3h1E/o8l/hnr983mcq5\ndta/qpkTeJwjwbFLDM2UjZE7ldrHoN++b/hKRoWHQBOWntgkjx6tjshMG1JM\no+5Wxr3aZ1M1ynf/mCnatoE36KJBCzQBc0KVw2/3EkE1IcwF1he0KINUE5L4\nLpRsbbaRDOSX6JRn8bbY4Cmfcl2dH9QceCE+dmiCZ/wUNvTWEvf3wsm3aNuN\nXWtAqh2+u+KdPe0JnXpA6t229hAjGdDU9OR0e+p9Rl7pngLzTLlFvvoxbzjc\nyuvXo5iRWoPKC+F7qWj2zNOn6iyvpRbSMjv0mC7lrFVlArAuszTDcy0c69FF\nQoODS6HPod0jQOTYRdA02QlYMN7v3oZuvZe8ulQNMIvllVGmrmUZWg4dqwSK\n3yFoAKSKgop6ccUNVx2Q+JJRgZAQJFYn+vI+G3KdbmhndzQva3tWej9yOi+3\n9YGTnzrEH2QuS7v2CFdZqCpCFng10pE/UZFT/jQtuUZQgTyA+9XIQ6bRsqY6\ndF0rY9F6dnj91jgfLLgD//ZzdjyLHWDki+JZcoKrhNyCPyAqkpX6imQp1mAT\nXL9ijKRtPsceNz7v5xvbe1zWUU/3UhW3N2jtcYZ4nKuHk9Cd1JM/HoudderW\nFnF5oMnPiGthfo5EvKgGbwC3XLaLFfvLnoFiYUbxP5GXz3XkMEDrG53s4IMc\ngWK5\r\n=ZsQE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFFUEcjhBhj1wg7Pq4gFGeQEOKeny8bJxh2wZozSzwwjAiEAwHi500pc3GzmGFEr57//96/P7R159/N0pRPVXNU6i/Y="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.4-20190717191853_1563391235745_0.49642663899122996"},"_hasShrinkwrap":false},"0.13.4-20190725201143":{"name":"@accordproject/cicero-server","version":"0.13.4-20190725201143","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.4-20190725201143","@accordproject/cicero-engine":"0.13.4-20190725201143","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.4-20190725201143","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-70OzYzTDx8Zv/FCZw9xTUKaOP9T59Ee53YJhK71UGlRL/eEhLrOVxOkStILr6kYAqrn9whJ7pr0PxW/c8DEKIQ==","shasum":"debc26a1942a2615c04c5c33009eebf677fd1cb2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.4-20190725201143.tgz","fileCount":33,"unpackedSize":111611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOg1hCRA9TVsSAnZWagAAcYUP/1WbiVU8DdovH8HwiJCb\niob1ymztiRAcEl+UNv8MISxUv+Y6fWSbd9iHPg4ntdIGqzBorV/oPbTL2Ffd\nJLaVMEwVUn9g38L8UcHjz0p21N9HzgOkqsnXIwcP/nwOidvdRRySj07B+qQc\n8NGDcOoAOqumv7AWLZGQojxljN0xdO3qAij5zI9qmZZ1ewUNTHDEd21L6ckV\nNT/eqBMN9mYNtrzNWebEbBF74bFQE4bM/7raFS9Z4woJWTH5oXnQjIZe6B/W\n9X4EBk5uqS2hSfG++B/Mgg6GoV6pMheiClHf1QXz5UKIigi3FAMtf73cEPWN\n+usvW0LCJrC+Ozhof0a0Vr6/RUEDCjWqPjvJnsfEIXWHg7gVa/SiDM1DRmtX\n/YEUDonPWEdvF0XohIgRS6p3qTAx1UHNCmA2sBQtgb6bXv/BEZVFUkIv2cHv\nv0+oVUjoi+YYbt8gqHezx8AmgYXquAr/u7OvN5ExCyZQ0r1bZAO1zfThBwkS\nmGk+Ye8DF2k/eMb9Ay155NE+pVm976uplThxm3cQnYBL4/hyTH/bx1g5lZIS\nIPTqutOETmJlw3lgYp3LS4jEHqk/kPz423l6+FXejTvFVt+FgAHzFP3k/3Kr\nBD7s2sQKTlNutkAJPxJ8yrZcpPtmPeYdHIbwmSx31Y2nKfMiw6Qnnq69fYP5\nWGXp\r\n=PzxA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID4Knb95oJvhpY6670Uk8lRSRiUBdVsglGU1Mgmb8x9UAiEA0MmVXJxaLabjhJL9qMuVG7bt9IzCCrwAbXoUvVeyNbE="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.4-20190725201143_1564085600365_0.913370830295402"},"_hasShrinkwrap":false},"0.13.4-20190726050117":{"name":"@accordproject/cicero-server","version":"0.13.4-20190726050117","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.4-20190726050117","@accordproject/cicero-engine":"0.13.4-20190726050117","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.4-20190726050117","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-HvyCWSElfT7cZdEo2xAZRYVOWoepZL35VhMRgu76Xjqa5RxOLgGPzNHv6wmTOKUioswqmcra/ZdJnQr9lRlg8Q==","shasum":"5821bd2a28eb6097ae63d01bdd0d7c775ea51136","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.4-20190726050117.tgz","fileCount":33,"unpackedSize":111611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOol6CRA9TVsSAnZWagAAES0QAIT/bJ5/J8PNFexZgcSq\nmTpQsPTO9aepuAX7P0T3Ba4X2m1OvgwsO/gNN2xV9v2lPNjJraASz21LrqEr\nNb5rXosRDetWNid4BT//d7KY/RXz6Pxv4Ie9d5nhSxbtYtQvD1QtqrNaKEPm\nc5eVSvbpJwhqK5eYeqwu1PA5jebDGV76vOziWJC6B3Fixof1zkaNkwW8PDCV\ngmeKnlY7rJVHZCCQyHECJ58LStDRf1UsQ8FS1EaqvmbshDHYWdF0YvZEHCv8\njns7F5QLJLaxZH7Es4r0o0QX8OaPDe3qOqrkViI0AfWt5OmPDu3UePoTUl6v\nSBZx8FGuCYcRFmo5RWXqeLZvaCpy4Ajt6yKOT5sTLSyZqUcV6gbkQI1kkOHu\ncqnOXX9hB4ortPQyI4/3k7ieRsPc21hbl40NxPiwpniViuov+msw79sc+dn1\nPhp6Q8+1CH6oyPAWlWEAaOSayH1Ol35hebwkE45N55LUUYt9PUtLZ9ZtQ2Ck\nvezbRGAt7EEhl8l+xSILAHCLvrH4TeOefU2gJJAZYJqirlVjNDUMOuq4t4sR\nxs2RW5O2crqjfb+QdCSO/t30Xzn9TsMrqXAjeWfZJPmXGTjAo2MIJffBV5CL\nFlg79UwtN4Uk+dhiG4r1CRhflqEN6XS5RfCssho8HgFYb0uWmEN8ij9HvLlM\nw0K4\r\n=2f6X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBBtaTgGii2lNz9Gixk+Y2Ak6zyP6qALft5I4EVrbCafAiEAuVXEfXztTh3bgoQz+9VdKGdt/MHSMCHLyGVORVIRJ3U="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.4-20190726050117_1564117370051_0.1848697022177901"},"_hasShrinkwrap":false},"0.13.4-20190730100707":{"name":"@accordproject/cicero-server","version":"0.13.4-20190730100707","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.4-20190730100707","@accordproject/cicero-engine":"0.13.4-20190730100707","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.4-20190730100707","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-t+Ai3/FWumPyILiNva55f1dD5s/O8H3M5eZMSLkO5T2+lMpKUAZHNBwN6X++U4E5W4LvtaE1D8Oddxwq+ko+lA==","shasum":"e6c5b6ceeb071413e285b9675dd134dfccc7e701","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.4-20190730100707.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQBcrCRA9TVsSAnZWagAAjfkP/2hN++by68f6dbosyDOf\nLi0AgsdmF6sw9PvtUqcYDqoPsS2FscQ3V/gZVfhh5mkQw2galOaqZB1VKaad\nozW5c1E3rbdIngPzZqrLx9raUymTuz/53XnoHIG4p4gYhuHzguw2gvt/ngZj\nUnCctrwLc2sGPu+pvk/cb4rJTqV+86UljJBzOvXXs305x6JCl/YbI1KFMjsE\ngCpWMWqW/uh+J3Qq/ALPZEHBd0xGumHzg6RgpHQdC0nyYO3nK3SFXuidb+k3\nftLRrNT3/6xwFmp3nHgL7Y+qwEusxInznMqSGnUFlnzSgpHB8W7OOO2uUQR3\nRomMZItYkr6ebbI60HbBPCy3XAuHO7rzvXA6R+1WERLUrFC73cL+BnoOCZMZ\nPIY49gdEU7ebygmBFgHbbf0ZSsMEunEFZOx4KW+tAYnVYGA1Vkbj7byPZ92L\n18CLC40xUozUR12uMv6w7op9kzTq7rUmdC211WVGKdntyE4EokoJMnfyII0+\nNE3RcHZClmOJwkjUGFgvwtyy7vMqwhRSZCe3DGSjiNZ9FU0EeeF0mfGpWD1P\nQB2Mnn21HdEE+uz7Nta1idbkWQMBwGJYBr8tGqOvCEbHICdjd5p7ZfOZwPgS\nRNc8Hrx3oByaGshYRdIqajYyY7cgE5sDFrELzLCSJwtICtvsdswdxkywJ0Vj\nHkHU\r\n=5Sco\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIELbymCYsxwOtNx1eStO3nhTSkgtwsQe+YAAHjfByVIxAiAColNfbw+pIvrilxU0jL9xwXNTgdEPeXrn51l8AVV1MQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.4-20190730100707_1564481322052_0.6913818309178925"},"_hasShrinkwrap":false},"0.13.4-20190730135540":{"name":"@accordproject/cicero-server","version":"0.13.4-20190730135540","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.4-20190730135540","@accordproject/cicero-engine":"0.13.4-20190730135540","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.4-20190730135540","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-AlweOXHBhmY9kGrZgOc6NlJDZHAjujCvq3NGUTuX6QvvsRvARSyxUUeR2EewtCvM/Z7P88OiUAvR+2truZqRrA==","shasum":"c5e52da69aef4248bf85ecfe7c74970e9a408f25","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.4-20190730135540.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQEy+CRA9TVsSAnZWagAAc5YP/RzWgEQlnb6PGdjAAKft\nuWidlwKFZoTgAvcEFNqrQmMithltqlaY8TZqaYfdFZQ5SPFJnpEzHyUnP6QA\nPnt4AIe2nINs3f6FUG44wJpyyguh3si/Pi04oOsAdgecv00z9vS1XG8b75Tn\nZN/H5+p+cykRFbRMNVMqXlnsg6UKqAPlQ+so/hBkQ/dX8QopbbatDtM7Qq+k\nYEiX20SAh0d+9u68wd6+3zHIh3TMZ6Afux7mY7llPvXECnI5wtzuwpmWrm9j\nShWX7jjh1OXsqq9vyNOGgHljD16eWitoHkKa/uwzdtYaTG4sjY2HYDGOe9Fc\nG9OQRevYT1DDPMEALA9EGkiAxuBRkYPAL07W29OBs5Im4jYH5MQtlbYxGTPn\n15W1vLD2+i2KokaVKffNuUCxLVLs+2bPkOb2jsu4SDa/KBDq80d6pu+CrvG/\nkgeleIygtJIuOdZDJu83h06Ooeayu4zM6Rd6CmPoM4J0ni1DnhjHv2+gekg1\nOm3XOzKlPeM8YzpjLmjJs/d5vo8lLQMhXiFIqeNM8DzuBu9hkfW45Jr/gno5\nPtETOlkMS4zvRw3X8xMc1V9B6RCr4Dw5EVlkuSBycTIbMsjhzp6YQn6N1rVT\n7LYGJczZn908qmKY9YD3HsFHlOz1AF3YGW4y58oFv+hRAa4RtOWsbTo+pKHU\nE5c6\r\n=9GqQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8a9quNZL51/iJKHc/LOwD1/C6nRpEp76wnAKli2eM7QIgTydEp3WkdWJ8r9NGNwzw+jfTxwxNa31g8Myt/KWyP5M="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.4-20190730135540_1564495037770_0.3320687310945911"},"_hasShrinkwrap":false},"0.13.4":{"name":"@accordproject/cicero-server","version":"0.13.4","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.4","@accordproject/cicero-engine":"0.13.4","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.13.4","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-6KFcp+9QxSbhC2Q2QkcIRUDFjze9Dx1B6UYuCoumGgX/kdSi4ZlnveyyqIerS+UbssFTmNZdwRNN/lZUow/47A==","shasum":"9300bddc3f781e063a1f9dc7de5df1a490a42b09","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.4.tgz","fileCount":33,"unpackedSize":111554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQE04CRA9TVsSAnZWagAAbHkP/3sSt6vX6/Pgk7SmVxAR\n/66XL6nyvPQnJH0K18LwPil5MAT1gDRRSpZS+Rq8G3488DGEE+ZCi+m5Bw98\nBpfaoHf/KaYkWAwmK5x/JvoYI5Sdv9wn4G71ErpWxJPi80frsk/adhmFvkA0\nfCyQAgzeoUAsev7iFnh3qcZhZt+pTipts21oAtr23rXj2QOAFfYOaAlnxYtA\nXhRBjhyGNM7QsN82CQ9qpFxsj+yc54KhZz1TcqMS9ZFyizIOXr3qlU3tPmz9\ngAfET9wEBEbxgCxYTUofeM1RvOgj2+EzbQt2dg+3P801ZMI2jwoRcKBWC7uB\nx+WuZRkCKDi7NIhi+rwo4KXvU1VYnDgqUHBWQRhMKC5Nx2xldlbPDogl1d0Y\nfYeXMQ9qP+0HvTR+vqHmT5YFJ91fYCIvdPAleqvtuuc22B36m/wdJq9pqUX9\napfefwgPb5hAXSgAHcUGHGtT0nsA8HWwZBd+B3YG5vjDQvNPnbPbqqEhXoWN\nTVGjX1ZWhB94tAzQLD2vgfcLi9rt4nBSIjxuymerpi5v+gU7GvI+a53jISxM\nps+CSVlKKU9qJMli3vbsg4oHxxdP2UOGTmeM5KlzMB9DOgf69UUxTCEPcf/u\nAKjBYS4hUynO5Go2gIboeIiER6dSDoZl4ziM3AqD043gnWqOp+rRvV0s3iSD\nzB97\r\n=6RQi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJibagwqgFnCAMduPAOD0y6bsZKeV4/fHsd2zuIGnkQAiEA3IeHw/Mhj0CCub0s6D5aSJYX3SGdpKUMaIqJ03FNriM="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.4_1564495159360_0.17067072814092454"},"_hasShrinkwrap":false},"0.13.5-20190730140300":{"name":"@accordproject/cicero-server","version":"0.13.5-20190730140300","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190730140300","@accordproject/cicero-engine":"0.13.5-20190730140300","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190730140300","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-6yYLNYx+i2XGIO6lBvHp0DVDyDBfAd4O4bTyyLtZLe5U2HdmwKpwmwxLqVLCtCbC0bxezc3/RFEaRP/RhUcI5w==","shasum":"feace112b610a6489764f5b208479291e652b9cb","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190730140300.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQE51CRA9TVsSAnZWagAATz0QAIM8Iiq7cdTI/e56NRQ/\nF4DvxmO39IKbkn7fiQBmuCiKBo1WNfGfX5WpAzjY4hT8iKweCS1vAsISNQu3\nnX4znXyk314e/cvoBb7HMj3ZQDooEXChOhQYXA/MNPaPvuvbZfuYotrdTEI8\noI7/ZpLENSL6nrwRBAKng9/sW53MtFjGO+5Dw7/h3ljJ0N+iDMIQ437PdJkR\nX/gnpqj9TeWZ4NsTI0lRxA8m/P6SnxcWYTsZqRL4d3QzTTv/MRwJcDd0/5MS\nLvc/r5VJ53Uv+XPEuu/AMBhVO7LtPFT/8nXJV9qjsZ74L6hp2UTS72oNmdq0\nefCjBF2Vmo8AJF/1z3j3xklD//JRCrm0yWc9j1KKh3XpRT4f9LXIc3QkthJq\ndrbxopexHTOs7ljohr4c6CoKvrN0frkphTQeRrIPMx0CAwmwobipjOl4hIpD\nXSyF4vZIz+wGq3m++yrKl5uAvB6NlrWX7iiheqRwzq+E/Lsc848fX+a9OmMw\nLsOIWMbrGb918i26pwJnEnIF8VmazXrK9ptrbYKlHAhEXO3SWo5QBY8oVr+A\nOme1wlwOTKjsUFInF4ULho5Ny8xehBTlqxUUyIe9JFCqrW+jkEzEUBopqTCn\nPb7aHAgS3rOrG0G6pSZHgBm+0bYQAhshe1kR+ZQySjQI1Bo70jgj0cJCeX29\ncjOT\r\n=cxih\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZKRKzP3RDttpUx6TZNDKtJvNF9k7OcqtCnfMWqOTX/AiEArw3KcJgb46UoCDyVaNK9vTiRtZxcPP1BbqryzJf9tjw="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190730140300_1564495477155_0.5685393265176582"},"_hasShrinkwrap":false},"0.13.5-20190730191834":{"name":"@accordproject/cicero-server","version":"0.13.5-20190730191834","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190730191834","@accordproject/cicero-engine":"0.13.5-20190730191834","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190730191834","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-0XCtSi0Cs+41/LNrJh1PakX1VZzMpbWXtrZ77Oc+XrSFInbNmyFpLiDgIwfpNmFkH9ZkAocgdurF/9uk8KoATg==","shasum":"c51451a350eef5093a6ea4a9353eb1b5542b2852","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190730191834.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQJhnCRA9TVsSAnZWagAAt7oQAIczz5ItZWKpfL4HUYHk\n9dKKxP3rqvIFrHBzspEMOiDM8fqyetPRZ/Wg09Z9ymDmlaZjG1+LRK9OiDRo\n0TARcRzCr/KT0cl9xpjAEw/CcZh/thDQYsmsMnnWruJfP7/K9rFXGyOHZmnP\n6j6W4ilZ4om1u9+Ilakdof4bmpo5O9ifqhamo8Y0bFbKCtJhLIZdFPNCmzSY\nYxh23NB3iI2YMoSh5I6UNTcwLn/Y7JBkvySEL2fxmszoWhiKPmn6BeznBmK4\n/ByQxuA/z+IHEjTymk6YVtSLXEdvlxpsv4bifrdR9bzH0oAhHxTer+PhCFHP\nKzaWyHErk69k0rXCC4B+X3Cj8eiQw7ZhSS6jymn3OuSrai4x/R4UHS6ts6Kx\nHDOqA7qtg+jy48Kqhf3RCAB827r8Pw6i60mZ9TjpeL1h1RjbxSKWNbolVSTy\nV3xm+/gaD4cI8XlavsP0dIgJGYhMbIQjRXRgSHzPDTDpwfwb9nlA/BKbBE5p\nhOrGp9PaL7bBHShK6RJvGvjTn/PeGlRyqEjJhp2Cg8fuHvUqIKbCcfwfNVWN\n4sVhJks1vBoUL7zH1+iOVNTN0nDyC9A43Op1CzSHEKGcOiY597uWiXkEqyVe\nAL3QkYpGblWKJjmPB+sB5V89rmZSfNjtEdNgaFmdIJchlOqbrO2TwEmvFEAH\n2GX1\r\n=mo71\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDK7i7x2Y8dwSDnYLtQ30390tqaqJVWWZ2wjYyuymWr9AIgbEEenib1iebtdnC6MbBrGsY25gVJ7/YVeZPJEgbJgzQ="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190730191834_1564514406754_0.616151050852028"},"_hasShrinkwrap":false},"0.13.5-20190731075819":{"name":"@accordproject/cicero-server","version":"0.13.5-20190731075819","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190731075819","@accordproject/cicero-engine":"0.13.5-20190731075819","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190731075819","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Ts9V9GQRuqHKuNnveLRoff7bKLytdGjexQ/rguDKM855xQGqweQoCZA+LGpaPKenbpONwMabjdkv7XbB1L09EA==","shasum":"88920c47e972095b3ba8d5ffbc8524da9c3d6ff7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190731075819.tgz","fileCount":33,"unpackedSize":111611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQUp7CRA9TVsSAnZWagAAxzcQAJpZvv3XOUUcDMQws08k\nf4Z+74weDUve5o5HyZVI44W5P+X5SqBHZLhRug9byxpkn9Nhxia6zd7VDHZE\n1A64sZ2cBQRu/ibr2BSIMYOLKVEBpN7xtYQl3BE4mlGjrSp0DgymzMgzxR2o\noeNLh47XzI62DB3MjTl5liOJPvrPDWgn3R+/UyATaUxFNjY4dSYAOCPRWDAQ\nWpAT4MBNxKN94W3ntW4Tqo9PSr93/DxNn5sE+0Wdoqcl5mJQuJsyDAQB0kIp\n4zprtQ5hdbolyMIAVR7XJ1Ta4zG4lmflkvTSGTCCS5n7X4a/Ro0O5O0p1hm4\n9FH+NafVVQgE7IKi3henr66ksg1GaTwcVi6ySJ3Fz5c790M9zp437R+CNSgw\neTsRoymwOZjxGiBkkI/Y9jft8baZ2oYj0YW8YdRhmWwScQOzgJS4smwhWV25\n1dq+1XL/L1QtbUtI3GnHULPprebwEoqdDKvWRG0xyMql7ipQ40BAZ2rFzJH7\ncl/aqPzNb9tqsPmgMP3bsuAsIcV+BiI32hpaN0RtgvSUWN7AIyTxnQXsNdSO\n3rnxY13NOG3ndHnUfVfoPMfbLJyIhsPbDN+j/906ljdNRfyAOtuSnRR+bQlS\nKzU6roF1ddcU57eM/zHBcwgeO4Zm5h7ytM4ZOyqeDB6mmGAHGYILxEV0aHNd\nxjfF\r\n=lib3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEy0cokGx6rDoZ9rZOsGlOv1VsVjjNIaUsKIz8a3vlaTAiEAvmz/JnOrigNASCTHIndSvvOmhyXkHyfVbaf4c5WdeB8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190731075819_1564559994414_0.7431844956823264"},"_hasShrinkwrap":false},"0.13.5-20190731080052":{"name":"@accordproject/cicero-server","version":"0.13.5-20190731080052","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190731080052","@accordproject/cicero-engine":"0.13.5-20190731080052","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190731080052","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-nZVz+GA7pAVRcQI9x7SSPCGaNmuG3Y1VZVqYd3vqB9Aa2DAKQhZp52MnUmXxLNXUC6rU4JTmr74xY0ijyuqkPQ==","shasum":"e12574a86095f54c198843960746443d5a0fb712","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190731080052.tgz","fileCount":33,"unpackedSize":111611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQUsZCRA9TVsSAnZWagAA5w8P/1EAlmUYrpPQ5g5KwZ+M\nfdwCjgBSV5UcIgI+mz02sC9v5EGvHQROfvhh81uh6KmnUC7IOUsCpHBFP2Po\nFO629VNWCftmyJuTq+b4Or0q2WYF5qUaBK5BRzdTiwml0UioXBRDdCagrLXv\nQUW1VYNZJrpofx6qKGdithP1r/9JdE3tqI2eEc4AHFOAREcjxN/v58mXooZP\noSJz9ZDJmZ4vnqp6SnVSG5GJHys2Fpg5ScQBLTXjNe9t3Rv7AgUve0POC+su\njrFZ3+meOfKGZy682Ke5MXM3YcZLbKAVTY0JV9YuzoMZdAvORGXd8raMdQX4\npQsGErpA1ErMFpwSfl4pGKF0BpYr2J9O2wh2ZGKzp7QxNQBk12MWlquO/F8C\nSYqzZ4FE+ImORSnp7TCZi0z9LnufuKMuugd7rK+cExV/l50XKU2Exx4sliPl\nZW17HTPXsAOqc+GEvhHPQYfjNJVwDKhemZ4eKrX0bpcQ96qMGw3va0P4FUkv\nUhKxVZOVjtQh4pvoQ7jzsjotNasjhQEpIlXvR31STKh671noOK/jVSn1Uh4N\nzBTyMMxmzO06DlrrYHvpdmg52O8X1mvyHFZueNZeMpayZ79ZTna9MoPqVPer\nNRwoVXZooyNXpxeA6VlNcIS0OhHxZvye8Q01m2RaQOW5175BScvYTrS3XA0S\nLg6f\r\n=x7cv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCONCepuaUngCzF/Hccr6RUo9bJyFdlbAjocr84w7ErcwIhAOy8oUXDxGrX10cHU3cQhQVrE8ZMFTcSBxgAau8xyOpR"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190731080052_1564560152432_0.46631068798267084"},"_hasShrinkwrap":false},"0.13.5-20190731185436":{"name":"@accordproject/cicero-server","version":"0.13.5-20190731185436","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190731185436","@accordproject/cicero-engine":"0.13.5-20190731185436","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190731185436","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-pkDGBvhKcqD3k2iqGA+5+tHsqD8ccnu1RCD0JRXe68zlmnR3EnBs7rUWd/TUGv6gVx7yGLtpR5/W+Sq1dGMugw==","shasum":"1128f09d7f857f2a8ae64f8bfe6567ecfb41bc87","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190731185436.tgz","fileCount":33,"unpackedSize":111611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQeRSCRA9TVsSAnZWagAAKc8P/3/VrNwU5/TcD7wRHEFn\nqaq/k1PRAH7Mp5CngDA0InvAtBsS5i0XCfd7uXD2j4VysdiEhvKGU49/EQQB\n9DUDtDbTuEfqXPir8RE3Lz+rNNHh4KkPekdId0KQjzoRfLKXY6p+LRYJOyUD\nBvIgP+9kQKt3H0Lg4Y0W6L3sOPTc/qF7WerAOjsOUp6FrqIFov8kroyuDYM+\nwa4ttOvCwekULqc4CQsdfeoLsOtmWFnHB4R7UXG1uJTct7RteH5+Db9SmyO1\ns82ejcj/x0Pv0I+6782LzVz4s6N7Ev+wIy2H0B+Y/cTh9Jvmz1NspPOlD2h8\nuTjFv8kczQLRIGuZPz7vP8qw3dErdbITwyjKh5pfZ3jbjLdjS99hupV3zTde\nkmojEYOxP0ZDMMrrRt0cyDfWnLsepwCbL6DIInqi/0fyWVgRoLlPSoZVUL5r\nNMAUvhfKrfReHHu+w1cVqr5fkGPKZ/opct3NtNHsitzFVf3dEt5us6MCvFfW\nQTT2OeBIU53zjRYv1FnO/idAaflke/SHKY89guXu/vL3NjJ5rjTsIo0ZYUgL\n3ShEonG6o5kdSXR8U50dikeYjSPR1Fg4VE3y+3T473hZW0DGi7h0pYxtA7su\nSXUW/5j32XvPksAt+xkBZYP8PirPBywby9T7pdYliVGibkuY5P20dMoeA/eP\nh7Sx\r\n=W8WG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIATb004ez0blfV1RZ4ShSMZ1+qY4uNEmID+GJtjUQ+7+AiEA5Dd774SW2evRBUa/0CRPy8X6i6ZqfXBJVuFBRBHEwSw="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190731185436_1564599377988_0.3261886520358479"},"_hasShrinkwrap":false},"0.13.5-20190801005403":{"name":"@accordproject/cicero-server","version":"0.13.5-20190801005403","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190801005403","@accordproject/cicero-engine":"0.13.5-20190801005403","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190801005403","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-/Eq5L5VrFJgdhxTjivlmhFtIMIgj6iWu2wnmoNH7NrygMgcX/8bc/4xK6Yzg7L0cjdN4cal8kqS7UXDTpikT7g==","shasum":"a28416aec1c0102ead18d681d2aa949257f78d0b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190801005403.tgz","fileCount":33,"unpackedSize":111611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQjiMCRA9TVsSAnZWagAAcSYQAJbYMvngQYdqxdlsidjA\nzGEmba++Z7Emds6CDVamAilefJYpY5Z2TkcxW7G1eu9fkfmVmQOWkEk3GsU4\n5+D2WJ8SxSdCqtf+LmD90NFNeXidB2uoZr1ikwTSaN8+nxIkg/jP7J9gmXiT\nHUuY4N5WRJb8fzf6W0aF45TID2fPeCI/iYYK3muCFhAY0Nm7NkDMUd0iaQK5\nubDohqZQurkTl7CRwRvdrKAyJeWFWgm16iIEDYbNm5ZahPOdiEPpFkiREBeh\nHbs5YdrfbEy6WYD6wRlbQ7Us59S7UqV8VqbgmQg9R7VczSF1NjZ+30mQoIAE\nxvo9pZ71PPlvgnJw7IQtbLMlyBvz/38rJHa9ryHQyfqtX6oaiEjywk6NGPWS\nYZJopePPt/xAsGNnoFmmf3WoRSrcpm1Z1ZoejDnQGxbPzaAsZfnyQZ1WVCJ5\ns3j3RlkbdXinp2i5yNaRtV8j5G+EybX6Q2fXzYCkvewa8XZw7UPkpIzl1waZ\nV2Czzk0QerE4jtiIf0uAR6PAYN4R9kxAR4OeovTzLaZvAOwdoChcpMP6o1s8\nzA6gRIhkPS0A8tCO7jToSp1rAioBM8R2z5jWAgmachp8rByp1rgx3LC0Mdg4\nMElap8RLIeP+ILGipEU+ThrNWfGbdtoSmE8Ls+vZ3aUEuCKCNG11EG/Nx2nv\nHFdF\r\n=JJrb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhJzOinsPtVXvHQ2JEbSDgi0it007nwcWyjzAb9b73ggIgCD5q45BFoC7JewAI5qFVMYkuulgRDo/abYr1Ky0eA8U="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190801005403_1564620940138_0.05997248320976656"},"_hasShrinkwrap":false},"0.13.5-20190801011735":{"name":"@accordproject/cicero-server","version":"0.13.5-20190801011735","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190801011735","@accordproject/cicero-engine":"0.13.5-20190801011735","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190801011735","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-c6KK2HGVYe1zb9TQao0vOWFTIOTrqA6LzVJSPPypH5MKTUholB/LAh9qGY0SxUuCoQyGe8B5LfIHWN67ZRSr5g==","shasum":"9dfd969c878498518aefd3653679360d43da84a9","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190801011735.tgz","fileCount":33,"unpackedSize":111611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQj4PCRA9TVsSAnZWagAAFEMP/i5jRATc4TqtCuLRM6J6\nuoIPu54JqnpytKwSNK6h8YuNKJZXw3O4ZH5h1Ngr6ZVHcL9hkZ/EhbINpsNc\nkz03WNSlVBUfOXrC+9Av9s6RjzxUxYn0lD3wlLJd87LNJtd/epRJkWOz7XyT\nh/RmGBlZWupmo23i4O/iPLWLlO6rD60RyGMHjy79cFiFyJ+kAp+L16AO7/HW\n+Z66uXIIzBg1yAuvJy2K6LmRUQdUvpykVZlk6oU0V4LdZDvFssfG8X3+nnAz\napRWyf2u0JoNHCIn6Vc6psUe2l77XljP8Q8sx+oXGA1OuAQ7DArFHjF2s4Zr\nDUvCN/go7H3Fr70EcG74SUhbmgshwjyq0uDzJqTcQq5Ye0GrWWaFhpODqoI1\n8+hbt76XSWWhbHMAJiLph2IL44lGAHslM15ubKHUmlw1EEABSAUKV6w3/hoC\nH0r0R/6gybcAnm0IIeZfpdMm0PF0KuQ79XlC3t0Yc3B/niiVSgzHp0QuY0KS\n3rulEDWljXDNeCHilHPsXx3g6cshLyNOakQg5Vknfv+Zl+u5ggRqU2ZZwycN\njudsOy1Ffh/2faJCeW5C7a5/wLhGQ1jH9zfNJaI+h0IXdHH4RZxkR0umElX8\nUmo+T1gTGa6iU4lbCns2H2siDVaxrr0dOsRZszzyaJ/7XuKIJiBwUcMAoChh\ntsv3\r\n=UST2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICSH5UzPaqX4u0GZcDFprni9YG1gphzKQn/T/Mv06zRUAiEA80AuhTEdhSjjXFSHkMSK0sF3i5BrpZf2FIQj6CAaTxk="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190801011735_1564622350329_0.10284466787058055"},"_hasShrinkwrap":false},"0.13.5-20190803034616":{"name":"@accordproject/cicero-server","version":"0.13.5-20190803034616","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190803034616","@accordproject/cicero-engine":"0.13.5-20190803034616","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190803034616","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-7yIYqy1sVaT3QfyGDi/OOEdgL0whfDsGAaJPRBue6Coh1nsMrvC3WtTL4ylDpnO0WGAHLRxYnx69MHctFUQ5Iw==","shasum":"59e94cc86fb28eeb6b3a910d4468b0cf84ba6d23","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190803034616.tgz","fileCount":33,"unpackedSize":111613,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdRQQ6CRA9TVsSAnZWagAASkYP/0soHWxSwfE1JjwTrHlY\njGS0QZ4tPd+jGwTJyvO0OV6F7AAhEP4nIxlITkW9XRZ0urNw8rIMo7obKZbL\nJr0howEGtWkRVpX7ADJoiuL9dLbOWnQB69IB17snNPs1O3/bxTqaItbmszTa\nILqiVTgL+NRBVOYywR3/Wu6cUGw4JHKtMr0NkL8QZQctcr3/db/vtNiD6beS\nDIAFNGc1f6AiljMPVbRJpD2G7+sN9RolcJWh6EKrILZjALi2Wv3ATN917j9x\ncUQQss3iNmgvTB+PRu1IpymbVLdEts9RY835axLL6JwpoZf4AsIU7XqIlFi+\nTBx+3N8KWfUVhz6GPA7jFmW3tBA780dOyL3b41O/Yo3kqRUOtl28KEUKBGEL\nUa/2edhd4cXNVfT24TcgU/NOV4WGpWVqcJ9JuvvZeT+6/5II3NkfmFcvmsqM\nalSR10tRvFm7sN3fO9kp8X91z+D66ewd5ztSFIV4dDKohusbPO4pnpwuyhCk\nMdwgWrPDN2LuhpCyCaDtf4fd9KPb6of4oQwUQK4iwxtDC2BPogGKuKW5/y05\nAiFdcvZy20lsNZGhDeMnaudgpZ8J4G0gTN6kKs371uWgBDCSHdEce3DyAQ8w\nLHgVAAfh5qjUEnUrNfbB+d/fRqOx8wOMlxV8V//9KYennBkfqCNq8fEllVj0\nSpsR\r\n=1+qZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsbjnwV93lT8aWNc7ktbVcRtYR6rR9yoRi/K3hZqpTFwIgH+3iVyd0533ENuuMfpHcO0a3Ib0/Y6g5eG9ZO6Q0w9c="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190803034616_1564804153628_0.35834139518050057"},"_hasShrinkwrap":false},"0.13.5-20190807130647":{"name":"@accordproject/cicero-server","version":"0.13.5-20190807130647","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190807130647","@accordproject/cicero-engine":"0.13.5-20190807130647","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190807130647","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-+m87J2MroHmtRomqr6IWzXgnreddhvKPStzoCUwsnN2ALSB/RSjZgmjQV2rpZbtxLTWCJtnGGmkiP5sT7YxVWQ==","shasum":"535e98e3e8f3373faedb37a325818dc97ffa9b5b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190807130647.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSs1DCRA9TVsSAnZWagAAS5gP/R/yZAK+08wSN2MB0viY\nQn6J0rqF3awCizbAoubg07Hh0XXl5F9jZyDC8tlVxsDP3hniYKhLlQ3QhMAo\n/0YOL7MBFKa8x+2IlooYg9GmhVqdoTfO7fAcPPmRfK1HeKyvm+LJeU8AMUK7\ncOTsP/uKbTKIgbysH8pSwByCR4rai0yxbntZh2Wrn/TyHFrpiUvOmteZuwaT\nzKHthBFOPJplRx+PeuXUkaM9AR15Xr1jXMJwuOFMWjg7UReaFWsnqLokUQsF\n6yrVCWSu8ialh4QjK2s7a9VRh+qxzqlVmWghERKRJsU62MGXR/eAc84Q/A+g\n8V1CLtW8gHbzRJ2n4kCawHk/hhMDaE7wTp0221E0k1ejL4eQEXPuMsTwyJPw\naed020g0vmk3n34MN3dLQOZT91kP5MX/md326lxLp5ovao3q7ykHFpIo9Ncr\n8ZmO14LRwMIbH6qJXYsvO6mpQiSJNZVIZdtI66iBJP5Hinnt2HVB1pcSJsak\nifotadQu2YzYOmFfGJcsmP7c0BdnWhzrUIwW2j0wtdh9dYmLnpJYy/4YsAQz\n7DoNSNWNgh/xzX0bcHuBH04fTqd0NyUydfssxB5zAJ6PdlyKZoE37/+8zolZ\nuZ8TsM9Em93u9KschPEGRDVbCbBq+uei6ElkGS2ujkdVB6qrCa3Orq3Wz5cp\ns6Tz\r\n=W1xK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/dCBwGOJtBSx9Xu4V8o6gm5VAR59CL6AOSRJG5Ddr2QIhAMJVtvPM5qpcUkA21UDefiNsq0av9NTOzaZsBu+wT5Kr"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190807130647_1565183298322_0.7316539767250809"},"_hasShrinkwrap":false},"0.13.5-20190807155532":{"name":"@accordproject/cicero-server","version":"0.13.5-20190807155532","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190807155532","@accordproject/cicero-engine":"0.13.5-20190807155532","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190807155532","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-P4a59hGqmUESBrPjfX8n7JB8kbqpeyJi7I/tRrS0SBi5ajsdmydX0DnsUkkIzQbDR64TMF1F3IZOrEcY48CCDQ==","shasum":"e74135d0443c7ba8232f211d6c026ae953e685e2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190807155532.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSvS+CRA9TVsSAnZWagAAdZ0QAJHJwjHcAoUxjxCn0n5K\nr8ScH3rQY79c6juScRnmYlVu5LEyrKW7b3AA5yRqnoYoSfMEJB1ENPlBgSJx\nwtE0+FLZd/QQfLJYcITbwD9RCImGWa7gq2kWeYVzJkmBbKPoZcbpHObeVVVg\nx5Ea7/B6XQFyhsMLR0ebcRAHvmn4ngAgFXS2IK1Q8w9dllmTDOJUh8SURSA7\n0fXeRPlr3rfIaJctiMg6prkUSGVy2hwcagdgRTs++CwX1BEvCxHatA3bNx7e\n9cb8mdoVMnll7H1w4i8XtnJaCckEfDFmynPSZZfzSE9SRMMZKMd5wQOmHJ0D\ntc+WYvoOg58VIc49f7V/70GnlOHCoXRZBgRDTQ31oOUj9hAN75u5r246wI95\nJI8W1QGaZXio48o2LOYPRoOtLePb3OKQNiuMCmIMdtHQ47ZRLCeyPUNPOIOs\nq3CA/QUyuG0cq+sP5Bvhmf6x75KbrLKXkZ39/Ly2zchn84L5Nc/HWD2SndFF\n8N1SUK20kcsigs9rzNIaFRFcCQBDqnvGHxsp3I7kVfB8aQIuDNmnzBZPlWj1\nn93r+snkGbssnkN1mDDK2/ylcfdztmH7YqHIq3lgW9A9JlNYd2392F+etsP5\nX9V6KaxZzX4oWqxTfNNdG5OGMA0TXY97vfH2JWUucbMK+NeNq6j+oz0WL0rQ\nHSdb\r\n=tRey\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGpHrUBlRDSufYr8Ib+v8bdozPbY55WJMEQHHCQZMHb7AiEA7lunegiFQQBjjWRW99Kk22gqHe0Wb0XQirySSQKxulY="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190807155532_1565193405876_0.6938216916892903"},"_hasShrinkwrap":false},"0.13.5-20190808163923":{"name":"@accordproject/cicero-server","version":"0.13.5-20190808163923","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190808163923","@accordproject/cicero-engine":"0.13.5-20190808163923","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190808163923","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-WQAyntrUpndOTMA4hEsiOSlkeu2vX8RHfaYaFBRk9mwZBI01O9bQ7Kxee5pt2o4IjEdDLwMb4dUqUwWD5tieRw==","shasum":"447247321355cd1c0c986187d2d82e4d26eb41ba","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190808163923.tgz","fileCount":33,"unpackedSize":111613,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTFCuCRA9TVsSAnZWagAAFlQP/3qHYBoOjpgYzJBZAYYY\nifK3RCJBYOGOVufH7Goa2c6Bt2/FOcun18bNzGosCJGp1faCMlAX4HXW8Nmf\nBv1fN7RQT1LK5ltxxaplWmjjLO98OvEq9RHiyR1YxxFaumnM4IdoIcqaOpA3\nmd6WoRy94jnaw5qB8cqmdtTWI0t4+OUdbhNf+TMC6COIlH4zZKK/bg3JJmcu\nvWzzPMchZkjwL7fqNaeWPayz5iQcPDURkku1FIBMOxyilgH4AkgRgALNJvUv\nLtIfVw0h0oWo1rKu/4W6scbF+ycs60LLRWTtGSHnjM2Gt9gN8wDgNYGeEb8i\n8CM4/zamQBt1t5/VGpOrE6CaksPmL/6/DnZbSkwwbyG1R7nldkUhffWvhJ6U\nEZVU0Mo7QuQX6ISQ84q0dLdKfqUQNBMFY9MPhn6St1k1KfrQMzPiF5S3yxHA\nP7aLgrI/xXH/ASWbTppa0jUq9z9zUhqX8UMt4LxL7sxrH1HwIwnhcBzh9ifL\n6JV2k0CEnNXqvCAsUtRouHnlL1YUVbMkC85QDQtVjYwQffz7VsVewCQluUOA\neEITdOS/KL10FH821vWlq6cnbBzUPIIDPmZIOoQS/czFH3Roq1xxzpUWAffO\nqdljI3o1AmXBSJSz6xuMuMSYNarL38AFhjaPy35lMFQUGouW2ubTixI2CXgz\nz2Zs\r\n=IH2f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGR1aBXgaUg4FsJFCHdH77P+dv3udnkSL9kVoqSq03JgAiAZIJzn0yAIT/+pWrKkQAx6JuE7+Ps9xPedwWyj/H8FVg=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190808163923_1565282477290_0.9927450086253535"},"_hasShrinkwrap":false},"0.13.5-20190821154927":{"name":"@accordproject/cicero-server","version":"0.13.5-20190821154927","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190821154927","@accordproject/cicero-engine":"0.13.5-20190821154927","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190821154927","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-OVk25vX1MIpBDHQCryCn06zjvzy/OGhLBzbhiE2/v6hsJpCU9k3NFF8m7o5ouzrqrdrzjZ/TJaUSDZWwGdMagA==","shasum":"224095643d364a56f0f3d562301f7975dac022f3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190821154927.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXWh5CRA9TVsSAnZWagAAuT0P/1ejS25MM7hPPdLVM1F5\n6E7h+hLdILy1xvNq8dzQjkmGj7DL17GvL6tUrkT8PJTtFCToDJP+hlUckNQ6\nGMzi31OuRiypOPXOdD9YXNOEy75wwTglpLnRlFeAnY9OsMPaC7Pb9bdpxTk+\n5SzbWbqaUfgGc4AEhzzuQOmKOVFRalcDWNtyvh9JuG60rottfeLuzkg3VQ+G\npmzbTjzs/mD0hV8t7GxkbQs/3QHXte15XaY/cWXHqdogPLWy6ZO1hxzGimBh\nW1v3uqymj2eragWbTQPxqeQKbHRxzw5a3aIkA5Le83MQLQTdUUn6gO9Y4l5y\nkfPAmUzOmtcczqnOGsEZ74t0AJQyhV6giQC4RYOiPeSbSE9epZ35PNCw4WgY\nbbZvWL4TnwAbXWBg6LcSPVFALny1r0SIpUeNuQEnXpKnSVFVQXcxxA/Lud4j\nnT+RkZL080IWOC7QPudCDK2oO1dkz5v0u49o0g1IQBpqAhx2FM3Thofw6A0c\nsJkQmvgS6Ie4SIQ0roP2pGb9kM+uzItkj58qgvI3k1RxGZaedj6PEWp/aaZ4\nbx5ip53dvNIUc5eHdY+MCy62Z0UXivihMb6JCHRLLMMBMTMEYe9p9UBknZ9z\nJfB9RwY531i68d3FZCx+uHPrcawYumTBoX+CbroiVSUzZFkHXn9rVIMmPMpe\nm/Zw\r\n=lt0e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEhlLgLN+0huHkQ6xY5h4Yd5ER7XbMMORWGqSlZtniusAiEA6DhQOdKQ1IqaSaKvFKaJlUwUiOiK/J7Hr+hJi/IJOho="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190821154927_1566402681179_0.6425616255628266"},"_hasShrinkwrap":false},"0.13.5-20190823130237":{"name":"@accordproject/cicero-server","version":"0.13.5-20190823130237","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190823130237","@accordproject/cicero-engine":"0.13.5-20190823130237","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190823130237","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-ZpcA3vd6uyeZE0JeqcrWjTJKGTWkPAXWuD8HMqN/1eFbyXUoO896hWNileuzaCkY7oUfRXTFOgGjXnCMYYIzvQ==","shasum":"3e10b8503db35bffe6c8ed4b8452a80d19a54055","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190823130237.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdX+RJCRA9TVsSAnZWagAADjIP/1D4wdEnFS8P4uNffqqr\nL4IdG6D7hxG+mFrwq99bGH8SjVwrUCJABF/NR9ISp4ixEW60wX02JPuJVMiH\n0b3LYoEeZAwFhsiKtS13Q4RiErjXb0eE9FKKD8VK3cUEpnwa3zVusjd9VNu0\nGUx+PGvslhqZQFb/lBXZgVzhomla2oWih6//tmGSCQv2OJk/+FBrzDkXjplb\nDszRi6I7sIU1d1Ct0dMNoPbiAZt4FgjU2Taa85tatUPysT2u9v4xRvmZMHLh\nWBBcgIn2V/n1V1z7XceNtdY1Z0iE5vpKRgENzKVCksAbAAeKN94mB6Ky7YJ2\nX8TVVinkp+hftnimBM+jbFTflGFISsJRiJHkICcr1R61FDB7IhPxPVRLffuy\ntcPdpVjXJKtPqLnfrMjMXTvr/elKjRpRlkQUGk05aspdd/E7Lehrphlibp5W\njP82ksOfL0r2yM6A5MbQfEC3qYbHaqqoW2G8C+7jHhReUpqRzvFdFyFl4pTQ\njhViaJJRFgLJisOH11CdqKcukFOhP+ct8rJZk3BeVAIwo+9jAjW9Nkv7b0HV\niX0U5M/Rdg0ZTV3YqnovDNAQPIJotnSmSn/FpQxiHBxV7w3xTCSAuFN9dyoJ\nCPVAhGZEPrvPGxWUbiJBF0HRd6USmgnxEscvKHDOrDljZ6PhEmM3DjfmrVyn\ncR9/\r\n=VwAG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7Lmnhmmfx28MplXMVvLa+DcILAJyxi7r2+0h4GSqkxQIhAIcrv2FR7i3xJ9ppBWcOGSWghbUHjwEUnMaUYhbUvzBa"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190823130237_1566565448784_0.10974903560876692"},"_hasShrinkwrap":false},"0.13.5-20190826174644":{"name":"@accordproject/cicero-server","version":"0.13.5-20190826174644","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190826174644","@accordproject/cicero-engine":"0.13.5-20190826174644","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190826174644","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-iUvyK6LR3bUGv4R1ky8qdkmo8RxH24pyXIr+jAl2onyoM/SLvGW0/G4IludMdiwdQAhqmND8X+g3zHZY6kJUjw==","shasum":"6d4711953b8a8cda83626996e681c5d0ba37bf9b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190826174644.tgz","fileCount":33,"unpackedSize":111648,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZBtnCRA9TVsSAnZWagAApEkP/3JLEtXTvUBdgE6ILA0a\nBvgOEyZ+KmprHJDIMU32edkgpWH5bgXEZrpxECPWdgbCGt71hItD3tAb+KJV\n5MGJtkiwQuXBNWCJ+uTeGOfpG4nByU69//oXaZjqNIPvp41iXfMFR6lPcIhM\nkf1Dd1ST0tI1FL5VdeCyQ/+qB6aqIHGNs6QwvftQYKtILjSRVT3cpakyEeZK\n5Q1BTjKFX/3CQkoe9H7VQA5qCe5TTDQDNsa0PLn4mtyiZETxjqC8z0xLz5Ps\nGwAhx0o2NiVgvp3MEUKTJaEcz1odo2ZzabWtrkxmiZdylO+SXukihnYCpO1G\np1UVQV6HZgh3oiK0inT70gzOizwGpzfmCtv6c/6uqRQqo3gRSUd5Ake5bE+B\nWc8e92kM8QXAYFb7cphMG61hqU/cCFXoMoVgNE8f/E8q69gjrST0jmCTr0Ih\ncERC5oer9+sh22QvAEH/jYzNF2ccTZ5pAQ+UC7u8aeudlb1AFG2l836FeMUe\n59jNOsbTBkf5mWM0ofysEhY7m0znR55stTB96nA4dmxufGRvnz1tm6EQh87Y\nNf3Ch3Z8CGEU3T88tqkRsGmCAt1u67iGTwT1JNaURBdDXWzxlhGMuXDI1ivb\nUGTi9D1y6bFSdeyvdVcAVdCGEm++UArNe+LUJsE2gdQbZGYaSkBUl0JFWovC\nFeRS\r\n=LrPp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHkDouOwD1yJqYJE1dkWeY3dG/at6xCQiQGm7tTOB7VDAiEA6SGAiQXwvnagtFHc3dXYdIGoRbrRN+gboMOfbIAaXyw="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190826174644_1566841702464_0.5455464455144408"},"_hasShrinkwrap":false},"0.13.5-20190903194104":{"name":"@accordproject/cicero-server","version":"0.13.5-20190903194104","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190903194104","@accordproject/cicero-engine":"0.13.5-20190903194104","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190903194104","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-WTCpOqYyoR2Uv5FdKviBRU0pjxumFzv3Zpx5GEE5X9TskLa4mKJzyb3F2rflsgez0WJK3i44OQTk2kUVsQldGg==","shasum":"270f08dee498e84876789fce9176b38227217a1e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190903194104.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbsIeCRA9TVsSAnZWagAADZ0P/0dDmrkKu7oVMs8Rqk5v\nm6EuQzeN7RHejWT+CMZw8FlpwbWT2TxTNyyifZCa77iCA1l54XVw9b9sOTFs\n77R/CSsTnLA7Ow9VX9AUskCGAicOgC0Uf2pFUrpyI0QFnz4+BSwwyG5bPHiE\nkwd+gj5CbRTGIPAtJEc2yA3QR4W7j34lGz77vExKJBhPBBWofj+UWSAlT0Ce\nPzhfUq2kRtnXKciZZcfJXs4dUbYlUtSGQbHqYCX73ivPYaAesR8/TTs0JbSN\nX2/o7/8KBRx5lzppb2soq9xBPZwODjXuwwubcwG02u1w9RF4RDfdWdQGFTge\n+QKet5X1JJgl4eWG4Qw5/edqa8S9foxi/TqD26WE3KOHUuOT27Wv3vYfObGi\nzf36scLthOSbPRLfpyeCtcUFmqFDJIAedcfu3MXjR5u/TNAvOulxShW/Vns7\nDcr0uFGq+lHXmrHwE9cHBKABb4HV4sh7MyZZe5UnBEz+uFWWO6ox7p/p1gI2\nf+TgJVC3BuyAm6FKouz/VQ0PQPdqBW9k8uUOgHtivaJxcwUJ7pxdTyq/okyy\nRCUam+EWbm9mijeqnF4fqmIZQK1Q7ws/VCJ5+YQxxqvxYD3AP/u7DcCwYetF\neZrzM3HIWU7TsjXf0Bk10rKlHuMMQ9DIreA56Amtx+SHORAOIelbFpT0qqwr\nxx6i\r\n=KEAr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5Cn2op3VEXjgCxrLtbf9oFKqq9WZxj+N5CGFzCk/A8gIhANMWlD5Ti4jTci2O5CZup753egWlFUCgb0JEjoyLYVTw"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190903194104_1567539741449_0.8309987763474951"},"_hasShrinkwrap":false},"0.13.5-20190905173843":{"name":"@accordproject/cicero-server","version":"0.13.5-20190905173843","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190905173843","@accordproject/cicero-engine":"0.13.5-20190905173843","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190905173843","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-TI4uBP2QyOxBogWUB/qIDFU+Nsiv0/7dE4Qk5dqOxT2fVV5JIL1VT6yU2oCwJiJYg633ejeCQJMg6wwZ6/0qLg==","shasum":"fd98b94551d79c4b943b3c65e3c508e085d21fea","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190905173843.tgz","fileCount":33,"unpackedSize":111648,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcUiHCRA9TVsSAnZWagAAItQQAJG0zIU4qVrhccQn0XUo\nsT6zKv1iiy+kRXRS8UGqEZILovNh8YGvMNGqMghuFWdUI+Vbn+tV2MN4D/co\nYtJnUzg/qc0DL4/nYcZzha4Trq9U4IFT0ytqXvv6nTLdqEL6z/1/naof0j8V\nShJnR8f8qP2Ivciugn4uzR++YhzBPk5gW93gCo7vk9TmO65OYaKoMyG5QzYF\ngarCC8g6ACTS1nMe/tYChh/CBUMA8WWXXc9QqCd6v470soRMGhyGjK+PoWae\niJDx/9C5+KGwMdjEr0vT5dxDH1saAAuxZYet9AoRBa3kgzeuuCplLMIHqQ5Q\n6k8zIHSPQwXoM6sRqDcOKjJPJ5zyNzfGIV7YWI2ejAmn1kh2q8jyPpl9o56d\ny5Hrzhu/cfpSl2gkygu20txX/xUgsRy994pDxyibQp0X7/+3L3oFAqtIW9pe\nEuIdZ2WFr1ERiirN5ime/uVRC78ohbAFreDXxMWCUoIBqhMhsBxWNCp9VTxT\nOZYIaiHOY4zrkDaoWreHLHle5DEF1kU13sHyECPE/37Rj06aGJGfap7C/7ZR\nlUYyCorI4beTyT+2xgOwUjSIaLXq/X67qvhcttYVhlnRNeTP7s5FudKKlaEB\nTWwHVRZo+hfoBlZal1CkSM6aLSSjT1MtiCX6X6/tdV9fXUy0RS8cjSZdwDkP\nmmIs\r\n=IuZk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDp8HeLFSd/8qrgF04xFN/KhFK6rGNYsAtibPANYW7nuAiEApkAU3PrKmmq19Dj2Fym8vC+hijakgOhB4VVINnIzXqc="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190905173843_1567705222911_0.5481718860835376"},"_hasShrinkwrap":false},"0.13.5-20190906001332":{"name":"@accordproject/cicero-server","version":"0.13.5-20190906001332","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190906001332","@accordproject/cicero-engine":"0.13.5-20190906001332","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190906001332","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-p5PV0Pam4Y4qnfyFIiWYl6QAA7gXxb6HLlyX5xe9/65IcPeiByQ8aO54bPpJs3dIdFK7DLkIHbp3FZ/N4An+aQ==","shasum":"6fde3036dad0148c840dddcc0c0f3c76b4a1e59d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190906001332.tgz","fileCount":33,"unpackedSize":111647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcaULCRA9TVsSAnZWagAALm4P/3MapRdqaAImv/Wh+Muw\nbHZLpQzZJZUpYJ/p2n/EnVzmlo4d6s5oMd9FXimZevfJMIjkzWJ8/9qvzwhD\nKzex7WBQtpQVgew+UhdSNpeysAUQFFgZRFakuL2csMyDlIYIg9LNdyuLxrQ4\nm25WWByNaqv2k9cl9JPrMQ8QqyZagag2jKjqWs6+nKB4UqZaqTrfniAUlZFo\nJuw5rmWs7r+PEhclH+g3PwBs45r4r+j7uRP9NKXvq/8ZYW0cg4mpeBKt3CCI\n9xfbsgSrp9knZVhh50SxlFAKAgz7H+3OzqXLiNtJ/Z8/Q97AC0PZCZhkaKb1\nc0GvYKyMZZvcH/RSz7apZ1SZGoMzIL78pgrspIBCHB32nGsu1r4gZm4Da33K\nnUc1Pto76CmnhwRokuh3dJmO2KgPnKhy91WB/0HyCqX3MP+KX31LJGMW+L5a\nz+UlBRk2//cU1J2OaCc7ZfOvaapUJaygYGxObN5mSH/PrUoBzw/PaaY1bj3N\nLRd/OSDbSdrbzUSxFd+LDI4aIKqjVo2y4lZJjUQgKRdP2LJEHSSfMRzsRrMC\nGUTIeVK90wXPUicdWSn0DmCtb/+zDMAc8w0hxtLioVZ93hTZdhmwhazyjYWV\nSg7Ku5HP6Hxnxb+KYi1/xky7knXjBn75VcFNNKH4996u5Ie24qhnjUryxYvS\nQv1b\r\n=0y/r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5AbKYq+uFmi6Mo5lh6RN6TbpBG79dhByMF/1txTcEwAIhAMxgnoZQPXToGJhcD1+KT9pnx442FZOs8Jo3a6XrNcAc"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190906001332_1567728907286_0.38417118676706963"},"_hasShrinkwrap":false},"0.13.5-20190906173523":{"name":"@accordproject/cicero-server","version":"0.13.5-20190906173523","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190906173523","@accordproject/cicero-engine":"0.13.5-20190906173523","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190906173523","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-NbjYzW77M4J6aMmiANIdWuWzGPPeMsX9JsOxQuhnhDcjfw+hWBvFw48pVvMXyx2BFIgPudvsfAroyhTy48dwSA==","shasum":"595c5db57f9251cd2d3a313cb37915312e4367fa","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190906173523.tgz","fileCount":33,"unpackedSize":111647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcpk4CRA9TVsSAnZWagAAU7UQAII8ZI/VL/5YZf8kRnLf\nOcpI0A9URFCEQKz/TzelxJF/rXXq+yYD/iMYOlsN4bSEs8uxIrR6aNzBs0EP\nqaVZNepbuK5PDiIhIASySCD9RQhZQsBo4xTItYJM5PI44l5ps4w4cBWjpSCz\nqwZM0P0wmW4j06u/zxWLQtgQUE5zqGqFDuYePEBBYtLvbHKxy9e5jgpbCfri\npywKzji0aowlcfp5+/TraLcHQBjB6Ki0GqqgRyhq2Eck1Q9ZW4VEHxZaEXwK\norolA7aqIw2uI/1emCu1SE/vsIpgy8qaF0Zobu5RwwrnyouZ1VPPVR1BptbR\nKzS21fdlQimr7UD/DtbE8Hk8IFRRUb2ww6ie9JKLoEP+01Bm6WwLDXzCEXXm\nrGxr8//EBO8wCKpIPeDirW1bNKsm4dlxq+0ixFx9kumAIxlhJPTYIV06oaek\nAHA5L3ldCFmZdrdtCXI1R4Hqv68KKbxAmzVafGjpho57ikesSPAMs21xqECw\nx38wouUuTs334N2mEUix8cRdyospCNdnDatkxJJ/58AZf2ZKzFKOOpQyH+Uc\n6wNyleLWPKudZHZMg1I/27hdce18I7ZLYfuNOxuQKnIBGJZyx/XlHVsIhXYN\nqC9auSdV+F09MNDTARlnUdHhlVCJUwV7FTyUFNmAmcESquO89BHej7LH+o48\nTRv1\r\n=FW1T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHfCADE9bQ2FBgXJf+/XUmXWtx0mlPA5JtCJ9mdh0GCPAiEAguhlRt8xNxuKvh4UB/+8Ttc2MMiqJZ0lVVUpB/GILGQ="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190906173523_1567791416395_0.9040078137332126"},"_hasShrinkwrap":false},"0.13.5-20190914214832":{"name":"@accordproject/cicero-server","version":"0.13.5-20190914214832","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190914214832","@accordproject/cicero-engine":"0.13.5-20190914214832","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190914214832","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-bToYlqCQqlB692sK9cgr3gUkPJd4coj/XowkjSyUFvShvCqkQtt+KBJBHlWrXxnkxKVVYzP1PfV/LFWhiFhOjA==","shasum":"6ce33f1c487879b447979df4010430579240f4d7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190914214832.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdfWCOCRA9TVsSAnZWagAAUwUP/jOGSllmSaZWeh+KYthW\n7sUDdBqnSWG8pslSSKznVqpMKY5ZH4O93S7/Opwa3P+cdWdcS6JNefJGRwRu\nm9FqkbbZ5RW+exRPNgXrLHYL70iihOMwZ/fkj7Sk5oHvYEApF2bRJd8yxKVO\nAWytddvqU6Cljl/fySXXsoxMaBkLYwrtiGWKzue9AeIS1RPlT/dOhWh/U6L2\nojmsZXSYA180RW5jel4eeqrS2RQoX598NLxeE1ffyonmeyoRJJvmgwNcroFY\nu8iO2NehVGwNwl+KHA74ofT4QEXKhCztxwp6zqG/jVGhtsoPlBVfssmq8ZRb\n8nZVORwO4Dagj4hFL9deGGxuh6Loi8ntLPTHb74zD+Uf1VPR7GOoQR5RNxfW\n3XrDxhkj2heBqRtmp+xp3oB8ACmw2EJp9sNcjij0D78EhvPTI3OKSC/Fuc0o\nO5RdhLmn4n1JOPmIgZMQB8jcH7cr4WrtlGD40vtfwfeNoc+O/EW4PyShcLKM\nDmVsBx6IYZcfkfHCMzhxT+Rgi1McG25sTNoi/piOyZQjxts45H4Ms6naamQI\nqhLqTpYtsquxd6RQJ78Vp2+P7mMx2D38aC85KBD/ubUKH22WzLMTqa0/NzTQ\ntAFR7QceJhuj+mwlIzAF6qNGi8xeHGm44+ACdM9IcX8qB1xMNj+P7TC3CO9x\n+Ww7\r\n=mxoE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOiGUktk5fAaoDT4O6n8Innvjp0fcxnt/Ae09E3KoaiAIhAMuP6zH/OotFIM6kGM0Fud+T2bqs+jzJSHDlMRkShQ5Q"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190914214832_1568497806067_0.010672214292663407"},"_hasShrinkwrap":false},"0.13.5-20190918123149":{"name":"@accordproject/cicero-server","version":"0.13.5-20190918123149","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190918123149","@accordproject/cicero-engine":"0.13.5-20190918123149","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190918123149","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-4NDALZyqxwkMHw0YlR8uklz1m7auxjx8CNTB+PdDan5fZAySihxiwct1mDXGHdMLLfYdhqual3GdPTEu+hDz8Q==","shasum":"7b46a1279844c548a8b6891ac884efa8cdd18fdd","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190918123149.tgz","fileCount":33,"unpackedSize":111647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgiQbCRA9TVsSAnZWagAA48AP/2q3wlL9flNscWfh5ksR\n5DreDRHfTFahcEksXn8UZe2pX4taPGVTjALCCY7ZwpM61xGXf0O2ZnEE7wm4\nkwx8l7MPFnrTkBnjwXxKdK+LSpmqQcMFNox9hgiBPKDou0PR4cQap0bJt70O\nqY5se//cp1kRZDf0713NmENKHGD9vfAgeSOYZwkgo3Z0rGdG3vYYDrrTDC+t\nG+dpodA3pIVP3jOJpv0vVcR5IRR5119bdWDpRO9Ac0HaUDeHGL72CpFwrRRz\nvQnM3k89dk+sPaxu7eqATsZ9XrbUIhhCfS1sJZ/Wn3OXYGaKpTJaMU0R8aEp\nAVbG1n9FctPkSE4PbEdtOk7h5//Oa1xoF//pcHb1snq6yok4w1qbfwCYQu2x\nYsy7zWPGdOPZVI+tWuvCDP2TCFqozcbkGa6CiQRck1hsbiu1qWX+q/6Yx7pK\ntmEq2WpJG41MIUzrz4B2FQ80DXQZuEufWb+zmv5VVAuniGVNiYfDj65IlDEd\nfrOWlzyt5oXJ+aI9WdWnmOecLsPEpUtmBpJ96cbW3FA5iWYQlYL83WlXLV3b\nkuHrVLck3vuevtVr21Dnn2KkBQJqjHNHCd90y+ezdIelGkl7lSu6lzUUiOhA\nPnE60nllGvKbPkPhFZM1c6qDkI69bsjBKiveuoOt8wN4HugIYw+biwoJlivh\nUJ5C\r\n=Qsz4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAutKQn8rdW79za1ETyOSUIdr2li+9xUyTMpOnoMEM3GAiEAwof1PCb8n8GXin7IMilb0OYSSm5Z0HjyiUdlxxnEWM0="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190918123149_1568810010742_0.906978512263418"},"_hasShrinkwrap":false},"0.13.5-20190918142838":{"name":"@accordproject/cicero-server","version":"0.13.5-20190918142838","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190918142838","@accordproject/cicero-engine":"0.13.5-20190918142838","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190918142838","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-bMwHxENpcPG/5ZuuKCrobmHuKMqI+iYxAsHR1G4gjpvHOHWXHRZPhQ9+tABSaqCkldRDBliPNATM3y9gjlhUzQ==","shasum":"fc3f0cc63102d051ff40961bd470a45ce24de78d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190918142838.tgz","fileCount":33,"unpackedSize":111647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgj93CRA9TVsSAnZWagAAb7EP/j5x6aawHHq729cRH2E4\nICx3qUEYS+J5QM5iAjvB0DUkDvIXSicp+ciZe6tAeyoOwmj0vNxAeqPATMmu\nyQvmw0jqNnhb0Fk2n86Rh6bjWD/eiXeN/CXCj4eSW5VQiTgnfM2h1pmx2uBy\njtHKt4f5q6wRtOmrwYcdMkk6WbsKabjEHESsMh2GEPrfZdrUSpregdqm9j7q\ngvNCw0oOyAn0uasOa9JeGVuRcvTxygwGiYwqVtnawBNFv4AVjvAvP3aHTvaj\nPl9GIxzljR1bYU5T3iy3grZZqJZ0+vhxEY11Bmz6n53CElrKiWwzy89vmqHy\nB1AFUs2C5V7IjPUWV9UqCK899N5AmRi0TqIfcXg/xgzIiRnYeJZ98SCOI2+l\nZ5mR5dOyBSpIWxbflt3vn6Ud6NvPNiq0ZD/WAScvNVazAV4F6FVtbTNaf7/A\nRiId5/sgK1Tj16Xsg9dv2VLewrliE2lcYpmcHBdgmyKdOTfhZfCpUdySzJ3f\n4xeUMu/K6umZHnu3EPl0ItUvLkP5pOxypzha+bPL/bwlMgk1nxXIFJ4C1rPX\nfLZ/DoNZ5rDGO+g+unt8IwS51+Ur+uWlayW6nKT0PFqhvH4kloI5QrVJbYSR\ns4vGQfbejJAjsg+AK2H61RfmV8JMwU3cKE5fd/LjTDKjmx8vz2Zs3gwNGd7P\n5YjZ\r\n=TR3w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKsswMMxGqBrQlPrXY4kA8mltDiN9wN5uLoMyshAac+AIhALhe/rTxDSxMxGutbrF5jixQNIBNra2W/Nt3aJYhZf8R"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190918142838_1568817015165_0.5209304926740184"},"_hasShrinkwrap":false},"0.13.5-20190920123630":{"name":"@accordproject/cicero-server","version":"0.13.5-20190920123630","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190920123630","@accordproject/cicero-engine":"0.13.5-20190920123630","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190920123630","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-czIBUF6VUvUxHi8gje5ssDoiELBKd0F75X7//cR2gMJK0RSB9dPR+5UUiTYkFrgzA7KsvuWNRqIUlAxuE1o9GQ==","shasum":"bbee7b47f4bd1563bb3218158c2cfb32efc8840b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190920123630.tgz","fileCount":33,"unpackedSize":111599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhMgjCRA9TVsSAnZWagAAFZgP/R11Pj0gH2GaeyFtmK6Q\ncPjFlfvQJ/gFKmQeOZVAcTlIsIlZzC+IRrdMnO4TnM52PjMMf/bdd0qWDhug\nn5HwtbEwgXdlTOHSjASN08RN6XJsiOukXd/bb5Djgo4ceRrPaTE6c+fN2aK1\nRv7NcI4+ImMyqroFMmhBEwxTNqAQTPQ3C175FULL6qMf7pqVExLvV5Qs65En\nRRTLM1qQ+dAMkqp7HJRKmqQgn57EyonjA84HkZidWAlBlGFxO9F6YMs1h+4K\n/iGF+N5Z3opYkSmzWxAql3NXjGW+tyxuwKZXU2/3pz1dh7AcCowk9ZzCCO5H\nftXzypK+yTQcbSUt+/6CiTeS7Zz9NSSUP1bPAYMxJt1dc4AyUXSqDOUxN7Y/\n0eQTNnUS/uS5suyVVNTLYv6GLg64OoZkMK1paFdPpdwulOFqzPNX+lPbd9EI\nCE8EYrNeQzQrPQkIcG8DcMCmq+gusHuA1jjcXJQkTpYMnKxVrTdqCzAXNrO4\nDLCrkkuDFu3+p5myUXbbIU1zV4bhKajWDY8ebKPF4cNm2fO9l9e1sDmCxuH8\nelnVVco6F2qr9PQ4cmNkJrk978ul2YRwCJUVAcfBQ/6wDsfD12w0/zSkxVAI\nVAQxCYqq92w3almWbKibq6taTDR0ajJeCKCZR6CPM85LhaZjf5fd8vw5LrdQ\n1JUA\r\n=qitx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwWd6TcQ0ghsyR+oVymYtuvG/rTo8FRwHK4P+m+qu0LgIhAOvWiTzhPLxm4BXAJAY1j5h9YFQzmBlJjQj9m8m0805N"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190920123630_1568983074612_0.20546679911112742"},"_hasShrinkwrap":false},"0.13.5-20190920142824":{"name":"@accordproject/cicero-server","version":"0.13.5-20190920142824","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190920142824","@accordproject/cicero-engine":"0.13.5-20190920142824","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190920142824","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-FYmEzpLqt6TdqMAlZw0zJmK4oBE668LcclIWiJP6KFT9gN7Rz+2pF2dOpcgeanURhkCGp/jqitqsS++fy3IepQ==","shasum":"20fe99814aa3e0d8e11f251eef74e6d5e2de7735","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190920142824.tgz","fileCount":33,"unpackedSize":111647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhOKACRA9TVsSAnZWagAAoyUP/330IhKsBcMCp5d1c3ph\nAFhqaltvyATUWsPqxsuuCZOyO7RToyUIYhN4aHar2gHU+gn7AY+4Fbk6hNIB\n7/GFKmFqaV3YIqRwYs4tOM48Rr5bXH1J6NKPVDnFvM1RUMQUwgVxTyazuYK5\n9a9GH5ZZgLDo0Flu4a5NEdivDYUq2VwWLgOU3N3RhmSD+nF8mnHa33I7MG5u\nAQDjzrm9AtiDAi3ja9i6fwohrxYj9jB7qY2PqtCNCJWCRC+VKzNo6Dt8EYzl\ntI3DZ078xFUFJH6ABFN9zCwnzf0ZBuCFdEPFUX5gPQXaMGGFnuaJse+LwIrY\nko1LagvrNN/Fg3M3RqpQLzFJWIOS6DwifAmwo4gmjf3PgLk15VuNSiQvAaIs\nwxlbzSUMX64T5k/pzIlVRyxdOGG9KNPV3dZOKRGaQUaXzERW4cAuVfzhJq4T\nAqMscjJMCf+4DwOHYkVM0U6dkvUBQrZ6T18OsWexU7UfyPTjs9bKPy3i4l+i\nKeLy4vsA0ZpriM5cMIixp5/sASiSylQmdUcKVh9S+qIDqx4dLTrCxgygXc6V\n8P63dU74BcAWfmLkcZXitZOz3eDXqAwSUEbCMPUNcXnUh+9J7dFphoBsAERj\ny0acFA4DKjuX0nGt68Y61iOYcBWRoUhWoN2tqmiKNqx4HDirQTzRQV5kCDET\nA1X7\r\n=Z9lu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8zFI5xx6mh2xaagUsbk4iwIIVzl5qYKx3GjsVG0MlnwIhAJgQg2DVYVbN3kRnq1unyBvkrJd0D5BtiAwEQgsaclmk"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190920142824_1568989823893_0.7829569817040951"},"_hasShrinkwrap":false},"0.13.5-20190920165257":{"name":"@accordproject/cicero-server","version":"0.13.5-20190920165257","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190920165257","@accordproject/cicero-engine":"0.13.5-20190920165257","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190920165257","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-5o8Vx342/o+hvtgP0kIKPVSMPr3JYxhFu469a4rBXvHnsdAo3agBVTO2oOLsxoVPnlu6EzA9wWZh6SJgvvx+eQ==","shasum":"beb613530a0c38648c6dde66fe49550a3a6edf8e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190920165257.tgz","fileCount":33,"unpackedSize":111598,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhQRWCRA9TVsSAnZWagAAhWoP+wcHEfAlNVGh3IW5E7IA\n1SV47oaHJiF8oiAfevxyn77PoDBHLYXCEBAMd6lKFwM32SgOJLkdMJe6s+1o\nw6gyrDA01jgVarOLZLPIT3hKLL0TGxYlMmrD8J+PJefSOca/qbadZBGqbJVH\nMEM9kA0FYA0rATk2VGZYHzS+xcueshavGbvd6F2IWUPy5iHkGQtT3C/rIYr9\nYEVaiAJyVvBFVtRG9VmsHmrpqea+fD0P627JHNiaVkuO2BLQe1Bo9g1aIXW+\nlpB0sitiG0CvxTaat+S2zKozyr3Da7cnUrdczVUYYwdRAnmrfriZP0XgYQFR\nCwFhYIZZz6RcsrSd/wqTz9e9B3BKda6x/XEONLleXg/Syiz7WPtno5qWaF1Q\n+jb5fu1ZvOM9PxhYAUtJHzvLdqdlXbjXutbqPMpjg4SaFib41oj7mpMItfCq\n/hi+x8Cly7flVwbYtUogyhhJcgMyjTo07HcShOlIX6J077fuhIvqQKck9MQ2\n0he8wTQr+ZvQNmkzaEWPKlJRXR7/kX1VvaSDSsy/Dj9Sscx3AH26jUE7E1xh\nT2dcxojVGBgb8loQn92g2C0TiTo1Q2NXmpRCRYBpxIxyrkWCkygN7o3NfgRy\nRkIJ+E7XKSguQVlFn18ngWMlxMdvg0NN22vqrP24zSug0pTFIpY6i5VyjFuu\ndtgI\r\n=sjb+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLjct4lH1UxHQhMOhW1bBWCleEVk4cqFq1tLquaYJb4AIgKlO+dLH8n67pTC9u5gdNjvO/c8c29/JNPukuA63Mn1Y="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190920165257_1568998485604_0.29175211717707783"},"_hasShrinkwrap":false},"0.13.5-20190920185903":{"name":"@accordproject/cicero-server","version":"0.13.5-20190920185903","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190920185903","@accordproject/cicero-engine":"0.13.5-20190920185903","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190920185903","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-UUL+UGM1622WW01bukfZqDXXMvIQeOR7D4uPXP7aWhlEvK1cXRBJNT0FZfMKOlcR3siA8aSxGTwHuH8mnWo3GQ==","shasum":"9d350ff9692f105c98b304c90baaf7c5e0ef6241","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190920185903.tgz","fileCount":33,"unpackedSize":111598,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhSHeCRA9TVsSAnZWagAAR2gP/RvFJKYhZqy5QrDCko50\nF1A9NgwM6d182++eo8pgM7HRATJk6s4nSqWeb/b3jwZY8j9W3tBRU1LBESrS\n7rgh5jYhezxBpGwH9dbLFaJ8lLSPh/3Z7LnG/Vc3ORsqB59csIgMEEXoTXfQ\nbXsf/x7cSxh26jb3wAyTAjMWN6XLWSvH3Rq69LwvxxGsBGMUwaZp79kwSXxS\nzBWTWZLAugA6ApH5CRIYCEcALqxF2vA5YwGjbRqrb8SJHr5lhmhAG6jIIAJc\nrTni8EIVjEdPEs3RgRneTvlNSRijRTdMTiUSZwPfN45EtrzE1GT6YWIMbEzp\nE9ic+IRBrwjlehSY6e4cw429ES+qc0dASOcNQMm25KzE0qTBnVtTYdXVxBpO\nJSjNsReCNAlKUOMtWm4AiMZojmBEU5iRgb83q6397cq6w50MxdWa0X5LC/dA\nhGKitt+Th15OsFTxVDW8SJYd9QzcnYdf02bYZcIz0Or2ZyKvJ8O1glT1LdCq\nP2qbdFu5tHzUHFngwlH+Ikx5mh1N3eM+E6HQWOW3h0ac5vMWD25LZcA3HQhk\nic/QHlGc60+brfUKM0tfSMvsqTE4dRDn0IuiDCDP5JrpDarBlt3RrervsIwL\n2Ye7s9UOTmfUt+5P+yimPUdBRXgvn5uXYFtEZUUGtPLdGgzghowguZ5jFsKQ\nTn0J\r\n=U/tZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtTSfqbM2qyiDVBWIMNAUHcyNcS1gflUDDLOyItrmmbAIgeuTNaueTf6FrDR+r28hjzuJWgdMK4eK7GE7t7jLCf8c="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190920185903_1569006045483_0.6962995273209751"},"_hasShrinkwrap":false},"0.13.5-20190920200036":{"name":"@accordproject/cicero-server","version":"0.13.5-20190920200036","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190920200036","@accordproject/cicero-engine":"0.13.5-20190920200036","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190920200036","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Eo7CLXAkKxw1fmXxgu4SeIopNABMM/hBgsbsMjMFplHLswV4cSqGZoa53lGzoCgIhJT1r12/lZA8QSjWh2BbXg==","shasum":"214e4305b939a984b57709b62e382f85c00a83fb","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190920200036.tgz","fileCount":33,"unpackedSize":111598,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhTA6CRA9TVsSAnZWagAACHAQAIbRVjd18zZpuSx5AX1m\nrJN9bsl83/EVQAher4Aavrm/FWfF+rJrbe8FbIEuSI7ZjA/RYXNFfQH6IsEx\nrP6STwP80OKuSQMWk3Kr8egUyClkZyqnXRBQGzVQZzeh7GgQ+XJgdTJJhy50\neSkMm1OlUaCERHwuwr9//KXc7299BW0pyMfX/iP67gmNYTTPC03eVYsfaJnA\nQFbSE5AuLaOpNFPlFZjSQnKU29c0cVbRAPx1b4o3p9K42QRIoF83XH6nU1yj\nATOiNupebHw4lEht4xyzq3tTWtPvcpUHDK2s/X5eSYI1pTeNLCos9ljlaKLU\nrV/N6CA9hrKZZTTiYPVmZtFlnjeGHtMxQe2s9gM7Rucb6bDau07aBt38Banu\nWs/duwqDObZH+DdFvjDFGgBpvsNUhp68e/JNaQoieWCapn/oJXMMOeFq9tA6\nSQD2cqcRjpWRPje+xnCwHL/3fw6NcZrDRtldH2L3qYcNmHO6vKbTdpIDuwKE\nNwNsxUq7OKkRSN1cSk/MUDJLIIL0VXZ+mj49cSXP3sai+NPGkMYGbGaXP2+v\ni41l8nEWkLwbecXTN1uhJqLAzYVS1MVlBLbtkVI49wmHU3Pe65ovWV1rnOAc\nm0wHUmIgGgw6aQhsmTyJ1/Kag99KQok383LzbDofYzObmLW+c3fdWrj91iDd\nGHZ/\r\n=B7/J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICs5cx0+4ZZPxGrdS5FpT5mNhAko/bMsV3+7K9JFML5kAiEAuQs0N419QjZZCBi4TxKVoAnSRzka674dOjb6IAebUH8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190920200036_1569009722069_0.4163785280183734"},"_hasShrinkwrap":false},"0.13.5-20190923231816":{"name":"@accordproject/cicero-server","version":"0.13.5-20190923231816","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190923231816","@accordproject/cicero-engine":"0.13.5-20190923231816","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190923231816","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-QqLLCi0n5ovDtrdNf8/QX0DpDLUPNkGSIzCPZ0EJLLOd8UGstYUrH4Zobe2vXopCggrFIv0LQZJ2f6tu7qfTkw==","shasum":"58a16caae3ec1ccd3f9c45253c8b3f30fb118b39","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190923231816.tgz","fileCount":33,"unpackedSize":111662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiVMPCRA9TVsSAnZWagAAlsIP+gMVuSucl0OA+YoxYYsd\nY4cZp80Gzkm3LKvgq1FNriPoUBgEZV5i4tMijbXO99INjcFzpQ0zgO1m5XJa\n7b8TjZOW9os4Y4A0cIAyrElTD+vbvabZcGeMYl3uzc60onjokIc6A7GKLGcU\nRXTvEoe+aXztsSessfNJGl1Uv2sGzS6babJz+mWuzOqQbZVsOIXzzCNkh6YH\nv8knqS3TQc0gokjhQ39pgysjqjp12xFrWt9BdOXMzSrSIjhCEZMH9MEdaDPt\njpEq7qJx1XaLp8xjiJjTCNGWQdNhHOV2avxoNsnTY1vQKfzDAuvbe0YJkbYP\nW6m6I9lh7qTj/uWqXvRda/rHEnN6sAbnMuimsjV5ZeCNzdcoh4hRk+iJ/rvU\n+pPsmfTRaK3C5XckCEb6KlHii3AvF4eGo9Bmp69qwy7O4S0gb7svy800lc7r\nfdD0ALf8Pw6MZtZg+JTSDK2ahPIATbpos+03z1G8rtOtrcC6lFyBBZlFPH1u\nAYAmVDmCPCTeZ31hAFb5b5o5gHYYDcjQbH7p9kadWDpTYl4HZx+ZXb69RvfL\noASk8jEdOGCGOHFl6dRP1OgikfOYY3+xSR5ukTEcdIgvMngEJLBLtDTSQIzj\nM2Ir3usVQoxDDF4I+qQT+R2qBYOaMj3zt0GbQQNnr7+ygvvwqDJMF621rqyb\nIj0M\r\n=GSj9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDLJ33Nnz68YNjkm3TkfBijLP7EIwLslgWIKAnAaD8ZgIgZyTLgyE/8GTxKPEFrRhUL5Cv493OTUTPQ3tzOodKF5A="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190923231816_1569280782731_0.2219194983689028"},"_hasShrinkwrap":false},"0.13.5-20190924005130":{"name":"@accordproject/cicero-server","version":"0.13.5-20190924005130","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190924005130","@accordproject/cicero-engine":"0.13.5-20190924005130","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190924005130","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Zklt26/BHqCeV6i9wa6uRTpbhheECek7mEJ6Ukhrg9SsqAOXSHW+qYeFhRDx+t0ctgovQWh4jmBKmMqQV2irdQ==","shasum":"c242da2f0bc799c1ed8211ef34c7450076f8b199","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190924005130.tgz","fileCount":33,"unpackedSize":111710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiWjvCRA9TVsSAnZWagAADHkP+QCIpjBEX6MVehctMkIF\nU5utJ5jRoJed4Sj9wQuH5hTP4iZH7kqcqOM+o424PhoZR9bA2WHbWN61J55Z\np/5nBZ4zspP38w8uu+rqlt1Buhz0Gz5G9RkxlwRrliYiUBfIbIO90jx2+ggz\nVI/RRr4+rygZ7q++3esz3iMl2ym//MFnWHTl3Z3VSmNHlaXmEGGrILd9bFmb\n2EP94AApkWNLyjNYZtfAWxkZvIHMzymGc2J2HxMRC9kkLSuNkAPDjs6ujuaY\nbjZMFPRf+vc0HSp/dca0wSOKuXVuteKzaBfpDplm8VqgoH50BhZ2GEVv4P9z\nwsOudhWkRuSgbrga6ECVvCNi5eQIn4VUl146NjyLDLAD46Z+KK0mx9vnPYzF\nEeCIs0HYM5URGW6swwJMCwUWzMdqWpgIqTYjS62iYXvXEt+AotQ6+ytcC5G7\n+GwSWty5+pYKs09sgIeF2Bc7KOz5iAhU/zoDKINMYRh2JlM9Ygswwc9VhfKy\nCoCq63RG4ayZUV5De79iK8V31Fxdr3dY3QlNLd3k1U5Lbi2AjUt5aitjGRv9\nWIcOCJ+f+65cvCQy/Z+Mt71YBtfjWaNoOYmv6Ndr9aR5Nhcg0oAN1rJNZ/9T\n7ox7WWN+ZyYdI2ZaRFqtm7hzMnibjqiDyZp07dbA0T8tjWG2Yo6HGPJEJ3VI\nXreJ\r\n=TSed\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDYkct99FqXlD1rE4FA7JPctxYxvOBvb0iRXrdZzEbQyAiEAspc0Zyb4iUn+K5sMND5PbWuoGIqrH3T90r4+dZpK5Iw="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190924005130_1569286382938_0.9960450707530029"},"_hasShrinkwrap":false},"0.13.5-20190924185435":{"name":"@accordproject/cicero-server","version":"0.13.5-20190924185435","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5-20190924185435","@accordproject/cicero-engine":"0.13.5-20190924185435","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.5-20190924185435","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-J+N9mhTgfTzysLtUgFSsJ4M/0nbVGK0qL+7MRk0zicb5dl7dQLex7+Ehf1U4hzyufszNg44Da0jpe9WkJNmu5g==","shasum":"0a3b1d7f301639d1c2986e2c7987231534564685","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5-20190924185435.tgz","fileCount":33,"unpackedSize":111662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdimbECRA9TVsSAnZWagAArCAQAJN3J8sS9Zvv4nDxbgnE\ngs24hAKKkFYDBAZSgVHtj7vmeqGsx05fkStrD2YwMcWXcZG4Y0CwDkqy63c9\nOOxBLmjmXjlxqffwgB1YKB5n0uaMsobGZ82aiLW46leTy8EpO9SkOYWEiGx3\nYa5TnimxJ6ehbnIuznu7PLIGn8Nq0EHPmD51/OTWM/HtfW2ISOw5Jc3dqsex\nDDMX6MquSzPQchR+SsW2zkBmdcAW0FWWUhVx17j79bo+FzV8OzV2HNLTDBtZ\na0Bll8y64Ns1JZRET99LKVOnYqSb1YXSVCUIYeJZbro88LVaEnvlbOBukE6v\ndHMl8cL3DryRxCa8oHRksjBjKS30dmXzsqEef9UraYg5VvxuovFnFncd3oft\nBSWMdSkBYjn4gtx2LJn88n2Lm/Ov3NtAvXInwI2ic3mTMsYNXyu9RBuL4ST+\n0GH8jJzJ0G4r9Z+lFD72V2igfAyC/Md7pQSoHNp8pW/ILxhISKUca/c3lMHm\np9PxwXuCVe6PXmgtyDgE/c2odwPWbTrTQCeGkc9JgFN46obanQQN7i5Jorb4\nvO1kbq5Kh+KrlUfvsgflMTX3CUBcAj3biC4lkKVgZFdm8layaMdmjmvrm6qd\neINcg2R8LNyeLkK6H5i1ZsahYoqiGVVCaGajOh9x95nEzTUT7sy8fInoCTEv\nm8W+\r\n=QovK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHmD06r0cPY1HTtGXSM+r6uMctyrHCJ1badWvaO4BV9vAiEA2UoTZHxtcPcpyJ6URKkrTKeFMXJpyzVRVmFZSivusrw="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5-20190924185435_1569351363649_0.5032581297738421"},"_hasShrinkwrap":false},"0.13.5":{"name":"@accordproject/cicero-server","version":"0.13.5","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.5","@accordproject/cicero-engine":"0.13.5","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"_id":"@accordproject/cicero-server@0.13.5","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Ka+jB7zxREIoY2LaQVBqjhjZ5TiWvEjuNYFZ+XGqykR2cGcDn6YL/Tr6o7rop2qVHFqbzdhIPJtZxf/mFHMyog==","shasum":"643240fe519523165f9d915d21916cb0c01f706b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.5.tgz","fileCount":33,"unpackedSize":111617,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdimi+CRA9TVsSAnZWagAAS/EQAI3zm0xpgnuVHDjQ9AuG\nexcEoJI60MuKSfoPD4whrSNGpeQ0eOCeE6GFhoA1mn6vSToJAMvTinvEc5/C\ndOgbBtqIOx7JYQ+NQNrIOlDjSQk2pm2UiumNgYAVaGPqMpbHsqUdUgzAtK7a\nYJiTyYP9SZJZ6DaTQ05VuLxdJW6etnItAlYz8Y5XCdd37lRIoC2xBIa7i4TH\no4HEF3Ksx/rakRC7ae7Rbb2xgmAhDQEbREelZol9fpy3CjKJhdMOIsOMiWLe\nOo5EdHCfk9TcfnCGle0eO/t5aYhjvyQxK0Q5fyXJ6w8v4lMWC5S/mvM8YPDI\nYWzXFoISnX3W6v5Aaipuz1/TPT5mp/IkhB2hn43rbcHQLiyNUJXKmlVH5QDg\nRe9aq7CZvCJS6e3VpK8INh0MzYxppO2Fx5b2SW4onZDVxWDBwSUQP3wWEW2F\nY5zC2LYIaAR5d6wO5/UwSPng090CxM13xAHzaWmjjiLvyb/mrpgqJARBwdej\n1Zu3yj3nMo8rwGN6biTvzd7iNg6WRQK6GkjxO9ZqMZXumy1y3iyTnvoOFBiU\nKTfdvlDlznpxO61gCWORicHN7n09QVcMCy3i9+e7CUlIUE8W/rrF61y7pNiT\ndyt/8FhHT1BfbEcPUYkFCUjZcKnkb+CLItO0MV7pds2W6DJLUOxI16T/cKMy\nghOB\r\n=iaGr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGoWZOvY8qv2Au6Jlj+1gvI2ngHHKPwrKCI08WGnw4UiAiEAinb9wg0XP2YUNOAG4CawuZPJRCWknMDtGk1xjxIJ25s="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.5_1569351870206_0.15810478718657373"},"_hasShrinkwrap":false},"0.13.6-20190924190931":{"name":"@accordproject/cicero-server","version":"0.13.6-20190924190931","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.6-20190924190931","@accordproject/cicero-engine":"0.13.6-20190924190931","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.6-20190924190931","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-QPE4POVZoOsW3TGPu10nIsWcguUGxUqaO2VDRSU2EjK1C9EkZFxl0WJGLUBnRyfqKaCebrdCQTepzbQn5VmYig==","shasum":"ee72e43c37ce64a48e68839b70229cfaadd2b5ae","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.6-20190924190931.tgz","fileCount":33,"unpackedSize":111662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdimpFCRA9TVsSAnZWagAA6sMQAIzWa159VUKsducuFs1P\nUwoKlKmwqxYRvp3C8PDLmssDWVvkEyH5hXQ4lvVdGSyPjaspVH3ay6a2s38f\ns6N1VMcpAW7hCwZawStKJ9rytFdaTU6uD+cR8C+hQG3cYt4ASpwXFKz789dQ\nOD1ntzjvMIqBVp/qOhuPOurVEl6cGUWWQ02nIbO7ArzbY50BQZJjrp/cSBvM\nBuGQudipBE7Zk3wlHwzvEtZeSr4CgQyB39MKrg5UtnUuWKjad4iv9zFOffPF\nT/DaDqahwhQ6e1fAOYEuaHMqMls7xV+XvO+bO2H4C6XR4OhhyvM1lZKNJClm\n4+asRNeeb9yDUQNVJqvgr7Rpohp9Xo2CH8JC37YB1ckLuf88dAO6CFz2bA+n\nEpFpfC6rKDtwWHRyMlHpJnVbpooKh83wVwyEc/LxINb9NBEVMtJTi1pir+tn\n5gzykWNVC0rsSHNlfMvgnAARdvmhRtU2DJJ+QGjFhrQs2q6IQr71LLbQ+zOd\n3srb952oHcmTymPnk/eLgpDtM4jNYIE+AHkwzvr39TNhHQRJxVua0zTV2xnz\nm8cVpPUaZbkcn34tiVJmWC0RFPorth7Op53GcrCBq2ld5gTbDsabU+RsoqnT\nmiDHj7nIle2YkHHgQ10GSRVDCCZEheUxjh7ipBctKEASoosiQf3XeVuFPXKx\nVlsB\r\n=jQZo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFQodRmom1QeDIujd+oLE7+MlSoDiyUIafMQLXECZ/UuAiEAy8mqmUJkxAbpPvTpXEpIrGTg7IZY0xf2yBU4eewvpxc="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.6-20190924190931_1569352260868_0.23241533288883054"},"_hasShrinkwrap":false},"0.13.6-20190926012258":{"name":"@accordproject/cicero-server","version":"0.13.6-20190926012258","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.6-20190926012258","@accordproject/cicero-engine":"0.13.6-20190926012258","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.6-20190926012258","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-K2GCDc9ZogMGJkdBmhNe6utPhdhi76hS3gVOFtMIzQ11ENe3pd4ol5h20Kf7cubh3jMRZxTnEC0vjgswCEhpbw==","shasum":"edbd074d3c9b799c6d8720484d08cd7ad4013268","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.6-20190926012258.tgz","fileCount":33,"unpackedSize":111710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjBNZCRA9TVsSAnZWagAAnvUP/RkZYQfwkGHqhtxZNSUb\nK4UdxJLf++HfemBuDwAVzyyjlRtP/U4jRQSqd6tv5OrLjysWyZbS+/QDnffM\nQjg6vBtTSgRy9tKcxy3EJaPw/4ANcm5iPJ5Iz7Y32CkYKagiQRT7i0vJtnmT\nWckdhAZcsPtT5ElnZqfKPxh8pe6CSZCMv8jx6+DsPPc46iVZnk1QqSSM7vUN\nEAQUTkPT5aiPqGr+NIPNO/NzvYdGlvD3Dv6KitfByvhF76pLSnRdHT8ZMWuF\nP59ftAQbSd9gTzkmA6VSr0gydLFVeSlO93AkV4xK0SZq8OPZavMrdUNqa/my\nixYv9YaVd1XgHp1//Ul46TVSMRRWViQ159h9ox8tUtzZ0hz91If2LCfinjU8\nBCBeAcNmgjMlwZdc1cSuOzUaRT97urH/ex9JX9EudJVOC/RAx7B1MHFJ0CrQ\n8AZKodfSOurFdFcIARNfu/E7XsjwjtFfKkrDhwOp8c34r8DSYHg1tCRhgj1E\n+y9PnEg0QqYgzlvcDGZzjoDVXnqGdrLikGwGRABH+AdlXD1MPR7bM7C1WI06\n4CAtUTzGoUwTwOHfomn/AH+5BD4sB+SkBEZBhlla6maxviUvMqwUnnWnHTdo\nPWb64vj0JNWknazlcml2S4kmrcQ9cBgH0rfXtpc72A0dvto2WPupeQyDAXLZ\nhFCD\r\n=eu4i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC+hAJqutpOUuuuKcbd2reo5FDdtotpWjZVRHLOgK1nUAiEApP6KwcNgHOjQQapT2LFdzcyTEPOgUdtieiyvQPAz1c4="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.6-20190926012258_1569461080449_0.8720666760274611"},"_hasShrinkwrap":false},"0.13.6-20190926021916":{"name":"@accordproject/cicero-server","version":"0.13.6-20190926021916","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.6-20190926021916","@accordproject/cicero-engine":"0.13.6-20190926021916","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.6-20190926021916","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-gnN5QhZLGJhrciPc1xrzyjdnPcY4q2w0VdcKfmsotWZ2lrva4VEAcx7EyyJ8FSCLiu+DKZDqXeDwsgqq5CGiGQ==","shasum":"cffe8c234fb2c700ecb3e34938330972e368f5f9","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.6-20190926021916.tgz","fileCount":33,"unpackedSize":111710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjCCCCRA9TVsSAnZWagAAHVYP/30H6xXOLLmbSN8uUdgn\nYgSmHKedn4LXDA0qd2siRXWat+/kZcecZSnTDDoCxAZkS49inh07Tg8mrDMF\nAYUtO/b3XOwK0iKJyHXFKFC3czpKCc3vMW+fpJUCPEpgIcK2hZARr6llcRZw\n6V0hlk4DBScvxE6KJgFWwRXvRf6s1DxcDyHnE+MR5f4tp287p8VM9vBPj280\n4N6yWKYDAaKWkhqYLlya56rm/sGnDYXyL3mobuiS0MuLLu6oPSfmlBxn74o2\nNhJ+idpYFeb7pZmiqDHBdhovb/PNvfEEuFJwV9CpqKK23qR9yjanIQcVjqA8\nkm7CyPJVm7m/FLG3tWbtIPd5Hu0LB5oKIm0ruDb6Od58r38YYAAJ2mvEeDQD\nPCBCREAEdde7wUau/R/7WOfkXSNFk28yioZI7na8w7IUEjP2+daLRfF8DbTr\n0rVUQhY/nvZ/bOT0NU0XwGi/X7CAKtP73m9krS/HEQW4S4Ql1XyOQJNnLlio\nImggxpzozGaykMOSmXFQOgpW22vG/ahdEGXWQEsfxfrpd/w+c6PS0KUts9kQ\nq0VubLWzteSe3lEg1fP7gxbyZ8oYLSKeECzUNIfmfUYyywJSrhaTBL//fOSd\nXtz5i0nwwUHQ4BXdcIgePe1QC2RGBsrBcyD9SrqeB2SK/8Jp8AKzGHCX4q9/\nXlNh\r\n=cgiM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3r6gkJIGso8VI42xrHD8UniyfXYf9wyRbKTqnkBefoAIhAP2MxBfQWjd4eTsPBjwtzNctGnLzZmi3r5bqKLQ5DGF2"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.6-20190926021916_1569464450113_0.021713686850602487"},"_hasShrinkwrap":false},"0.13.6-20190926025012":{"name":"@accordproject/cicero-server","version":"0.13.6-20190926025012","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.6-20190926025012","@accordproject/cicero-engine":"0.13.6-20190926025012","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.6-20190926025012","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-htJRYnpjgSwhxyPO6bPirXhPBtYUBKVIqGWD46lnGYa/TbuCcS2C/OWG/VjWO7lYpMFL4aBzv8Uz5V0ip3vWxQ==","shasum":"03a87e1271e9b4d824cf79e5c4e4266c8d3c9ea5","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.6-20190926025012.tgz","fileCount":33,"unpackedSize":111710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjCfDCRA9TVsSAnZWagAABhwP/3S5l4dAxigqD4PPpQFs\n+jvqYX9KjhaMkA0V9xu9AaW74IkRY232a+OLqGOMfh9AMMi31YNhC61defxs\nPIeacvg3+VzhLdG4Us82uea2m/KB7LxEWfyscwi/4mxCs+JP96mdQNV7mkQk\n3FxGHzn97v0sNQpfqmAeh7gDd1pLipQKwL8zRrBtRCxOBd9aTiHeRK83rioo\nPA8BqapsWYjtIWJMf/FLbfCOf0LWQd64ifdN11a8OPBwqfRnPkm0sw/EYeg+\nJhOzO6+gdf8VIzs/FUF8imsw39n7KkL6V9W0gd4V7BtPXfZU5155174XBam7\nIAmML+skZBsKAMHpHiKGAhp88so7GGJ7ejkFqrUNMiYirF0BEDmiKWGOPHrO\n1MqJqFhfOJiZPdQ4yYTVDjPOuELTtmUCAp5zhSfQccyjdrTUZ+EgdDzHtZ6g\nBiqh5JTXtCywCqdCtMnEMGd7syJivyCxXHZe9gdcxfTgeVIv4Pa6IxHkfRp8\nCyMRb35m9A6ZwkMIedDp2Vd8Jl1lwud9voxJeQAZSLKWiut9spwFfRNL2KKk\nxjL9XlGxMNzwoZFMTR1dwhlli1Q6vYn31A7cIZfvp/TyEVW7vrr35+0mCv3I\nEtDbDnHY9ZSGcqBEP6Gorcx2Inj0crghfEVv9JIrdLtQyjIaow7ATGI8WPQW\n865O\r\n=cg3M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHpsEIfANOOMKNBuDg6aWR6Zhw3YlaqVXyAkBhsX2pYIAiB/T50ppKBGwWAC+ve/VnAHCSS/7s0NDJN3qO0OUw76OA=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.6-20190926025012_1569466306666_0.7641321459231589"},"_hasShrinkwrap":false},"0.13.6-20190926053858":{"name":"@accordproject/cicero-server","version":"0.13.6-20190926053858","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.6-20190926053858","@accordproject/cicero-engine":"0.13.6-20190926053858","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.6-20190926053858","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-MeJgGTXm7gEVDfb+87HnrLjHFhXNncN22jtHoCDQfGsAzsLSdpa7L/DtY1GoJkXMCY9wpnhAEc2UhVc9h+7IYQ==","shasum":"d3547d93b197cce4cd666cc67a749a5cb6402ad0","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.6-20190926053858.tgz","fileCount":33,"unpackedSize":111710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjE9gCRA9TVsSAnZWagAAZcwP+waRYTv3061cx3lOyHHt\n9e2eD/SWdNmYGb2ej3oj3q6RURyPPXE9SFA0GS4SLbB9r467OoCaqJn+/KPX\n0S0sMcmtmV4f934CwdSv1CzobVGK1aZKDuDny+7geJh7twTy9XjYyBuUX5xB\nGI2Qmf7+jMYXUvJIq033UHPp7fYeHgdKFkt2IoWwDfcsdTisv0IqCeb+fmEV\ngdlqHSyUHuzR3eoSdChun3fgfmCAI1u9c5Xd5K5a03iJZU1HXzxlChISCED2\nuTQcamyEgOtzWzc2yMKxsHTEvvz2Rsb7Yw6LiZGPZZpSKLQg5iHtI2bS8tSu\n7Wv6jk8e7CvSehCNhGdGGanR4GFR4mCnpQHCozU0E6GazIFW18yAmeDHqK7p\n8C5MhjTisbobZIFe9f5L72uOeMaBK4SoIsjG5OweJVw8QGPz77uFCMXp6DvN\nsJBaOHoTqS9WbQzH/MRIRTIYvY4Jx5DJNQc361IaB/PwU5btuu3sEJx6xelQ\nGX0bFevSup/kkOm9AfMYpva4rLkBz3LQHG4OQyH7amCN50Kjbkib4UvsuWj+\nsdj0CurVajyM3NY6YnI4AqTSHaV9BU8sdaFaMNIEeqXz3MBbljOr89m+BQYn\n9yVRM0SNkaBAyWuIH3WibhuFFogzlVTBFhugbqy5eeg15wU28eFCRXfjboU+\nnVJ+\r\n=epZB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHcAHmzNqeDUD2YdnkPJqyFerdRfB7pDQrf1Wqhi/9/VAiEA83X2MkiRvNCBGPU29cwpSfBYD5dA1vpKWScC6l3CDsk="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.6-20190926053858_1569476447580_0.4768073653778375"},"_hasShrinkwrap":false},"0.13.6-20190926164521":{"name":"@accordproject/cicero-server","version":"0.13.6-20190926164521","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.6-20190926164521","@accordproject/cicero-engine":"0.13.6-20190926164521","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.6-20190926164521","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-BP1WJQ6K6dGGaRBXD7rf/xEOJFOXu8U91FFmn0oyGACacfqzcrfVra9ueOUMbfHcOZawchvEC5eU4kKQ951qKQ==","shasum":"6bfb2fe45bd92785c8c78f46b7289fc406104e48","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.6-20190926164521.tgz","fileCount":33,"unpackedSize":111710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjOuMCRA9TVsSAnZWagAAIJcP/0EQMTYSmowVJUhqc9TZ\nY2i/ZvUQr0S131E17mRmpZMGhiq+6+9giUlqer1Am3KskOUnYtiXDtjkknzM\ntVTdhfRbPA9O/vP1IQNhfTml+uvdzw2PnKd4wGkiTZ3uL+qdhyzCY/KHeqtF\nfTiB0V+2KsCC/eXFmnMlo3VrmPmL0j4c0m7vfxt+HlU3bn9Zn8Uew3uYEanF\nGXg9AjBGPMmSw3ma0BL7yWg8WE1DHhHnbf6q9izDGOBdC0cz3PCNOChrZtJ2\nfaBLgiT7uqfVBRLiVYx+npXE0fa+Bpx5vgqTb1XP5ufinwIZXqNMSUOtIosz\nsia3a20CtrQlTH1kAS0qstsAxzNvcNxYayrQq3ZnA3VGi1T8vaj5Vkxuruu/\nqZ/8FyX4zVEMUqFsSi09uajBq/9kxVMaSDUu8futGVsvBzYh+wGlwtKDz1Qf\nzW00m/tCVgfduEk1Vr0avh4faDURd7XCb+Peg4vLDoe7W8ZVR1sLZwMUAqX7\nb5djeNpK4bnoEqlrHMaVBEKqE3K+8nwA/0+vaHgz244JSuz7i+HgMiSGhTfV\nxSkNZ5BC43EiGmucMHT29O0vcxHl56OSwm0+Wle+26VHUdCm28NcQQNQn61S\nKUSE6JvImAldiXn4Tey2w1wpL6HmdRXirlMtx6qlarRmV/gP47MCNeChpXfY\ni/D9\r\n=9q5+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvci3OXlhSjNbyTixl7j/vLFSa1yoGNFLz2brXN/w+hAIhAOuR12IO9nJ+CyDXpCq3YbIeyUynTQ1O462BoHi5cAhB"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.6-20190926164521_1569516427738_0.4975204820060357"},"_hasShrinkwrap":false},"0.13.6-20190926213818":{"name":"@accordproject/cicero-server","version":"0.13.6-20190926213818","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.6-20190926213818","@accordproject/cicero-engine":"0.13.6-20190926213818","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.6-20190926213818","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-eDP8ca0D/a+5iMjhIrQvpiod7ic6J0EuJWVnfLUhx5PSn+mp1sudjUUkI2nAzWKLgsUs0gXVa3TLpT5xdQvHCQ==","shasum":"25a0638f5351008d18cbb6ccc31fff8af49aa181","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.6-20190926213818.tgz","fileCount":33,"unpackedSize":111710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjTAmCRA9TVsSAnZWagAAlTsP/j2vrINy4GT3NcTu8iHR\nVEP4g+iGqDZNKx38GPChoyQ9Z0IdWxMFI7NssZ2Il93pKHgzHVUC7yNFSEvS\nbwthjWZgKEGdQWtQeObMPNrsUPFShp0MO+I3VSkeolVQj4HnTqbdG7YLx2hm\nTK7VbF78jvwt8Jm1HoUkWHZellGpVSCra02dB03uupOvZAVfbbfR9U1Iwiyt\nQjksVLqo9kzDxLtH2653oeK0myN77P2OwPn9AhRNpASGTaAXmD+UO50XJSF0\nC8ciU5YHCpPF5TkS+sH9mXxySN72vTZuwL92Np7QjtgGrbZoueNMpwTmkoXu\nP2B1yJ7R/AfCpDWd8Y1f5RCh3Y6XfofvYgIFu5sHN77302MIpXAGa/meEjYw\n0MUNo2g+AheFi65wxv7dRa9Jk0yuLtORST3/qf01Z4LUtyfiaJRkBYBvkZNi\n9vbezhNp+4QkwxA2Z1jHNUGdNpXigG8nNemKbS4fvVyE1T/IAeiLvOOqD+d/\nHB/GByt7e/GkTnLopJqKS/qJORRKM+DI5wAbuUlTGMcFjk48NaI9oC+Mq/Or\nqfPBI4sqg8oM3XFaZoyRqFg3Ntsn0oTFEFmg5SIhdGDdqCro1mdt4bc4rTW4\neDgkNRHOLGuZrhA2mwm12DOPYOptPQyKijZz9slQx1a54mS+puTJgT8An8aY\nldWF\r\n=RhKL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXA2uDsYN32XLn3bhzLjzcjBkqbcHcR1/1BDsHxxSZ4AIhANxmvj35cP+eV8IbZUwD5HCO/27/pbiTKcEwJb1LP8Uc"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.6-20190926213818_1569533989407_0.8512764960382229"},"_hasShrinkwrap":false},"0.13.6-20190930161058":{"name":"@accordproject/cicero-server","version":"0.13.6-20190930161058","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.6-20190930161058","@accordproject/cicero-engine":"0.13.6-20190930161058","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.6-20190930161058","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-pFemBv/RniNBqCeBnoZQoxIvJa2ijWc5wBIowzfrzyZWtQ/c+108nGFCMYnr5v16lc+y+CvkNhdVDDa7aJ7pTw==","shasum":"249fcde0522cb34db7e36e64d89c94201d7ce0dd","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.6-20190930161058.tgz","fileCount":33,"unpackedSize":111710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdkil1CRA9TVsSAnZWagAA9zgP/jtVQiLfJo/hGaJe0o9n\nqXwlLg7Wp01sCPhxafyUSUJiuo/aqPpPnGlZ2EUw63/wyNd/l6qI/KNHDno2\nEF+7uAnRETFAbtKhlTaK8OskYgsN5a07TmSp0w3YZLb0v/CqdWoIneqNjfcT\nnOCes/KQwEudkY3QQxfkPlksFcXb1hX+Csc8Tl/SmlmwXQo0j6xPFgpjCwKC\nnKNbyBYPkZUE5G7oLUmfEu1w0yZfoJLYL1E/QziK+n3DlYeu4FdaF5IXVLEv\neHHU9Xc7BGlRhx7SED3WhmsQcvNJFment7X4o57NnRNCHx8wen9i3HXaaqY9\nYHUSrYT25HDMNif+Pf3zNO03Q89tZEQU1dIuixaoP0zxbVMdYS9Xw1b78dVZ\nyN3xa+6n6uKIKEftcYPomtio0QVdfaD+Iaco2tYS3XsnhfnFbyN4UrPoqceB\ncYcR+zfMYEt/+qOsW+Ri0349H/CV71k1jCPx5jtNHgs7cS1cKe+d+3GQ0qhy\nlknDwi0xYVSM/GJEmtEH47VxlI3LJ1Em1ajtnjpa46J1VXW0IK63ouLOCW57\n9JMjhDMM4RaCNTZQL2UPGKggsDoTF4FzXRmu3Kmrnx6vRgaG4CK8hpCt7MeZ\nqszIsvkv4O0iET0Dp8ISFkttZnl5cqsj8hHeAbxbsJkgFKrFQLqMFG7s+Kch\nTdH6\r\n=waMo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMp9iXGUImzCgh+3Zgml5d/kJr/28MYn+GVjoADjFj1gIhAIPeuN6WQEeGXKZxvwMO6ycVVjnCcCMA4NXC7Vmprgly"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.6-20190930161058_1569859956595_0.5551457392190069"},"_hasShrinkwrap":false},"0.20.0-alpha.2":{"name":"@accordproject/cicero-server","version":"0.20.0-alpha.2","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-alpha.2","@accordproject/cicero-engine":"0.20.0-alpha.2","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-alpha.2","_nodeVersion":"8.12.0","_npmVersion":"lerna/3.15.0/node@v8.12.0+x64 (darwin)","dist":{"integrity":"sha512-n8ec0b+vW0ulCsYFX2uJK6oOfetVMG/d/cB3hbUnt8VIPsKnXPrYuBWrjG+xnZzg2JZEPvTGSMwTO9QfsfTTJQ==","shasum":"daa805c5f99f7aefedb73ebe61899290f5fa93e1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-alpha.2.tgz","fileCount":34,"unpackedSize":112125,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdkuXzCRA9TVsSAnZWagAA7+UQAJ0wcQcw2484OWEcdOZQ\nUzh5TMHy5LUzojo/EbjcsYnB1U+rqkmmHiXIiOKlbcYSuxyQxlIz9V2Z4NCd\n52yxeJ6gbkXAzS3WN+t8F3xOhyZFar6bU4zNbhq9A390l9g2XTHOrQxF0osm\nA0C1CiwWzvEByLzcXd6CJonkqbO6040xwaLG6zWdlClWLk1lJfTq5ZtDDGrk\n38/p/xxU0YrUvKb4z7JgIO/Yhdv5Kc1dX41nSAxzmGex6yc80xI0/GbXMA6d\nRpI5BbmCNxURe4X7ud8VTW05S5w4zUx5XyaEEL2PMrnw2vMqwOJZrCNzSm27\nyFs3YADnZGVvFXMkDTV3v33bOuUIciM7zU8w0Jd2e+6oVhJg/ETFCMcRfpqw\nyjdomyhxRBRGNQvKMLWBo3aSPCJYLmVl1BvKoT/5Y7ymKeOrIMhms1LrZQyy\nJ/BFloi0lTnmV4Y8NVA7b9YisKDXIFxI6/TIHczBJxoBqf7YZ9lJPRwTm+jg\nbEyEegGeDE+kCElKiPE1K3P7KSGJkq08w81w46NiVGau2RZF6+vwreDBqhlY\n8xW5dsM7uIkiJYKYxYpTD2VGWfrnB5TVugGVdpoOAhY2dKvnMvKzGuxqv+MY\nY2wl52PgYK2N9VLiPwYrVry73ZtqjTDq1FiTzqXQX6b3rPYy6u3a11g+Ei6D\ny7N4\r\n=zC49\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdoi+naUVufXpj5NcZx2sHXd2RF14n5Knt+rntiT5I3AIgBTD+szM2oWf0OOA2RihVLW9oDE9CrIQbJO8RQ/O9LeU="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-alpha.2_1569908210305_0.36520367489031136"},"_hasShrinkwrap":false},"0.13.6-20191002080312":{"name":"@accordproject/cicero-server","version":"0.13.6-20191002080312","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.6-20191002080312","@accordproject/cicero-engine":"0.13.6-20191002080312","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.6-20191002080312","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-IwVsKuLeCIYZ44Q59Q0T2R56DwdM+ClVIBL4tD5mKUCQeKpnUO8aaASe+WfZ4P8dYovEPf0mB9d1nx3LKOdZHg==","shasum":"33e290f97a62d7b84e760dd1e0fea90d1c2dfd99","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.6-20191002080312.tgz","fileCount":33,"unpackedSize":111662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlFogCRA9TVsSAnZWagAAfdIP/3Iy43pnxzplTKhLf05J\n560MjCUeVgEYh1Hhqmvqj6ZEQDblqmgMwM01TYEOdlyIY/9b+/4oUZeWYVFI\n6azhtrx80h3yfA6IctawRcAwBcHYSz+V/uiVFyGmlHWcu1dHgcH2IKB6Fqmq\ns+KJrjoLyALOzadoBNb9IgBD1/0PhZoq3F7q/FwhSF8PPk6Q91M8VswNorvZ\nH5G9hMauJg7uluRP+kzzJdh4Ijwjz2hU57M8IpzbtOAJaXD4rUn6+mCjJ6Dh\nSv+qjyXi4PLOycvgne3c3NsRq2Ey4V16IvxyJdE6JwinIxogbSGM/tTvEhCU\n7H2713kEPf4xGiwCAn6Q5AqQFqege40pGGpKkKUZTt7BRTBhPONiVkPZXVIW\nxwacveCm6/f0G7UWu4vvaDcVXi2YdK4BZKuJ3jevIt3og07OSmZiQEnUVkBa\n2hOAdToFi0Sk62Ehu5r0SG8nx7vNvKZajS8gMzmmH/ZbGxEuyiQzqKeO4DqD\n8Xw1Qwy1+rx908gOHNT3WsHjn3qVL/JkmLFuffz4LC27fQup46c7GGcWd1Xx\nGhdAQf0Po7Rz24fWZ7PXNxh1fYXbFgo5D8cRmFkqHWlh061SGO45WgH3HRd6\nEfMR8ghorbvM+GwfzuhJFWA7SzIMGe5naoKpR6RetxeRxplaUr3aFZGguj9P\nabkh\r\n=E1fd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCorNLMnC2nrpGeCibA+Fhma+kBHdiDt1pblsnvCyIrwgIgRvJxqtgDpRiLI3Lrq3thr7UTVi2XBqo1gJfosWfmSMU="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.6-20191002080312_1570003487747_0.7741632094358772"},"_hasShrinkwrap":false},"0.20.0-20191002181306":{"name":"@accordproject/cicero-server","version":"0.20.0-20191002181306","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191002181306","@accordproject/cicero-engine":"0.20.0-20191002181306","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191002181306","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-vecLNHaGP8ncXvrSR6uOaqffYkKHOM1Eg0cJcqT5Qs6sNVqSi4V3QMY5woDG8CDwIpTJ/5C5MaOVZM5SeWpqlA==","shasum":"affe479d381c28db1f68584596ce2b45a5305780","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191002181306.tgz","fileCount":34,"unpackedSize":112145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlOkuCRA9TVsSAnZWagAA/+kP/3ZFl2Pd5Vi3E1EF0Brw\n5o8p+62kN1YnxCqAs8mh/pK21pRjvTZxiLBI9EQdHi5/3FDw+mIyTv3ZIUPT\n+Ee0u9giNJVnwsyVuPzz8wczTmXPEx4yqMbpEaqKKI4XCWJI1ObJgm6fLAIq\nBOYc4nHgOEEfa0wVx231jtl6f3TFtO181yUtJjODiV70+U9jjCotXIcH9Lpy\nEolngQRrdnf0dzVAQj4OTVdAQ78U79T94DX287E5VyJ6X1ncoGUSZ6FD6tA9\njmdrBcU2gyYGV6ud499JSwAq31h/V/06f5og1nrurtCyhvRo8hgoDbslX5bz\nbMEcO0hu6JflRgTyAAFBhEayCgkxknWxxPLhGdj6pu3jfdI+zlZEkEPGh8Pu\n4OjYlzWZMiqPxb2t9W9tMIeZVSiqpqRc8AR4Ur2g/chxEhV1vaenzL1GkMWm\nzwT6W2bcKUAe0WIV1c9tpUJC42uM0b2TFaFoJUwWH3j3x5KW+xBN/5gXZyH8\nPfi52P47vU1X5lbANK/uU0Pq3XD1i1iJQ3ePh8O9tTRAQT1mM6XS8336efaK\nBRYWXBOCjB3Ia/kG0NTVL48tJGLzrsqdrQRjCU7fgOcf4z39TmGsnnF3AHJI\n4Ip3kBdBIfRAvL2VN9M3n4cvCRuTZYKMbQvsnctqi9KSU/Ll6rBHSTbGIzTC\nPRSQ\r\n=LuLJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG05EFE6KaYRpsF7gloy22IvWSI+5jMIn2aiaPxUdG+lAiAxBZSqfiahiXnd/qZIzHYLDa9iY0NTAfMJmjpzGxjhZw=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191002181306_1570040110281_0.5115939956249362"},"_hasShrinkwrap":false},"0.13.6-20191003084545":{"name":"@accordproject/cicero-server","version":"0.13.6-20191003084545","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.6-20191003084545","@accordproject/cicero-engine":"0.13.6-20191003084545","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.6-20191003084545","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-odc/fKFcJQH0J5l45nEus4VUA6xsx8CRJKGZnaDnca/dhYQE8I493NPaVNGRo8+q10bfEXEDzuXE29Q2L/ZA5w==","shasum":"53efe5a06336a27241ef56f8a8458804d4d6fb32","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.6-20191003084545.tgz","fileCount":33,"unpackedSize":111662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlbWZCRA9TVsSAnZWagAAgNMQAJj68U28MWhyzY42l75c\nzE0DJPvr2YNaMWIKR6ifE3trX5TInpyJiedtj2zkygHZMjgDCAZzE6ouGvrb\n4m+XIiCHnu+uPev/RGdT5TJSOuPsl7KBSOxRD3raEeFbRf0JTyupYFc9NnvL\nfZ22RdOuWRZ6hWR0hD0gqFOqbpnieaGvY+oS0+V/8pqRrvHhIjNJ0aKkfy7v\nSN6btdXGjVTznRGNIG6w0zPFq/jr7Dz6+5Myijo8pta1p/NzyAHQybVYQzcN\nz2URln1E8mDDdFHjICMKTUq/mMeFU1LK89CJdwPBTAbZy6HXBchWqBqLAr9a\nMc+7WZgZr+AQxOdSUmkAIClMPSxfXv82jbAVOieCI0SBoox+Yiv8KqXCt1Ev\nBmHPi4iXa/osolOn6GmU66eFaaFwq8H5Bw39wtIyhkktEl942HC9Hk1TdVpa\nSHfTs1VjI9CO2+liUro4EYApkH7L4dmu/SyM2HWHYFKxWRPDekICXUA4DFap\nRGo733F9yCtyRdNwfAuS1m+ogVuxb14IA/Sbj4SEVSiF0zDhsxYyiz1t1MnD\nU9KEhTromd92GoM5s6309azt+gwsUWlXx03K+DWHexI4mv0yawLF7Iv4QdAH\n1f8N4vqkMrMcBFvT63jK9YQdEEzijxPIa9ExRTadpJnahrqfAMTLlwx6qokp\n1VU2\r\n=qWp3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfT7Bx/v/1LyN1LFfpWOsdYqmUnkj63a0u5WGCbYrQ0gIhAPOAdLtHRNt79YH/AoQnMaLnG2Q2t/z2WF1YXzcAwTNa"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.6-20191003084545_1570092440818_0.40672337077580334"},"_hasShrinkwrap":false},"0.20.0-20191004145338":{"name":"@accordproject/cicero-server","version":"0.20.0-20191004145338","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191004145338","@accordproject/cicero-engine":"0.20.0-20191004145338","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191004145338","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-YE3KMeqPk0hgvqFjtd0YNOCARierHV/rW7L4i0dmQWnpPVpDnY7RWvQQ9Ud72YR1S/2OCbmp/6OlY0/qxZ/OKg==","shasum":"61535768f4779452a72e4c7c664a0303d3e54e60","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191004145338.tgz","fileCount":34,"unpackedSize":112145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdl11iCRA9TVsSAnZWagAAorMP/0lUJ+xBZiG6ZkjjrqK9\nNNdQTwELfcelEP/0/ISOoHWjEZ0VaKOhmZJ1aay8jlHlRUjgXcZ0d+2Qes09\nfp1YPv+QVIo6XJQTTcYtQFEjFL9KOCYu/eOlMxu32Go1PZD9wOuBrvufOojI\nGcyutH53wVQzV/I2A0O0xrKwSsxmMfkf2ThCYY7u3ehZm4bVTrZ01ur46yzR\nQgQ4rUUYVcGklW7/BEnTYh8maVKe4jf80Ykfx2isUf/I4YIpzvU1G/ZEbPb7\nOSLeSpQHM1ivPiWCZzRJawxMU8HdCqiLISduaQoux/bDOUH363hhki9PZDuK\nXMtD6BH71F6e1TM+LOUj6GXObbNZrp6YXMPVlKVUwBbIplggDBlsPuWB3Gaf\noe4bmFGTm4tFVqLon2ZCwVygs+UqgGLCFAr4j3Bt5k9mdMiXEWtQcJL66DqT\nYpjoEdtCoh8hQSxbllpXCMx+g+/bhTiSTb5dQDlvWR+2vdRfDbb+B2iX82lm\nmJIgA5Ggul/wHOHZWhtvKM093fxytNt8OcjV2Os9atB4Wd4oL804gdgzTK0w\nyKQ9Qxm47+s2KkhntZSqrGDyJHN1tu/NeA5NowhR2mCZmI+hWU3sPllr0tGy\np/L8Jw9BYjnmiLOd6gZ2nWukPTUJI7yYIxungdI3orq5N+O040Z0Yzgdu0ha\n/QgS\r\n=wAr+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF4wSb9Y4taXCui6dVSr5sV1nzBo8Kuh78LxWpDkl9G9AiBXBNLVN+XjzVvGh1+OVK0cE5HiVJCTLRboxk2L8IwOvg=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191004145338_1570200929678_0.7709177921521739"},"_hasShrinkwrap":false},"0.13.6-20191005164616":{"name":"@accordproject/cicero-server","version":"0.13.6-20191005164616","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.6-20191005164616","@accordproject/cicero-engine":"0.13.6-20191005164616","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.6-20191005164616","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-/M1W9oFTr3VFF/Kzc4tgvypm27QZJIFZvUs/N7nkRPe/87N7qmpG/XA3OWQ7Ds0wCVwIm+lYWrNKJwzY1Fpcpw==","shasum":"5a399c6634fc5261d355cb842b67d028e3cde4a1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.6-20191005164616.tgz","fileCount":33,"unpackedSize":111662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmMk9CRA9TVsSAnZWagAAThUP/3uTToF1kchz40hXlCCJ\nHDtmG4kdR5QvdWinJfkesq2RCtu4/vQqmqCnUOdRe72WBvIl1Hcobyse8s9X\nHJ0vjERWTsuLhShBMJNTeGh1t2kEX/3isE5kJ4C0QwcL6P8mAbualWBKenIv\nyJYL1KbktwU37z3h/41UVJG6pS7ukLMgDAeMDKeKMXAZKzgLWb843sO1SFoz\nx9Nbm80faCwraMbZiRRZuZu/hJ6XI8D36oSx+gNB1hNQ7B6zYpi34JjTvQhW\nA1MMLmK+m6KHQF7qWnor7GrbDbJLMbvWK6Y+egOqLP/6eU5AjeK7ejT25onq\nr6KncbwM2l6J1eF7nW1Kx/9du1IXbwQNFVrAPAdHwyMxlO2VoElaHFPR0OOL\nKZIvq8tA421HHVUgayDDXBv0oFeZeVjSASYTgq41D862WcxO+ZE3gfzYyIcC\njmSV7JwBXdD2t6UyERm/qJNr5yLVjgnk8+AyHxqbF+ohNROG7+1dUZuqlGPa\nf4jgYyC15+fPUH9HMruB6xWBJf+RqX5KwZY7vJvwfrKbB/elG33ylbLcJIOF\nAzYgvMTumoLPCKvt3Da2jbpxMvb0K11OFsdZshIEJsdLZlTb3lzKZQDTiveP\nlGTzLovs8sMmF/Qb8Dpopu76+3e7/aqHuqfv9K45+iL6t8lVMc8YgBTBs4Lo\nArlU\r\n=yhbr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmIhMg7aNsOCCW75Qyk4BhMm2AI/YwqEmGYLH/3iFNjwIgXHbxinE4y3QHs1A9r4ZzalYI+zvk/KHQuNaQeFsaT50="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.6-20191005164616_1570294076583_0.7217969762784411"},"_hasShrinkwrap":false},"0.20.0-20191006220451":{"name":"@accordproject/cicero-server","version":"0.20.0-20191006220451","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191006220451","@accordproject/cicero-engine":"0.20.0-20191006220451","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191006220451","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-yi4KdZB0EBVKI985eohhxo3fBmeufGvj0+wuUj7r0DiAjrlRjbNZ+1LabWD0shuH5oQ5KfW22aLteU6P0q+KAw==","shasum":"f2c3060a659d29b243724312d1b3230245274358","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191006220451.tgz","fileCount":34,"unpackedSize":112145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmmVXCRA9TVsSAnZWagAAt3cP/2f0X5Npjfzw53/6gAYL\nA3qpsP63hd7UFwlWNZAgEglPxWaRmKLE7OVwh4vzp91r8+iIVP0jV7ZD/zgg\nj8C1Rklnghnvd7dZKURC4TJa/Gha42Af1BqK+Vgir/8F0/cNghsoyt7Zflk3\nImpwhwFevRply2HgF8hNzP1gtruxa4xYOOS0atDLlBL2J6L5h/t6U8wmcQTd\nmdal6RaULUMqhnJuy6clgOfkrLRFr38lOO+fAAeIUZcCDF7ARpKYJAwCQVRE\nZYCdvcO3r2D0RThnuOmpeyHtP9M6qlfZEacQpiSn9bIjJFqNG5XnZKr45+Om\n0KHMH5fsOl/ZxFcSlazq8lpeGKLxmHqt7QrD8tDPXQJdv902YGyyelOOiFge\nemOm9+lYifKB1fZQ8j3uEBpMDTG7zHdIG49+32+bB85urDnpSV1JJCQdCRw3\niCfetbWRgMQqykSAiorsU8d8961R7LkhgqlQmK9D1znc/dJYUX7ebRTqshbh\nT46D5axXbT4CvLJW9TkH91VlLuTc2/ZOtRkPzHl5D+dYtlI5xqwWIOHvQUjG\niSmvWGmESdKYJgY2ln8JpJtvFsdRXEop3Gbj5BDJvvmHAxm/sjKIDdsc5GX8\nHyCH49fGaPE9KUEKLeopxQi4sk3bJzBD6spxC8UblwugZD5WtIBtCS5fL9+c\n8dCP\r\n=gZ8i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAHn4Behv9KkF+CLjEwnlWchZfAO/RngWyrYRShBdN8aAiEAxFeswT59sCzGGrEOCH5khH0Tr6HSByVWaZmIUnQWG8I="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191006220451_1570399574684_0.5671711195276523"},"_hasShrinkwrap":false},"0.20.0-20191008204954":{"name":"@accordproject/cicero-server","version":"0.20.0-20191008204954","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191008204954","@accordproject/cicero-engine":"0.20.0-20191008204954","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191008204954","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-xTP+HjQlTRbwNwKRIUiVE7jgkCsuZlAJlyZ14j1O4FnOvyxtolnGBDSMh0H81n3Hg7EY2n1QrPRAPCIk+vQ+Kw==","shasum":"9e0ab641b6bb7c82e72ef12e39388e52a5ea8c9d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191008204954.tgz","fileCount":34,"unpackedSize":112145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnPbQCRA9TVsSAnZWagAAuDoP/3tfY2smv1zvfpbd89hM\niVF4M3+DLopKE0zOG8Eo9HTWfXfukk3Xzbbx/uyDWRw+CWeNDQBK1uTh95Ja\nhjp2wqlE9y4jd1bPMcpw0U7FzHlGxlln6DWoWvgvW0vLBSVfdeBSng59iZbw\nLQbP18EAYx47UlmBPERxvdPPlAw3tHIw4DhHmPML9XZBxVDTUIeiGungw1Pi\n7u7hfkrQzSPgZIRLUDJ4xpzu+IpuDPHcb0y1fTNvL9hJ0aQMrZLzLHZkVdQe\n28p7VK0MnTm7T91bXju5PfXV8vfMM8EfTISkRgyqX/0+GfEm+4x9i3WR7RHs\ne9PY5uD4zAxj1GzY3wTdXLN/gYp97eu/TTBjH1J3/LwBiE4tlBACHedi6/rr\nUUOZSJgUzxcRXrzMZzeJfWxbgeRDs7iD5qA4ApHUGN5Zv/HU8amyWWmZBVLN\naY3vFVrqFbf9sVO48Y8JNMRlZuDncxtN3oc7wjKIO1fS3Xp7cC1SUdRTa0qu\nsBsgyFV/A9Ivspmuhm3PnxSIwq1NMqBg8w6aFrzUL+YP3kv8XqbLNKegCrbs\n+pGYQo1Wi/GLqIJT/k6BrgZbDnwrFFwqoW5lPXQdZG4gTxBsTB66bHP/4iSv\nCUTZpUoFZtKyoEzDjdWaizhnrCHQf2YLgj6XB+AeL+U4GmBZhjNXf15PWPun\nAmm4\r\n=LIKp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDFmLWEqbNt9U1QToPcMEb7m9a1Ddxk0I3TskzEorOmhAiAzgR8ys0CN/ylvpwZLZ6nTP36/2plzUP5HzR/sMl/k/g=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191008204954_1570567887364_0.15035392874299203"},"_hasShrinkwrap":false},"0.13.6-20191009215152":{"name":"@accordproject/cicero-server","version":"0.13.6-20191009215152","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.6-20191009215152","@accordproject/cicero-engine":"0.13.6-20191009215152","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.6-20191009215152","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-LJC6fgVMhBOMjCBi2luueSWO9t4uN0Y1QhzyLwWRldA5tKjzJ7Wuo+Ypk5UkaRomEH5QlANLoJEfSVYGlNZnig==","shasum":"5442fcbd37a25f2b73ec531bd7e917def80a28dd","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.6-20191009215152.tgz","fileCount":33,"unpackedSize":111662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnlbTCRA9TVsSAnZWagAAB3AP/jY4HqKyvxFs/Cs4nEfK\niZ4+mLDaXeq2+YwJgZ8W7leJ7vKL834DX1YxvBvAcsXBevytWSoAi3kHjQjo\ndu4Z4dPq/Hx+yxqWWcKbzan9x1gehtsHOOM65uklbU8ey6gKzh/tRtPMIi6P\nxP3QLm39525zV1iqOMh1ufMnWWiFmENGlOMQI7xbikBiQPc45Qc8zS9zzClS\nH5hPzCh0Bf0yGcPgunbfdD1UVg7mlB7A9TAc0fKJC6VBlbkl0nH5LFX/yePk\n2sQhnlIsKOweQT/Bf+5dPqKUkCSWrEbyQNVewTi75sidr5hj3aQ8HM7kuI4a\n++tLR86QvnoyPk1UkWqQwHl4dzkWcMCcLfVwfdCZawbM+bfPTncT6pkWdHxn\nMTHahxBVg22oZrjs7k3dfzXg4rMUXnIt0DQapAUjGHEzlG/OE9xq+cTyqDUL\nrbKZ+BsEcaTDvGwoZGiNQmwHRgBRz6JvHC0vPOBNrBMWOyhsYhAxNUFJeeFA\nWNGrN+s8/mpAyfIf2fLE78KFZrqcMHrSVkjCICTsG5aPgQbjUWH6jm1ZerDO\n2xS1ihJLVCvGyrJ+TiJSuK4u3mTaSHZ1VYuAvoei8AZoG3BDINBxDsD1KdN7\nbG4r6U2YtabRTri/hyZz4ihrKfuTJa7BhX8lj/wa4VnQ6M9udxH7rqHOjZYR\nxozx\r\n=OSkh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNLXZa57Yk7N6xchRc4+I+3A/FiotU2Qby85Et7ptYHQIhALRXdeIzprAZbslviXwBuxiaDiHOyZ+dn8scmwiPcFfQ"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.6-20191009215152_1570658002837_0.29869557877161235"},"_hasShrinkwrap":false},"0.13.6-20191011143634":{"name":"@accordproject/cicero-server","version":"0.13.6-20191011143634","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.6-20191011143634","@accordproject/cicero-engine":"0.13.6-20191011143634","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.6-20191011143634","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-eKarOmG2q5064lJo/+JCAPw/cx6Y3Sc378lokaVa1dHvGdwuIgiCJlcB21qmyOITaWq5kbruYzzBakqCzRL/6w==","shasum":"2ff2aaa710f1ac7e3bd0ec5d1524ec03aa81a13d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.6-20191011143634.tgz","fileCount":33,"unpackedSize":111662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoJPQCRA9TVsSAnZWagAAK5cP/inuJ4UmaMfSiyjq2Emj\nMkqJsql6V54tX4JsI90vMRdCSdH0/uARTkd50vOTt9KaKaJWZ1chAA4cjdgf\n1dMACGYm21rhEvL05+qCzzoJ94sgaTgvntpitbZCUDuCJw8N50EhRgJqWFIR\nAjND3vJ7UOiCgEvW9hRbu6V/I7j6moqhtEccWowaYsmRK0YUllGQ3szyKNpQ\nxwrZcM1jAszup6V7+vApqhNY36l6JQG6nR1ue2MAgWFTWJktZRbAoiEDO8LT\nHwqS3Tq7fx6QFSiTO92rj/5iqRPf3+FDEtrP1xY2JxOVfJuVsFnZ8Fra5gn7\nulwgxgcrt9ebPGetYE/5iKSTtaPJ6ddAygt/Iz2MWltNS4TASnlBnd219F4U\nSF1Xk4OAF+cY0lWG90vIia5WAobjM3B2O7mzNgFGcIxpDq5rnkHtbZLEUomD\nvmGy/zFzqdPRTkc/+QaUrC+KZrhkLArhpfsCepF3VpEQ19/ksNv8gw8BlWXL\n3nX3Q3N3+7VH0wzAqMwAA20zhYl7Tdi59ggIsfmr2z+Pm6RlKrLf2Xe82LPo\nCmyb5wuXn8WMzMI9C3CpkWfbihwJT5CRXJrqar41ezOCd4sr304/n2goaorw\nXtiRh1qZ8PSrl+e+ZhZMDPwoAp/+D9kTuUcelNT3xCPs1bp10YeIaWA/PE8r\nDeL0\r\n=oUay\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHXD6wslY6oWesDhELvHKpBnXh1CwOWTpR3Hu9n4DPeoAiBpT+Vz+3InT28h76Dpb2n1NvViaDO3/SyDO3HLwEpo/w=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.6-20191011143634_1570804688326_0.4367476253214808"},"_hasShrinkwrap":false},"0.13.6-20191014161412":{"name":"@accordproject/cicero-server","version":"0.13.6-20191014161412","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.6-20191014161412","@accordproject/cicero-engine":"0.13.6-20191014161412","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.6-20191014161412","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-VXOE8R7k0EgBxXEkSRse3j9ot+K9KQocNU5t8teLC27AtX/mS/a9mQ1gRo7gnzCqXrQR4ebKSAgLVyzTkONB/g==","shasum":"fac4476acb342a2ee9ad1e3c0680fac5e8c65ee7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.6-20191014161412.tgz","fileCount":33,"unpackedSize":111662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpJ8+CRA9TVsSAnZWagAAMzEP+wR7mPZTH3HldTWBzG3a\nYjRjDlBN/JxVmq++oDwpkGFz0AB0zjQTldNtUQ9MIWI8An2CRcGWFzuopXDV\nkLXsETEAlvCmpO5t7deTY5umpTR+C9D0N8TPJWxs5fAmD+6icMsvVHMvfucK\nWafJQ4FEGKTahVsD4j2H5oJ2mUWYhuNt9kV+GluNjCqg1Xb5lV0lNNpksCGO\nZXgrMusX+Z5J2DbRC+kKYBUIV6Nyrm99vksnj68EKXJJHrPHDc2sSqdFrYWr\nRIcIwaoHRCfbioixcrcQ6TIIBUgnLCkOfflGMcVgbA5AQ+4TGqe0OLomsWxW\nfjRuQfw13ocyAjtuq/snoZLgbbiaqL5k5Pba/Z8L/N9tyVZMpfBtQtc2h52v\n1YncR5DRhZ2g0ZGadtiBWeaa3cLnOMgQj8V9GvvN+02Mze2nrxVNx7ES+jJ8\nl+cwybLcXPPUnI+aWHkyXqbB23Xw7ad6R/yhvQrz7dSGO+4mEWXeMIfvplRN\nGYRsQ0jMK4DbIJH9sFvP42gi+1PPTm1GLcDCgTFbCZUVnJLNKsJ8cC0xZt11\nxLkxpmKnxdbhruN8J1h5zG9uZoWKtCu5CHuYT7l/lwCKzEIZN28TtQyDZ+jS\nUNRlcrBGwlFX+eAcWm2U703eRTPP1LCcAPLvZpDschVMNbeo7W5TH0YxYPSa\n0wNh\r\n=Nz0u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHqMGsEuBbcB6IRBR2NV7kzbEwaum+5YGbSmlSsJpJIPAiEAsWcoonXM2615iK+3/t5uYJW3XsGEpM6aeU9fuiKFnSo="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.6-20191014161412_1571069758258_0.32452109546280283"},"_hasShrinkwrap":false},"0.20.0-20191014163038":{"name":"@accordproject/cicero-server","version":"0.20.0-20191014163038","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191014163038","@accordproject/cicero-engine":"0.20.0-20191014163038","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191014163038","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Fbue9XcXCr71Hp89LDcl2BiimI5Mqp4L0FZULnYaD4Rq2hJpDPMUumgwYcxfHIfdBWWsjz5SDRgzR8NzySYeXQ==","shasum":"31c1a75770a159160a6a874f9c893ffc7fe1f518","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191014163038.tgz","fileCount":34,"unpackedSize":112145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpKMBCRA9TVsSAnZWagAALO8P/2QJp6mPtz/Vo6HY0OdR\nKDMiS1zJwVFCB0wLKTKFnaTOeqKSiTAaYcuJ9CdKgdUqUAlBCHi/ZkWkA0ZZ\nNzptKAYkECmta0eCIMe8keRS+k1tlpgvbAmZEDdTAjAQ/mEFzJqkqq4j+xQx\nxCNOWfl3O2ADde7YswZenLhKfFWT/SVtFz61/dhJAeqhnvTBnyS2cf0w+kA9\nSF2GIsYAweIw51oQoEx0+naumQ6AlMxjE3suSgmdARImVhe6eU0tggohe8lq\nXGoQTOMm9gB7+5tuuX3OtWbO1VdRcn0lbBU0LC0LVyPaBcQgoC0850KvUbq0\nHHpM3D6cjx6XyEqePUs1a75CcrBdrZXcf+g8z45pnGuw1WIcj3/3zRSNsXRn\nWT7/bEQ+QD/3vzIjvpmd6jCcgPH/ezqw7DzugI+prYSoXwWd8W9wKWOVvVWB\nn5JG8tbx8dFMDTWp7xicN6SV07u3odUaXABXIHalKiFi5tanc74oTYEaz5zD\n5PfleQ34blzDomJrl5zFjL9dbPK/TAvOQYKgQFLa/5XpBCUO37qXqCzLUR/Z\ncCvyarVpu1uw5JcCg5k7qroJz16ixvik8Hk1IqmhFv35yXdYQxb2S0I7sCnp\neL+r9WK5Com6+eQ5tjPoI95CaqwwyVZ9JQWGeOSnNNru9+5VKgjHHlKeAKuZ\n35Qv\r\n=xvNb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBTDOwJPyEO2LGPZODFCNr9ppqSmcranAQtTH7GbEjhiAiEAsu2WjbctBARBfcaBmifJ+XVsJg3+DmjMwnQNdt3sDKs="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191014163038_1571070720825_0.504639753584458"},"_hasShrinkwrap":false},"0.20.0-20191014172915":{"name":"@accordproject/cicero-server","version":"0.20.0-20191014172915","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191014172915","@accordproject/cicero-engine":"0.20.0-20191014172915","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191014172915","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Vo093aCBPY7vjb8bBrue9jlSmQhKtsbJeEZU4DwqQYTTaPmoeBwaZauY6JFeRxOTv3o2SNZrfhJ0HPUDiRY9tQ==","shasum":"3f73c5acbb4eb90138093e5797ffdcf4adc5cc52","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191014172915.tgz","fileCount":34,"unpackedSize":112145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpLDACRA9TVsSAnZWagAAfBsP/iVt3JD+eDMjRWiNMloO\nP2E9ONBSDKTG9ckHqduEquuSQKEix1+d7mscKdZGUYaV2kSGc6ovX19uHjrf\n8jDEbhp9bxtaXqiloJRmusFUQ6IUIbqCFjGAOBcj4mTej8y/nqueN2vKkIB+\nZOUI8mk6vwDZ6nd7BbWbVI2nHDlIl9oe60VIDttyzjlGeC4ogOOraUYQ5TnG\nK3st9BqqEDzgvvsITgDp17wn+ymGD//qhL3XzMGxoh6CyzQRYhcia/3BJpsq\nCj0uKf9IKUykN32XVYnBrVh1tq27pmxZe0jgpi3wX/pRsPPtrq3YgQYGcdId\nE2Wv6tIbIhj2pgSU5lZfbfYOd3kBBsJ5A0pIJjja4MlPqKdULOYx35/yuu6/\nyCmT9IV84fsckf45jC7koCsIbQn0LfQ7GfntCXkpeYn3e44msNq3Xe9CinPd\nzlb0r0nfyZC6lmBMf1Qlwi2SS7Zg4fWUR9UivBkrfZznGsoxSX7U+eZ+K4V5\nmnvXxK+udlaWu+fJMasuOLRn3Q5qc4SnT5LALQYaiHp6fXK9nz5oFmX7NPhz\na0I87Az8Nq9hctrbbX/xtIHKNSSQ9nkPOrwJy8dQp/1ssTJSXtkyY0MUHPpb\nYXbr5roaPM8qu/9RqXdF69LQXPZ3M3byAq1fcn3TfQiItBjFztGVKJbchzGr\nDP2v\r\n=GLca\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfpre50nnpzsiFgynT4J/KpB5TTunr0zmzp3x8j03s7QIhAOy80/AchrfdVLYNF2g+/Vbzh41y6T+/G5h62dJ3r8v2"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191014172915_1571074239395_0.07677257269844384"},"_hasShrinkwrap":false},"0.20.0-20191014201956":{"name":"@accordproject/cicero-server","version":"0.20.0-20191014201956","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191014201956","@accordproject/cicero-engine":"0.20.0-20191014201956","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191014201956","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-KwP2qdmdTBEdpkOHN+VcT5zeeLlGWMTVN3uHkgTeag+eJirkhoZHqhM+8MzPvrOiDN//FhLcnj+xyjKmOcK9Mg==","shasum":"c4151fb0d374b2048476916afd439db9e9ec0e7e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191014201956.tgz","fileCount":34,"unpackedSize":112145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpNjECRA9TVsSAnZWagAALGMP/2FPb4iR9RiooYrSL3qs\nDzMDDiGO989sYsshZEoX51xpxLRiQ4WuygJuJFMsy54mFubWmtGUE/DEwAM+\nF/HaW7IUkOcxycx4sHm52w0LTyQlkxk/6dgc4X4iJZ4wa0YQkXU7ZNgBHZPs\nNyrK9y1Z7wVCiPNOs2+qzbcHjitjtgMm37mw0DC8c8jFiTsr5NuXJ7WRYX1P\n2F8dxW1qBYGaW1Prd1ZGmKbpuF7gyN5bSY+FTVH7A+17tdz6GOpyEAAZK4/R\n/Z8x1t5jxbitoIWFeGIeL/nr6nEMw1VpIT3TcV7TDNReyJ66BV2/pYbySbOr\nGXECw5EqhfX1l7EQeU6RTwMBxKGq04/VLqYhUcbAZgrDhpfAL82oOSYcHAFW\nmjD4UUWtw+tewZ4gG9P4sFfuYEeeIEg+sObG8dM875Z2lpcSv3mNHeaOv1gk\nrGfhGZKj0vsGOrapVba0YeKqERebQLBMD3jxHRfEcwRGkfJQaoGspJPzZGB+\n64V/Y45y8cf25gSK/ZJ2W+Jjh82bg4y1Sby/9pbAWZdFO1OSmZqWL2WRTCq0\nxA/zX5N76NgHXmyGTjNplvgiXwMMq4lprFFiXQqKJscXlZt1pKFU3ASaLefG\nJ2ZTtd9QE7do2pdFg/9qGF9KdsBnGAiw8gQJ6G87RBoq8MAEhAq2gu3LIzYB\ntdlt\r\n=v+EA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEdYfgOwtmDgf1IxyN9qZx8ARgynM8mMj6N/24AJc2kwAiEAj0u5+wkqm3ZiSsx8pc93WNFrzDvcWVSOFUqVJ+A3mIY="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191014201956_1571084484077_0.49235374187807524"},"_hasShrinkwrap":false},"0.20.0-20191015130920":{"name":"@accordproject/cicero-server","version":"0.20.0-20191015130920","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191015130920","@accordproject/cicero-engine":"0.20.0-20191015130920","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191015130920","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-c4gnxBCxU1M25D/YFtv7RM6ldGLpypA+z/J0Ily9PoyobkZvaonoHnT14mfSLtiKlquyW7M+fxH8i1HtCQcvUw==","shasum":"bcf1f1993f286799ccdb32e8a9ae009cb7943399","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191015130920.tgz","fileCount":34,"unpackedSize":112145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpcVYCRA9TVsSAnZWagAAlJsP/3gELHZ5qdqK9MA1rhqG\nVWz18fIW2xTGRug6bGZT3yAFEk0Uf+kwD/9PQZwtI2ASAzSYikH8hSnRjw36\nN4NJS6KfFVCZWiL3N+tth5uqLGMqqtr1oJlpsUmTSiIRMbYKF9Ai8Dez/+RE\nRsRn/Q2wJ9AJeosZLF1+8o39SdX7qRHiOl5kGmyvnfU0+AVY2wD0h4L47ls5\nwWopivjWGQJGPO18o92331/5jM08S8/7P95vRtdZF0nZjwnNbX3u7/b0/jHC\nFzBCLysyHe5vjWafHSTFPmFDP6cJiV3LIjyaSTiP0qqT0dCsh6eqHXVOrXC9\nlNCc/07H6lHyJCrlOPzSGoXXN85BJz2mTLII22F/yba6bVRqDH6ZnIV3NIl5\nWKTo+arRnEOzpbFQCGFGBV+iAlYUn7xkXGmY6ukr2umAtWNNJUub6kBiemSc\nG8kq7RR189Dp5KznGzzDIVhYlog7xcgOBDGVG2HIeB5dhv1ja3IGuu9NGBxO\ncrVQ6vedjM24M0IAcg8gnu0uT0f9H0jSRmCgQ34BqXxpNbwJrnSoAyx6F9iH\n2Krkj/XkUi4dTIUSUOgh+DSKjFaIgdurHiFvdyVyY7qqvyrH74J/fccNKkX0\nxbPePSUVfKH9GVHsks5dQfmjDyhVJJP5GvBTjddWpGXftTzaG8dAQ3UM8xfN\nlcRg\r\n=oPFb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBNyD+7Gno93TmmpTRHZLTQEeQ7uTOO479MJhU4nRyFLAiBo/w++cVUkbvqYrCxEJ13nhGXdbJYsucHKpr/4iYHwig=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191015130920_1571145048320_0.0704263393256701"},"_hasShrinkwrap":false},"0.20.0-20191015152559":{"name":"@accordproject/cicero-server","version":"0.20.0-20191015152559","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191015152559","@accordproject/cicero-engine":"0.20.0-20191015152559","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191015152559","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-8fQ15Rj6gXbDBNtBGC+bg+dOP3fs3wDu1dHgQb2ahLQKiKhIRvrciaKw8r04A094MHp5dpicGHifii410WR0Kw==","shasum":"9d6d34d9c89540a0f5d697d387cbe09f8cf62f79","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191015152559.tgz","fileCount":34,"unpackedSize":112145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpeVhCRA9TVsSAnZWagAAdWsP/2fV4ULvLRiZlM/9ItwS\np2gNaO0gmM7OYsqRraWcrQuRXY4hePiX+R2c6iVEP10EFeqDIaFVWwu8iCjH\nWJLi3a80fFVuuA3guVH91TXAfOxvxXBtRPEiFNNMe8liNVBy0pNy078hMcYo\nlZXvxkqVA+l0SloZvz55ANvvVmCeU686jOAX8eRhqB18hF7UGCn6/ms8j0+a\nxOAVXhyYR4XcGT4/+OE0qSCawxztH9sYe68mKSta4OnuQcy0wA70GxMm/4V3\nu5oVqz1m4dCwpMUK/eBKzjPwgSKjgl+H54+ll8XwTTZVQLXNT5y1kS/trAHt\nxVOzeNqy/hkDzD5LCm83CPTydmMixCTb/YYkJZcLgWAq3YICWO/Hr1wWtRNy\nLt9Fa8FHQu0uTDlva0dAeEFrFgm0LWF/NHQcukBpm3pfrjnzWOU7PkRzULG+\nRgP7ry6xLth7uK6osUPXfRpcmW+zLSDhO9ZlPTnxeli1eNHrCql0MlnJ+K4l\nn6QtV4gUtpkfi627iJf8Hv4wuY+pnZHu8ll88j9vLRBdnWGR1il4EkSgxrj/\nQIKX5yNaioP/h1ik9lumqoeQNYwN6vMbeScA36s1Z4Uy2oX8epPGtBoAvDl/\ngomu6RJeXVAcxqsR4r6i6LSkvEEoZjWPXz0j+pHQ9vKilhjAG73FJkJO09XA\nJRFf\r\n=9pnD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2ErsFWqnO6goH6XXMF0oIqdzv5NbgS4z56p6puqCjVQIgIkLJYipDoc+XxA+2T/wu1Wwubo38714EN3chJ25c8O8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191015152559_1571153249095_0.6411145003375485"},"_hasShrinkwrap":false},"0.20.0-20191015160121":{"name":"@accordproject/cicero-server","version":"0.20.0-20191015160121","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191015160121","@accordproject/cicero-engine":"0.20.0-20191015160121","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191015160121","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-lMS6ePvpUNVek1IooYu2RCaDuN0flsMobXzjnJ79xEjoTyoAAlkWjYViiX/5/IWj95jeXe0o8JbwFCIWbR6e3g==","shasum":"fc517ff44d6e4bcbb26ab10436bbd49d8873e69d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191015160121.tgz","fileCount":34,"unpackedSize":112145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpe3RCRA9TVsSAnZWagAAIQQQAJB0/GwWMQMk0NvJZXM+\nfR6J4cxxKlQ6Q+tERpBzDLnfU28llUWnXv8h3wvsYkWSLN+BCICwFRhm2tZa\np830yxz9gCEgWTc7R6fgkBToEoVv1Tg3r/oOYZ7SBzz9UtFnrnvc2q6ohXha\nAukbG59isat5MiCYv+yFn9onrr5aTwGo8VHbO8xX+BoNdmzHSIFNYmUqabX0\nJNAHXEXHaSUq1X8JjP15YMDMTs4mLFJswzzdcknEswtpn+9sbCWFxYWkZ7M0\ntNrHsEpBiYug0OSt8RjqOp5uUqklbyxsAIxf9YwO+4e7fkzPheTlxOtm4EiA\nQPb7cpDi9h4rSZ8xuAMlv1E2Fi4hB2Rk06B+Wn7sMdXaZutX3tYfaVMbgGFC\n32O5hxUv4JDIWSFXHoktcsynN3yT/YsHbynwZOPvn9oosdXOfeEwidBRek+6\nH79p/aoXMVFtCX0Mlp8+pLyAa/wxkJ2CCNuoa74EzjR1E/G+4rVvnZZVnRlu\nL8yU+ApvIc7zudeFQpupiW/3qyWqwHILPwGjkIufK4+jB/DpoW55PRZJqDgP\n1yNOfqKifjhE/mJqc0QiJXpuegz5t6vx/UqhEwMJnSoUXiU7xPvVG0vKw/8e\nnC4FsGhxaEmek1JvHnn9TMi0gGAo6TTSjjPpq/RFfqeUHWVH8cHkuxo+RdmU\ndPBk\r\n=kji3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRcVlM22a4odSSH3JinH6SslvAfT2CXJH+Y6YuMGZftgIgXPMKgKYgBcIHN2r7qUYiM9rD+b3hi0lW7/EcE7f31B8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191015160121_1571155408300_0.6230292490187612"},"_hasShrinkwrap":false},"0.20.0-20191015174724":{"name":"@accordproject/cicero-server","version":"0.20.0-20191015174724","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191015174724","@accordproject/cicero-engine":"0.20.0-20191015174724","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191015174724","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-nshCAb2sWQgcc+W9TLGF/YrudQTO2JoGQCV8MR4SSxZo5DZA2HWUBRMPHO6zDIEfYCNx1KF7OcKumjVzDBeDEA==","shasum":"7524df785222ef57782de2174d97d893212a0df5","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191015174724.tgz","fileCount":34,"unpackedSize":112145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpgbSCRA9TVsSAnZWagAA5KsP/0sdYbC6hX7TyZh0cDJX\nQz8luYwNj14iR6eWmigno9yFJ7Ul4GOFqiUilzW/GCIvAYCDxcgnH/FYSjlQ\nXLbtrsdKI1GI3jRC9XToPH8LA4DyP2LRsr59TT/SBAaB91EyP+T/n147Ukp8\ns/0sEoZvjOPNiWYb3kxLVng9fp9kQmYAC1lCvE+zsEI22BFYf7xGmCVoRTlx\nn1wm6BOlKOX6ga9xQZdz93lS7hQrXYZMKi7p1VnoL81DQmDpq2KvjauHh7sv\npPA6/NSmi9JZ/JHr5JOCt2cQnyZlfnyajazBhW2XAAoor1VBLmVx9rObXwad\n9KgUKil+8rufUxof7zMrxTxq0f0ebrCV0PfgJc52n/EKjfr1EKLEgAQuJYy2\n0NojnrDZUUyXHwDqZ0ebxH+5/nCo+MVhAMwtA0TpBr+RehLM9iXnDEjQgM9z\nY7tA2hNzx7JSUEc2xmqZpliOFnguUAizO4RbClctSMYVJEBpoyZFofqIEHLb\n0vvYW6XX5YRfOdvS982UUium9RzeRV9kiL4ka5MYn/EKGjlpbECHa+hFdFMI\nsf7IaRq6mDxntqOCtIdNRzoSY+SVMrlkAIcoi9xCB/Rhx0Ok4oCyAE3ARP2x\nCGuyAIE4LvL703nrM5PwFmQCRmxCy2CvdHi4CMxaAdfejUZ5JrNPaD3fjolX\nPYRO\r\n=+shT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFd31d5hpxjP6Apr7Q3LxzDUCnxe6O1bXRUzZIt961s/AiEAlJXevfGtwnDJaH9y4J3nHVjOGR9OKPlW0RyUx09lwyk="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191015174724_1571161809933_0.2706510063906631"},"_hasShrinkwrap":false},"0.20.0-20191016160515":{"name":"@accordproject/cicero-server","version":"0.20.0-20191016160515","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191016160515","@accordproject/cicero-engine":"0.20.0-20191016160515","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191016160515","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-ZcUmjUI/e5ssJIHL6q5DME4q/baTuWcrockEKM+bQJkm7xrgiazyBCSRMEEVZWoFGWja5GbC2D0rvjQUUus0EQ==","shasum":"f41257b54d5731a1b9399f7dbc5f5b8a39824ea1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191016160515.tgz","fileCount":34,"unpackedSize":112145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdp0ATCRA9TVsSAnZWagAA9lAP/RiNH75M/ou4t0QnXWJh\n95zWTQXQDYKIyATqhcpMlNDm3lwk45ab+61iXB3+c3NOEzjChv3e9NYzYUf5\neG4TvQqEWRAuX+dCB97zHa9DQw2YEaWbR8zWjyYROtUPBiF8drfH2LVT37qk\ntk0/dHaWhQ9SUJbnrmvzG+CJafjh3/VTSKGWsw3tqly2lvwgs2mujY4rYKR2\n9WUGEiVpnFkRkA8k0w9fES/9Otvir+Oh1breGvxIhe//5jxLpNGiQhqV1/Vm\nmv/W10B+nMkcCtP5i75YsAV2r68XKalGZNGh6cSseSmvfYEZAZogJcMZNfA0\nTDgVGkmVhecMjsFc0ziNEwwsdyE4aX4rtcKN+0q9igwncswrnUyTHVLN9b2F\nAMtDUiFCs51aIS3+3rUiVHZBZd+XwaggNv+DqdqRizHgVo8efZ3fcThdu1/y\n4yLQ0yhux02hz/H3+6G8jrgAYm+YHv/7tpYdSqsXe355qgfw4AvfGq3VFP5q\nBtP6F8KebyQA200rj+e4PEm8xflydKl0WY+jzsdO9tyUjRWrhy59eZiB5jQa\nBiPH70MhDMoxXX/KgyGIV0fdZJarzJQbcVQn2ymNKj8yl2LskggoGRxDVGtV\nudB3GMInQKIbJxPNyNkDAicjQ/4cAZ1K5aeZjjCNK3Sr/Cp/1Qnk3EJuNjzM\nrIBe\r\n=1JBD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHF5B3R1jjhI8N1o7Ru6Q6sIB8hKpfRaz1rLGH4LYcs4AiEA0IpGxC4GFch9JpGLBdoKHrWJvSYLOfVtxxiZBRvm6Og="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191016160515_1571242001619_0.8229865422422968"},"_hasShrinkwrap":false},"0.13.6-20191016190721":{"name":"@accordproject/cicero-server","version":"0.13.6-20191016190721","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.13.6-20191016190721","@accordproject/cicero-engine":"0.13.6-20191016190721","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.13.6-20191016190721","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-7DsJURRQYNLUa2Ez65AV8yla/YuAmSaV4disZpahc2AE1iHP601NhmDSyvjCJgLbJHClrg3DQE3jlUuB+uJTag==","shasum":"6464c5dbfb7a36949ab5ba333668f881376b91a6","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.13.6-20191016190721.tgz","fileCount":33,"unpackedSize":111662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdp2rICRA9TVsSAnZWagAAIq0P/2GDLqtYdFuNHBiqo/vk\n+MAr4i9y2tCS6Kt+sOjCmgj8AhDfE7P5ldP5VvSh19mJ4kgfBDQbA0KugR3A\nqZZtmLaZZqXr57s43MfaE8AQtwxqSIib7VEu5OD7ixg7h9P20WzZTfs6DLZ6\nBH9hi7Vfu8yOvp5DHx25PgU/0UYntUVe98NYwJJt05KyKB6WcMHQzf/YstEn\nZHK+vuftOuIuJP//idLb+t42AsheZTdanq4+pInxMnx4agBjtnMZ+BebCbi7\nJS7HWFSYb6VZG1WFHhnXq4YNQF70Kr3Qpr3EKVoadhhCwR2sDwqsO4KSQVpQ\nmJBmaNEuuhAVOAytTfVw9j3ekaeJe2UwA2upo5jdVLBRbHX3gNVWMKuBEMWc\n4tzDkrtk6h+PpkFvwuXu6CU2HrIo2s47xNGPpWXeno1R3DzdB1aWxFCz7BOy\n/Y8cbazeRfBHKQSLe9PuscFIzmfOcjXcQbbHpL4sJouvS7BS2/fjDccLTTUT\njAe2i1SOYksXrWq5uFZkKF1TrAbK52R1vykFvl4Vc/KvxPcKIyWFIdx2eqo4\n6ZRZRLov7ookH4kG5fphbBBfuvodRESMhJ9JUxegTjQ+pc0mIDr82KGJcHfJ\n4O7vwXqv2vr3nrjz3+8Kb47MzDVbsX6BNVSg2SAezosbE5Pp7d/RiWKq3VBn\ncnfE\r\n=6vJK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFgNk7GRwLjl1DqTkNRGagfAipg4JUtHMsY1+tQvkieYAiEAhA/0//Q38+O3XceSjjpBdZ0iNkD9JytjWSIx7YFuZvA="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.13.6-20191016190721_1571252935769_0.2782917096690387"},"_hasShrinkwrap":false},"0.20.0-20191016195251":{"name":"@accordproject/cicero-server","version":"0.20.0-20191016195251","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"4.19.1","jsdoc":"3.6.2","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191016195251","@accordproject/cicero-engine":"0.20.0-20191016195251","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191016195251","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Z1SczdBzTHicuNFtRpcxuAzNo7Kx80eInxSydCJqr0KPQV/3EbBkptUEVpQ73oD969E5k4Czuz4aQu1Vv+c32g==","shasum":"67453a8846c302f674830e13ee9b681362a29126","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191016195251.tgz","fileCount":34,"unpackedSize":112145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdp3VsCRA9TVsSAnZWagAAP/AQAJzhCJO0KJPWovsvj1SD\n10z4sMZWRcARRcQW0NhoACotiNAqWVnguWK1Ta3wMb+6DDySBuxT6PYMyfND\n+6JdyL1+K+Ety9qu/9/HHT8LEfCYr3de5N0hb2Z8aLi53dxMp8czbFeOugHE\nX1PU+p/yXMt+jB4HVkxradPQTPng4GcXPLuHyntZbaS3vjI8T4tGLjn0w49P\nJxOQYawtdO5glXN7oDBK97Ex8om7cDze2UhKdrkJfQCQyH8QS9I1Is//Akoc\n4RBEd62nnfFTq7gMO0iE4tg8l9q8mWBYw0m6KqjXfR0+IZGVlL3wjjb0Z0KV\nunVSxgxpTs3gEdRpZqqdH/X0CVClHrctPFuM5SrxGmJiTmJNjQp2a8V1otdk\nQkvtFharW/XqxPMRF2xz7ChtBLm+0oIr1vzSSsymWlEmJzfGTx3V3c2FThrX\nyNMQ+OB01/xWQ50BNlPJg051s26FyZxH6Lv03V/zOxqdLlP6tbDI9v8PmHAD\nXvWp1O3CDzxsCqY4JpdbMc116Z5z0YABRkAtOsnwlXkzm1ogOitRaE6VdkX3\nREtATMUF+mqSf5XJtBF1GBYpY8AvZeJGTLVpas+Vrs3DiTScOB+3LoYYNUEQ\nMgyLuddyFUbWm7gQ87odmpw122/euCrj9FmTkGAbT/y0ABx+Pvuu4rXUvmLN\nSsIt\r\n=Tsb9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfc8Nuk3u/bbYCo5VgEiIlhcJyMD0V+6jLREOBUzwDmAIgQta2+vHz38OSCA9NX3+gxut4ysnieP4u1CWSCPs11Rw="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191016195251_1571255660164_0.8119668874127255"},"_hasShrinkwrap":false},"0.20.0-20191017171014":{"name":"@accordproject/cicero-server","version":"0.20.0-20191017171014","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191017171014","@accordproject/cicero-engine":"0.20.0-20191017171014","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191017171014","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Nk6A/QrXyBEB1cUDiKWhvBMu5QBO/lhTRB9zG+A9gMoSP0r1xBpX5KSQ3jvk2KDlCtevJtMEqAuZyz9N+uceiQ==","shasum":"244d3f183b1422a7ed74b56390247cacbfa48e3e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191017171014.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqKDhCRA9TVsSAnZWagAA2+sP/21+WM1WJvC9+qxoZ7oW\n5Jueg/l8aCHiAoqTx6YCTXq75+IvmgZKEkt2ry5qaJla8g7AC4dgmWQnQLOI\nz5ND8qmGkFyL7RbbgD/lq0jn0U1IsaTvGmczFmcoZ0O4bS5OF3VQx3x1s00B\ngzy0g9NdNSPctw2uF368eL0S/IDDT9CkY4GHDAhu7O8GA6g2N37kD9NdEg/1\n7dcL828v2YCXtX+Pzmc8tbq2ez+IKZbu09xcjBB3fRgffhinmvYjtd//OG7h\nAdEcWShJIEuLzAv5VcaKRBMQfRVDaFsCLBgDgSl/7wnezhERgMwvAR58Xbo4\nFC8cjGPAKUXAHtttzFPG/aTgpSHbygnjilFvvmebF5QlKiZpauIKPf1q7bRM\nlVGiGI7sh8+VBEczo/YLvaPqBg7MnbWkNmpj0oEcQrrTUusgAjFzflId6gOH\n3gZI4+zF3bOYWc95sIhmZI5hPjT9K5kTCpUWyI6K4hTT7gNX62D2lPD0bXkN\n4XKHETSa430r6Wxoxi9n7VmON9+ksLqN81Tai4CrI2y4lSbpTcE8obLjsJsB\nmk9oRzEInkJh4QCp+H6Cr0tBdsg0YYjIXPUTZlYSSJB+wOXP/uFYS7BxNF9k\naxChKqQHXzDu4q0972/WX0vwCe5qMdn0kVuhjALjatTTeVYpxJhrb1MZcRyu\n+4CP\r\n=Z+Yl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHqwdjd9Df3t/sZMzvp3ojcmQ4VMPPVyJNY+29kjjXuHAiEAk5B6siFPJ19K1amr6g7sDiB4SkrLCLy31S2DEEuwsl8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191017171014_1571332321337_0.06612638399994863"},"_hasShrinkwrap":false},"0.20.0-20191017181429":{"name":"@accordproject/cicero-server","version":"0.20.0-20191017181429","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191017181429","@accordproject/cicero-engine":"0.20.0-20191017181429","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191017181429","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-lHW6hsn4vOINaw6UIuXudQ60A2jp7e+OUmbtEiftoP0KW9WcvOKFrAz1ykulGfx+/Y1THbG50iG5BclsqAsm/Q==","shasum":"1718d4bf38d8c8961e3a7fd6bd5f84a628383d14","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191017181429.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqK/vCRA9TVsSAnZWagAAdFMP/3ZFdPVziQ9BoH3u8tac\nMMAh75toIsUATlZ4ZuCPNbXv6+TeUAFIQdvu+jXQ7eq6Zce61a8OMY9lqNmO\nMI1uoXPYTDsou6EtKY2oC7dDGt1IG0Jn5Jt+YAN/JooUAGBXtCTmC5MAS6/d\n07kqugcImseZs2diovfOkO8RKnXv+9aq0tB8KPoY2JaTfGFSnqn7EhviJPPc\n42GuoSQ5lRWbbCIOFOJsdQLADDh/9Qise/x0Y759+mcBlK9OREzyPvbr/580\n+5eI1s24ZVMzwKc2hDi/wzS715EGa8t2X6h3jUq0Z0BvR8LxJBVMi/j/03r5\nPuM/fzs+JNfJKJTadsVwr21cuEs7Xe1ZlDq5n0blJpdia30DzyojL/eSMASQ\ntIMhSc2uA2xUFCG9kCvWeotxZYxPZNeyjblDriRDhCgG8E2ON2DI57MKiw0j\n6QXCq2rUaexWm+qhyeSGC8FRLs3pKmbyiUn0tr1u7KoYVH1RpOdZN2jFCNXI\nTDTox1RjecHbhWtw4m9AojC4M0KIqu3aSErB5iQLWgmbnNxpQBBnXX2KCJBg\nKh3V77QjgS0WqweYJipxZwY18xUQIVuCeC3K5OepM31n+XUtLYLtARpsGxDg\nOGEUtpppMhj4hL9dHKypZJGxRlRCFI0YN9+fP1yilQbJemdo0RUqSuDZc8NK\nteXE\r\n=uw/g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEQlcidBVTafUrfSJx4uxAn5gh9JcGoNg7hl94PNfvlFAiBgh6G0koJrG2oUnqV99PUWPWOCwuZsaORbDKQ6KBU+qA=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191017181429_1571336174321_0.7849966877652452"},"_hasShrinkwrap":false},"0.20.0-20191017204754":{"name":"@accordproject/cicero-server","version":"0.20.0-20191017204754","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191017204754","@accordproject/cicero-engine":"0.20.0-20191017204754","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191017204754","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-xyJBCcUa+uWGvYTWXvmbsLmrlczdXdnTVZvfD+q/RthXSokKfgLjXhofRGs0LmERIpydaoorW6tu2Z84Gx/AWg==","shasum":"ca491f8f5cdea2c36c994878d196481c4acb6097","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191017204754.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqNQqCRA9TVsSAnZWagAAcKAP/jnnNbXnQYHnxN1w55YJ\nnK5TAKbO/XoPOl7oAymirqrdNNpxCyiFSlPe3vVh8jZD43k6zOo1Y48bedh7\nvUSJ4aNs6YPkl1u0TMaCco+0+hTxkgduyzaK4gm+YwE5dWPR/7p9e0oRhT6F\np/IDI8NZg/eJd7E9Ed6tShb7I2vqPoPJh23RxQqqbqskMs7odb2Ko6rzKdAq\n+2XK+afziEg9l6mjXCUeuBFTMo4iPSBgdHfFbrwIUua0IaQoHf+A3C40bd1w\nPse/D8LKM3OTZQ4swbc7Np+JktC8G2RHsXE0A4YBARBPNGbEa6muFtYjrNtk\nhL+RFsp6hBI+DGAla1tcI7WSVXK5orr4v7sNrI7/GwwqS93epgrVYWjWbr4Y\ndKy3mZDzAiXdXveA918I62tMYkBoJ+7F5wISweemiCmf0g/BqclWeb4JFaRy\nGz3ZSsdIp/tKjw4zkjHnPduwbvbjBquSM+lnN+RfxUgr/rQV5aQMLiIAZD0x\nfe2irkxvhkPYIV/o/K8B924xTsdLrj+OVKO2+8sPjav29bAqciqRyC22aGFV\n1GoG/Lk01DWAUR9FPKWwo+ZiNjUyWtFIgOLDR9QPTqeVL+yQKLdMnQCDWDJW\nyuiKlPExwff7fyzF+md43h9AA/vq1ckn8U8GbjAQqP6iAEwFL15il9+sC476\ngFgX\r\n=s5SI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDuKQDhomVx/K/uao7LKmBPHMxxbbrMYK6W5s2a/qKF3AiA34Z5OYf5MBkBtR8ECeYygpN9XrPcq86CRwl+CUjpQig=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191017204754_1571345449546_0.13637036017088167"},"_hasShrinkwrap":false},"0.20.0-20191017210202":{"name":"@accordproject/cicero-server","version":"0.20.0-20191017210202","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191017210202","@accordproject/cicero-engine":"0.20.0-20191017210202","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191017210202","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Z6g3hDvLKObOaCu8je27I+2L745+bv84h+nAv4dS5ah1y8mgXq+VKHCuiDnBjyq3DpJhup8OJ6CVTbdKIav0Vg==","shasum":"c7afa6dc6db2eceaae0a0cae3be6ee8cce30a12b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191017210202.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqNcnCRA9TVsSAnZWagAAqwwP/2a5aXzEW4PZ5GV3sdLc\n67fouLyGCa6SPxplWfLpTeQ+4Wv3ArJVICYrtNi2vs3PpmwURtm1bQ7MpuRO\najbMGCkzRH09xBuUhQVffAdFugcyDzguIfLnxVto3CnRFKQSDTnt3eZIYCzr\nsaeVDhCz7cyDwnI2yuo5Bf41MvwiAZFmdkFN1eVxIQyuTAABv+FSwLoQgXwd\nfgje4R9OkiXFPR3TkFAirBRrG2/QiZshwjDdLIyroXY2zDcw9rvKQDQ/E70G\nvzK+yJhXQlqtJrnNP2bYqFOb6s0seOGkotlzUcZ27Qs3vbuEcFK4fwdHq1c6\nqAHX3CW2sBSJmFGfbyaZcsw2VimD0fXIPM/XvkIAKis7LhT2E/dP+fStuTd/\nkHpKDfOZ61MtxXY86kIzeHmF4ANdwWxNEpPGxOYT2HUbnoyD3VoKgOv/t0HM\nNw6zqbqQoshuKcgFKgOVGm2SWq96BNymzVNS7E5J/pCPezZ/WmB4ay0i5y/S\n0DVG9OgNsKRPabemtZFME0uRwlCmp/yOHh7gJTbjbJu3aDU8mT3ozW+RQq/y\nt4hwdvAvL67zuVOO0yXV7LP1jNY27adBlqovz5AovluVWl/IFN8MYgLOuiDc\nsr3Yl2RrLhYMV3NpvEU/ZkmO0u7iFwIOiXxHXdIFrSfynWj1Gsd3raYY8dBt\nR+mS\r\n=6Nbu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGAoYD4zpWYxg449pCISkEuzmknkMyTRoxJzOiq7uw8jAiA2H65C8392vOyn/wNN+isZhs+to2KyUBDqZVPDcBZPzw=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191017210202_1571346214438_0.7709948425370108"},"_hasShrinkwrap":false},"0.20.0-20191017215240":{"name":"@accordproject/cicero-server","version":"0.20.0-20191017215240","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191017215240","@accordproject/cicero-engine":"0.20.0-20191017215240","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191017215240","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-k+GQAWeKNgQRQh18jg+5Df9rzUvXsQfsxQUtvPAa6EathJ6iQD8gQ5CP7UOxVgAKQjjOpJmmum9/NqikF4NrSg==","shasum":"69e05845c386d12c6b4776515c775b0815c9c43c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191017215240.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqOMGCRA9TVsSAnZWagAAwWQP/Rom+wgDikovoy9G1aAY\nYe41nWbdgFX/8TGMucwmoHmnw2CdRgy2qdtmfXMiPLVpVELleGcns7uro/V8\n0KIBBRgZa8q4NrpScd+7+ZjiZZbvXSZl5+rP1bXuUgEY1jFVM2KArkG0y0vM\nwtq08MDpMwQeZheYKzMKP2R/XuOvwSx1zfrUKwdQBmG3GKlc0LiSkJNm/wco\nmhyuhcAB8/apd6neBktb3p/uQwXiW8tCLD52gj0YA+mLrHCKN9L+ea24FE9/\nW+N9RabltQRsCPz9ngyjPuVLvuFY6WZpO9Q0hPoy0xlX4+NjWuoxyhu19uxu\nmcsDbBQ/SGHFAUOoWs6SBpnSI4rrYoxosVQpjNN+YfAJLyyYTZGcwEfNJJfJ\nQ8RQYvgtxjnsIbXn7GZEFDM+eeD6bBJoodcpD82PLqxwswY/dY+rBhlAcUKj\nIQ1hGLMf7+ajcZ3GNGGDVEzucIWQbGazjGWQZWQ0im7HLL2Dv7OAuJpuhD8T\ni0L/AwqFgvBbIZ8Vwy9zc5ic3BlMC7lfMlDqxzcLQZ6jXzG/fB9IeSblFvRK\nmT+NHPrQ3cJ9Lrft8+QjGhfvwVCO75eUnD6uJSK5nYd0R+flPErpADv7DmDf\nMRdMycyyglboFQv2EqhV/Vr2fApqQrN989UnvJIZIhRWaFr1RFXZo+V5sx5H\nLGVp\r\n=gjWi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnFCTVdEFPnsoWfcMCVPYf1mTSLT9pvk82Lp0WZH1s3gIhAN1DVjI1Ge702pQWdb7qJY3ms+6vissFcK3sY+JecVP5"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191017215240_1571349253643_0.9926785828248514"},"_hasShrinkwrap":false},"0.20.0-20191017225759":{"name":"@accordproject/cicero-server","version":"0.20.0-20191017225759","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191017225759","@accordproject/cicero-engine":"0.20.0-20191017225759","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191017225759","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Au47hJfFtbCar1lM4iqqxTsv+48Ssex8NzjyL01q1NfDBl2HLyz+J8MsVK9ejXXf4T/a5olaiKoHTjW2du10bg==","shasum":"2744662167a6a9b93255339cee9f7bf461e3b58e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191017225759.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqPJdCRA9TVsSAnZWagAAfxUP/A2KEO2cb1blKhtNW/F/\n7jEB6r8VT8GRf5c8J4MWwcCSiT5dCWnCAMpSf5vCumep3cZlBxOsWyROcHwO\nJpB5TMOfGE999RqJihGutBlWxsDH7jVlh4CFTBqkQa3sZ/1LjwlHMqdg11m1\neLx9gAbi07N/4kEN0ZWi3GQDOi3poYX+a5SVpqQjLRAD9G4tY1UtNFMyOIlr\niEq6P0J8kdKYWsgLcjtS7PP/LufKD5FVDTglzcGh+YaeBMLZO+7dpJLVZiAJ\nHlI6ZjYr6IetSkZaiebC/dgJjs83woalL4CaOQssEsIh7aa1UgkTX8FaWzD0\nK/I5DfVgRRc6lwOtkSFmUf1kVLPynWTXiKrvFi5G2nqLZg9hPqgGKHIbbKQ5\ntOwdyDYGBRlwxD9esJ89Mhhv6EArFTdtrafS+BGd4WE2XFnEENai4jyw4CmO\ntvjONAinUIbDm+xBkK8uMAkfUy/va+TtsGBTrYVU6Sfr8YMdnevGLjK650w+\np8L8LCGi3NbaoKt1IJdSN06zdoUwedh+aff9ZwVaBQK1BDNFQTGTAVxueI7Z\nawu5YmmWOFB6sqiT0VhyQ86WrsyRC875XVtqbDjF4vcc9UyFAzGLTwjttgru\npLO6IY4NYeg3rLBwI7aaftqKi5qDwHS/vQgOVE/eB1BbGd8NWzulHJisIKio\nAWX6\r\n=Wza3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBajGwiZIuIIR6XuNNWVvb/rqLTuT4cBrRV5POyOuPcVAiABvu9FMogcXgKSTXUqEyTTVAez1c7mNccxULV8dY2qQw=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191017225759_1571353180391_0.9276224648728109"},"_hasShrinkwrap":false},"0.20.0-20191017233119":{"name":"@accordproject/cicero-server","version":"0.20.0-20191017233119","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191017233119","@accordproject/cicero-engine":"0.20.0-20191017233119","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191017233119","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-Q6z+QQvBfRYEInjSr/FOZVlCb7ddvZ/PWDjk7LjuVOE1OrDhGxCsSXfR9rHC0BANEG3IrN5hP5MRJ4sszRwa7w==","shasum":"2fb726be861a7449f5d82b939abbd5c0b74a063c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191017233119.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqPo1CRA9TVsSAnZWagAAxSMP/AqQZ4GQMvdW7zsgEZzC\n7clPLmeyt92iFswSywR0BKP1Q+mVBnTsIZvnjLxJ5cpj7VkLO6sA5TEMlXH2\nRO7WH/WvhCEHb6guzkhPvwgDJF7ES7eUaSfrbi6qsoEFGE4xaKWAIuhDXqLX\nZzHcIwgxDKkUyMXyg7Tw4vnnJoY/kjc7zPzqvmwxWCxRsq8A1MKQmvk/jVhb\nCohdz7pyPzCBnMu0eoG9LYQ63F/FGm3Duzyd4tgu4C/vPkIAMMV7oJUjo3BS\nshoXsD/fkCxMalaYK7mtaju2mF5j+zZezZ2lqo/fpmc21UQQZ5U9ROfKg3lY\nobSty6z+wA0GiCVST8uiH4neWxh+o1fzCV4XcxYXDj+FNxZW5RcNC3vZIxJ2\n5Mw62E2qnYO2WG7V+d0IPb4yoaKJG0zWGbr3platKRBa8GMrvLnpITwPg6cU\nuI7WVj7ugR1uQ4255e2AUkdyYBU/+uAddzqjs7XkC0KM/ovSkyXPMOX5UjU4\neWHKJOLgZwcPRhbXNebtzj1itVdlI4MuyR2wmU2KsVn2cxxL9arlKKZaI1Hd\nXU4+9gSMM3mULH7fFqSgLQj5gmcusFPg4y8Js+Reye/OsgDoMLB/X3fyUXtu\nTqTkMakEdAALh/FdUF2nOZAPzn7jgXA22QXzQMLzCt/AMEiwViyGFhE8f8KA\nk4Gk\r\n=cHtp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE83575qIOSqlt+Bs/Im9zX1+ys8WffcCTNyxC5VfitMAiEAn//oJFykJvSpbRLCnFfXETEsiCpiD4QlH9sqCyRkosI="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191017233119_1571355188408_0.41144060170799235"},"_hasShrinkwrap":false},"0.20.0-20191017233523":{"name":"@accordproject/cicero-server","version":"0.20.0-20191017233523","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191017233523","@accordproject/cicero-engine":"0.20.0-20191017233523","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191017233523","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-MS356cRrQL572dPMvbC/vej/5TUAFiS+uD04lryOdo7jf/6BoYF6HqM1mZ5dFUXL1Xj9EyMoDGO7hap4c6IMOg==","shasum":"e5a6ce0b1180b66b9907af61bf21eb0c93e7dfd6","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191017233523.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqPscCRA9TVsSAnZWagAAtPIP/jNB20SWWB/9j7kJ8uU9\nbsc5UYbVteZWqkcpmTl1/0acArk+Zg7/yiDyh+05dFc40MgRY5B/0R4xfB1C\nIOrqnfyLbj3cvsG21AeJd8m/K2hUlfR3eZU7XQTghcGBK2Y53+0bN90lr9LT\nDM2CS1fAbWNy62Ngw0vS6+xP1VxMC5gsex3La//nnDIAvSdc2PFjWssLmKhx\nUwC59U/gwNaHFU0eVJhmvNh5T9yPgOluu6MkIJAaION81gflEOeXSoT+7zCu\nEtL7drsivA+OtBHsEHaPru/95Qu/TkeM3zRShfeK1uBIvUF/vYuOBtOBWanE\nYMBBmNSQP8+WgmPQ26fN9yfB8Av+4iJoO2GVg3qvGKfyUIlFkQyF8UBfwsJH\n148XsEGU0O0eY/QCP+ebxHbSckk1jJ4ceTzONlqSn89BfseEUHABy568Oamr\nI9CcDsbwIEJWusnDr9KrVFbOKJC4bjwmJ9AWPma1L+ZxQZTUVjSCtTJU0U/8\nvT6ngmfctjOJH5+Pt4OG9iAIU4B/8v9Ik76aLj094BNVAKXXZac+6HHKfLd+\nOmBUcWuD5QNDvE2qcsQInntj2ncwPuajKHx+maNB9oDwWXuUYZgy1eM1ng6p\n3zOpnjwzveb2ZaWjJVans2Yj2/WedwKxLFirkxif1zusHA/9n2w5SdVY7IFP\n7LAa\r\n=xPaf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAhMBhf+Z84a7C6eFwzQb4yBPocbE93A5A1o7FntKtduAiAnmNEJ2wApIAgy8DSGfE4Pr0oxNz4HT5Qz+dFjdpO/fg=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191017233523_1571355420209_0.6084578111889767"},"_hasShrinkwrap":false},"0.20.0-20191017234942":{"name":"@accordproject/cicero-server","version":"0.20.0-20191017234942","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191017234942","@accordproject/cicero-engine":"0.20.0-20191017234942","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191017234942","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-9EbsX9eY306W3vbmo3H2ffn6bghEKU0pqNrqSoxODmb8TNzvvloxOqX8N5uKIHYiCYKzQ1a8C5h77To68etZzA==","shasum":"21a431c6f3c45a45dd46120457355b15e3d74be9","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191017234942.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqP58CRA9TVsSAnZWagAAnRUQAJNbbyv8mkpql8bAtGTC\nCq0tReMfy1yiy14TbHReBmWvzrxiKaG1g94D43il4nT13XfIvZgkuaA84E55\nBRex3+DZBX9hzFxjJqFYtFGi65ga4Qgy+m4ZLcqedyEjPLaHuO+dVk46/yau\nVMuWCPDgG1nBIqZG/3nAl6AuMbk+2h/4rmQxCCHhdT3m21uUHCLF7lVwh+aP\n8ZQ4klJOTHwjW/YyMEG+Yk9aRDm3tqfoYb4YHywPhuEp18/Z+oqFAOvq2jLz\n8sziGwx26Sd7/1zI4gLPlpjQChyU/ksi4hq/UgnDms6HCbytHKHNTBIdD3FX\nTUuMcStfFxERTyzIgo6e4dizFsddhAxqu7Nn9GhvUp71DGeg+WxIudObEVuq\n0q04s0OXcxMWJmv/NqB6C3koAKXmkvI82I0UqkvuF1siSCJWpWWCV5zOIIO1\nMcilazimHmq6iFZsDiStOrk1i8hL5pPoqGTNmo+rvp/J3q99mmbCGEFxvDY2\niS3BYLJoDtQqQ2oSHzoZpeRYAxTvZY/W2nGyoyK7uMlPX6RAlGnkEhTmoNtT\nAAs2T5g3vY97/4p25w5xTa6RYAvSJ3cyXQwuv6a3a5pyz1CsIVvhpa/LR9B+\nRIMbJdQ5bvISUhU6ZNozMXQOrbHnUS/si5GgT9tNAq1FUfnOxBipkyeuc/4x\n7moU\r\n=0kXw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA72eko4uxChfpBdD1xplrDIs5beE70M+H8T+dZWXbebAiBzav2IOF/F56Sx3KF2pxxbIaf7LxzkNIpyKIdIHZo9fA=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191017234942_1571356283726_0.5119564488928776"},"_hasShrinkwrap":false},"0.20.0-20191018005146":{"name":"@accordproject/cicero-server","version":"0.20.0-20191018005146","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191018005146","@accordproject/cicero-engine":"0.20.0-20191018005146","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191018005146","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-lkDUYlJtLrjRdL9j65qOP/uppRJiJRXyApQ84lTnHVjPA7GSLObaiFEzh57wdk2jseuXaCiToBrnLhPt72Ogaw==","shasum":"4cd05495fc57f86747de3041cd101ed487ad7b71","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191018005146.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqQ0BCRA9TVsSAnZWagAAq5oP/1RDRBNcGiHhI6hPv6lD\n9hqMahztuAOLSo7vgJ3DMdepVm5kYHeQU+yz4qMbFbi3AIPPeAZXmC4WrwVM\nWNfadjhzY0vFbNeduKQbqZPjI/gGJUH4iBedpwBObqsaGVGEnL7br6U3iE2J\n6Hmf+IYjhj5l3BrDgr6c0Yrt+JpEm+w3JQOtwEoWRmyJw7bK43FlDdNaweYg\nX8NG35JLFGgSqcsfgtirb9qlX87ZOUcQ5GWUZ5tFuJJFEP0iQLmuQoSl8SiV\nE1pz0UNjBGW0GC6DRMR/Vcqj31+83Yg5FcephRABfPib40LMhO3AFHREq7y4\n7tkA0BO+eTZTlgfd9oDlkEDl8d1Ox2An4YKpY1fbGIbijlqLZe/Arf6JEQrv\nBya/iy9y67LmDkDMxKy+KVzQJ4q/CiSKgSji4srM2nHEAuLWI+kgxUa9Ursx\nkLiPhuOJhWY/TsBRblCd55zX83mFFl8ULoHkXYDrDQnqZd8a90UaNKNO53Ra\ntbQEfU+sR5qlZ0ESlDmvVxmzoKp93v5B4WcvzqFsRgi4XUJNjwA4RT0C7Rb+\nNpVWmTFcsHUuD2XmpuMY38Xoi9uYKP1/v12U0nB4BqCehNRbP/XqqkwdNehH\n6le1+0gHoxD/EaezN1d4gls5vD5HgCaKJmBgA6DXhi+1UIMyLfMd0qzL8yeR\nfBR9\r\n=T0rW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRSM+Me4knbKOZYjkOOVVZvncOGjV4aDV8Ksnbuur4dAIhAI6tRAV4mdthccZ7NaNaB44eeh785Qzqm8SHLpcsTW1n"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191018005146_1571360000907_0.8683525794045941"},"_hasShrinkwrap":false},"0.20.0-20191018044630":{"name":"@accordproject/cicero-server","version":"0.20.0-20191018044630","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191018044630","@accordproject/cicero-engine":"0.20.0-20191018044630","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191018044630","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-JdCSuxTvEyQWv1LSVScXLCOkUUn1HVuZQyIRugnoWaSy/mJCbNIjg9RFasI96NNCrCLu/MQFwio8o+1ey/JCMw==","shasum":"eb88edb099721e681ac63533d428369c26e4b899","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191018044630.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqUQOCRA9TVsSAnZWagAAp48P/33Ap1xoFDO+XGtLPQ+H\nBIhBWVTLJwqkXVag2jAUVcwaLNkPHEPCMIQk1bMfhgQdOWoMloo5cP3MgI0r\nU18CJ05fQeUxM2M4AJF5lDF+WLDhDcGGEHMv5Ii/M0z+guU3x3tTDjWiYsLV\n2NRH5/fu+E5hs5xUtLDVUvTpyn3ywthqmu+sLVboqtKKyZkZDH0JVCN7BMLU\n7jt57GypByYT3oWKLwiXw7z74URNXzwiXtVdcSUz+Pea5hTrmEgT1wNcN3kf\nOcgkx+eIvPxh0QSt++D8innhnxc3LzPKLI4XZtIiUYO0F0rG0KwQYsI/IatH\nnqYIEVDZQ0kmXPB9EZS3rQgwQsG+rH+aFLgdNU50Rf8+eH6CtREGGhWTQFRV\nKWFkxWrquntsr/Ve7/VeHV5AgACmMIYQliy8C3jkAgPZXV04PliT3xJWK4v9\nYX9bfvu+Cr7XUY0XObUz6g58GUmYf4m4aIyRhcPCb9QhxoVIBF7dhnMw8ylh\nZ5sJs16wh6YtFF8z4G+hgVfMQyIoGxQTXs3iDFxIG6hD11UvqbKyNRyACjhx\n9gLX7LhS3/hKNkKQ2vLcisvYgYHI+nAsrM/27V02qDMr7LCc1xa1gQJiS09Q\nIN8o553o5IXrpOnFEVpvAVarbE+FfXWHdUuQv6DcsIBzNxcxv6xCBr+WarSu\nw8m5\r\n=NaKC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwC8fbfFHkVBC5jzvCZySVYRnoDv7OTIBPBtokrMppZgIhAMTCmePR+jB6m1WYJlGKfpXg0x15oMWubH4VdUT8A4/B"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191018044630_1571374094133_0.5441661936437241"},"_hasShrinkwrap":false},"0.20.0-20191018045743":{"name":"@accordproject/cicero-server","version":"0.20.0-20191018045743","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191018045743","@accordproject/cicero-engine":"0.20.0-20191018045743","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191018045743","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-dxIQctg5hdp7AlZUHCD2r+xkxwjPe5k66eSoS76KdSb/OjWvmKI9ERAzgEOgFraYUnB4ciN53wPU8Alhr2jJlA==","shasum":"566705f3e070dea31d1f123d94fee7775b05aed8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191018045743.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqUaxCRA9TVsSAnZWagAAjxEQAI/EpAdkc91MZP1lOYJh\nNm+NUDniJVtB8wJGfYCXtOAs1i1UfOiT5XWNVUUC+xcwtgV41ilHEiq0BC1P\n8EgABlMeodzX6UeUuuth/0Um6NQye8kWCdS7KQevuwfkFz6U6WDwm0UedtWf\n4azj5jkQulIbUuOxcsz1tFb3AJ7mRo1GCgs3NNWEYAElEakKq9j14SveREq1\n1bHf118psAB+2wTSZZQZ5E4oPGMuQhqs/WYtiRmkkRcE3ovB/2q8o0ZAR1Lz\nSYJlnqo4vOTkcNpntmqSJabV14HqX8+N0jiEhjy/83kfBEBoTHyuqrA/ryNl\n0GQl6yxnt+zmGfwd5hW44LMdOgagOSM3kOavpLFx920I2HAeE0A2WQCzwcvc\n877tKOLJ07YRAmy9QGiMjsRjPw0PCMV3UOT3KMLdE3yaIQ0OJ+XFCtfBXBlc\nSX7ekYhQnGXn81E5tshjpB3MgUxSsBwZWiQQWhC9aR0ne+4urKfYBdVuICkM\nmvsLLIkrob4vB+q2brxGJGuEAGMY9I54yghcOltWzwXckvB1KcyrQxDqIHs1\nPP/GKW/mZp68C6NsraP8KKkGblFzfDegMlPjWLSt4hbbnhP/0KOKrH5yYPVU\ns/V4J6YafPbkJ/zC+KkV5i887zb8QFwH1c0cW3TZ61LW2WLtRS85YO/HZhHs\n/f0p\r\n=mgOV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH3hmAxwl+/QAEZnqNaG174BWbLRv+hkiLMw0U+sjZ+hAiBjh0ApMfdCgt94namqGG5S7wqKsksdjdAsmRiyQJpthA=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191018045743_1571374768414_0.3651908287763239"},"_hasShrinkwrap":false},"0.20.0-20191018050825":{"name":"@accordproject/cicero-server","version":"0.20.0-20191018050825","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191018050825","@accordproject/cicero-engine":"0.20.0-20191018050825","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191018050825","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-7rb4viLJZXe6TZ+8XurezHSs5XsoSQYLwjbqphZzQ7DsjW32eoPsDCgIxvcwmIMdVkPbfn9ZIOtlLJuVqkPnIQ==","shasum":"6c4b43b29fcd76adfbd55ed5de68a4477496f6d2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191018050825.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqUk5CRA9TVsSAnZWagAALQoQAIIDwLX9WCH7ylzl0uKD\nCy5rxlw97kaAzSMNDLIHmgrVGbwIxHGgkbZQIN/YCrnNLgVCI2b3xe/P67qT\nnXIZHlAo9+cdPX2MNZiwt4qNOmHl3YWerW32pSox6a/7cqeDTfcIb7WnAcEW\nmLSZGKUUQ3GEQr5iYZmSlm9wsVHRgYEo6AmRJQAJJgNikK9gUpeH3ye4+vCn\nz/cXirxoTIH7/BZ/JcMnEDs7IkvtXEhiGSAdd+KgaYeTcWc2btvquutwvZq6\n8JngqycCGhzcH2t/ag3U93kSS/Nhlqj7hmbZVaMuBZwX9r5BBh+eDKef1wqz\notRoiDJvJKNbGcQQ7d1havXZyxU+rc8dATwiax+v7cWBAPKFfCI7qEJhf9DB\nDZcY7iJIqIWn1lixy4iObUbDfM/LK136nGMe0ERnrL8T3uEbrGqOwRIFvmjC\n9I8g9lHVhqKL0ZIMUOTv4vgj7Pefk8sShzc27+pIxl5a20UZmY5/bVz8RV12\n0MTYOyPd7gjKlcUU4naOMtwcGY/g+fFvZUjoMlWI7gF+Rf024EY2973dZfXb\nThIBb9rzOliPXwD+Dt6y+NDCjSoe8VLpp1/5xEe1u1X24RdGCKTt6t4aqNY3\nXdiMYiEvfxjHjeh2PZKvoV3ZJ42aRhfacjpwhIyJmo6vvxf8WhQzoaelvGCW\nJAZ3\r\n=DO3E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAZ5vs2F+bgyFj+ZtOg57i4X8SbJCSEWGqSG60UsThv6AiEAubjXYe3cPVl/lUtBlbNfjoKpw8LFzirsbt/tRwoTDAs="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191018050825_1571375415436_0.30570381569555116"},"_hasShrinkwrap":false},"0.20.0-20191018175817":{"name":"@accordproject/cicero-server","version":"0.20.0-20191018175817","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191018175817","@accordproject/cicero-engine":"0.20.0-20191018175817","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191018175817","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-WwffXOUoOj25lvHm3j1mHQ77dmCThMrt5xacVCU1OSsuHLwm2CPy3WPsYp3KP2asg7i24YA1nknh4I0XdQzArw==","shasum":"522cdbb6bb7844a6e4f9ef7d8575e438205ea4d7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191018175817.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqf2eCRA9TVsSAnZWagAAtkwP/RjyabaDgXzEBa2hSMaz\n71msnQ9YpqWyfm2vtq+L8LJ6ckupE7UNm04Mrpi2mCnVZ8UgdM0eIkYSexs8\nwL58W9bV5C9OiJ0svS3JHczK6sKfNvbDcBGpuFkeHH+GK2x9JwB/YFy6hhKB\n+/h4rKWnIlzlSFETxdWosimmgeijj7Tdqje4r7YWqgm54cL4DbjePIfoRkwp\nj+0oSTq4K0IZEWjzXmL6gHqZXSSa1b+btniprscK80LSWPq4+4bPtx8gB4vp\n60OQLBGzuIWn4lv6vVZyvqkV66vIGAojdZk1J0bYammX5bPnyuEJEArUw3qo\n8/WBj0q0iNO2fkT5WR5VAkE9BIIIL9vPWKzWAozmsCGOMMkGGbIq1POfBdKz\nsoDCaFj+a6KdwgwNTV0h+By+MvByIeER4audxv1bLWKjAIre79WQuZv0sU3v\ntSCQz/Om0sjgd3lU1EAqGVVyM9s+CwM6Xnj0oYW5QZaS2iXxffuKV8XcH6JM\nLkofTSCJn1UOuN+MwKZ2mUvdI/SSp1/miIivv+JmIkaeGl3NLPldy7Yfv0pJ\n57qIkIazCw67PNiy3Il2SVPisizYtncMfnDDF8Cuiy3b7WHWkt+hg1cJ8FRh\nId6yzVN43dqD+dZYzB6oSrtJ6yWULipWUXGScl1hT/9BBSxWeaTUa7zwbT/F\nuAX6\r\n=Dm3C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFoeZ99f1ge8bc5FaEGg/YXUj+hRuMRTWqldAenHKri8AiBbphQsdP6msESRADi9A6T9qe2tHhHUUGyQqGLoppl3+Q=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191018175817_1571421597376_0.30169903532399345"},"_hasShrinkwrap":false},"0.20.0-20191018181932":{"name":"@accordproject/cicero-server","version":"0.20.0-20191018181932","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191018181932","@accordproject/cicero-engine":"0.20.0-20191018181932","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191018181932","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-5Lf2v/V8Yj0H26dRUsFe/QOtDSnsQCFadF4dqgQG1oG1XVaPmApG/f4V+vtyrwrk4W2SvPzrYEits8BT4KNYFg==","shasum":"8a27442053c1a88213c724445289afcbc4180c51","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191018181932.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqgKRCRA9TVsSAnZWagAAO1oP/R6+aoGK50ffsOtfY2g1\nd5FgJprBKCaO76YJ+i+1Q3q2Zh7rAQGrkj6Gxy+sV6FPSijcQEiThNKtlOKX\nyfuDpR0fFT9qUaOQuCoeUE4q7flvzp3AHgLX3lDvN4izhdLZmsezHUHi31gD\nALf9QO3CpEdW7shi2bzINzB5n9lNduPwpCy6u6lSNQJMGVBQwjXAazragDgj\nO8zLXkriwF7DCfSbWyLyL9/aT98J4vOr1Iea7jl25hvfLjMCPeMl09b8Y5Uq\nYf49RTRHOw+gz3063tTV4OSr9tm2S2f48//bv4NhM+Jn7N7K3tXtlOtb6ZET\nvRCBs5DClrkhRh4bbq+H/LWoFy/5vdjo3vaG23kvewYtQCa7RrAv6iZOWNr6\n3gJw+kNATcTYCNj/A22wL349OTK6fC0TNgQk0XI0kNGKCPYgsc2MNh9DAwMy\nOY+TNCjFyZXEl0VlczMBHwP/WH9uhBNUeKNvNgZVht3dxuCIi9XdNTI+oad0\nu32oexWkNY+7KZ/D/JXLbiM68zyeAyHyqncPaycr31Vpxmwh9gxgfzyTfrZl\n9nf6fTQsp5tVnUqtyXDDTwX7AnapuROQLwv4LaTVjn8cwNU7aMs57KMGayDv\n2Tg+9Lrlmfjav36QBJGKobiNAlq487gexIKXJU+W5/raPqa9cuhCCu1AGDRB\ndrpa\r\n=x43c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICM0fIVvQh8yJvbNvupRr/rNCNzLXtWc2LdS0X9n959qAiBNRztmy0cNKSEIc2mH3dH2VXMZJQV7ZEg0rTs7Iu4m6Q=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191018181932_1571422864376_0.9958741437828005"},"_hasShrinkwrap":false},"0.20.0-beta.1":{"name":"@accordproject/cicero-server","version":"0.20.0-beta.1","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-beta.1","@accordproject/cicero-engine":"0.20.0-beta.1","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-yfpJqhRgCJ5YNX9tyctq4s+D3+UFXmTjIR0CBgXYPNQ+hhJxk3/vMUbBffbSP2qDeDf/yNtQkMm/mDuFSUAKAw==","shasum":"0784a327a56187d95d6c1f5f6c8695a6fb87ad66","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-beta.1.tgz","fileCount":34,"unpackedSize":112162,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqgqRCRA9TVsSAnZWagAAWUcP/0c13rhHs4An7wToDmO2\nkaUulC3DZmqxVoVJ/YtH/JOOTsQ6eQXK1V7UDCv7OQO+vt+40dtZhWBlpfTq\nu7JzpO7zW7D9+R1Y/D0zYG22akVgzIvD2vXwcOt4PwfMOYbnS2QfymCBwMMF\nPWZri5p/0slleKzCOwY+vgaSxTCN4waAl03sO2eOoKrA3apUTBcMn0HET+C9\nvg4xLoW25u+FVQTnkpIEsLQ/rcNuGHouo0i9ATeibIrvEziflEPwqsDuOiXK\nsX0YJ5uKHwvzXZulhOzrXVXs5C8uastOhOW9E/32UWVpFFfZ9lEoFsF47FWC\nxSZ6KzsjyL3+aYLiQXhRr0k/KYfXYkKHooK4MOkjHUGJnBc1P5mt6ETDs2xf\nxtyY9sxOT2uqe8w6Qbd9rqfLkgEBg30x/i/O6ATFCjketYFaqZZsbgZ0843k\nFhKcZs3R6ReEO0PwuytqVhzIJ/u867SaWynr9LwzCjxhWeuJyT3cn0+hsUdo\nNaHILmeySokKM3vy0BC9TVLXTccCIt1ur05ySNOC+PGpC8ui7GV89MLPnFnx\nNtDhxH4RDLYkB+k4n8mPcm/qDbbHGEXjK8nB0f1RQWGZVvI2YKvWuIZSFZJ3\nnRP1D6jhfOQr7uG5tJ8t3fhB6R6u8lXTto9u4qbO5ImBGP1Tp/4jrJntdWbt\n44TC\r\n=fbm6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDg3incl95dFyUTma36E/A8/gUWjl5aWs0mgzb06zz3sAiA6JRyIsbUSzQ91MLxAbFF+M7OdjNaWzTn/psolgYzzpQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-beta.1_1571424912868_0.4347463534554503"},"_hasShrinkwrap":false},"0.20.0-20191018190138":{"name":"@accordproject/cicero-server","version":"0.20.0-20191018190138","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191018190138","@accordproject/cicero-engine":"0.20.0-20191018190138","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191018190138","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-tzqPz0rqpQuDZyUkcEb71BO4iU9WmsSeWUiV0XFofu75/xoo0blUOssFPXUxA+mk/1MxrOOaOjF8/AtCVGMUzg==","shasum":"d84fc1333773316e5f7eabb5fa8281e187362900","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191018190138.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqgxrCRA9TVsSAnZWagAA8WUP/0A7dGEV5Cij/K0xSIEc\nacloqWnagFtv+CsOvEcSgQ5V8lGgYGDji5OJj/VjeGFA3nQEKM6oYemiGnWH\nWicY8m+j4JIQvUpWqhjhAIQ3L5gj75tcJbuCexDOQzoffN1Dhqkb//fOYBFp\ndjQblEYNWVRO1kizc2eezYYSUZuVIkDpS56zXVE5NiYAIW3lbph5rPxnaVXg\nbvyjSWAjkgRp4Xt7KBCfsc9qpIJpWF5NbvA7dezEnZzSo7m62Hgws7WseiFV\niB4U82wnbOolPoFkpunxWKXhDYCjfpGi90dhI1WirCJfGAjKcBPsMKQPXiiO\nlP9DlUcFwSWTmCtZRA2/vELzs0enUhf2ZDbZUFpx9pzx68uDjCEDCgTINwYT\n0wjKiVvskGleTfRpPqpV38nUA5relVxZNawaQS80KB58C32ZZIVcXdcoKorx\nt2rk2BmnaTvXPNGoZehFtT/EDPLzdm+1g4qgw2pNyXiKNzUSaLALDJw1Nt4c\n/lxJNmiAox4vsBjg1QAdcPjw5REr8lhOcj+Obvs041DaYiT4XkLUROkSc4RY\n68Y++vu6g6IAElXJB5aPUrU5TGgoRjPY248R64AHO1ysYepzuW8uSEqDQjAZ\nrxNmRC9FSOOUpGJ4/62x2KxxNQ8a/H5fptDPOdVexbY6eVpxBebhrhk/ykOx\nwgjZ\r\n=emsK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICkXYfuuCZ5Zvp2pSBf3fuAl4OS1wBrbtGXzAep6+GUyAiA/9vlC7OJ32sV05WKngT71EWxHWwBMfjwH/dcLYm1h7w=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191018190138_1571425387074_0.16294854765921762"},"_hasShrinkwrap":false},"0.20.0-20191019120355":{"name":"@accordproject/cicero-server","version":"0.20.0-20191019120355","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191019120355","@accordproject/cicero-engine":"0.20.0-20191019120355","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191019120355","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-p11qdmFZdrkDus1d/clMRd69PTebOy9aTqkvs5WWRYDYUktEKdXbggwGKC+UhbTJFMXlsuEs99EgHFNvW8Qwvw==","shasum":"6b95d94ee0bad1e73d6ba5d805e65c18c2342704","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191019120355.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqvwKCRA9TVsSAnZWagAA7aQQAJ6v0n80FENlhARyihWL\npKX6+/4Cw0DOms+boAcobCOITjtjjnZ1YYqnWYDGuD30j61jltYn/fnYXAxp\n+lD2wHkO1I/8ash5DJeD3KQSlg2vhjWF+6U3MtkPe0mNZJCmNiclL+fVc0Z7\nnH9eweg53GYfO9rPMGjmlOZYNqYIHpzk+Pt4qd9MURU9RIj1Fo4+aevXPyPl\n+LEtyI4jVzCex2LaaU/NQPqjn53PlQkcHH+rclRkzhFWHjKbaHoPr/LOVqHc\nkCfbLeZDSuEQjvXaZtsu9bP4cNv65XcwnUqT25GYl0rh2EHd/m6t4SXUDYO+\nJZlJl8e3nNAEai042uYdZomDQ+hhREFubTbq9FHdNjqERe5u4qxoHh7k0f39\nQnH3FkYW+gC0LqXlgYr9wj47GbTxUlqfkrfgh3rAkyU+HTsMayCJdILXUXQ+\nvxViqB4rXb6BvdnqmyusT/xoYhJ/Z64Mw3c5iNIeesAIOFpdlfr0Mex/GBVu\n0kiM24gvBNPqNO0DUmg39gK42XPvqowoJvZ//4T3Do4h0eBtITWr0jAxyzEx\n+nC3Qbr4an0t1ueWws8YQRe+5zt53L+lI/g+4SBYmpv9i7tnfOjdxi3ZdUeA\nB+IM6If4fe9w//1MyN8cvQP0puloI5dgQOlf0Usf5ktyPdVPqe3IZaJN4jeM\nwRs8\r\n=o5YE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTzfVgLrOUaxkkbyzndDo0vDfqwVnMa5FqYaAsnK8fHQIgOGup5W5BD/Vq5DXk/upyqnjD66XmuwKelCk3ZjzmNUk="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191019120355_1571486728948_0.45628187425731914"},"_hasShrinkwrap":false},"0.20.0-20191019132228":{"name":"@accordproject/cicero-server","version":"0.20.0-20191019132228","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191019132228","@accordproject/cicero-engine":"0.20.0-20191019132228","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191019132228","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-IaJq3PjGu5KigcR8W+rOwv9Ta5GWksN2fi4s38zvJGQPdeNid2yDq5tlRG1MDl2er1mkv2kzktXFAUPGJJaPeQ==","shasum":"abe594cb0c5efdb7cefa5c9d96a1af0d4cef33f4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191019132228.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqw5xCRA9TVsSAnZWagAAEZ0P/iOb3wkP8MAm2nV2+MdM\nuL76Ecwz4mvt2vu8RAFhQYCWnnjImDg7uJXjDc9KsXdzlElYjHrtRP7dsZZh\nzqsPiapLLGgBJrfqqIAHTDEradshPNd8+GarJBxprMK2fE0v68IXME3FVe/Y\nkM26Qi4Yi2QDV5U8wwa+LlOm7b57KEjLUhTBFaQL2Cmzd2/bq6a/ExN41UM4\nu8tm1nxbRnpnAMJZ3V+YZQ8t9u6KiiOPJBYfVX4I2IycYqUl2HJYW93kzNzD\nelZRTkdcEqQY4KOxy08cTQKiGIt7ziLNXWvnR7E+5g3KQAY1FlRywX+E5RlW\nmAhjqtdAb2bkxSFQEKtSNO9G0b6vmQabOd2VYB4qtTWcDMAmzpXxgK0LV6cn\n5UrwWS/ybDjaMYddwuHVqA2zZKex6AydWRJCfdHRiDZxEAre+suAhe/ofUML\noZgmki9OBg+EwGbbZZyl3OnBtbCBpQ8fHt8W8WSsXE4sPk2mjEwh/sb5tu2V\nzNqsues8XUqQ3PUsl1vPNVEopv2ODnB4XVn/o2tnN8+VpsrprD/77z3dZxIQ\n2WM93amJD7CiTdRd3RlTaLXcDcRr9TvPOZz6MPFw4vddEC5MKmRmK4z9hhJa\n4OeYTaA5I1XgwrwbBtUujWlftskxc24eghikSfTrNLMZXl1Io7Oyw1dr6Vk4\nGF5x\r\n=9EyI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8yMSLX1Z3097QXnxh6+wYWdJWbz65of35OP5P23dB3AIhAJzZehADENJPpnBPHKmpaF+WRUZ7YQUfaR5xr27bhWdn"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191019132228_1571491440999_0.05173683847052635"},"_hasShrinkwrap":false},"0.20.0-20191019203728":{"name":"@accordproject/cicero-server","version":"0.20.0-20191019203728","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191019203728","@accordproject/cicero-engine":"0.20.0-20191019203728","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191019203728","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-46yhGZwEj31PuWwcbsTUIYIqZIjxX5VojVKTiqsaTUbB3jFrIEP5BQ5kjxO1dx5egMh5FWu9R8jXx9pDkEH8xQ==","shasum":"da018df787126d6f33d260a36846a0c3bc52840b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191019203728.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdq3RiCRA9TVsSAnZWagAAXrUP/A/CDNhk2priqDHZUmKX\nBcHScYEPZPCw8ZA+sWpLPMVWYEN6bzgtLsnmV6DGs/oa8LG08VcaBATnAv70\nuQ/6rivepo/6tNWa8JC4pCKtGCeG/I0ln0m2NFFce7qYGBTGq3bd5Jiv8uiR\n39pQi4ypIXqk4AkCfecXQ+V3kR0ZGcIHgkXZNdcqy3MQRZvl0+cybSciDAYE\nXIzn7zqCn3t1s31IeAhDSA2V+ijp3Y/J6hsrfpVJcQA2Y/k5+2+W6pclhEFb\nAw7skSjdqYXfP3WKBJmaAbfzq0eAJJyCJaoN0I7K0iMoFIUobWUDFwvNG6JT\nUTlD10Td6o/ulWK+QO2Wu+7fVms3ZuZfB+qZKae3oFkhMpFGxRUC+zqEmLyM\n01+mlNA4KnR2YNPBnu6hZrVqaP6LKKMYCK0QRRlWuAgGM5ubFUl/xD64l/Kk\nWQZWL/N4BkTv0x0rSyANc1hCRWApgeGCqlfA7xIyVUdXuwF7m/eULhEG7hOX\nOWOD276LlPZVlJPSxioLsVJGEJLqEf/3KtFw4ZusePBWdh3tLzJirnKnNp1x\n0VRPbdnnAj3yNPqAhvj0sD+xMM3xBbpeWsLbaisHUfMUbTJKCEJ0SSrcDxbg\nqgto9IOCiSYsdrj/Vo2rw5yrxB4vjxd3yxDw1GfJp5FwNea2kIslQGCM0ns9\nttQQ\r\n=2vuJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0xnPdPbxWoDZqFM5co6NucbWiSlkgMBr5E0QeIizEtAIgCXM7MAuhpu2O/jfqn4ow3YOh5167rE40bNcdHlH6ux0="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191019203728_1571517538238_0.8116062319771373"},"_hasShrinkwrap":false},"0.20.0-20191022173430":{"name":"@accordproject/cicero-server","version":"0.20.0-20191022173430","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191022173430","@accordproject/cicero-engine":"0.20.0-20191022173430","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191022173430","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"dist":{"integrity":"sha512-ub6rUQ0/7V5VftPjiC2wTOtbg5+lBuslNbm1MZFMdZLAW75haJxfro8G+FznX4qthTDbpwta04eMSdMKOdLZSg==","shasum":"f17c2170751b9747d9d5e3154e7dcec6eb89b769","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191022173430.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrz4WCRA9TVsSAnZWagAAwwoP/j9qCEiZGR/x664fKCeP\n6DAxnJZ9ESlHgYpQgceTARZ0RdIrOcxhjSfr56zUPSB1pHmkIWcBm9PZCqoo\n9pyUfAifVdwhNv2P0djkErOBRHjcvfJ9oCLchw/h1YyX1SgOE91RV4mfZJya\npruTuajqUbQZhyoXekclG0HxKLBwoz8nxcPDhROC2j8uo9UJHh7w6umCPNP8\nTCCEmwwlT4pd3uLwDnAFhC/q2wInzbSFIkDh7WzyYHwzm40rb5ahzLrQKzJb\nIRZqyTof8jjDGTWNn6DZf1wSSxQHt9WQRHpL2U/04VC41fz2z1pDouAL5x5n\nixiVjtUkyJ4LjpLkvC9872/nrmvsCxtk8mQHBYRHFIIdaEbfCTOWxHVhXkLd\nrlGi1ag5Ll4wmtpZbPldjKPXNsAjq3jo/5hLCKEywNXc2zCIgsQltgPAdglO\ncLYAnxMFAXS4PoDpFGG4FYTxRaR27FHB0xcRskW7LHSI5DcUvthPDkMB49+Y\nu/7zvvS5D5YBIVwK5MIRGEqykRfhiLRKILJWCa5yknjQxyFnQGROOmm0g7tB\n2Yks77gPNUPJU1EawgYS/KIrsrKgc1ia1MOmUvgDAJ4v5O4aYJAGMhW0iScY\nNOLL79E5x+X2o+02DE3hE5OOhvLW6RQ4RpvsOPor4+a52MkSxm1yGK5vBa9N\nYvQC\r\n=nCw+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSt28ccIE6JNO6LDJDqyASC3Z9EHQrLKKsqGPUlCAQ8gIgfT/tMuz8pENmWtLQdw0vay1BOVQZyyhR0mzOwKOcvDA="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191022173430_1571765781842_0.7085292212778602"},"_hasShrinkwrap":false},"0.20.0-20191023200810":{"name":"@accordproject/cicero-server","version":"0.20.0-20191023200810","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191023200810","@accordproject/cicero-engine":"0.20.0-20191023200810","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191023200810","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-u+eozcQGztdzGyHJFkriQSB04R0jKIRiHiEj2D5OeCdij6387PYwvpkYLP1W4IUMmF+RwgZCYMbCFPWMqUGwww==","shasum":"4d9b25c72e6ebb7b289eccefdfdff14424e3afbd","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191023200810.tgz","fileCount":34,"unpackedSize":112186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsLN9CRA9TVsSAnZWagAA7IQQAJpi8fXLNJmm3d8E5IBx\nAAuMiz7Lz9ni8eWpbN2pyBMfNtPVH//qIhY12V844ENmlIwlb2+oRA1v99aq\nuBx9C4Pf4dXbPNpLso9xkru1kYlI9OXO1nxa3e6OlgcvGWE/G3Aco8Lvu3Zq\ncZEP7Cu4SLgKAWe7anPYBmPVUbwZtpJbIGtdbQlN0n1WlLad1AIuLN2WfMID\nQgYPKQt66GtsJG6cxdPMFGhyAgel0mfOOk4p8teAgV8g9Gsj2iFzgsHyZqly\nIIAk9TDFB93Cr3qh0YdY6v+pjIh0xiVVBNHkNMPeeS99cSuakXSrIo6D/swv\nUaKAvq8ycisXnjYY62mu7DitUQcOhDPRQHji+wjhttCo3Lubc0Newz8FsBX6\nPbgkwIGfFRPUdHRsKsYrhdGpcnMwULdZNmj+R11fuADoOs5fA4eLUHRFRlRH\n/9sS4MxkVs9B+LWgVvcMl8uTtkmlzbakUa6Tiy6Z96XDD078HV2G/c9ZrG3E\nDQ+zMS98bodQgj1TMC3UfIAMxedns0ktLi+SnQPQPoSxzWjDmGhKlPHL7yy8\n31hbZPZowC7VR5gyk2dt/RKZujr0YTltpWTlc6OVdASeCWXylRVEMPeyzQFE\nf0UZOvFWUlIV8sJqMGE39v3Y02Lo8tz2+NRpBjez7pvfa+YLyvnu5Z5G5qCm\nq+iA\r\n=Adqb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFeLS5doTo49iZ88SDqfKu/KJffp3+lNTTsXI+5htvZBAiBcfCM2zxsxb0NAojrIIu8kossHUojDOeMa1BUctqtgBg=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191023200810_1571861372896_0.12969272009554889"},"_hasShrinkwrap":false},"0.20.0-20191024132836":{"name":"@accordproject/cicero-server","version":"0.20.0-20191024132836","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191024132836","@accordproject/cicero-engine":"0.20.0-20191024132836","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191024132836","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-hdi+qMxIVX/WDYWs5V1ggNWuKsDL4a1xcV5AnwycVX1yyoJI8TZIVwkuQ6dkXTirw7xBEqZIEci5zGfdRd5NCQ==","shasum":"6f42016e689beba8ed4e2f559f6daf1113903184","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191024132836.tgz","fileCount":34,"unpackedSize":112193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsadSCRA9TVsSAnZWagAATgIP/0Kg9vFUG19rjj02ZQU1\nILjZ0UPzEE8js/2DUwhBMA0cDqCLrl7qSF8169uZZCH1lAZlZ5dBhxxJRUNz\nF6z1R1zh0gRBGDdlI+TBHXUI3TZTOoOJRLYD5wsu1x8LDQRql1E+uAp/vMD3\np3MFXTjNkfbvhCpUtYCPe8bMPv+F0R14JcfyWAfX4lg5nb4oAU779K63QVtE\nex8mYuQwQJcOXLpyQnaf9AJk7A9byT2mfYoc0WcbmyWtbm+xVZxrauJ9A/Ei\nHHh2oqeylV+HdE3qn3rJAs1L7XE8p/1GmO9P8t+zj+Rrwt4o29DnGePRhDeH\nBJeBB+UiMoW7yuT6QyTrHY/sbYkCbnrsWQ+qXkE7iWdByPls11PWB9U9O4KZ\nPcjo41lsxJC37ZXhhDh1O01qkVBn9nlQWBs7yADLYgpNq97aUmRyiAOz/XS0\nAgcKE48VuERfxn7zVgUD8X6BA36NCCl+XLxPd7bbUMLI4uOZL1TTAaY9DAIu\n/q6KvbLw+YmRua/MEFtv/tZ6lETLB2teF4VFJl89ZIVIAkCoz2Rl+Z76o2Y9\noUEGmTVWOW9QMK4iQZ1BDnBLn3IlFWKLh/tC4UtYDo9lQ16GpNJLA3Tb6jqB\nKE4MdwgSfRjSvF4WsOrCuaEzC+G/uy8GncT/y+l3hh4xpKa3eKlhthGmzjMG\np1Oz\r\n=cwi9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAT2KZR/ZKOQye2KiQs77wami8V+wLFkCdrFWWxryVjZAiAdXWE0D++nQN4ZaKmRh/TdoBdpDT5Ogp6iEWjTsBSs5Q=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191024132836_1571923793865_0.06634877163801844"},"_hasShrinkwrap":false},"0.20.0-beta.2":{"name":"@accordproject/cicero-server","version":"0.20.0-beta.2","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-beta.2","@accordproject/cicero-engine":"0.20.0-beta.2","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-beta.2","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-d/jKOHrdaVe17gKdWvW8l/tIRJHNvDZDHIQOIgno/kB9OBR/ktJ4aiwAFOKKn9rwNJ9cDqPMwGFBKxxO4NOqkw==","shasum":"e14b11c5d3927400e8aaaa8aa0357f4a8ee525ce","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-beta.2.tgz","fileCount":34,"unpackedSize":112169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsbVfCRA9TVsSAnZWagAApO0P/iOOYkznYnmhlC/h47Fh\nDMb+jluaxNYVD1FtytrZDWLj/dU0tndO+eVFSd5V5oC8xezMyndFMk3F9MH/\nkskz2f4D59Oiwc0Cf9Qd+HKlPan8MfhtYsQTI9NudbGvwilJO8oUL6soBWFf\n0pYkljeUYfYWs+GLG9KqtkbnGlZYDpj33ZoL/+WEgU2h+y69B0IFzvE2IgLf\n2U4dhY3mhdrmg6BUpEbNFTycpNG/of1Y114OUiSypr2hdmQXsiPpUy+staa9\nDZs/PkzmhoViCRqkyg2VfGl03/8Lx44UJyWvHsHzFl5Wi/KPNbSGvRdH4EU0\nA6Zwgn9A3y8+W/1l5I86LP6SjN0zBtJLEpVx1jIQ1vK44rnAJvI5VCtKShvZ\n+2Iz+spk7iRL9NzCmev0DDbnR26QPWv5Rshis3kbUgbGOYa1/uCi563hGJ8H\nJY0LDY9MEnyePxqnl9vtRBZt2bC2to9ZZI9zXtVULcso3UIE+L333jJaCe1+\nqWcF+ri/dFeM3M0E9WKPtSNVr4+dEmDOoKRL4wl7Ui5rhMev/RyPEIOpCQFq\ntZ78HdxxIfrXsmASaZENL0JMVo9gQM2a/FvwBv5c3nFUSIBT5DLdJNtkGYwQ\nIRwE2bJ4aZMrE/u7LxHeTl7hSH92x4DBuAHCT62IgdWBoX4DXh5rIgcEIbnq\nyRaC\r\n=GKFt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJtI2th8tuRcwoIag7jW59Zc/wz/UuwJyBftUTFVk4JgIhAOhrPet6B2ZnBm0ENAlnOR8Hd3E75ogZkdvPzu4OD2LR"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-beta.2_1571927390891_0.21228800463033348"},"_hasShrinkwrap":false},"0.20.0-20191024143837":{"name":"@accordproject/cicero-server","version":"0.20.0-20191024143837","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191024143837","@accordproject/cicero-engine":"0.20.0-20191024143837","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191024143837","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-TyT7Kb4maNcxzUDpgCZ3jJc4sjbTnKao7KTiFerxnQpUgs5yolMOKM/4QdkPP2ap//AgkdCAO/S/IdnWF8P6Kg==","shasum":"b5723c5a82c218a139258acdcee36038c2431407","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191024143837.tgz","fileCount":34,"unpackedSize":112193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsbfJCRA9TVsSAnZWagAAxpcP/jqDI57Y0nWVKwc5MI0E\n6uurtaE8ktIf/tZYkfxLodUrXshW88beaEkTphC+BjUosUbg5JP3Yksq9/i4\n9HnDq66N3JPpBEzTkcYxjsXsf/g5zdMYA9Bg2a3oq8uwlzf6I+W3RsrCuLNW\ntn1HNX25guDyTPyC3xjZ3+ZgTZ0mQx9QSz9nfMy80roHEHruQlRcbpKx/bdr\nMW0d3Bdr/QC9gHUVuTZtYTE1BjvxrNsqHsu13/pxDOWZ7IDFm9pEYFNjRkBr\n9xsL4HExiZHcMs3GZDG89MIFd1RxAfp9lEUsP7Ibia+YLttXhwjFRggylT5W\nKK4oz2B5ggvnls0lb4bUSa/40VdBL8h5NahC1CPE2a42wDOmMB5/Yyf1j9q6\nQZDUt+3x04+YPOxeVlcrhSmdPgsUbjFxRlL1rhEeWHzV5d8QAnt+cnFO4qLB\n4KofCaYw6hauqg114HFlvmk63h0obtQClPhvYTp0YvXcIWWeTlIzBNoUg355\nyCbrB908zK5H5b6bebdC1gZ5Hl9PGVvdd1PKroHpx3pyjncj2YwT0H6OfRCo\n1bnOSZJS/04guf7O+81So0Y+TaQvIOmLTvyp/4VS3DoZFvTgJ2Nz3dLcn+1z\nOzZRfeGHkrONiyytMrsLL1yYuC2kw+FNqTxTFZh9WIkTviWaZ5YaHcjAGxpU\np3ZX\r\n=YXkO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEE0oloI4cmtOGAprFhCmnkZc7KE7AWL+oBp8lPMpLvgAiBE/HP9W2QTnOLI83duaI02dVwAIsuKbcRcmHikHR1qmg=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191024143837_1571928008973_0.34642411466842105"},"_hasShrinkwrap":false},"0.20.0-20191029124228":{"name":"@accordproject/cicero-server","version":"0.20.0-20191029124228","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191029124228","@accordproject/cicero-engine":"0.20.0-20191029124228","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191029124228","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-Xqggj+Aur5SEXf0En7K6EH7rexIcPWEV19eGRnl5Ekp9VRx/GVD1dOl4NzzxswsYHpg32qyDeLv6cm4JpuGQjg==","shasum":"f94c441e7f135acdefdae612c413fd04fdc27883","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191029124228.tgz","fileCount":34,"unpackedSize":114429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduDQUCRA9TVsSAnZWagAAvfYP/2BpdcvXbpVme28mD+dq\nLMDSPPAKY6Tn+eTPUXw51tpiz5RpB0xQjR/YacMxDZwh6LW5PIyx4zxxMlFS\n6hQQ/scQoGdQ8+nfxoAApTQyJJ+U4Wor+mHmLuPpTZYcscwtk3hqBwGEQKgV\ndHmlwRK4ESR3uC+kNEwArCCZvwMjCf7x0wKmSO3CEnPu3h36hyYQEVWsaxsk\ndBRtw3e75kfacBvhkKxMSh41WXlT2aO3uYaP+hAgmtjN+CHXepSuEQBClvUm\ny+8TerwjnBAaQ4isu/dzaOdoYJOgc8Bcj8IJHv2AMkaS0wvPiydiq4ju4vwN\nxeyXXdW1JbSyD+kJhBl32FlXZZ0GycoyvGOiAkaSQpFW801HP7oclgxe3tr5\ndK11mI+98Xj1767DAPi55WzzD4hbOOBEFwsIrKmYk+cPumekJ1txwTAwXE2P\nbGAEwYlJzq/rdb/vklOBYBKFEptX6nfQtbldUZZz8gy6u24Fcs0+ECLZH27P\nC1ngCpf4pt5KGBiePy0E6u5fjltx8n6KXinOCM5dLyNX1oqdR0wD1ctUWb7Z\nOLN7nqUwMVl2vZVDwIu3xdYulHgXxxtyIbcmTddFJ1BCHydQ6Jt0GGTgC5ey\nBbw9P4WKbzlKayo9zqIvOsk5XU8IgeFIqK8jgVx0/8UWZJBF6uV1xjxZqZCk\nCOm+\r\n=QXUd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICWXTVQgMsndcsz2f3jenMqq388rfFKvFeznP6gkOa7+AiEAwFUME1QVv16iHqjyqscEw/rghGytuLAQZMZqnYhqhZQ="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191029124228_1572353043928_0.19439561951757378"},"_hasShrinkwrap":false},"0.20.0-20191029190951":{"name":"@accordproject/cicero-server","version":"0.20.0-20191029190951","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191029190951","@accordproject/cicero-engine":"0.20.0-20191029190951","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191029190951","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-t3nZ8O6VT9H1St9KyHWm7CjkXL4+7/KQRb+E60GrM0j95x0xO/1Z8knRVmGNKd9fZiEajkDCxHL3Fr0w8DBAgQ==","shasum":"5104bc13e3b161f4e08530e53e6a4acc23d9eb6f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191029190951.tgz","fileCount":34,"unpackedSize":114429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduI7MCRA9TVsSAnZWagAAeYwP/ijIdGOwuh7NnNEh+RrC\nbXKw5k5LLRlwwM/3NWcSlOastDZKFqJlkp3aYXWSQvHyUYfklYV2JsWW+jUR\nKkeNrfnpwqpkCcjqn1977xrv+8KvZKkC4eSrQ0WkISTz1EG54nWh+BehJ3Dq\n6tW5t8swsKknZP9iKpZc+xDHgqreXOblukpgL0rrg3voK8M1feFmv4AMS7sz\nFW5hoKb26yUIhVp1togSeQZ3yTKDZC+upPLXJ37JFPi7CuN+rTAcQX365zCt\nBFH11gH8FUdY3893/sTIxJ18MYE/AF6HgjFMQxvhZmteN9p1w+g1mh2b6gGu\nKmj+lr4zeKH099nQ+qWcDCjf3hh1do25U+A0X9ixcBgIrPIIzlRPmKq+Sxoo\nnFXf/FuGQKkS9uSBWQjiDI/zY2oqUXHYbeGyhTC4OY0k+J3pZcJ/Z1wHAU4g\nJl/37gTew1LUMeJKK38MPctp5MBsf28SZWxp1AokTaRAcRynNT9o4ExETkRe\ngylHTGYdt7hSNucsxZTNrqPA2OmNI8Gb4IpzzGLQCocIBuIj7ZHgf9j2woic\nIWr5lBbjmo0LzqPZfYlJX20lGvA0vNSISsZGz6imZThcxtd5G6+zZv84+HC6\n2UX7ziWL/CORU9jjYDRXIFv9i8tSe+1BAtprolGeJUwsv4rJjPiqJetWE94y\nM4Es\r\n=LPB2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIfdG80qYla2G6Sxfv2ijrdICEoWklM20vJHTJmZaKPQIgXsGx/948PnNchyb8sHtE0iEqSFkxSJKau55AI7QLyvI="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191029190951_1572376268527_0.20670029771467813"},"_hasShrinkwrap":false},"0.20.0-beta.3":{"name":"@accordproject/cicero-server","version":"0.20.0-beta.3","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-beta.3","@accordproject/cicero-engine":"0.20.0-beta.3","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-beta.3","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-N4bgLxFe+3PoqpxYoY38k406BjUX88Lw/Wmh4MJM7rzPDpFKN/00A1tOsSvVfeaCB39Ampo14nKX4FHmOACfuw==","shasum":"d3958aac6df94d655967ae58ad149616308c57d5","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-beta.3.tgz","fileCount":34,"unpackedSize":114405,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduJbgCRA9TVsSAnZWagAAw5IP/3m0FRebTsEcTL36L29U\nWqNtMay7wdGFHBYVs4nPJymkD8jBrarzuMIGp3XBD0KyzGPlifDF0Ex6D+oM\ngZcyHicpXse+YPzETJvvo86fk5UxTEYZZ8qsBvIklcigvJVsGpmOGlmWZKJA\npEtAxeaok28O3qDBf5J7urC37EjR6nGkv2oqj0aFLg81hEVLz8z/9lfIyUrS\ndZPqLWrYTt443/4xYozcbzgQtOotEKW9tjflz43YaHT/9tJPWfMiI2Yg0d9V\nN/w0M8Slyal6gpTiaSmszULryeXtH1L6tTvDkAXi8FprCD6uYfpJTrEspFwp\nsTzXdjiZvpwfM3YyeP94fUSOi+O321cSN/Xzt5NvX24wxpr/kDH8enCiW3yY\ndzDAFXv+vRSNKH72LGgFUpKz1fSxq51qI+cK879QCrQkjqIB4fU87R6HaUoZ\n4/Oj6FKEtAM0MfH00Cc5uSmSstxw7/XJWYovjN6gsM2MR09IeNL+WwfNUTWF\npcnRF9qoh8Oi6YZ0Em5vjke1UtZrkg5JjD0/OD2NIF1dkNf3K2HaOfcbh7O+\neasSVFBEoK/FsD7yzsKRxVpjKKRrfkaTxlp4Rnno/HodkpV0YyW6VZ5xZRIw\nXnV+idmGmHYpOTSMrgQ2f/NzFj7gY6jJmFQShmqxs2ppfJosr92dDjs3rhMm\nhobF\r\n=X9MF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDxRzDsGLfERPYgM9jBSEdXdvd68JKFcKDUEtqEDDgGAiAxw9l+66lXNH3yiZPMeJIKKl4rmGLQSm8MlURdlLPuFA=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-beta.3_1572378336108_0.8575072424428618"},"_hasShrinkwrap":false},"0.20.0-20191029195231":{"name":"@accordproject/cicero-server","version":"0.20.0-20191029195231","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191029195231","@accordproject/cicero-engine":"0.20.0-20191029195231","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191029195231","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-pZjk7OUc1TiAMgvwiEyWttAxmFT1gqpbfSf8zgpM00CgHEwDSuIo1sMyPbROOK8CMKD3DXuQnY7ZUJ7Y4r+wcQ==","shasum":"3e28bc00d4f9e1d4010764d6a295913fc57ceca4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191029195231.tgz","fileCount":34,"unpackedSize":114429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduJjYCRA9TVsSAnZWagAA9igP/Rr54dA/0ZR1S3GqffyI\n7UGbTnQt/cPqjiuSLRqpNop0qpoNMF2huTY1osND0L/wqm8wu5SIqxgrY/8V\nxhbahxvQLlTr5dBp2S8hzW+kBy5WaObR3A97mVY24NELMLUmPBKmB7w5xarS\nu4fyG1PZxLxqPKz+GPBFECjRGp6F9CHVgBvOwTH2r6R8ezOiMv6swEg8bWZ6\nwahelC1R/F9TgsCprnmOydFEuq8Znr7eNi0YXYkkyynw4t++A5X19u/xgTCc\nh/LDISzkUZdlztnq0WdjfHQkJHDbkXVWr94qs96wKhlJq7p2ets8Fli/uz+A\ntQG0C3f4sWjJz/dz+WrTWGIgom7WU636oohSG1GcrZPbm/UbCkVFsLvNoMW2\nGsWCkIKITZYGdCdXdpBr9yGi8AVf+OluQd1NRLcB9K5BIo7asfOC24DkQD9O\nlP/VGHijSfSQ3z3qFy5Fy+1jsflwi81fL5jtwLST7t4WzZG+p1y2xJDWz8Ss\naZ4nVq8iWMo2hYy5KTG7pPwX/LYCVzz5/ffdFvLv34wLFsFbv4bK3rUJJmdP\nhAoecAkOXPyOQ6f1fUd+WTPLHuUg3Lqft2B5DO2SIfEVVeUxv+Pntfm2eJKx\ncZy1PqFq4zCqRSn3cHbMFBBoSuSPIHNzY+5vW+IYfbJCsTY6ybiv7ElF6jZ0\nKgwT\r\n=ObGU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQ55BpxOWzildxoqndg6N5SCSVx4S3/B1kFAn2rhGN5gIgO423pMrvFDVDmDQazgYGQIitP1oith2PEdMujVJ2yuw="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191029195231_1572378840394_0.351247489537857"},"_hasShrinkwrap":false},"0.20.0-20191030200006":{"name":"@accordproject/cicero-server","version":"0.20.0-20191030200006","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191030200006","@accordproject/cicero-engine":"0.20.0-20191030200006","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191030200006","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-rnaNrk3zOTdfnMOQN3TngvJEc+TfmPrci76Rck18UTW8cfbrcX1QbBF2QrfiY80BuoDePihl5dDMq9d+auNKEg==","shasum":"ceab69349b8751bf5c64c42b06a4b7a88e14001b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191030200006.tgz","fileCount":34,"unpackedSize":114429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduewYCRA9TVsSAnZWagAAzeIP/RJt3ieXvLQ+xT/ZjLAZ\nS3jBWFCygdSCDW0gLVvY2437vdZ17iZeDda0UJ7Mro5+bKDHKJ7oMffez6wr\nkHTabH6eOHYFOpCfjf67waYjAXsIeOImLc8UE+SK+ZP5TwZkx8C9Zfx+kRq6\nw5fCMN13iXxNznLOWSx7uwv7sSrLDNWhzuSpyVS6O8Y+fd4H2jvzRcQY3K7m\n5ClcxkOgF3ogtpCFmenxgOYMaeSA23tp1ODBQhQ/5Q6Tpkpubl7I9+YouxAf\nIvK2dmejuxu00V0BH8I7vLR56Pc2k/36XIs1bgWsZwCJdpaFQjRpUrcCZ242\n3yZ/SBkVFjIh+Da2dX556Jv1wkWcPDsCOJBHw+wka/MM8kPUooHt4BtbDxFa\nYpZ09I+HiqOCgOYwNVsyR+G7Zee0gypcoNzMlmGipNV+xE8s4tygNJu9hzGH\nI32cwJQaDQVXxccJpDFwSStLUX2elPBjXlZFkteVlQ+IbGwnYfubElnwLwUq\nSOX0z3ULSVx/P78SAAlPXF/qcvmUuxrfju/8lj9cEJ5Vg4w/LuqkrOwr1X3g\nCEko1bKTwJPGlEjWRcq4gVMnuq9j8Tsz4E9l2Yu2Nuts8XAnJDg3DU7+F5oc\nZvxiPrFmT7DuakNiylV36qG4JO5Svr0VRwGvG5lI9R76ht4rJdBhrogCIM9n\nX/K4\r\n=Bovl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICq8yRsjfBgdD7by/x/pLcoohPvlVbOxNkR9J+12ZnvJAiEAsDJTgbbC5UfK0eDHa7N4x3lLJzrM27jbn+cez/VCrLs="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191030200006_1572465687479_0.6083230674644862"},"_hasShrinkwrap":false},"0.20.0-20191031015834":{"name":"@accordproject/cicero-server","version":"0.20.0-20191031015834","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191031015834","@accordproject/cicero-engine":"0.20.0-20191031015834","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191031015834","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-ZKslXZEnREWMHKFFuJe4qIY4ih4i3Ac0oHaGV81a4FZXCEMbyXvH54SzGQD41DaMtfBDtJVGadQwPtfQEiFuHA==","shasum":"2062c12d6af4c3ff68c3d5200b91c43a13c9603e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191031015834.tgz","fileCount":34,"unpackedSize":114361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdukAUCRA9TVsSAnZWagAAmJYQAIm1vzZAkPlW5WQ1UmHb\nNEZfYPwQ9nLOG/yizXB16V6utKYE9gNwwm6d2kWxkpedgn+uaea6yhEgnA+N\nQmJ62mdrbCQoc0370w/WnYkd+BfR6maPnGV7R9SNbeb11RFLypN5DaVq/Xyh\nQDQloILNhGsmfz0pWcI9Cn5tw8b50GpS/XblvkXrFlYEDK3Fci+vyW+F7DoU\ny24XpDyiJMmHZZUSnSt59RFrWc+CXlls772EFK1IAjGY3R7qf9bVirHCRJ9F\nGI+OTz27Iggld0cQfFpy3q3Xun6ahEEs1tYawg6xvBFdqRLlODC906JKuuns\nkMCtqiZxYH80leuse4gQrn9aXmZU+jQDaFnVEqdNFHnll2MwpNegC9xVHCaP\nEuE+6tQF3+hlCoRUMXnc///wmeW3xLOQPnUjX2E2th+rAFS/t2wxBKjC2QA5\niw8PEu7IdfC8yZCeU/+Ylt+/TeS38RgZoq/ztesHI63K9OY6Cc+DAlHWAysG\n/BnbzIf5a0t7nSvFqOv52A/T3OMtrnniuf+peFzGBcb1fLDLsT/JeX/lesJA\nN4/6SrbeN02X0CxG3KUl/qLiY497J/DgU3KnP9cTJ3e9P3g/L8VAi+xzQjCS\nUMO47wy2FTz8lq/zluvqWlYszQtyFqL6wk2A+NscTIJwbM7PyKDOSjZUxYg1\nJEXo\r\n=Omqi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnGpF9hWiR5rcGmP0p5EcvhaENXg/fBtxZhNjOFM3iPQIhANbudcRTNFJrM45Yn+wBNwrq3D5FJPCJv2/lq4vyPYHG"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191031015834_1572487187641_0.9416667827707417"},"_hasShrinkwrap":false},"0.20.0-20191101003248":{"name":"@accordproject/cicero-server","version":"0.20.0-20191101003248","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191101003248","@accordproject/cicero-engine":"0.20.0-20191101003248","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191101003248","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-DpO+2fC3ajpvlodOR0j5ampi5WjLbWmnbDr8IlzzsaZquUJ/pq0BjcJ3laFBjkE80f9X9Sxfpb1Mdo1ZzbTd7Q==","shasum":"3efd72e778fee53545a27103f6ee0121f629bb9a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191101003248.tgz","fileCount":34,"unpackedSize":114361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdu32BCRA9TVsSAnZWagAA6SkP/2ITEMtyMSh46mZWdLe5\nWggqbAi5R8rwEOgJzUTEprryD2Kyd8QYp9SzaE82Bn83BakppaZnR9p739OV\njjshGRg/y+DOAYDd4nFxTB/jiyTdcWM/3QDTTW/y1+XKPIbZ9gcgi32UwLvM\nRSPUWYyL6RyGxlMZ2TzPaSdooXAdyUCnV/ipiC6Ua6sNHF+JMm0qPUHPMsVU\n+dVuaZORhgUB68kEUG0bp4Vpome6CC4kQ+wVSRIY2U8YyvhD26mnKs0wiNFZ\nEzXqriwa6Mvr6RpHSGsCJspCsLHiN8Gu8L4UM3gdrdqMMPknrQ8i1fKOCJqP\nk5rZNEpuAuT64Xx7A7Lm2YmCHIJgXdRexky7MZSJqpP8qhtq7nq71k2LkhWW\nGgkqCYvMSpkXQVxg0ObQhtvtMJq4sewreEzOmOPiysf3b7r0g6nTO416HYMM\nXJZVw/92OSidktBfNAqzetTNb8E7RatnkEewaCWMKI0dpkqP8W2DBzltbE5P\nOxQGGUfSu9lmVSK//tv2JEZL/Lgp36IRhi6FmIajv220issVnEHjnCihtDzs\nkbnT7mlDxx9fzC2jpF8+SqGmXpKUjprb1P1RkeM5JSzMBTZpxk4KtF4hjUI5\nr4Yi7iXbuYDPRIL3Si2marYK9I9Tm3v4f0b68oNlkzH9tf/nihsgNH0ep87v\nSjaX\r\n=B/QK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFfby7jHKv0lAdogq552X7KUEvz6xm9wQzpRtsOW8xhgIgJhqOjUEp0u1vIsm2BPxmsnv7pe+BS5XiBWW//pGuu+0="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191101003248_1572568449082_0.651184527779888"},"_hasShrinkwrap":false},"0.20.0-20191101004508":{"name":"@accordproject/cicero-server","version":"0.20.0-20191101004508","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191101004508","@accordproject/cicero-engine":"0.20.0-20191101004508","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191101004508","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-6K/pQyMwLLDCj/PP0u4ld/c0JK9YH8O+4EmT+Xb10b/ioaeGFdbZZAiLIhzX5Fm5V6rLtpPCvmM9A760yJ32Kg==","shasum":"068366d9deb7d58f0db9077622705fa9d101c7b9","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191101004508.tgz","fileCount":34,"unpackedSize":114361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdu4BzCRA9TVsSAnZWagAAu8kP/23s4HCqL9wjsbeifSGQ\nQqagfOCBS0zVcpKtWcek8HGLvRAel9QeKOaKrdd6tfEVJlPEe5By5zlXw5lB\nLQlaGxz9u0m6XnUKu8Bvj44GggtPpOBEg+ihRcxIjrv7a52dd+MAYpWv1C7d\nKtDZAPbbIHJwJDpnz7XEwnU/vLzzEpSNuC2kUHWUKSk+3bJSxOy3XxUVlTak\nEuC3qKhCixBZEIhB30IZxqJOGuxRcnnz0gY140QlJ5qX+daFzT+7lk3uoXnG\nqoZSngSVTjYbf/SMuxC4/nbIf2kpUDtJbt6UHR0usqx9bFghRnDruWCwK1kD\nuSIvHI5sF7ZrAWAhDItsZe21sehq5t0jYUUhaPp4lMcKgLWhW3muY2NmUzMP\nKGkvOlHP6cgZ0PqPbw9q/pQJkoXIxgV4W7mXV47nlQJdfDu2FC38evoQ77mu\nzpwWa2J+sPjZ1rePZZ3Weq8Vs8Iqa7eZy689wJ8LKgiwSnJhEuzO4/M451iU\nCKqtbFPJGEGSxaGQiM60z2UUm3uWUEPU6CmEyrp7tbFtLn2yyIqQhLRx3c43\nZiZIh+XwcWST38eUOGz8VIfz/yEf0n9gJPQ+7dD8xp1PihSa5eo1TruKGqvI\nk98+iqyjspINTtTuxbOXP7TywE0AAwfhYw4JBwJTF9ag1cP1CP6N8ee69247\nWmwK\r\n=F2od\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFXA2jiqUdeDC7AFhJsKLOaVlyYwii2q9qyj1ymfOMiYAiB4pKS//G3jE6NCywf7chljaI1J68sS3Eo15CiilSkt3A=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191101004508_1572569203045_0.3110184171742807"},"_hasShrinkwrap":false},"0.20.0-20191101010133":{"name":"@accordproject/cicero-server","version":"0.20.0-20191101010133","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191101010133","@accordproject/cicero-engine":"0.20.0-20191101010133","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191101010133","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-RfRkVWaCC8qGOPWZ/VyE6yctc3TsMWDlWIkye6fxbYmyx8y81EeC000eKKxFzfzDfB36zSKj5LPeWrxgdlb71Q==","shasum":"43e24c1505dd8efcd001fe4b00cd8fe297af47f5","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191101010133.tgz","fileCount":34,"unpackedSize":114361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdu4Q8CRA9TVsSAnZWagAAofUQAKEXL2j7LEVIT/0q4sJt\nqueR8JKT8NBvIIlxWZrbR9AXNlqEVcjHpQq9dh7atu6aNhnKyQWsa1XDcAAQ\nk6p04UO+yMUS3yGn+h8d2DxRa9nNccmZXjn0GQ8s6c/dBxM/CaX8+pQJkiUT\njiNnMDWvwHr8jMnzD3JrXLRwWsqKm/9/z7b+0MxrALojVkwQ8dhsyMrtLITB\n7mrc6R/SEl8391wa8ermqQVbSWMHjnJUolnoZ/HyzxT5lhlwhYdRAR1/9gvI\nFVfEiU7ANSzuNYEPJcmCxhm38WPvYlInfeFg57PT3MooREmxsXoxDNgKPWOe\nsBKHcSyUTrUJrycmW9immCH3NWcVWwqg9eDlB48WOqMOmm75bfIc0KsK8HOE\nosCZH2DqVDwkAwKXIF/xBXnzThf9l+D0etIOVRq86e+a78vfd3VQ9AU8Vk29\nm11R6yxmpWjy6pogfD+pgHcL10p5sn6pmKt9nBe1zb56CKg5FYnmrLEOFu0s\nlLfocPP8Xo9yLN8o/sMerb51u0Osx+GZA8rlOXVKfThQctrQodLIGT4AbVSE\nDzi9tI3OOIN0JqazegHKwbT1pu0hjdDV3ZcDvWO5bdjHLSgAOgWKRMC6GqE+\nBuoulvqqbHlIRhHyeFDniVmqw71f15q8WLRuJVsvpQk61y/MtgYRs5phwsVf\nRVGM\r\n=ztIR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOvucIi5+GF2cwSFwKhr2h1zImM/p6MKvVo5o+1g1f3wIgJXifTzw+oBmozsJfXnaCzfhoAsRy/zsYh5H4h8DWwnQ="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191101010133_1572570171796_0.26214613476879856"},"_hasShrinkwrap":false},"0.20.0-20191101013834":{"name":"@accordproject/cicero-server","version":"0.20.0-20191101013834","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0-20191101013834","@accordproject/cicero-engine":"0.20.0-20191101013834","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.0-20191101013834","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-NhveGHqGOFMfuOBgIuOQoU62M6nW+yIVwBMRaQs8+MMeS0TVFvTevmG+kJqKbCTdkq+tYYoBoJ2ViWRu5p058A==","shasum":"7ba86a3757d53f78387bc4e2e61b02c0aa44155a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0-20191101013834.tgz","fileCount":34,"unpackedSize":114361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdu4zrCRA9TVsSAnZWagAAydsP+QHyLLE0ym6A2b2hVlU4\ntgRJHWv4xq/XwfYaqhGVFOs+84YmDBwyQYK/DI+/h7iHOJoum93TmnnQH9Sm\nM8DKbcNcGZnxkk50U5k1IT5JBOo9N+tN6jz9s1A+zYpcifNxJpp2GjqXPui0\nozj8rc0lxJFABlFzZgXQMJR5vxQj2wvPArfBSl/w2ggJAjoykcnLhpwJk+se\ncs4HRQLU/KhZ4LHO9xKX4FcPgYgQOIrBYMn64qZ1XEJVA6U/0QZMHQD4jFhC\nO32L8MEeNDPwxxhmLDbiIVdEq/hOR5wbFFnTfpG8SvulqTqta8FKBFmLRhqp\nAkHseJq2fE7iWqk6P4X6BwmTZmA/b558IuO21PMNfY28fdISZV6fM+SbU2jB\nCFUen5/kkW9qvHw5lxuh2xTBJ5BpAE2E3njWEsEvcCDmxXKYiSe79UFf/m3D\nelWaVtqKswpBBP8+J0VY2vnL3zdHFsyEkkk04CCdX6voaa64JRRJ71GFBH1L\nwRcaoOw1PV0lDSpKrgNQkVCb5d8e8vzRiU9SqiHpuBHAyccM2r2maB8+hKX0\nlfGxie/cqzUncQ3/+3sVjG0K2fOKoul1oj4Eh5gs3FOY95FpCL2bEuWz4ho+\ncOccbHjtdB9D7o0eHKCsmpnngbNbE42yQPj6p6oqIia2n65UHh/ED5+/33jd\n1Yax\r\n=x/K/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTvteodAzhEXwvS+NEq/9iZEhLRABlYiPUK02yGNweUgIhAIifmOW5L58am1sZRrUOEeLKV+K9xikRg8rHb3QVcrRb"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0-20191101013834_1572572394963_0.19967603299565262"},"_hasShrinkwrap":false},"0.20.0":{"name":"@accordproject/cicero-server","version":"0.20.0","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.0","@accordproject/cicero-engine":"0.20.0","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.20.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-OGwrZ/0U4HGA8/iXFNvwHUeHmN6f8iP7d1kc+9GJY0UIte64qCROT6g67fRPsI5sH/uocWEBOE6avvIbTAQ6ZA==","shasum":"a27a5849ec741d650f53c18b08ef7be0e895f36b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.0.tgz","fileCount":34,"unpackedSize":114316,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdu488CRA9TVsSAnZWagAAg0wP/3vNzZbGvS38cxhpqvpv\ndVoa07afNY3FpvW9ONgSLsYb2fqSS3TCyvqaMqtKYaHGtTyRvdWMKM4e942x\nX8e5cx2nhv4bQpuPGoXaZ5ywAdBmeb+8MuwiJGGpL5GZ7Sh9Osbu9MO7m6Ju\nb9txz+/krCN8/O4HGvxhkk2pQMdm1jl6y02lenDie0t/Vwo3y6yNP7D5oX2J\nhzaZby0CvnB2nT3h3J8VB8b3fojez5k1A7DgZIp2pwZvLK022DSy57cd4R1P\nRnLQoCbOsHyyeNO3MhKlzp6PsTPuZNF0vDNV7QExRqjDdBLkDxMla/zlyiVn\nxvdAlnW0oBKf7QF/N1KpOiWEx+NETJ+NwtO4+haETSG/iTLBt66dxTsUAIes\nibbS1hSZC3+tkSEjn9V+3AaSD6ZLvZZPGuNkCDxoyGBxjNfmP2hRcYAnE7Do\nO1ZXYLZl8vyQ8wa/RRrOtb7oU5PfoEjPb5dIS9bSQl1FT812ByOSAU+MUppk\nsiRWeaEBkwhaN7qkGnfMQlDb4YMDvWkTHt5a9y922PEym0IWjjwYUDaEIW3P\nnPOljLDOxyllntK0PbVYNAEp0BrdtbBWZN29IRmoNE0ChMVoEB6rOA5PWB56\nv5LbBKEed4ufU7AR69s7dQuorbaBEA5S5zSc8zLyF5Vj5y3oum9I/VD9F1cu\n9raI\r\n=8+hJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQlR9/IPtmDOgqmkmccjuhoh4V/l368Szav9Xz+iK/pQIhAONSwvqmum5Vz36EhGCi54xncRB/YJSVQGoBnzrZH5zn"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.0_1572572987849_0.178881479956303"},"_hasShrinkwrap":false},"0.20.1-20191101015624":{"name":"@accordproject/cicero-server","version":"0.20.1-20191101015624","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.1-20191101015624","@accordproject/cicero-engine":"0.20.1-20191101015624","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.1-20191101015624","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-FcHtC71pgUaQ9sK2RMTG9OIO3B1MUAjzoizounD+s8xfZWW5Ow1CjRurGcQ4CBW1i40neKCCp6/q1gAXvqgM9w==","shasum":"2885c9581f203920d28f9673fe352f039e280da1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.1-20191101015624.tgz","fileCount":34,"unpackedSize":114361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdu5EkCRA9TVsSAnZWagAArCEP/R3UnDkUA5P17+pnbuAq\nxQhLmM8HPkmadnIxqG+L79vznjf3DIpGXXcYkEj4sP0b1hIEk0b5/Fnexk/R\nr5Ocx9QYV0q+XXTsx05OWMeTa6KA9sLsN6uTSHf+95+7gCyYqmHwvEJmwGhg\ntu6Zd6hJYBXwktgPy3BLHp/0IR2uYtcam3anwnERxh6F++N219GowsU82b8P\nmg2YzvYEgrAZqmSdTkjR+JBnXzCumyVFtgGcGv0TDnjmC8BBQJo/CM3ZJQ0s\nRYsRtUGSNCVfjbUDT8FCr7g+L7IL2u2NshSZWmYZpH5unvuB0YA1YG1N+5eZ\nAOYl3cGy56x5cmYH5lp1MYVe8oG7j4QfYAs2EHwEyoUyNZsJQp5zf0ixjW8C\nIZs+/nj1F+IpT+qYmlTETr/CsngVgXROajLlIjFiw81NSccllpUqGYAcmTee\naAD9MbNKD6Egx0u1QbkOSj+8eCeAEYE0vGp8GR57e3lDbkp9fJDcP8COS15H\nsFYNirE2qc9dcJ091k7WQLOduVTZdIy3iM2aciSY+JZPYiEL5FRXfl8+mBkH\ncc93C5maH6GwYRMVoEC/BqukPffV4VJZs9kSiFWz5BIFV+bkD+gpCTKTOepz\nCWatedkZrWxWc1GhoWk0+HV1fM3sIfE26rQgut20RQX3/TRl7bk2tpERNBZJ\nisns\r\n=XbCk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE1qtgqp8ktvW26dHeMMxvDa8FU4wm24ps20jGbEPviTAiEAtaiFOa2rcXnBXjqpkH/cU18eq2bih1SCj60pNH2Nbt0="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.1-20191101015624_1572573476111_0.8699595635611126"},"_hasShrinkwrap":false},"0.20.1-20191101191353":{"name":"@accordproject/cicero-server","version":"0.20.1-20191101191353","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.1-20191101191353","@accordproject/cicero-engine":"0.20.1-20191101191353","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.1-20191101191353","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-aW36SoQ0+xUyZih7mIvyN/3kFbClvITUrq5WodpmLINVtG5FnXNUfSHcPhy5d4YsoSjAddUUIKBw7GZKAn3l8Q==","shasum":"c1b927651b38623616d3347628b5338cfb3f9b00","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.1-20191101191353.tgz","fileCount":34,"unpackedSize":114345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvIQ8CRA9TVsSAnZWagAA/7wP/A8KONOUo4i1Tg26Oeyn\nk2JdnJU4DpnwzHR0h8kysWyQZPW33GVG1wqEmMYkBTvhsy+03GVGiO5yDhTT\nwYrPbK2Vx08DLic+C+/MxcE65/zciZD9LI6ugJ4A/26sxyKos1QTv6J2UVc7\nOhcOkmo/GGwuvV72KRnO5s8zrc+V6663Cz+H7aB3lE2BLnaRGFVal0co13Lm\ntv5IBSjxIDWFuuXPh+xvuHQn/M5G+MWUjaUNTlacBV1QC894CCD8DUC/ilyl\nD8DTySK8NE1PDErWDJkI/KjW95xXb14LWAPyi2aDuShVqAzowUQGD+HmUMRL\nOcw5uSIZTJyreVSJPGO3VA/Dzn4lQ/+HMKzlY+6D/j6rBajJJN7qsPRxipEz\n1HcoL0g36auyue6pQQ5PTsj0JYHjf26BtPx7l+wOmTHINk8l4zTgzJBaAMn/\n9nfav1XlwHFYPcoJ2kVYPk2LIu6FA3VjXXCV9EZ+fUAO6ihKuX3jkXkNQ3Jr\nTKA4Oltolqx+7P+vHxtIejseWKEFQDMs3qoS/ekIzpPYUPhGFqZpxbqcFVqP\nJHcWr1Qx+k/6FqysV/AHvvU4ihktfY/enYeKHqFMqt/LRxT9j9GQj8DVtKBn\nSsOOCrlozLF7CKL/OKCJu3Y7Eyi+tlVsnERQ6YdAMY9jJT5MwMCrDz5buaFE\ny7Jm\r\n=be0p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAukB9mCexY3hbvmsvNzYz4VOOcYAexqYLGhbtQe2LNJAiEAnMNQkXuWEjdFEWpTG3lbqQQ9OgmWRFo8EM//4A4MCsI="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.1-20191101191353_1572635708107_0.7948976187095149"},"_hasShrinkwrap":false},"0.20.1-20191103205133":{"name":"@accordproject/cicero-server","version":"0.20.1-20191103205133","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.1-20191103205133","@accordproject/cicero-engine":"0.20.1-20191103205133","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.1-20191103205133","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-poRqmhTyF6zzuZzOTRLieKEsT5GqRS4YVix3QkImkzu8bZBvg7W3zp4Zjk7KBcSMRDhZ5SM9jzja3ik3bDuJtw==","shasum":"229c57e086915fc91b040c685708e5d1afc345ca","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.1-20191103205133.tgz","fileCount":34,"unpackedSize":114345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvz4mCRA9TVsSAnZWagAA4RkP/iTeL9Pun4fkngSp6fhg\noj2AggA6OQewN6mhavy6eQRmSTRNhYcquQE0u1/sNxYeSHxcfp91ATUqYMCq\nx9ylvqdL6feZlrP/rAuqq8D7VB/iQyplM5AZWAoZE1nxk48LxuwptyD2fTvh\n4wArpCBwlSvdcO7VLJ5FuS4ZRqMybvb79AiO9tC3mkuF9R4nFKj2v0tOBD3Z\nAV9fNBlt020PP/yXsXPcbowAxVenHFf09+dr/2XiYa1CaQ0bmAS4ZtBxEAM2\nyiz+Q/c/Cw1A5v5Oz8A01yPKHM8UGpE+Z0tQ04ThB1WL8sr2a3Ym4nkHNk75\nPZi6it86OuOyipZZNC7ToBgwrh1VIbY753lW8FtTlfmi+/txCDGBAaK3incq\nih1sXQGhRvQvLkk7KIC8NsGPStd4AIN4uDeZ4hFnCADMJt0Qdmh8nD4DbOat\naThZpDkwPllWh5ycCgOFhcK5moSvZyyouRnW1ISR+GnFMBHe7PEjHjR+17dk\n9eFpl70W1fuLwGrI1zpiJOElOSiLETD43EM7UA8XzV3fRwywcIAmB0oqnq38\nXlFTKy+6Ky74m36tf0nPjG/8qF+kanWWnM59DI7p6rQtIhBwm0aSqPpO65GK\n9B6U/qVaMpCZ2FzPHGHSrkS39kW5+kg6ZDnJLyibMJ+A2i8jEHPPoHHklwk5\nyGso\r\n=FvaI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzulXaZM/Nxsj8+evARkOjSS9fBS9an4Eo68fiArhQrQIgGR1FIWLSwbQovKWcAguo2KZWs7SnrV3GnMfNfaXbmMY="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.1-20191103205133_1572814373824_0.6806485200922638"},"_hasShrinkwrap":false},"0.20.1-20191106133609":{"name":"@accordproject/cicero-server","version":"0.20.1-20191106133609","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.1-20191106133609","@accordproject/cicero-engine":"0.20.1-20191106133609","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.1-20191106133609","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-nt+cckIzePdKtFrb2AY52GWeZV48nEXeSucGLhR55GSgsVeyOMY14zQidyBrKchI+9G1uftxoZwhK2ARDGZtRQ==","shasum":"b1fd9841ce7df1dfacfc0e505cc4262179a6980d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.1-20191106133609.tgz","fileCount":34,"unpackedSize":114345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwsyZCRA9TVsSAnZWagAAKe8P/3ber/hcIXM6pM169/kv\n1p1FcDElFUb7QzfZuY3uJDel6Q5S1vugbb2jwsR6SJSP7f/gjh8IT6xWbpRR\n8MVfxSwYygX6GynTME8rQcxdUYe4iz2o4Ovum2VqX4aMForq6thsHjII4iJt\nkiNqgTRbaTpi3qdgZ/QIKkhzt4Vg/29Zok4oqkQ6TsCGI6Ysu8sFhaWf6Ww/\ntFQnWWwiZFvXedliDYA1rlHwV2cxQgYqC+VHv7dPKeRROhmjXrbYngqwvmGJ\ngtnuyIbyfL1o93clmMFZ3sF6AyoXouBapVkcVkyydLj/jLE+hYLqRIq+gMao\n1m579D6m7HHR+cwLyL4BQ+jLbikYQ5chzUDAAWt32gWLOwiU/F95IsmYVLo1\nMIDmjFLUek1rKzVg2vPWABFh44xqzZp45YJpxDZ7O0eWarJ0GALDO8HVz1/7\n6CSzYk5DJbxlv7+geusZAqONezjloH5+OwtnvePM/QxNeGZqynfLlhhV8zrl\nZ+vXJcgEp67OdmAWV6dxifJqRxKT83OU7ydMKsnjLV2pRaMTTZs0bBsh4WsL\nc9ERMMZ1IM5JSP8NaB1hJVLQXWVmzvy3Q5HogVxfv483Lxct2+msWyZOi+hr\nLllLhUQdapGd1KxvDScV/+RXHW1GZU+iBXCpL6Zq8il36HubVjGRuxbzdIsC\nJpq0\r\n=7OVa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEvfnlS24lVUhR1xt8rplDgHr4dO1HCfiR50ZHmSGL3eAiAranU7JpIQPHDdFLEe7FTxGBt4fKIVb8s9CiFeYjHn9w=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.1-20191106133609_1573047449477_0.4249715074801448"},"_hasShrinkwrap":false},"0.20.1-20191107191813":{"name":"@accordproject/cicero-server","version":"0.20.1-20191107191813","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.1-20191107191813","@accordproject/cicero-engine":"0.20.1-20191107191813","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.1-20191107191813","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-jiu6s0Kuja/WWMXuJux7nLSnhyw7ILupqbwm9uXwD2LhT/jz/3j2ia+DnHSCOk6GfbHEE2LZwEMr3x8TnpjAUg==","shasum":"94c04d54b714aceb95e4a95c721779923ac88b8b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.1-20191107191813.tgz","fileCount":34,"unpackedSize":114345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxG5JCRA9TVsSAnZWagAAVJoP/1VtDPTtgBJETMzfR/lP\nyveCWhuOAOibx4FWZnl/kxA8S4RjPxR6CeujGQUaCeoRn7MAvsawUXgTBFis\nYk8H1Xx15FR/OIDVBtOvZPSxH6rMiMi/K5SzOQN2/UCWc9qIIigf6K1KEoY/\nCU9CDwsFwusOisV4HavA86Y4TwDwkM89gTX8v2QKaHsWLnPI7Z1ZQ34dyC7J\nKfiV7o+uZA3FXw7jl//6ozrHmvgXqvzV9Nfuti5WlNSlI6dcsdDE97JfGGLT\nQCu4XpXOQyYiBEZAfb/t6srAfnXLaQ8jgVhvQk/eRjT2sjsmTnp2A6sCkdN5\ns8/paLfUo/aoD7nh8+xE7k7GYPCTFRF+wzNM/OBvIfi9/BQSKBMnMUxd5obO\ndjfL998JPKDPzQZEQK+P4t475QEf5OE52yVYgSStTa7Fty0RSGp5YC7FFkKv\nUR5eBfnLPKBpUXDOko6Xxj7Obu1f2CJkZW5E9oWWGlpN+ARaLDN/8r38LkRr\nFlGaHzE28jPjT78ieJ7TvP7up+GqKH9K8XkZiuhwcx+BNqM/TrY2Lcx0PJIF\nGV2HNsO6FOFxl5dN6cu132KzVKIYIY00mHMIpr+Ce9rk0pKGPOmDtbfLWMFS\npYZTjGWAd7nuzM/Av8mx/lCK63UAktthHnXqH8S9gSrTecxWtKwlMc9UAEkM\nL+3E\r\n=lf2N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH0luoJ6f6tHPSK+5BeMDtrcYm4APRAuCloIpb+MYXGiAiBdJEc+FYHt1Z90IuZcNytYXBZhOmTs0f2uzevpUBmr6Q=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.1-20191107191813_1573154377302_0.7456148493890904"},"_hasShrinkwrap":false},"0.20.1-20191108155105":{"name":"@accordproject/cicero-server","version":"0.20.1-20191108155105","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.1-20191108155105","@accordproject/cicero-engine":"0.20.1-20191108155105","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.1-20191108155105","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-fV5JMdcAy7aXs6LUKbYB8wW1Tasc+0e2PUH60g31Op4tKVeQZwzYuKmTBoKo+qVE0vI+2V+H5dd7SyYk0cggYg==","shasum":"2d39ffad9cb55f50845bbdbd0cf800d8461dd317","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.1-20191108155105.tgz","fileCount":34,"unpackedSize":114345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxY9HCRA9TVsSAnZWagAA+JoP/3uVgH2vrc8i/yQRUJg2\nIf96MRB7hCOXbeP4FHGt4Pbr+FeU1y3GiYnHzJgjSxSq1/+52DpLY4RFJNnv\nuQ7J8BFraPR6ItFMKr3zsZ4hYMhJO2tyB0boM40u2QnC4ORoXai9xfbfoJJJ\nC51+HZlVllLrvqLTgMyx97JUSYQIFp0/8YUY1/cx7fz0A9A6N6EDnRJzuln6\n/Wz7rR7tUxMvlnN/erTABOMBAPKRdBLp4JHDMKHV+4Q+i/3ntESHLdwWmwoR\nzBX6wqvL9U84mTiQmS0BHRtJKvU2lYQQxv7cPaISz7yYovqUU6yVT5F02C44\necUyvieMyHrpWz4mlYb7ww3jc+sIJrAL3278m5Apo4+jEC+Nd1G57g4jZ77f\ngvGcTWnelIPxjrbg0xqfAljLQ54k8dnkI/DDf3kHcZT9ot1C4jjFwNviF9tn\n1K/ZYnE6PtnaaclempQsnMxTw/bJbRY0ZMoEpTYUBP6CWa0iNoD2QQAnTzME\nR/CZhRwCeIOaHz5TepOCdHzxBfot9fIxrBm+v0QGdKtyqR56Pqf3rE49Zkxw\nNuXtOHpOlLxvSBOp/TlzQ0KsvhVpA0r7s/ZagDPAxJJbyXR+EB943saD74kJ\nE+m/HtGt6IUWtaFreI0kicfPjyP0AoVuSAoGgkmyiziqhwk2GwdC+m5thQOr\n+FLS\r\n=OB5c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuuJmZFc541coW4iC+irdFeaF2wqt1PILcXw6eLhsGmAIhAOYe3166emxzNzLe8nyrTQhHUOMTj7f+bjvmGZ686Dj1"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.1-20191108155105_1573228359012_0.5059632019032765"},"_hasShrinkwrap":false},"0.20.1":{"name":"@accordproject/cicero-server","version":"0.20.1","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.1","@accordproject/cicero-engine":"0.20.1","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.20.1","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-Qzu+UqlA4KWxNSHt7WaSVe1JoZgl/xpj9vdxbh0eHHvmFRXhif78jpurHaGoiMfd+Mm+fLlU9XI/OLNgae+zWA==","shasum":"87b906510380716056adb3d17c7d0a8ef85640e9","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.1.tgz","fileCount":34,"unpackedSize":114300,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxZx2CRA9TVsSAnZWagAAbJEQAJQDWk5vWfHK3uF6RHi2\n0J6S/O8hEqN64I6MwRP0GR7P24C7++RtZr/sXjUpqbpep4/U79u+1BDdSYId\nyZ3j6mrzVTcj18p8UlzkUeZFhy319mPSGEy5YXXixO/vxFLWFeF8IZ8wW8/g\nv8BaLLqJg9Rf2RXCUJRkEZexSjnSgbj1jK2se4MXQVblTxoW8fkXU10DKx5u\nkm7JcJcEGMS+Jm0H1VIySLDf4W7h+NZK0TsdktCFqhU8EKqw5FJlVYpSr2WL\nlHAaPbva+Qer4z0xQOhOLtf2tsYh0EpCbgrFsinLHJRBSjns5xtIm6+2YOSt\n9nC39GQhlUcqZHnMYxDwn1aO3rIbQrrLvGi4s57xO0MJJkKqzKp6NRu+bNx7\ncaz8Ja8G4ZZLSVsx7OEwoy7QaNn9p12KA19HNNvsQQitZhdiqqe3ojkg9PHv\npmbdduGpjBnpmaR6S1XTz4ytgu0+f+EabNsmi0se62HFv1stW+g15v1uxwh9\nJb2yRJu57mhriEqgJJ1uaqmBnzIukaGnmVdQvDZ4sSopJcCyp7C4THuHav1Q\n0wpszachf5C7W3hTiS/tiU56fJmZaJ/Ml9K/kOI2b7Aj7bZY1bW+VbM0CIJq\nufgVJu9SRdP/JcQ2ZpPxDzvLpaF8zdSqBW82benhIR6V7r5nCU9gWZI88dRS\neZby\r\n=HgaH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBNr8DHW7SijMcyz11Jl3mJe+TNp/ZKqBj71exwjtjMwAiEAlTK8kfEj71ODDMGlelAypxvSZQypSc6muMSQFDsK+6A="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.1_1573231733785_0.5876048400984863"},"_hasShrinkwrap":false},"0.20.2-20191108165621":{"name":"@accordproject/cicero-server","version":"0.20.2-20191108165621","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.2-20191108165621","@accordproject/cicero-engine":"0.20.2-20191108165621","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.2-20191108165621","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-1b/JFbjdl5/GPOXIQF6NRhi7Y94MtRSdymoJ2ewCQXBSaqR9pskxaxXkpOSDfrPIdEbZZuRRgoR7zqu3NDBpyQ==","shasum":"5fe015061181d6eba0ef7d34cd75c98eea7e8ab2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.2-20191108165621.tgz","fileCount":34,"unpackedSize":114345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxZ6ACRA9TVsSAnZWagAAGDoP/1eCzA3uDpB+ssn+FwDD\nDsHZgyVpL1RWoJAEdq1xI4P1bR59wocOI2fkL4XS/PgUHbp35EBjiqpLsEa6\nnkv7v2GIsYq12JN4Tt4+HEyTwntxha9cNw6SXLsY8cSI1cIJX0NNoYRKyNeS\nCinOMQlTP4VWiHdiMtHmqhKGMYblBd+bGxr8LZZXQAcWrXz7lB77iMUVnkep\nghpwqUuCOiTZZvr3xgOEeMyFZg7+CnodFOq80lpq6WVAJaOs9xc8o6/TMEDd\nMRegB58l9ttxL/PHsOFK0YGBI9YQ+fiVaQLS0mw0bnYbnHZsrJwxRODXm8Dr\nJMVLKm9dAPblgQdonYo268FnGRmPIIfEFZ9jNDg9ELW6Fxe9DuOXH/PoUjUa\n8mkFmbYVQ6APa4vvNBmvleTwe/+fXygxT+Ii/fwNX+WYMKpVMK1aI1z/HU6l\noISIVhmnHcH1N0oj6rx0KHX5FPhwEhkDzWEwnmFFllr30K5uqR8+JHQs4ixY\n1SXvPduDPCScThHsxYbFBTGG+2V40fjkw+101Z5c0SsMUl8gfKGph5oeXiF/\nVoYPChQk11fp1veLnhA7tdlcvOklojtJMhtxKjWFKpr1sIgas3MSFXtcYOh0\nfEpAE8uK/TtMouQRwlZ8FDgfnQ7DRa9n1prrHrdWXPq8k5tLg9IAbJ3XhUyy\nD0rr\r\n=g2WJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+fl1r4f9BAQNdOOC6rbdhKo4rwNmbaBPnpFeAt8ZPlAiEA1UJ4pgSk+sDqF+5kqOj66DnWLkSGBlhm3bOCSz8z0bk="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.2-20191108165621_1573232256393_0.4641662115875662"},"_hasShrinkwrap":false},"0.20.2-20191113165739":{"name":"@accordproject/cicero-server","version":"0.20.2-20191113165739","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.2-20191113165739","@accordproject/cicero-engine":"0.20.2-20191113165739","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.2-20191113165739","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-zk2Of5kdY0Gap1ReKvTCuFnIh4oz3HtRCrTTJMq047VXbCKgewozY6uOLe4O+BIiURtHQ7RNH2piWY20vZTEWg==","shasum":"2fd819beefd77259cc490321ed7b14299bfdf734","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.2-20191113165739.tgz","fileCount":34,"unpackedSize":114345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzDZPCRA9TVsSAnZWagAA9ekP/07ZCIR6ko+SPGVjCmYc\n2/fmnbVdo4RqcFtRDjOZUsQtHZK84C0TsTXSHEIR3MpC6vLVuMKP+XyBzwgV\nB11shZgawf/naRLHmHZ93mc8QZm2hV5CDsYuqjPJCmrn7/bA1JdSaJnNZd7V\n0c/eyEmysudU2CpPtiuY9Mf95Y4ynnSCE+CokPUS4cTHCBDH+rk/4ddNFBi9\n1VIUYJCrqe3v92+LHcuAw8LPdfQDZJFZRQMq39KfmMiUfwe7EbNLdLAfa++t\ngp64JykY9okhOxlWan+bl+T3n/DDSu9I0OzXh+1JoVihP22kuKxMZygkFm4v\n8Kee9KSS4hDYFLEWse7moacC+GvvSp3ixk3dZerPlRISDAQ0DTLnLqNw3iNL\nrnoy2X3NuKjjsCGITDqwf/r/8l/3PGM5yFifOwFIHU26ieoSA2v9EP17iB3y\ndWeAGRuCYLcgXj0etclj55At832aKnltnCXZyZyConTdP7cKBxekH3vDqPPN\nnO806ZMlIiex3LMFyk7ofHwSWC3mdmPU/C+ncKgND5k+Zr5rqdkrSpN+1oHE\nGRyapD15HJmf4ill6FnAQvAp5Hg9l7925su/q3X5kVtVm6GneA4vjwv50Yrz\nE99Va2LVacaeaROdiNmY0HrYh2zcdqxBvzC4JUpj9O0CIo1Sk6qwKPFjuXQO\nzYEa\r\n=u2Dh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGv80VmjESTHIhhAVq/U0tmTnSJDnPggHgEfUogp/WRFAiEA8rsg+vnfmSVjzOBWj581Vgw2aaVtLtrJ7H+LEvS1sR4="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.2-20191113165739_1573664335138_0.41844096839396583"},"_hasShrinkwrap":false},"0.20.2-20191113220304":{"name":"@accordproject/cicero-server","version":"0.20.2-20191113220304","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.2-20191113220304","@accordproject/cicero-engine":"0.20.2-20191113220304","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.2-20191113220304","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-a3wnjapK4wrY9L8bMVHztcZ4GnGbKJasWM24j8L/leYnrucKu7iXuerUXX6fuHeLowlSH7OHtzhqvsn0kZKnUg==","shasum":"43435fd140ccf90a1b89a96c1c2436c71779f081","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.2-20191113220304.tgz","fileCount":34,"unpackedSize":114345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzH3lCRA9TVsSAnZWagAAZUgQAIR0AAaNkaEom+79FYjR\nWKWYXj1VeF6zpVq6FgYqvrL9xiYOSPwWuZ+O2gaEzu+3j2Zrd4r3kFtNDdeg\nD5UuX8ZNt+16RUCBeLNiDREa92g45YBR4fO27I16LZdCbdnEI/QS+7pD8JlJ\n6vr2U824BeWO2R3yknRARHUORM+5iKrk9eqqYWZkyqMjc9TdiEr6t/GdL3Gn\n/9E2h6lFLTcNMKS5iKM3jsOt9zmqIFFZrwlXQsRSafo9hM9b3kXmiTW++1zo\naTJUC3KiOPVGIrFqzVXFp7r6/Xejl3x6r5CXkBEKqprI0Bww18W+nmCV3ZzR\nmbuEIh4Y/xZkxAiaUQ2WU4nF7iskfWA13KYAmZd+cL6YMIu0s95T7f58iv/A\nPUge68n4nkFqm9PyXSq9MRbwCJ8Rp2clhu0mDmUfeTsTGvk5RwqOdKjpBlin\nQzQ8cWZSiFeXluKtManxvA70hTeKbZnwQRkYtXcvKyTGJ00VUDYJ/GOHIpBe\nVl1ksk9Nc4LxKjNzL7Idvqnkn33NKBfarvfeA5ywPobRQtTUtvIrElW1g7YV\nMgdT7Fym+9guO09788XdfnInMvfRvyh7NruqDSAJsSvk+Tk+qTNNZPeRUzf4\nGUUm7VVIuNVt3oWi4bDVtZZiM2XB4zKg/W1gt6AJ2tC5sQj2V/t2HoOzDFWG\n2ArV\r\n=OTlr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVBKLq+RJzTpSv3Opq+Nvm3+pFivNsNdXRTpEDsZaEYgIhAJ5feCoMtfygGlVPIOD00MLE9qb5ea/JZ7smzy3/LY/B"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.2-20191113220304_1573682661070_0.05360003166116223"},"_hasShrinkwrap":false},"0.20.2":{"name":"@accordproject/cicero-server","version":"0.20.2","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.2","@accordproject/cicero-engine":"0.20.2","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.20.2","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-yTm60Vu9aFwir8AJu7RI8xWhoV4iSoRMZnysgDU7Mtk17CouFsn9IChtzC+fg/ABwkgIM74W5t+S7BkMN5jfDA==","shasum":"1018ce7a4ed7344b815f749aa4d5be8028a714a6","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.2.tgz","fileCount":34,"unpackedSize":114300,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzIpkCRA9TVsSAnZWagAADvwP/iw2QujdcGMXyJ1g74dx\n1wbPSeYTUW1/z4qEh0y215cw+G0qXw4a5hWxrpOHvm16NuGiDsTGFakYBY8s\nhAIpgTINXwO7/iIVFxxRdEF0U5LuL39dcqWTPnBnAxQRbIpv3VilAOM0m9Md\nfSkrjSs399miX6P/w/0T1kR1gDtD561Rt4cGQT15f1Y1wJYG3zEITWwngwfo\ndXS9CMlSsuSzqGOlA4Gk9fxjpUVCp11x4nuq2e8ISe5Z5mRMtNMmc7t8m3Z/\nBIvDIe/52Co5frMNZfCCQX7EovJT++VZA1bFpprUJi0dYAKGQVzauMwHo7TJ\ngie/KOlm2vrJlgDTHccc0ZXk2a+m6fPI8TCwhHJA9G7ovFjPSlqN1WfBZhz+\naanXCg3BLUoiJSeoErj67gvVHnmPhAvnYAPB5tLWnR1CYcJ/FGhWkus/jhwb\nP37tvFwtmqKc1klI+PNrs2YvBEcotvQnBjfXgNSilokoRNBpetg+rEUPrjUF\nywb7x+sIAeQ6P/v6RWSnglvafdu62S5Zfdb8VqQrAjo2TO5la6KHkNb+ySfQ\nxSimycfjrZfxZYHrFNB8GdW4V/1qOIwCLGKCN9GkjxhN+erq/w0HStpc4zWp\nu4Kn2FMSgpM3zlonitv3cD8lhzatveYdkOabtcdNR1LqRAwVOkc3YEJ7GXAj\nM/gd\r\n=sM77\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDWDhjo3vJsMrRSRi1vfSKLqBBKffHBdotXLpyQXu0nHAiEAv5jaBx43LqZVjknhPJvMZtCLYK/PJwiBHwzEhJUawrE="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.2_1573685859969_0.2842867176863375"},"_hasShrinkwrap":false},"0.20.3-20191113230426":{"name":"@accordproject/cicero-server","version":"0.20.3-20191113230426","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.3-20191113230426","@accordproject/cicero-engine":"0.20.3-20191113230426","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}' '\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/latedeliveryandpenalty/sample.txt -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.3-20191113230426","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-mYT0X+ylxLZ8lb6N8kXm71Qnm6h6Kj3KNN/nEGV2fDYFZ4IPCGpEPg5K7I7L7RihgWnYEoCqQnBIOwsrWgORVw==","shasum":"6e8f74c139b1b19fd819a6d2ac70733ffcfac3bd","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.3-20191113230426.tgz","fileCount":34,"unpackedSize":114345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzIxECRA9TVsSAnZWagAA2gQP/292PyiBl577W6RWlMiN\nMgSsJ/FEyRnfbRJDebDnSWBQcdAslXkcH/OTIU3/hg5kU5izZyK9tz5IAjB2\nySicq7sHIySpm0x54LHhMRPXekCnN7LqEkYv2O0CL+lrna1t3h3cfqJVmEb4\nFdcLJ+hJWd2Vkdnx56lTuKhXz7SFgQEFH6gClmOu05TxDaVVHqizVygVENzV\nhIYMXFy+FUvKgjj8iudArR9NFer0gNmj9xQF5ehfB7knqbQSUd2Pepy3197D\nvej5SKfooT/j3NTuEvOV+v1eJXWbaEf2vVlMQp7Zu+Y2yvSYOk4ntRs8jokg\nkiERCkV6TLn4hVy6GBib3aqhgwAUopchTzCMbOqEfq3ANrFOQzSMS9thqm7a\nkyV5gNjUv1a2yZ40N0Xj4fs/fnCj1Y3jHJCxDbLK5+SW7umBBp/RyYkUFupx\njzugaavus4vjnvT/hjypJ+4RxG/29WRaN8jL2WkTeIgm0JaBB3R0LH4MoDxm\n3u4oUV5p+PyI7466dogKgMjfxRSzWCh/d7PJ1q+vd3VUjfQPYHS5TkqRdFwZ\nQ6bKMW2H5x9R2fbuzdeVOKrd4pl2zd/yDXD8iAXKDqn9ZdmxIElb9sNmM9h6\nGH8GTeUvG0t4VHEPVa7XCseFJAhC8LH//0TolJsWNvHfWOIIrvMfn1ZXegdj\n1Jh+\r\n=3DgH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7sCD0zc90duZdZ7AByeBRiMDdyI94aFmx05/FXt5HjgIgYHemRlXnh2hIXch9iN+KikVURhlJ24uEm4frqny29/4="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.3-20191113230426_1573686340133_0.6663228112108026"},"_hasShrinkwrap":false},"0.20.3-20191114023308":{"name":"@accordproject/cicero-server","version":"0.20.3-20191114023308","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.3-20191114023308","@accordproject/cicero-engine":"0.20.3-20191114023308","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.3-20191114023308","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-/Pl/rBPB2Qe3K9kzjyNPmTYpYfzMgK4sbaQjJqQ6od7aP0M8jbjIBahzB4S2Z75JFJGxJ7HIJdN3XiODpwMTrQ==","shasum":"6bc389085d56801da57f4460a570d8f9c6d6c4e9","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.3-20191114023308.tgz","fileCount":34,"unpackedSize":114355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzL09CRA9TVsSAnZWagAANUAQAJ3GyklfloC6ATRjEUx6\nfSGLW5zGMfmtEEWaswndkstnNohPjm+wf1Zrnt1K2Uc6JWPNpurFCOcc9hrG\nwA+3zle6XtMDuOmjQsSIuag1P95cTd0CHhVzAsoY222CSOZ3is5rvQvhE/U3\njB53PiiD2l8WB9uS8H6lmMVPFBDI9dPY/jUibX4QD6gsFV1WYQinRM4c3G5j\n2fjyQ8bOTibQn3F5wyTuOqXPjetbX6eD76BXA9G16Z9cjJFCV00bRi41bYeC\nu+FSuLHBnBp6nvqqBHZ63/QHWWelsGKx6W5ywvbiOySO5XAlj8G+RkdQKfDe\nxj9VyukeYLo9VxMOuHGCzy3i5xCgqjpa6R2vSsyddN8YfOgJakYeLvZbrQfL\nbVUSLdv/KqmyQYJvJt03iaL1bLqg3p8d4uL+CnlllYXUWcVcC+bunlF87otI\nKA8sz9JLBOMWSPoWncCdjLrO9/CGsiph8xC8+eKbF2W39nhC7md9RyNoLbJg\nKU3PJ1oOT4y7wdEXmcN2q3NM/5IxRoNGMSjybM1CjPyaKYfYsHZ+tK7KU2aH\ngNY5gX3jXKs/l7BHbJeNtx1fAVYXNMvfs52jw0G2gabdl7gpH3rSk4fzDCY5\nFnnsvMsB3Ihgh7gHom6dBIRbUkbvAGYjLUup3u1yRkKwcwThdJxHn1oZsJXu\nXwjC\r\n=+3sn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDauoewbVDsmXE5nOhCM8NNspDrA2WqdY81OLkj8y/pmQIgfmUcSuOjAk1D+Ejsei4j6/BY0mue7tgujTLGItjdbpU="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.3-20191114023308_1573698876969_0.7017214458139651"},"_hasShrinkwrap":false},"0.20.3-20191115134714":{"name":"@accordproject/cicero-server","version":"0.20.3-20191115134714","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.3-20191115134714","@accordproject/cicero-engine":"0.20.3-20191115134714","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.3-20191115134714","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-72f2BEYULfyCHcF4IL9txDlqZVfI0w2mJrWbz36M5uqJ5lBYMIMLbjZJ7oP9GBltUIoIdchdackWfbSECmzB4A==","shasum":"a66a4abc61bb7f8d2b73971f487162a96751b4d3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.3-20191115134714.tgz","fileCount":34,"unpackedSize":114355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzqy2CRA9TVsSAnZWagAANmMQAIQos2B0JylDDXpGJOEx\n34TfuxsUPlXO91hDMbzBg49SLTnLU39p+cvZwwoX4bMtOfpV4i/3RmPfpCyA\nAkLrtOyuikRDEM9DoVfEw3q7FDtzHLJHoI1bbC/TZWWd02uv0YZe9WjG9x/K\niaotlXS3cxVhkDLsdbfj8S3C5rqjFwtFNGjh2m/aVeYo/bC1DPnyIDksHswP\n6HpSbOWY6/dVCX5tFroYdhTmB9WgigAA3f7rGzXJp79mWeLHmi8ZYlIiz6Fu\nQBEpuMPQqvS0ZytU86JByuv6T3o6SHeYVAJSYc04HTjkqLVDjRAg1k6v4Z1a\nlrt6/899nU1Wzs9VpQGMJXeCl7i2Gb8SLXvJic8H81CKlTbk0UMsDSzEAQOX\nDjFDn/1OF5v0cUods/uwNG5vtBVwru5gDZNgxIyNu1sALYrg7Y+rPeN64thX\nVeqv0IkYtJUyQZX/vP2+lYaf8x5cff5n0/R5U2hUp/Rdwi+iswnVjPqI6oNu\n1XqM5I9OaAXAoGzvLF9zta1epqAv85SW4hyQCmBIVyB0/1BEV18hGfTu1aD5\nivo4rSTMfcfsDYEpsb57+QvDs5a4fo3YmzubDrgIQZJMGIy3v26V+gPlug5a\nu6Kwo7/bVrhHBnBDHY1ZojdX74ZSSlmaC0N7kMDOW8DdyF9x1IpGHIFWxhX5\nPCfL\r\n=H+RN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDxuKjHf9XSQbKHuE5Ans7G3d1G5y7MLgDii0pZeLCgQIgGBH8D9QBLQNIMnds+nQaogGpc/maEe6HaY7DBYCBswU="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.3-20191115134714_1573825718199_0.2053219988763546"},"_hasShrinkwrap":false},"0.20.3-20191115205124":{"name":"@accordproject/cicero-server","version":"0.20.3-20191115205124","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.3-20191115205124","@accordproject/cicero-engine":"0.20.3-20191115205124","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.3-20191115205124","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-nDTDdrQx2YvYMdttpXlzvg5xx1ofAyuKE/zi9/fb9NSkCgUCO18pvPuX9ajNPwEfYScrmlecGHggYuCzY3EjjQ==","shasum":"4724becc8134560e7c165ae885e364fdd174e562","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.3-20191115205124.tgz","fileCount":34,"unpackedSize":114355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzxAkCRA9TVsSAnZWagAAcgUQAIBRKteTQye9K9k+w/ib\nDld4tgSGslPvTn3nwxl49+XeujRIHMFbyf/EvCdHwsJA8VQXKv+FdMhsB/Dq\nNnn6/p85KcWAqYlpxCA+9Bmd/NRtK3CRlev0i6Q4k7+rP09qCZ/YJoh7dc/h\nfk3SIUUYuqpMoc6HQtCG3u332HxZKEwO1OkV6He/EPdgK2Q5UrBdu/3npw2i\n55VnmC3CV5rIUbKtF5d+iMNpGoIEeQcQeSBoE59rssebb9+VPXTnpzprhryA\n6lRtBwrem5F7ZruLeHqpQATqoOT4Uh6ivloqL4fMoFB4uJfrUslJIyTyNJJO\nCtCZZOyf0ITTeQy+hox/7YvEukTA5F1Lofp9bx+t3hhvU5TprHacDxg4yTes\ndUYLnJwzf+Cwd7S8mEANE/YKuavgiL1bwas3w4j2HnvHLpyaff0u2w7xe1PX\nLUI+Dfny/w67+dLrWwyteiP+doQP/4fl/tnJIjFmPhJPqVg6qLc71xSjOald\nWRLsjzWQKQHeJG8hAbEeXKz5yS7l9P2VMXQFQNdoCRMB1gRh39gCgGtwzlMe\n22lh0LCEL3lutvPstlA9TTIC2oxsAY1ujAv8FPEYE5RL53gN1tcBlsnQPXPd\nCQiIn8No+nW/C3AV2CtKCDdr+Zxt02aMDB633aJvUN4zLvs4zWc3XJzbUCoX\nS87s\r\n=gOdI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuAciWnWiV44Wb2GJ9/xN/JTbRrD8gZzUiPRu1XHBA0AIhAMkWBcgtDdBev8tJfllPtzIeXz8LjD5/8PT6wGZz1uY+"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.3-20191115205124_1573851172151_0.3676177696799121"},"_hasShrinkwrap":false},"0.20.3":{"name":"@accordproject/cicero-server","version":"0.20.3","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.3","@accordproject/cicero-engine":"0.20.3","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.20.3","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-OfBLyCNbVwLrMEtsiINtwkQIYg8TjlDBdvo/lMjwRMxH4DAHjQIq91p30VmlAKcPcb6Wlhk2nnunZnxKdApS5Q==","shasum":"6e86cee78a2fe83091ba8959422f5c7715760b49","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.3.tgz","fileCount":34,"unpackedSize":114310,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzxU8CRA9TVsSAnZWagAAiz4P/jMT5JyVhM/799FpH+mt\nZ35qh71QblaaDUG3wPDCvPZjS22cjEaEwSxmL8nqJuFHuzrsN5x1Q64H1ki0\npvr7e8YpM4GYE+4HWkwMYTbRtRaJ6SuUswoGxClnpK36CYPX7mxf0W2r9BMw\nWORIGFfIuVnqBfLk448xtXUE9XR8xnKn4MfG3LUfdoIHknDo3dUcSBTDpnbD\nRmnW1OV26O08lmHvgY8QecvWlCJFHtRJh/eZbdV8+1L8Xu7j6Onrgy5UGxev\nqC9ygDltvMDDMgRIuk28+2l8zFjkXpqoez5437WsA3v4PkDoFFn8vE2B3Cq7\nlM/LCVYS2eHNCoez8iv26DEG1tlq62Q6aUd3CbKPpX7b1Y1clWGeRZAfBLoD\nCmWt7+s7rC4ZtV3ExOI4q1XYjNzNMM7ZkquaogCMyhOGfEFrE2BlexRM01DK\nnslhhmsVL9o53KnTqdguuocvedbHO2VzbNxTXAhWvBneGPsCDkoM2fNEPTus\nDX2rsq6eDC8Dq9+w4dwwY2F6D+oxliNyc6901B/Qk9h2I+235bY1ogcZv3eT\n0tlpnqNOmaKkxYI8rY42hXghUSNYI49anloYuN5xr1lnj7ITep6/urI1w2pv\nwFg6uMP/nx6Kx1Iu5CfDdkHdWYNT9+gXDGxbXJnXgmWdObt7nktTH2/TKycc\nrEnf\r\n=SHu3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDv5hN131zR+e4fHC89P3mIvcgRNRX5gb7lrf+22LwH8gIgVvDY9w2roBOoctw1CybqvSg+UoB4BDnzv7tWN3m9sdo="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.3_1573852476166_0.8471725226582798"},"_hasShrinkwrap":false},"0.20.4-20191115212305":{"name":"@accordproject/cicero-server","version":"0.20.4-20191115212305","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.4-20191115212305","@accordproject/cicero-engine":"0.20.4-20191115212305","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.4-20191115212305","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-NL/NozhrrHBrD91wA06Rwt87Ll/5WQksnbSUNy16wvjZyukLKA2gOdobw+uTIMpIcoFPWubihkTNWr6wqQLNFA==","shasum":"7bd4081cb15688642a6e6713c832afb95c5767b8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.4-20191115212305.tgz","fileCount":34,"unpackedSize":114355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzxeFCRA9TVsSAnZWagAA/lIQAI1nZVtmzoR8/yHWLSlY\nCRB+Du/T7CfG/yawtj9kFgFB9OLlS2qrbo+CyYe3/0Adoiy0Di14GQYP+tQ6\neeZ5WhCqSMpm6nxK9Bl2Sa06HLFJ69EU/pEP42+NcWveOvyvl9b2uVKUuYkX\nftHQWbzOuuGlFO2F6gg4FoLtHqXarZ0f8XccaUx7UYhaBrrS2dBVN7HY3VQI\nJBQ3BM3dLJlaAvHUjNYrtWk+uYk+M5W3vTRCXBGrtXFaqX7fW0AFwZlwDnMV\nNhVGYZSVZlwRGjHWpET58afeMnQNLJbl6HOTeFjM7IRZlE68F8qFR6Kqn1Dg\nYlsih/T2YV0wZW0TY7+svx98EOHkLZ+H358ij4brgEYwxmKtM8Oh6ZxqIDhI\n8g0jpuelRv/O3XWnxNGZ3yOOm0F5hxGkSVdtNaQLzZ9dpNuVYqwamS+sWc7J\nvf0sFH3E2BzB6QP8NAsXNq7Oinr0BHKhojR6pud36TWeE760xIV5bqlpz18G\nQNZ4S1Il0rVoREFxQWrBJsdz2Bcw83OxfGv8Qg+0VO6kS9ta6tt5V9bV/IZI\n9ZDMlgHK+y46P/h7XjkGF16YmmyVh0GU2WxqwL5j3Ymp6DUenDrxEC/LmFh5\nsDEU5jwbFcjjoSLOMmdNmn2Scm+S2X2Vsb+KCYpLvvmPVJC+P3Rt80G7kazK\n8APs\r\n=FeSf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1NgFXzaQWsYRI1o+QWresLzTZfh9T+oL9JfFZktTocwIhAJkSzTnzeuWT3o4GuT2Uidex1j4vIdvLOVGE1emro+nu"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.4-20191115212305_1573853061400_0.8723360244945673"},"_hasShrinkwrap":false},"0.20.4-20191118165601":{"name":"@accordproject/cicero-server","version":"0.20.4-20191118165601","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.4-20191118165601","@accordproject/cicero-engine":"0.20.4-20191118165601","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.4-20191118165601","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-FfesopBG/KHh1pmFV7R3XW029lba6lhJzfQeu74HIotu8ohnK8WaH0giTd6r6qGir19IBW+0oksUyNtdArZZYg==","shasum":"9c278435d6d1eac62b3a25a105843694688f5970","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.4-20191118165601.tgz","fileCount":34,"unpackedSize":114355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0s1tCRA9TVsSAnZWagAAfA0P/3NGLM1+4v5tQgVHIMK+\nL87ffTmfokXzrOQEQOM+dHIPrm5vuw0A56u6ZeyRTaHIomGPRicmP9JZvPBa\n7yrJyYAbEJYn6+LbIGc8JQG3Z8cmo0ZdyazDt08s3QAc72KQqZL7P1AautoB\nGvKYowagqYnEUezGBsXz6up6UecRuVGvIfxIFU1bhUe0w8e17C2Dp/yUAIN2\n7Hnuoh+lcMjWJfjZ7AIkWDoMl+amQ1maYj/Kx5uQDSBioEyCkKhj1Yj1RGoZ\n7XgyvwavW93o9kypxmTeNZEfPGo00rdsiKN6Cqe6WSjqwDjcby+sSQGsDaHp\nhAeYEYCuYHYCDYmOOxYQcztfijy+8jA0l5AFnAzYlktT2u3O+zbPtaM1ZKf8\n0ZikU2iD6jgZYc13iVls2LPocYZpSWMJysyuvWfu6BqFpUokQy+lNvHX+AXy\n5E7NodTuZg4Lf1Zs1XlBadiW5AMZ2eBqd5zD7WgCEPwOuvBPpuyXn6YUaKq4\nb5N4Lk6gFhNy8sJd3WUkZgp2FQgJrxviLPlnN1egjHJNKp19d4bucEH1Wb0M\nEjmHYMOsY+1IluSDRckQqbzR7fnPyKVGZRVi9SrCtCpQ3GH2IZlq6fyDjqTi\nWM1xUszJuY6D+ne6PxROLf3LDuHwg3f55kVLwOZcVMcZG4uNmsDTcn0D1mOn\nivFs\r\n=QUSU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/3/oRf9kZn3ghLuXjWkkvaQpszSMzUGuC2ohc4lmFmQIhAMn4fW/lW4K4+9BMLaqouiUV/ibZEvZ8D8zygHiKNc5M"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.4-20191118165601_1574096237271_0.3323506305231332"},"_hasShrinkwrap":false},"0.20.4-20191203095523":{"name":"@accordproject/cicero-server","version":"0.20.4-20191203095523","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.4-20191203095523","@accordproject/cicero-engine":"0.20.4-20191203095523","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.4-20191203095523","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-aGmiF4muaq3sfNqtfQyBt7wLsjcpiNmzv806dcn07XLkFbsRs4pLEN6cED7zwDJ/w5EAKYRq/T3VgoRP2woPFw==","shasum":"ace1e8b96ff2c9b7703815533ed9771bb81987e2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.4-20191203095523.tgz","fileCount":34,"unpackedSize":114355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5jFhCRA9TVsSAnZWagAAdawP/342PGwO0gUYIraUREIz\npTdLVp1n+D5zcSfvCyTmXCljvpwAe2WNgsLehZN/uzf6bC53+CY4iDFoPDGS\n9zS9nlmqiCXa9sfqOvhVNhDZaG9KPUSsHVF/VIacrRUCFf3gFnQZ3qhAFcmy\nGNwD2J4pGA8nBQ6MhYFmb9gs3VCuwrOX/C89b+ERFB6JwI4fFqbm6LyVATnH\nnOUNgqlijZXOukUouTKko4tzKDiwiq2qB34f4HJYCvvLzT/a1e1doPs+J52Q\nzzn/rYoDnZOuPf7uBwMGMEi27o+zxMJwjDuLbyDeQKSE+pSfAT6GCn4GcJ4+\nObZhARpbrNAvjeDjSEfVjF6pY3TLfLTogh3g3mS3VCVcAkLGc08hmiOaGTj3\nBO2oY71iDIkF089P+WxxhEBKf45BTw7Wse4x5Cj5MW0q8B7OVYqV5m+Jn1oc\n96ta0/2HuvnoFhXAy6oWiUb+7Iv61mmNx3Q7Qdc5mHZ3VxLJP8L57moq/WXn\nXRiatCzq0MOilpc/1XqL5LLJx2onRlXPWufyaUsBlJn1LJr/BUzt6Yc+P4Fh\nMNTk1WS/XaexiH3yiFToTBa4dsKeB7FHBxeGJ3sWUJBjaswZ5SF9epCUCMTo\nJbA5DoGQf2s3d3KX3qq2Z/zNOGySr7n0jk0Fq9MbH9SEAJgQqfWtVQbjjv6C\nsBtc\r\n=6Ij7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICJkToSAQpEj0IDL+S5GzkSYSjwscCD+S0IwrFHypClDAiAN/4Q8bdoRRGWI2hjzW1akW0tgBeviTxV9PjSN5W0OCg=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.4-20191203095523_1575367009088_0.8679295502878905"},"_hasShrinkwrap":false},"0.20.4-20191203212200":{"name":"@accordproject/cicero-server","version":"0.20.4-20191203212200","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.4-20191203212200","@accordproject/cicero-engine":"0.20.4-20191203212200","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.4-20191203212200","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-6PsVO5xa5Z6p7ApfVHzb26YCL7lQe4qwO7+9nMq3+AqhYbZumaPSomDJBckiIHKZ7sbrZW5ybE7dV3mEnPsrzQ==","shasum":"b00f2fdd2fe085b6cdf039067bd5ca4fe4d1ec82","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.4-20191203212200.tgz","fileCount":34,"unpackedSize":114355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5tJECRA9TVsSAnZWagAA+HkP/RSQuUF/+wpU+azzobPd\nrkrRNQQKc7ePOKKl13JE1oKy1blIC7Qds2DVgpFE2YWOU2Xm9xO+5eF4oK0H\ncHQRokpns09GktSEumC48Hs9lR+8kmcuOXsRSWwaXEMrLv9uJ58cM5OTclEB\nYi21d2Bdhhg08wZQRkRMlose3Uex5sWoFcc1DkZR/1UrFZlnjQeSfsGdyQSC\nUxw+Jr36Tc2PhvErgD4yT+Hn88kb7EopIb53XGQBrVvIAE0hCSUKBXUymDYQ\nKVbkG/xNtV8eca0jil00oxGwVUgakdfPGA5/w23mix4Ye3Ow9urHdpHB43ge\nm+Qt5iB88Od3Hq2qgt7IbnTp+3j49P4L8DCV6b0CGGpC+qsfay5nRd61YgdJ\nCkFGOHkNcZTPKpwLJ1EZtNJDQmvZ7wIJLuZ8v2kICWkUBNB4YOAIokcJ6UBV\nOywwdj3a8o9NDPjTbhhox9XXBZxJ8hBmtAwTFhgu0dC15S+bz2NULmMnc1dh\nLAaQH3ehCuCuUtiBciNISLMre2/fTCJsic+0uCRT7bRYFoCa3E2vdTcKfX8k\naBGsxcEWdbmzgCT42/WpL2FKKBN7EEjcfWz95k1xyuVzBolY1AOFEGyvSlgH\n07xaE+5NmX7AAJkNdRtpu8byuOnmZ1ficMiOthfpumr8OokgzGOrfls18nsi\nTJb0\r\n=8/3F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEePeOREPkxJcDb9wfIGsbfVEgDyPPkJOBl+P4FvXeJHAiEA3ZB1zcHrPYJBheth798mrfPCiwXa8uUaMSb6DJLGl3o="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.4-20191203212200_1575408196117_0.6425310777341815"},"_hasShrinkwrap":false},"0.20.4-20191204171635":{"name":"@accordproject/cicero-server","version":"0.20.4-20191204171635","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.4-20191204171635","@accordproject/cicero-engine":"0.20.4-20191204171635","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.4-20191204171635","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-8rNjq03oKpWEIUdc7lXflVbKDtIb3wvx75zuzBll2DwLplIf2QXjigYlUE8I6/TEf6kXmEneBsH9E+eRSsO82g==","shasum":"ba93e412bdbd525aaf09d53adf290d2bb81eb32c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.4-20191204171635.tgz","fileCount":34,"unpackedSize":114355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5+o+CRA9TVsSAnZWagAAa0QP/R+UJExD0oNvO6UOFrfd\nBc5qQY/1f9vatxkzLudtIY5sd/6xcAngtxEgYVqRNam5bZcib6OtBL+Yh/gX\nl/ylxyZKKqiyWnbyy9vqzvx5UIlqqLhzEqak6i3L0y9IsYfSoPdDYGM1ZffD\nO2cgbzDNhr6yGwiDAEAyHM97cORktJz/Gg58a2/0YaOJsCnmLGYIre/xNi1c\n694klKHypd6cyfyo3nOrQa2R2tiB8wsqSYw9UK6FO7EvSnPQgl0x5Pnc7AR2\n+1dr0hVw35CJENwaKbcreNzNEPWurebYNdLkiqwBVF3aCJeSVAmyQ18vwVzp\nhrBH3ZnAw8aKtEhkEt9IzBBFETOq2nGDh0bQkWszX51Zsjn+pDv/Ui6DGL0D\np3Zw2s7bYNX07kUwAWZyzYt44hs4/6OycVILyZwYio7F2d+6Voay/zkTvezB\nwZyKs7zU7JybWMEF6kNNHIKM3T8L9pPZYzw1Vojmum9yHp3tGviFWI/kIzrR\nJwzV/KBEam8NDyrw7x3AQUBqLuRtyyB9qX4lkzt946pYsd2bxcn+HhouSga7\nWM/Epu6xDW+7kxF2ZcoyKdodg9TS6nHUU4F2Xqoqa5BKNG6Kq1cECyJIOU47\nu85E/GN9VCDO0Uprbl0/Ju8L8CbJQjfbk2UtbiHvPPwcfQV12UwqWojKFUfI\ntGuU\r\n=tlh9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSFUeeIh7JE/ZbUh4eMmAc1++grGljq90bl/QdWL7JZAIgTYM5LzztebFOPLFStecwexXrbUiiA3rsrt1sNDgAN0M="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.4-20191204171635_1575479869751_0.6129430958130733"},"_hasShrinkwrap":false},"0.20.4-20191210161313":{"name":"@accordproject/cicero-server","version":"0.20.4-20191210161313","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.4-20191210161313","@accordproject/cicero-engine":"0.20.4-20191210161313","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.4-20191210161313","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-nRUUosTAhOKf6zfibUDwCGVuOnsR6T9PkffPw3Kp14DxGWJMEWzVXSUarQI5UVdbj2+tfa57Z7ZInP050yxeeA==","shasum":"5c7865e8c53cda1c6bc2facc8df6bcb0eef8b761","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.4-20191210161313.tgz","fileCount":34,"unpackedSize":114355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd78RjCRA9TVsSAnZWagAAO1wP/38WAKQc+6me/Wst3qD5\nfxxLiGu8mmt1xT6mV0Q3+l6IKir+GAi80K79anO2HndMtWzqIyuFKu6qBlyV\nyubClA3qkuXGMxHgdW1v6Bd2d+UdPDxgZL6B+f8G2cf0BekPTGsrXReVn92D\nIHcUKQWOpXkQ+Fw18ACJ9+EpMQH4B+7y655PEUY2zl3d4aW+zuGLyzBF8hGC\np2NqduMhnYV/nlK6vUwzJfZoqt+G8DaChlaixz3OnFVrS07dGpuHgIrKZjxe\nVkbiHmffPTWaS/ExY1rhEhTRV+DiOrMRv9sGkWmL/e1Ebq8khl/VmhnvA2+F\nIfEWTjRAE2I5agDxHHh8a3scXQQVzp5phblBhJEWlpPCcsr7Fz6ll3tUSkvl\nJQA1/WxxZ4/gLAgtMDkdnHxWiAMGnOI0OCAT/VZh1Te90WLmjbWqqWH/gB8n\nRa+U44Bv8xd+oIZqISFVdivAPlQkyMnRN9fsSngr6V3upfLtFrLL6ipEh44t\nHIeR7Hyc6BqqRNiYoideix48cmFDwM1HXB6qOEL6E2RwF1fsbrYh2dn/+Ut1\no7SJodwBxn/7RUHi1vPUPE5Tx6r74nDmxwSvgrRJ5L28kHl1ICCL9O8fwrw5\nUZ3poyzvx3bJDiJxfKCaV7QZl/nZzQ+fZPetnBA9KKu5AEsaKhUPunXdiUUo\nu3CV\r\n=xjr7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC30x7dDZx1NOsYbUKsaWse9Z259+K+kL4Q9r2AoFnGpQIhAJAlm+8L0NQ9MXjgYRWmBz7bEnn6mLNx2LfC+CkwiADx"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.4-20191210161313_1575994467038_0.40795855987780527"},"_hasShrinkwrap":false},"0.20.4-20191210173839":{"name":"@accordproject/cicero-server","version":"0.20.4-20191210173839","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.4-20191210173839","@accordproject/cicero-engine":"0.20.4-20191210173839","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.4-20191210173839","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-OeWDcj3s1sbH7pO5whUE34P0eW7t6kNLJuLoOL5cv3edaY2fSI9O+sZrcNyvFUv8jLxZ1Y6tV1zcaDj/p+t9gA==","shasum":"b91659a1934f694dca44f482f047f4b9a494d75a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.4-20191210173839.tgz","fileCount":34,"unpackedSize":114355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd79htCRA9TVsSAnZWagAArf0P/jo7M9hkvnjw8eez8olN\noucOXyTKp+xAYK+HaUoG/0yfHnbUmrpAviGDeb6cEymk9FH9Vd4+1wzX/6ao\n/hdvC4UgwTkWtbI3y2XXLMplv7WynYkf8azLe3CMWFfnPNXGhMYvrM1GtfiX\n7wHJycCkcrVbCaUODfluN+lnY5dOTwdlQFmkhXs+mEJPnAZP2zL9O0Yu75Gs\nbBSJDevndyqE5StMdXfdXW9gkhz/FlimVqXFKauWIhEOEeszE9J07eO3eZTD\nSk0UwJvCeBt8c+GLkAuUq6XOtB0VT0b/n7TVuR6T3AGu1vBUYAswPRJ0rndP\no5Se0eFZP5FfVWThNK+ew+n18O8RtbmUirKbOykPdDs61+cOlYgOIv2/rO11\n1fexW2AwHGq4cVHj7x9vC9fNE74aFo6qJG7E7sxVnrXOQKoAKo2JH4SmdOxX\n+SGXBptIWQn0xHX8y1r+2efL4mJpY2glF2ble0vYNgCiV7h1QW2gN3EREeos\nt2HenylnfD3NVOiSNsLsyDrdcdcKAD1llwugqiE2slzKXFYYzJ5GWaCrTc1f\ndNkamxJoETEkwSw8YFCnet8q7aNbxU3syC9VLPaV50AxAcZRNJBpE9UWZWVb\nSE/pTSIgYT9tdtMAEpL54aQeqzgfcyKxR8HeH2X2YAKWnXl+F+S8Ru1URGFd\nxIml\r\n=vpaE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxJd1kqdvRDOSH9UQuDOTvG3My9kfqeDFxNPEn+0iIgwIhAMVq79m2oryPmceOw9+G4eDXgDKX6ln6kd1w4imKimXy"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.4-20191210173839_1575999596950_0.778857794404265"},"_hasShrinkwrap":false},"0.20.5":{"name":"@accordproject/cicero-server","version":"0.20.5","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.5","@accordproject/cicero-engine":"0.20.5","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.20.5","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-iFkClxFLufEMaJ7D7BrLRURv8eTAY1Hk1DUCLGmxsePg2TP0w+nGFCtrSadiVsBlLXIuDkUrX4DOFo1kB1WJLA==","shasum":"c76b06704ccd62ec2c08c8d92a57390db645159e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.5.tgz","fileCount":34,"unpackedSize":114310,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd79jFCRA9TVsSAnZWagAAnaEP/2Sp3AcNLclQW0TaAFVQ\nahsWUNexg3YiMW7clfIaKWubArVyJ4NO767Bphg/LidVp0BO+3X1VGHjAuzp\neq41EkHI4kRmNTlu5N4+8w08FT1vcDZ/C6fki+yzVm++txcXd3+vz4O0QlTT\njez2rqP3HM2Ii1gMQRgPyzgKoxiURxB5t22JG0ZTlgh9+V/SzOCGekWVF4vw\nCsRkWalf0vFeA9pqeHZSh1UIYJQ29EEPcDGbIwGsws/6JkCmX0/83auRAOS1\n3kuENtA3ZkJNU2tAmq0C4Ia5BVXqYeMmeNCT9gheRRyyRfPtYE/YZsDsTWG1\nILqeG9BJ1A6u1L6N7YCNiJkIhHHcbl919UBCsUT9ZHWB5XHxVfJrYg4Nmiqb\nEB5OVuGfCU0ZB6j9nHW9CWOcNNsYe67sdueb1NU8OrHuwtB714nVbkjLtOiA\ncCB2Fy0q1rWE6LvAzYcH8lD3zdIDH9+w4hhvxyETNblDH2IK9ThTSSIpjyvp\nZLSDGCOHu6Pr7gaX2zx/1DUB3IVi6mWX0nfsRCeMGsC9bNhTZQH5hY9PKDuB\nwThnSAKc9fGWIQR0MtymGV3yAm1oU25WLgtsm+6bUjPh7vSCIfCJHF/ySgsg\nPuqMGaJUORfHNQseBSXnBRezfdeUvTpqqI/Ol+mFt61S5xeMxAuPSCRn4lMg\nih1s\r\n=4W85\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE3oQmYr4aShXO93YWIUMovbi7CzHumUjnTe8PlppsHaAiEA3x3L/lY78NEyqFP1rddEXWXt1j8YYe/4jnbpg3xS+Kw="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.5_1575999684858_0.5234634770482649"},"_hasShrinkwrap":false},"0.20.6-20191210174836":{"name":"@accordproject/cicero-server","version":"0.20.6-20191210174836","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.6-20191210174836","@accordproject/cicero-engine":"0.20.6-20191210174836","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.6-20191210174836","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-nqoLW80iJ1xwxFUlOKdLPuGxe5iPU/U8zXruSYo6iNW7ElxmkDMaY/nxHfg+m4HFg35Chh4jJXOE11hvRmkzjA==","shasum":"5b41f10839b9298b51b53a3a473ee6bdbe514cd6","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.6-20191210174836.tgz","fileCount":34,"unpackedSize":114355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd79rBCRA9TVsSAnZWagAARNEP/jp+kU7AncdCVH1Ga8B6\nkwh5C495/pylUhaXNi05GdBspkzGzOqYDhO6r+sCJA+psjFXOGGpgUNkrwmR\nPv+bJSwq6MZTUnZufxLAOKM7ete3d352FLOSCraOWF8MPzASsjz2Pczjm5Ag\nKi1+V9O38i8wpp3a6Fs5ExqcvFah70CAMsEp6ZmdRcq0SrEa44A7/Y4lVKwp\ndox1cbNsd5fLV3DMiRkOrj9IX4YuZUVx4aYumG9MOBSTbO66+GtZEejd9dnh\nnWqv27LiDcUh39NZLMM0Z9zC088gVwsG36V0yuiavCffkhT/90+2f1tx+IJj\n9nol9oEhJ0QgtBpkwDFw+yJ+RcU37/s4vQ6xMAs4wSv/TiHXPbCMk+eO3Wf1\nYwWGvWMNcwu0ctNF9sZsFOjaSvRkuILFiYnbQ+BQk5AiOXBswoZSTxYPI1zY\nf/lCooLKMsNTTifQI2oEXPQFi46KFXIXRdrwzsAeEhmNA9DTRSByckmpgZdC\nBuNVrGw48MTx+eNwpjxiu4hCg5EmftlFXzDQNOMQEUsGYU82Q9Yfl+VnEUZK\nq2ZSWebHCBMB4SNfdpPzsAv9ioJ++2YwJ2GmWIyh2p0m6M29pJX93H6sI5Ul\nzrltmKUsI9LwKiD797lMx0TgWh+jO5n5Kd0D3KBY8qq5yfL/FHlgaXJ8kJoD\nLp5C\r\n=5HdI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEjrhE7QE8ZKpTpKK5WVZA27REAxTLDi1lstA+CuJu2kAiEAomTk6Truxi2cb2aeBCBxfXjFKmbNbBVLye+z22MVli4="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.6-20191210174836_1576000192733_0.2762910323054777"},"_hasShrinkwrap":false},"0.20.6-20191213003137":{"name":"@accordproject/cicero-server","version":"0.20.6-20191213003137","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.6-20191213003137","@accordproject/cicero-engine":"0.20.6-20191213003137","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.6-20191213003137","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-3jwdwFlUlUZdl8FW4Kz8GHpDHXY2t1zj4VDWAfnnMzkUMT64MWsyiE7PH6zmtGF6UKm0SBtDjSk9kby1IB2siw==","shasum":"b738c6196c9ba2f9d45a82eb93539869ffbdc92f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.6-20191213003137.tgz","fileCount":34,"unpackedSize":114355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8twxCRA9TVsSAnZWagAA5hEQAIT1Z38CBTTj9o6+HdTP\nUhLxjQWIKJqWQvdnWoDXPLeiDQ78ZDuyFBQnkSR9HUIsgrkaqemvfAyN0QY8\nb3mGoOH80Om1mNzWJ667e+mX/SukFYSNpkODjW9CN3vwMV3J0R2C7Q6UkbOJ\n4XcR2njABNbFkCxtcofdbFc2FAxnZ+yrHMmYxfUfNdvo+GPn+BDowE+fiK2n\nNnJCFyIGKSMsXP9z+chuJf28fm93c6gv57su1Gn37G2nAah66dy/oopXNyK4\nstfcGe4+lhE5FSOesxj+/guikvSCvdmSrXvi8+GY1k18VRAy3VQHM9wDpijA\nDxs8gsbtymGeIVkdjpe8JQ+rITQhDxIAr0Ubqk5DllmvZA649Hp/NAlaEY1c\n4yqbq5ngDn5O7e3R6Zav6B/C92hnOktBUtC0N0z4tClkmxNImldVvaig1nE+\nk2Z0oQ6TIJkBHm7ZZvJn7wS/7u5nmNsw1Gk+VKnpUCrBPMDFuR97HPBsE8mK\n6CUciPPo09D41PaxEZGqiAy9YcBYcncqC05RD+z7k01tJ+XVlKSK3FwAvwT5\nMuNiChwhK1FEduWwGsMJRZVR5KW0nPYEZuY/mchj0kzmd79fySy+1WgLD7hl\nMr3w4F/82Gz2ojWaHpvfTACZvPW2I8rq5QgIUoNKSUA3hPJlPvY0JwKsFro2\nZu5L\r\n=Y8f0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE97zM6JYPg5F4y9kmYIodVKgxB/HRbu4TzGS5DUDQUhAiEAwDSysaLSdzI04bvb+EzcCoYDGNOX1aUAy1+/bv87xh8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.6-20191213003137_1576197169337_0.8669262119857413"},"_hasShrinkwrap":false},"0.20.6-20191213003932":{"name":"@accordproject/cicero-server","version":"0.20.6-20191213003932","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.6-20191213003932","@accordproject/cicero-engine":"0.20.6-20191213003932","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.6-20191213003932","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-SZx7daNw0lAxdcyXLA1ftL8gLaFPIFOK9/JAWy/FayJ9Iz+4vtwKxNVMFOuY2rmYFmh1vQ6iI9q9Z+FXDAqPEQ==","shasum":"37e94cc4b4daabb888ad481b28e2502614855675","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.6-20191213003932.tgz","fileCount":34,"unpackedSize":114355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8t4PCRA9TVsSAnZWagAAdJgP/iNMQ94bjLUzES51u4yv\nz/3LK43PL37Tne0GYjwqR8uHW+qcRODFXOkcdOk9nA2es4zwOaZY8wcVlY+x\n9GwHFkEhZ1z3V0kmoKVJBSgLyIugWfHFtbIjhuP08S1i+DADTNCttgk6XvoJ\nqarIcDuc0Rxvf7SF7E5FRk7Sxaldf1fM/GtngzpwTe0YZcsthL6KVKozwdiv\ntEPzkYDtpBaGXArFE7aCakiTErDkvBQACitinXEtO9VUG6erq7rLCZgRZsYD\nqJAtEaSRZRHE5mE1hzwJcPKCOgHUJzWuAKsQSVOaLZ4YMHhHVeJ6gt89drOo\nbdyXVRB/xFIXz/mOOJqbkO/A18GklvldMpep2TOv+moqRInk927ktJvlHM0Y\nEXmluO2vKRKBYLU/Mjqfie9/3SJUNzv/qdPJp6oD1HMj4qN/vN+Lar2kq9tb\nZ3+9z/AJrs7WLxadu5yapzO/4TrgSrlCJQiMmjxjs2C2r7HWfV27ijrcFuwr\nP+LArFAo1Yw32UuSQM/Wh0la3hpBNr25n8bDvW3QFYgtIqmmNTVS/wwJQ5GW\n+UnAXty6vbl5/IQd8+M7Zp2psdipEViC6KK3i9r9KPe9UgUtENG74jEYYsxl\n/s3P2FH69XSpTP8s0FddaUTYDKrbSLlijp3W9TzY+PDheYDNqeLvuf/4jEje\nNZJE\r\n=zRv3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHiYPdUDEOAGPSHjvB8Gr7YU+Q52dal25EbGo6n2qxK/AiEAmM8MhpbEQ/lSFdDiKfrnzgIpVFoD2nrBAzgwUyF/NSc="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.6-20191213003932_1576197647540_0.43067149644043523"},"_hasShrinkwrap":false},"0.20.6-20191213014550":{"name":"@accordproject/cicero-server","version":"0.20.6-20191213014550","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.6-20191213014550","@accordproject/cicero-engine":"0.20.6-20191213014550","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.6-20191213014550","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-9pgo3ZJee1wiDO41VYaShJvtN113/efgffLXP5PdNEiLNRoSXuv3amPtDSn9ecEzRaHn8onwrs0pgmFYfcfnWQ==","shasum":"4761527a8eceab8f7d8952b7baff110e8e5467f9","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.6-20191213014550.tgz","fileCount":34,"unpackedSize":114353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8u2cCRA9TVsSAnZWagAA3+4QAIpgbwO4z6+pHOR2Jhx5\n0mYJXDHomVntue0dXvRJMbeAjL5OXPUqmLjRszpw2UVY0GxxVpkWnTLkayGD\nUOJE74YER418N0//Ty7rfkeAYVC5an1hfo3VTeqI9F4SmMe7pZMiSlglbaNj\n8XzeoRYeR+vB4yAIA9jz3lDc4N1JSt8MN7vjpG8rynuSdnsmXCnapq3OweZA\noHNKYKc+U2yzxqCfpxVc9AL6PuWjeF8B7+XIfX/tZvUSN/ooXqqLxuZOLVwB\nN6RcJQX7CdzyMPTrahL8g0F4Iq6ybfbz3an5Dzijnw4zO495GsjIL1YZJdPR\n6z/kYB3r4fdXPV4ovX7mv1REdtyrV5wtYjZVL0a7DLR8LvAqM00oz8DDbHJ0\n33E6OtMEa9L+VAhGgPE8V6u9Q3wS1/H9Y2Wm0aUKpdlWTHEKEZntW1JaMAGy\nn9oOFxuDXb/d00zsm+EpwC5/z0l0e/hW7FIlul4aNDAuqYvs6N9bMI5U8EOR\nJIIGvac8aJsgX0bSL7bvEK6OF+rbe6N6tADENCCWb6xwFTIThvSI5h2MDR/g\n+NV8gSkLC6/vXnodhMtgJdvWwCzKcesMRl4zZoWUz3SL46ps6L9Vj4X/Tucu\nao3F+Rf2gqdJBLctf3wxFNFguxiEoicqr+PgKeePBTUfZWMxvyAu1IAXtiOi\nmzv0\r\n=AaOd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEj0YsjBDfVdhnUO4P/V2Iq1rDTxxpg3zZZYTBRwH47QAiAZAPR26vIzI92rZYgCgXdmBwEBdsIPdzJKDTdWgzgAaQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.6-20191213014550_1576201628261_0.14745608288123147"},"_hasShrinkwrap":false},"0.20.6-20191213030647":{"name":"@accordproject/cicero-server","version":"0.20.6-20191213030647","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.6-20191213030647","@accordproject/cicero-engine":"0.20.6-20191213030647","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.6-20191213030647","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-pz3xXgtBYALReus8iptvQaOfZILVyq0hjhM3kqEVjEfjt+Us5Xaais4cxNHp5qouR5GHeDTGrf8X+kdjGtTY/A==","shasum":"347370433b03cd72bf39eb48d7ff060b847911e0","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.6-20191213030647.tgz","fileCount":34,"unpackedSize":114353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8wCJCRA9TVsSAnZWagAAMmcP/0BaOHR3fY49o+tZGmnj\nG2TQLHBC9mAyV2IUTQTgeeypf7dCEOCSh03uSHiucEZzHdEzpYJY8HvdfSg7\nQ2gKHNH2NHk+JMwJ/l4EUxMktGVBszZpu1UmOT5EGiTWzNdD750wvgwVgmoS\n0ue8e3L57+5knNIRY5Wiu9ccfL3kwt3pS7xSW7s2JuQ1URMcL9E9UiaiZ7tQ\ntTueJnjtATg/VeaPh57XTdqSd7NJ9h7xTPCKg361+604PXQBDp38ttixxIqg\ngAQ0t0TLm4rOTX0+A8HcZ2LAQgsHcMjjChUXrKG2GYcuOa3RJj2JnDivqsw0\nAB9aPEnaZRULTD8Xx4JWqznG6mJ7No2eY4lwVSOmTDeiPJPpI29+/fmmwoQy\nfw0uSrVTsvi+yqEuavKDlnhcR7ZA6qfl44ivpNyrnpb7qKT4fFHooCLHZPhR\nXgI3H13D2eKWgRVMVXOp2yckOtAB/MIgH3AH7w+7GYC8QQ75K/mURmma+bco\nTzcJWF91fnsdHa1d2TN2nyIOZ9WWLqv/HrGBPbGfuoAIeJOv6Xxk43J/ErKX\nfzsNJRytn6BWWx3Eud9QEuQPydFC/csXljqtM5Hl5GbcFMmw6j/muoo+TUQ6\nv+1Cah8w9l7KT1rIcQwsGTllpKnYKSxgzs9I5T5Jme8LGdBXLM54LzG4ecRr\nTzjt\r\n=L/V7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGtmqNSEXyhKvjSaiv3yyjru7/lBfAOYDYjUxvS63ukCAiEArBjIYWDTtFBqWzpyxlOGbLMqzXlzW6dkRtK/2U5YJfY="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.6-20191213030647_1576206473449_0.5278128444964971"},"_hasShrinkwrap":false},"0.20.6-20191216212004":{"name":"@accordproject/cicero-server","version":"0.20.6-20191216212004","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"./app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.6-20191216212004","@accordproject/cicero-engine":"0.20.6-20191216212004","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.6-20191216212004","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-sFmwK10YWxHvqaAgnMb6aHJhMGFrQdhUkJ1DyZGiwT1DRxYPx26vEMJSGvUq8jK6O7A98DbRm+apaoMdmGfMQw==","shasum":"f6bdaba791939d58fa609c57cc6bcd53b78c8517","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.6-20191216212004.tgz","fileCount":34,"unpackedSize":114353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd9/VPCRA9TVsSAnZWagAATt8P/R6skzAMne1VE84smQSS\n+FgQ4R4M0wUMAgrWbo0R8Gc5rapL6TjwiNuNY1rkFP/f1GhPrAfFvY+0CBYR\nDGsCWUviC5Fz6g3XQJyGkW1Xyjf1Z840yTmQNcanh7ix0ly1aO+kannyzS3s\nM15JLT9Va40zQlM5cg6BaqMxNvXsbh19eHN8wJcJCpxdpETBRqdAdgAZl+bH\nLcPeDpc/82kcdoHqdTFJCTT0dI1n1WfqrAP5PX7VzhdVNfV4bIegGFADPP3Y\n4WhKShWgeUbjjaSgWnM3+KF2jAYfeyWSXzFkbjCsf+/OlD03WRXyYKOmBZVC\n1NhmPfIpEklFAhRNYdbuxJmCfl7aYdv6V/vNpkeS0FvJ7RtL/fCA41a8B12I\nNLtFaEEgqBMCrKrvXi//VF6xruzhf+wpZ0DYCVYWTFMkP0ot7QNCb+Jptk4h\nwHJPCAhX61bzclpbqNHzYl2eJk9ul8C2ZcshCxTxdd4rCwQ9C3gG53PBevHs\n/fa7Yo4jo2RP1SeA3dnZ4ssWHk2HLPml1pHUMJQ8vBJkCwRF6pZf08H8LyJS\nYD/eTm5V+juF8EveN8diis3s5gYvTaqF/fDgqMDkqvLNWtJcfiXieQYJUVAy\nIJCnnxrBG93wjkWtgsp94rGlWsbKY9AMO9F5bvkEiB7JpQPhgbgRDao9x8z1\nuFke\r\n=f9Cy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGqWBtRwBjEaJE8MwkpMHaENXbJ96ZMBIT9VuTXkWf0uAiEA3p53vNZe+G+/OwiG3X/5+LPUrxSBlHK1E/7UYHOH0EU="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.6-20191216212004_1576531279386_0.17606776550624148"},"_hasShrinkwrap":false},"0.20.6":{"name":"@accordproject/cicero-server","version":"0.20.6","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.6","@accordproject/cicero-engine":"0.20.6","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.20.6","_nodeVersion":"10.18.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-rpjdSsB8yXvOH1hK1q9k89HDnQang/A0B14Ih/PwFfIxkeaiaGd37GyzInE2ckDUKKKEbURWSIvtDDM7IZveRw==","shasum":"cce6263cd5f123d8502c613a7e6d84ffb939f46d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.6.tgz","fileCount":34,"unpackedSize":114308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+t7tCRA9TVsSAnZWagAAKgAP/2zQvYTHvLuAV/lceEzg\n2Ghgj7MiUfbR5tdiwCewZ469rOkOxcz4iF2cDAiRLs0ViIeVIzTVNb1cxX1L\n6HyGW+Drg5e9jN6P4Am+w+v+94owv4iLloxBw1P5EXcszyf5U7R3WqRDDu7+\nTYXMvUe5ltXWViYptqveykoqOYIgLL05g4PClWQXC1sBSPQy4AJpEZoZfdnB\nXUWfIgmpOiS4ODvdk6U7+9mFm520frEvXQT4w2bKZ//lHOme/qDzZtwUBg+Z\nTuzKXcDEvO8VHRVQBfEim+8xh+PsfiHr/O7l46D99//x3366fHfDjiXXobWe\nH5bBfipX79LOIzCkNdVTzQ8VfJHh/+7BpYVZjtHdiduEavqHJBc+X/PhREBe\nx+jENQEGlIm34GJ7UEA+HiC7/gdmXugzDoVjhLKsyYRbaTrsDTkp514z8YJF\nKJDKKPDo8vuthSGM7abN7WC3W4ZgoyyzS8m+98Z0qT/FKmIiGVYN1vupxNRK\nQ+pZe0HE8C9P9XPov3gluqji9GK6WbAEXq+m7Y5Qg/jy+0YaF9jIAH41Ewos\n5vvvgYMGH4AAC8j2dUM4spGslX962aRIIkgLK7syHy20UZROTBeX2bVF8TVC\nR4uJH1CbhYFTtRtrasLqOuP4mXBDFW+SowQ7vOYb7w8kqbuhtnZcM9QVoA+3\nAjxf\r\n=3q7x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDJBzf99np4j0YJtf1sDqPv2LtbfNrtjbq0oyVyJbJ7TAiEAn/m9tRM3CkEE6FgJYozPPRNtJozo+JlWs1iJBdnIrtY="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.6_1576722156754_0.16003723842564277"},"_hasShrinkwrap":false},"0.20.7-20191219022901":{"name":"@accordproject/cicero-server","version":"0.20.7-20191219022901","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.7-20191219022901","@accordproject/cicero-engine":"0.20.7-20191219022901","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.7-20191219022901","_nodeVersion":"10.18.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-eX8364en5E/zRjvlSJWFq1ZHjQEXlUH/bLsv2nX6/t8mA041wtuBeZkqt9qKwhDmFzCI2SLwdp4hWTOApW3ZzA==","shasum":"c97a9aef3d7217411050fa0b4ffc82f0f789914c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.7-20191219022901.tgz","fileCount":34,"unpackedSize":114353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+uCtCRA9TVsSAnZWagAAQVQP/39A8eSpNOEPW/9/dCY4\nXBZQbkFaf35z73gENijVrwkm4qUlCYbNZi9ydezQGMWjeENTA0db2rjkEfjt\npk8YfW4stozy4Q0tSgJJDtyrOuHC1y3fTvWp+RaOmYiBVTyrk03xSuquuRnk\n/4SvvAipQvPESsI4UTV1bF8pZ1T+JPeRzdgEFvLNE7GCPCP8ml/jT2JyRE9A\n2IqRZ2G0YM/gUEB3FC9kcYkPNdNgDF9FEpdfBJKKpXcNpyJo37oWN34/4CYR\nlvz2oaz0Tt5BOcVav6jzy8RmybVOlCNvW0gqQxWiVLyoI3X2GlYz6suDs0yB\nb/hng3KGzLu1kq2FqNQfQbMucM/YO79JbjZ25ATpvtRqSji6mbtzjoNb+sHF\nkBp5cd6n5aJEkfwNeQ9PrKEZNmSynbHCUxWJixLARqII8ezMUYX6UxjUvFwD\nMwABlwXwfaoSUCsNvLnknpIufy3I1v6u9lFa6eFVnd2xcaHmROE7vUYj8+Gi\nUjgZDfI+F3w4q68vjD+WqRnTdsf2vgAXwHxjC+0izhU7fBZ4HnIjPti6y02f\nPGG/x1EpHWzhcTr6pkUoDdDRXjmdFy54yJ0s4ceBY539Xs/Hs8eWSxABQzw3\nQyYkrMPt+ityFg9J8tebraRo8wCGHoP0aSBPBFsVgSaAasSOczuSQZKGDZEm\nhz31\r\n=mzMv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDi/U6bBt5KaVY9g7KBp+R7zQCRLT5kiCtGfeCTXGJf6QIhAKH2n2cgBHcus4ipTIyET2X+1vYQIS0emcaH32xeMWXX"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.7-20191219022901_1576722605378_0.29809580509176126"},"_hasShrinkwrap":false},"0.20.7-20191219053235":{"name":"@accordproject/cicero-server","version":"0.20.7-20191219053235","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.7-20191219053235","@accordproject/cicero-engine":"0.20.7-20191219053235","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.7-20191219053235","_nodeVersion":"10.18.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-8+nfEQqI2efjzimI6LL0a/AKCx77wYVtH/q5vOUDIhdHVo2mW7cBbKej3tte1OUO7b2pBEvme8ikFjxbmlLvHA==","shasum":"55a1d7e690ef39c47729b4ca8eb4d1e26c35e180","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.7-20191219053235.tgz","fileCount":34,"unpackedSize":114353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+wu5CRA9TVsSAnZWagAAsAUP/jXt1KpoBFXnejgA8/Z6\nC3DWt+SnvLpPPwYmnb2Qs8h14flmDMK5S3UekT8tIG0EOIWLGkiXpypYXqTz\nlVmgWDig58D1VU30EcUycVviWL+hfOl9DNrTkA5vnHBf3B/r05yx5K0igIF+\nn6Do42daV++gRYHFbN60Ky67z+2fLK9+31nc79NtgIoao9KrufwdKCloxJId\n8Ih6zOm2IPDgLbZsGw5RmDJXBZtx7Q8qzwV0jvYVdicv5t3gWo0zE9AQiKeB\n46l1c2mShFUVgR5xA88boI7O9eBULZQg6MPfd25w3uzB5p7DS0tQRPoLVSyv\nREfBqwGjDWdRw6a4sCEuEVUXXxuf6WSxZWjsFFsTGe4MrnLsq4qjRllhsSeE\nYLZJNH3UrhL1vbplBMVaeWW/fBO2GnaLrh5yeT4rjUngziYLxVYZ380Ef7ae\nmiDxjd8rRxTq1bfOcugg/41sDp/h/goD7r+pIo/djpC1VDajLWsr/eY/YDcl\namuaURAc96Bt//q9JyQKnV1sun+a0JzZAJ46pmiBcIhzaClyx3GR9YUHLG9J\ntEDBEwsGBdZVtCzbnXI5+kQrqxUzDdaqS1ht97wfmRekqWowcd34GTBRunbs\nklUonkLH5dZiyS7+82dkxlI3+9axYfFgpKg/t4/k2qHu15hkCoyLqrWY9laP\nml+P\r\n=HV4s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1VxtUR+3siiLKFNFMIFdpoYKWE+NA8vHkFaebZykbAAIgCUvKMCnnNK5PdOq5QeszHxtWBqulPsZXYabXDm6GD1E="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.7-20191219053235_1576733625122_0.92904702566064"},"_hasShrinkwrap":false},"0.20.7-20191220160826":{"name":"@accordproject/cicero-server","version":"0.20.7-20191220160826","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.7-20191220160826","@accordproject/cicero-engine":"0.20.7-20191220160826","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.7-20191220160826","_nodeVersion":"10.18.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-OF+xP7TYndYBitoZNF/29KWI7IgiQpUFNQXuAytY676mOpHV69/vSKe00tcmz2hoXEvnflhE96K429ANfCsWVQ==","shasum":"1fc91eb010741a30aae0dda5e2f1673b2805b208","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.7-20191220160826.tgz","fileCount":34,"unpackedSize":114353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/PI8CRA9TVsSAnZWagAArd0P/izC050XkAJJ5c3aJOQd\nXA91gghRtC7NrbfxdhInLv6HdQkfEJWKfDVAp8jcq0JinRDGhf3t6SLUbjf/\nsC/hhGb5dPv72hAK6ISuJT15PMcxr7C5IsRZpdetnCD9MLQFNhwEI56Vk8WI\ntLQLvEDJslQqfTSB31H6X2ITEHkH0s1eknMvpCvdT1f4wLrsx0bQpzmRSTYS\nKMBmHYIQdmxBMqA5TD2GDVnF69DbTdX7jEzcstrE8eDCpPtZKNxAc5hEtlZS\nxFf2g6dt1H3FU1zdrSSP84gTrQ9An8rNcPECSn5igOh1R/K3li+LBSqIifWK\nzPC7FRF7mhkl9lhY4xi4QovddQor6UjutmiczuUJw9mIoy/O47C0vi6d7GVy\n/Nt8rNpHnJLZemY95GWWikpVSgz9S01VdBYScCzxnNYXDO8IOMJuGCLHrjir\nhhkHsxDxo8NJYaZPqhSV8FI3Fw4GqYlaBkRxEa7yvHrfAb746QrhD5xTuWAn\nGA+nTTS/MsB5bZJU/wpSL8wcNw54xYO96CFpfXuliN7rNgvOdUqeHm4NT0xn\nYpHYn+V9dNYtmjxwfI237UhM6NI9YOAvBnYiBLBqDq0i5zzDbPEW/Rv7A3sY\nczP+aGM6Ny5aLUwFY/6RT9w4Bao25j8pmuKL8lukt8JwoEya81iC9DOg3MqP\nyfEw\r\n=66ms\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGud3dsIwG1d0BkgEuhCVuikDiFNvfMdjoeK5kY76BgrAiEA/L01xwAPTQOFI+E/i+fggP/J0zvS1/2uksvBu0EPbW8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.7-20191220160826_1576858171850_0.9671257356205984"},"_hasShrinkwrap":false},"0.20.7":{"name":"@accordproject/cicero-server","version":"0.20.7","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.7","@accordproject/cicero-engine":"0.20.7","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.20.7","_nodeVersion":"10.18.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-NwEpP7kdWUfBgTKXvaq9FsX4he3oMRSP3JSO0shpZrTt7vR9MafVabIh8mg1Ne4u25aWg0681JUQeTjkwN8iZA==","shasum":"177934c71ea7bf9c85ca695cebce40d92912fac0","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.7.tgz","fileCount":34,"unpackedSize":114308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/PTACRA9TVsSAnZWagAA9iAP/iNmCWs+9+CJAhwoW1Qk\n9wkPiHdWXFdnXum+C52inAvxS7AK84cN5tVEo9nG8L0jgv3TW03T67/WQ3zj\nkfgjuc3dS2BEd6qa6mjHbW7gvaZEZyDdB5JSk56aJlm+k0fTedyNmehMY/E2\nnmYtk/D2FWxjWZyGJUrA8KTYBhiWyHaDlvKPQKynBMDORH7TsR8pzU2DGyYp\ndYQVVzBousvKRFtcNDdk8hHlnX4IYEOihAdU3b+ddWJnpZEk9x+Fyd1hfIsb\nzGa4sKrajZYcPMNovAc4kHY1yvHl/Ou1WGQ4J72H400DV5U3vZEFVtbnxnmW\n4aWQ3iQc42GV1BozagCgGsv37UP8RW7c7F/CFR3sNcoYCTAnTXSmer6oYlba\nsP1LGtLtGrE1BJMjWrjVfuSb3cXOSIrgjC5WLQkAcSPz08r/tDJtFQJ8usDY\nuRaSvP7S4s3gM5WmKRcw29Y5J6z9DPuElGZjC8xl/iVG2JLoPbFazwzS7gl8\nlyreZAsOdLn6j05mxvO4C4zuILcq67xdc1gi8yBhJu11oa58jIXBerUE1y/r\nW0H5d6OvEUcBvLU/E1fZpaiW3tboctqrI5MUyGUIDtoBECSZt7W3onzEGGgy\n1UCAha/7QB/hKu7LkG/r1+cN+RTZc80FtJEfwkhQ46lWv2jugoyomN+NK9YH\nB35b\r\n=pmFS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHWVnSokg/Y25J7wFr/+G/WzP+bgK9LN9Vq6juyfhinxAiEAg616u5r7WMy5YkoyKjRR4Yr/lpD6c32GcNIilwba6qo="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.7_1576858816084_0.4772154837769891"},"_hasShrinkwrap":false},"0.20.8-20191220162620":{"name":"@accordproject/cicero-server","version":"0.20.8-20191220162620","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.8-20191220162620","@accordproject/cicero-engine":"0.20.8-20191220162620","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.8-20191220162620","_nodeVersion":"10.18.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-oNBjHF1fgVFSJkXDkYSl5dRDfT0lD/XdjAwvnoykZqDQp6dMcZzVnylNMRNcibMetLMDqbY236NLgyNoP0tZsw==","shasum":"9869fa85b9b072de56920cc6ef7594beef91656a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.8-20191220162620.tgz","fileCount":34,"unpackedSize":114353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/PZsCRA9TVsSAnZWagAA/7sP/j5U2qzEGM9HHfuBJgYW\nLoOoZwotQb28nnHvQ0PQCzn04Romnh09OYq92CJfdbohqXpZyx74p74Md/66\n++kTMm+7fMlWhqkxWcvjgSHwdYTEBZ4064ca4RcT0tpN+051IN0Aj1MHcFMa\ngp1BYg7jq0hjtiPBF3i4k0fff3TNpId58E9TvQLKAFTQXNXzq1vAyv5AMyVA\nju2i+z2c0IwFyOxsK8z7ouMxdUCcaQ0o+yMK9aKnQvi6ktxVN5R9RQ5IAZjw\nLoozOJLx2iKpK/GQlAQHMHBALnD2Z8D4niZGP85MahMPRVpqcmmmHDSnUz2+\nMcpCnESJsv53LhkESQBjw59C3Z2UkOIk7HoFjl+BlpCrBguJnk/HYXkKLtmp\nsHVSl4Xb4ueoWMmZec58UsH1zhZUHl51SYN5LsHDo3mS0HeVNASq3dOlCJ2S\n3aZCfKXrX4ts54nn7EO2QctcwrOVqZLl6Jli4Px84h1LsrZNksLHUGYIcIs6\n9iq5F8T4Zh6cQpnPSNYfR7n+lCIS6J8Nm4f6945iOaUE77UH8PwWlw0iSP58\nChrmI0R5jxApbBWn8v4U5l6InejbUNM3Xg+mVXxXdb235eAh9cTt155qyhHt\nn+9abdrsk07YJXZnL7ULfWUkm31TCdN5nhBIJi2whdpCdhTiN1AWNIsB0MW0\n1XYw\r\n=2Afd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBTc82Pj5N4b/Nyznel2GKiQ7dQ9CfHoAB7Rmd9uTKy0AiEAlNpJBB/YvHI9knwKJKqhairx4LLcAmcBSCHSqtwhRo8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.8-20191220162620_1576859244230_0.01737619367401999"},"_hasShrinkwrap":false},"0.20.7-20200125220055":{"name":"@accordproject/cicero-server","version":"0.20.7-20200125220055","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.7-20200125220055","@accordproject/cicero-engine":"0.20.7-20200125220055","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.7-20200125220055","_nodeVersion":"10.18.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-y6k8wZ+6q0Ygr3zaQhg5HNs4bzRwqRz8rC4I3Fg/a+sAkmhj9oLrrtTUnPo+6uikcjWfpCSPyT9n+B6gJ+odiQ==","shasum":"46dbf24e58b7eb4d5ad1e29da9b41f0a0289046f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.7-20200125220055.tgz","fileCount":34,"unpackedSize":114353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeLLtECRA9TVsSAnZWagAAWVgP/0cCD0Ulnc+QbfKa+r4U\njxvZd/MHlmH6xF2njK97bTKoksWKH35MaeNJXB1BhuOeAQkL5ytEposA6wdY\naM1arg7LKzsDwFylSxLWSj8oy61CxS8jNSTq+ntfhExKIQ/axfkWVKolsi7k\nEigSTtMJXkHqjOdZclWJ5ycQvLjZC8eGQQbOf4E+OF8lMGZ2jbOSX1cNO+83\nfw+CYLJETKgjdVlFCTUm3pzAOFQ19Q8yzGSUZ8jGfn3uwYpq096iSqdri1SI\nOk33/mMx0GeRJTXV68ePhGNEUngbRLyapPCRkdg1IRiHARTjGHtX3zi/6AUW\nPX0j5PqUFdxJPQlwXNZQHUP+QN2wvaZcyDvsHhDhBAm8vfM+3h4OB3orSGHc\nJOjEreIGxnXXfMJdPIYzF4VfxN9nnvxnrFkh15FRDxLrFuHxHNZrpNuZoHKc\n+jvGasWW7YpeTlwqek6fUVRgZJVNN3o/IH2pwJmBSoL7srQ94upEql11Vd2F\nUjxf2qJfUrA83qhDpGDBSFA8ERxZGCpITvfPZ9npFEAc1nJdRPMJh4tBOKhj\nemtZc7moB8fS/tXBuj/SffLqyCPTELkxqAJXAxkqAZmY2m6mOstG1si7oaZk\nXwNBAOWXeAjKwMf4XY2aPzGiRKyS6IucxQNQUiz9l4P/P08+K7Q5fxV+K9Ym\n8GBX\r\n=tjcE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVuAeQqsW934/kRsegwNUpJDV7iqJkR/CJ4AAXu1Gs+wIhALcywRp8apYbQmLZyEdY6bGU5wmPhXjBeL1v1+gUsVDl"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.7-20200125220055_1579989828138_0.9442372621998159"},"_hasShrinkwrap":false},"0.20.8-20200125224143":{"name":"@accordproject/cicero-server","version":"0.20.8-20200125224143","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.8-20200125224143","@accordproject/cicero-engine":"0.20.8-20200125224143","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.8-20200125224143","_nodeVersion":"10.18.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-a9u06UJPiRsPTlmxa3bBHmmazRUKuiPRk+wq6SPuwH1PfS6MfUZPSZeTSdoEfABnz60UUMQFqRxYTRahvotnEg==","shasum":"1ae15f1450fcf5639f6f2a31bf5eb9eadc9527e0","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.8-20200125224143.tgz","fileCount":34,"unpackedSize":114353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeLMRqCRA9TVsSAnZWagAApNgQAILhtKdJH7iiicgOifdw\nP29+gcyr9iQW3jdLt+FV9VFK+HF5EBOCieeRMjYlcDfpBaYv/MQ4wjQvVJXo\nqvRNRkmktLztpXhnCnKyNIfEShFAwpvgcnZ1orJGt9bJdMsMxkMsJJtXbGU3\nX4MyXh6GUCmZ5t+TQ6dIc/yOldIazGneBCvic4kAzkfEKmPYgWczuxE0Y/so\nwc0p4owoddDoq6VdjsLCv/AO5LS21qZ8/l0AG8uXI0zSRVhS+9vFE9/e+0FL\nWLtKDKRZSTRIkuG8o7aaUZLRWwybjbG6nCOPaasGrI/xtQg5IrhU5W0D/h30\nxd+qF1J/bzj9D1jdpGQhxxlpozkwhiZc879vq08WxzyNaJB6lJ5P7SeEoKZs\nAXlP6+c+HdCMx283vM6A4nmgZeOGf0lm1N2GqL18X0CYa8bWLwuTfgfQb2c0\nt7/kozOAU0oonND9msEqYx6WxU4o+MHickwMmpNwOO1Aw0W+saM/GbOl2ffH\ngVZe2uRBrc91qR/Nwwv6MzAlP4+nYh7WPmcFaW103GXVXjyRd1gptlcYFhC+\nlFDTZ2iyB3QMc3BOMLWez+wBg6CoGoWkH/lhsrugB5UFOjtOid+UIZAT+J0Z\nEpJ13RPC2OO5WqfVlzQqmOAN+gaRsIxnYYOk/sKxEeQbK9LKC5CV6LORr7Bu\n93G9\r\n=Xz3J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCi1bo50UJ3BZhYVlxAyQ1NY0oxhDJbk2pCwue6CRhRdwIhAMZd8sLNnortO/bVT/uncmQog4lO9ngEamODH4x5yl+O"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.8-20200125224143_1579992169650_0.0120067271061286"},"_hasShrinkwrap":false},"0.20.8-20200127164533":{"name":"@accordproject/cicero-server","version":"0.20.8-20200127164533","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.8-20200127164533","@accordproject/cicero-engine":"0.20.8-20200127164533","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.8-20200127164533","_nodeVersion":"10.18.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-gzU7sk0s8KnDC4l2nn1y71Is/Bo92aYcLALkgLQk1er/7J9pW9R/ttaB6dqUlsTPIDfeHKuaycRndbuQkpELyg==","shasum":"b6fb1cbdc89bc38c54cb7be04eafd22c26fd12b2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.8-20200127164533.tgz","fileCount":38,"unpackedSize":590918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeLxP1CRA9TVsSAnZWagAAYwwP/RW8KIYezjS4iJ7dMnWl\np7KDmrz47ZXB45r5gLtcwmUDKiTTHfxmd+eQIEBKalRxraIzCvusCSO3JXn8\nqIUFrpAI+FBoZ5XjtahzM5G6w71SGY5CtoMXo8uDBIKmJTomLbb6lNFPahc3\nk4qEdkosdj7qeUPoaWChdlwlLdyNcMI7LRt+0YhP86EghtltsQsAiTy1v3yz\ncwJMiWiyUeE3SYN/xCppKL2yYAX7UT/ya3mXTdQntGesGREL58Avir8/Avrr\n4LjhUixcZeIK9K+zMoIfnkaU6tf76S8/oDEtLKvERC2xt/J9T4yBXR2Nnctx\nVVdcId/iPf4KEpgUrY4XMVvBs4oFxp5aDwOGOnlGNfN4raZsJHUAFeiOEFhb\nfloXxY+F29Qp0Tcu4O+mxKwIUk+xXwgropxFfJATZ5efhbPA7HbKzppO/sit\nmn34IeNRzM21AySKihAh5ayMBtVNqbYt//shKyyQaAhj1CydSU6UMvOMl/F4\nmEpoRUUf8eadahuG30mqeMys+MdCUhWqGB8114zdpCLQxHlk0/8P3rYFNiTf\nx5IINzNdAMu/Nhvn1i0/btSXY4Kca1+sQku8nh2sf6EoQUeiCxTJhsGBn/ss\njKDiOafA5boyW2RT3b7VeJbgImCSoyisernkr/9kKnzZU5sZVbt8BRnODKcg\nRshG\r\n=cqXa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHEZcDXvoQzQtpjCOlhDf2rHxxP9cWaFwMl6aPSEvnQUAiEAhGos2c6SVco+9nNyE+g82+3wAxaHE00LqZe38Mi8moU="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.8-20200127164533_1580143605220_0.4824666185054427"},"_hasShrinkwrap":false},"0.20.8-20200204033257":{"name":"@accordproject/cicero-server","version":"0.20.8-20200204033257","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.8-20200204033257","@accordproject/cicero-engine":"0.20.8-20200204033257","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.8-20200204033257","_nodeVersion":"10.18.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-OjdGGv3gEUWkmx3hd+uMhIIgrWX2UlMr2Kt0Eq65sKm29ilBBIQIXqgUYMDdbG32AQineLJY4/B7Ft1YfxNRTw==","shasum":"092f6f81e8b1a9ab385eb9a44b94bfb05e91d7fc","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.8-20200204033257.tgz","fileCount":34,"unpackedSize":114353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOOYqCRA9TVsSAnZWagAAOIoQAJl+cEB3fiZbgAGx2w8D\nmv9LENNwwWWEgV9UH/7NI6YQ2XCh3RfxwCofpk4+oS/7o0vmXMhZeWGECNK7\nfj0rNdkogZl3aSTMiI9LO8jmwP7p1fjDqFZTz6LC3IvObgZJl9unbaZ+H/HE\nXNv7h2VqMWfY6OURLNILe4V1RlqKmB1XYMvlfAmlT6bZwQR/S4jK3lAy9xHm\nyEugfMuMiYs6VNm/dYVCmnM9aMuTAJmkmn49ElWsHbEXBvEWtsGvl1uenHOe\n2mx2swLk+4ITlScH2owH4fdPTBGACCWFZi3YxPhwO+TlpnYx2n0nNyQCK5A3\nzmg8dRUmV8zCWZGbRgIu5O7vprjn1BS+If2fsk0Eh455BpegaTCRWBvvozz/\nqkFNIw/mH79UTvsAfXzAgzFK99l5i/NkQoY/gK7riNjQKXRaEVK3At9o2Ake\ng5syekCPnHQYOp2Nqaumpo6acbJGCJur30HGr3Cmwbswizj6LPWnzE+xKSd5\nX2ncKQAqdPrKHarDobbTfccFo1IiSkJuSwr9sUy/ifDyoIC+Wfh/SPCdXin3\nquPsVTwJcKwXkKcrMOsKidtRHtKSkOxqEkyaqK1Qhg26rBISmbGK9nkC3RFB\np0uY4bAkKqYnwaXkJjQff+xuxlt7WqC0ZHWzd2kKI2XWTprx347341/rjKZ+\nZ2r2\r\n=hPgP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGfZmk2I5yax/n1bAxZbmUcW4cqlDOnnP6uB7ZIID4mgIhALLzdgeeMgIGkTPu02n3trYXCPrEMJXngAJmtwtlSTRE"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.8-20200204033257_1580787242519_0.7090538587344226"},"_hasShrinkwrap":false},"0.20.8-20200204033755":{"name":"@accordproject/cicero-server","version":"0.20.8-20200204033755","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.8-20200204033755","@accordproject/cicero-engine":"0.20.8-20200204033755","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.8-20200204033755","_nodeVersion":"10.18.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-FxnMCOHJvQctOZ2GzGrH/T+9t6Dm9Q03T9CDg++2b7kfOqzl+HM6X+Wr+83yXAsWxslPf0mRqk0NkPlw40UxEg==","shasum":"db8a6fa19d49c554f5924bc95bb43cc23ae0cbca","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.8-20200204033755.tgz","fileCount":38,"unpackedSize":590918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOOdZCRA9TVsSAnZWagAAjBkP/iJJuTO4jkw2DyZaUI4Y\nzONb+x7v5TIDaX50ZwPdMurxZKhkNOPXMghHN9jQFFgVj3mKBaXbcxnBDwrA\n886I/Ifv8QJYVfBLaP/w9rGb75GWQ8h6BBzpMxtko+CmDYhA7WahjH8w2x17\n9Tk81n9yysWqaqtQ5AAwV2B+nHGb5I8qVqeT6AkeSmJM7QXqxpkwOk6aF80K\nP/wONBipinwVokBeVN5W2PPFUhCf+sxpBuJ/qvBIbHmFcr7FCb9J3SUY4A7K\ndnGyLVugVPU+iP07pc6t/ZrXdO8aFl5APqvaRMNsXZZ7HMlSXbQhcI7qdm0/\np62MQ57tABitOR7orbQlUB0Xu1J3j2kkPH+pnYlbr68ltWv4U6UKYmb0Qb8B\nJ29tZ6EinYWJsTuUhlBReMjwwPwNziIe4SC0oVsUNs0ParCeCGctS9B4EXOO\nGlNJrlg7BfAwRMsWlPwQ3/EeBcyn09z58nYL1O19C0n+D4tGv+SQSbC3vLgO\nuvOmS2e+KL5zmHpM5tt+65luGI3Jr7HrdKNGU1xcXjVBmG4DMiRBeMOcyWI3\n2CTQ1VjzNqxE1Tme4k/oKspjM91+5Y6oOf6xmPNHgX7jeD5DiUme9y87ysqT\nsKiGFFy5lQlVJZjA7vZN7vn1S/mhTsAxEcsQMteEs3qhRP8AGtv/CBuhCe/T\nTFH4\r\n=vzX9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2M2RoKYGp4DmwLM3sRSXlaNUesrW/4TQxwiIwNzyJwAiEA3LDVOmDsSO/UqmS7Am5I7+ZL+MowWLaiJJDs7+kbUME="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.8-20200204033755_1580787544936_0.4630543403053482"},"_hasShrinkwrap":false},"0.20.8":{"name":"@accordproject/cicero-server","version":"0.20.8","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.8","@accordproject/cicero-engine":"0.20.8","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.20.8","_nodeVersion":"10.18.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-93ADqpCPjOJ6IeWN8E8P+oYblaXuxPgmppSnbjVIrQEiBOQJvD3kHazPzdtAGc1mf1haQ4/E0vOq1IY33i+6WQ==","shasum":"400cac9dfb74c79e8bdd6a7a9986c4f094187794","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.8.tgz","fileCount":34,"unpackedSize":114308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOYIFCRA9TVsSAnZWagAAbjUP/iP4RQ0Z/uJsdrHNP9Qu\nHzEEysUveqdzgElsq+2KmskNbUiFT18+v9uG2q4jTHt2Dg50yt5KXHV3u9AG\n+EBRQmyBE4q5JOlnNGByD30s9yZdwUErh62kblq0jJJcmvUvkC02jiyRuR5I\nh3b7SAFEJpvxra3DChn9e4TYXdf9pZ3ZMhxJbDcti24sZ58kFc6hu84hZPvh\nIB+zfkGpEjstF2pMaYzar34v+kU6oYU+m2m8cmahL4HYxPKeqEeAjxl/LwKm\nYJ0LwufmcqlNuwEHT+xBqhG0afNRjffjfPzpJSVmAbw6fxQYL2w2j6rbL2ye\nA7AtVZNZotHad0qQAlWAoUS3+OOmhttZ2ZZvUvqhsS28A1qcmipk/XvsZ3M+\nQRmdRUi+2vvLi6LBcz0OG0xYH9s5WPxY33bdZx02smH+ecsuYNUSRumGKEBD\nNd+cLxGeeZNleTvWv4PUodLXacYmIf4NoqXTuKIMu5iAFgM4aoJaIQnQRRsl\nGiBgW/4Ecn2p8L/b7uK07yUhMxwlL3mtsmDVttglUvRA2Pdd/cvLLFm0uhD/\nZj1gr8PpEkTdLc/BQ3SOtpquqA706pp4LSID686JaiiYKNNkNQen9duDdkEs\nyHBeUzEhhCuX3WZikCba/Tm+BUmhjXVTvaLKMJUnGQbdjXXoYFsDyhloss/e\nm7Vu\r\n=CcGl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC+1M5WrGTUCZrVUzT2FusLtQdrCOpKUsry3j/1UX5mCAiBcy4myW6u7hBibFLF7Wjq4BuQdQpCrO8gbuQHZWkQAnQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.8_1580827140848_0.7513431212793853"},"_hasShrinkwrap":false},"0.20.9-20200204144607":{"name":"@accordproject/cicero-server","version":"0.20.9-20200204144607","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.9-20200204144607","@accordproject/cicero-engine":"0.20.9-20200204144607","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.9-20200204144607","_nodeVersion":"10.18.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-U5vHrLDKP2OBlbP5IwiBayC3Zzzia01USgyXrykHUfS5kyz464BS3CdY71bryljs4sSVb5xOYbrY6simTdJbtw==","shasum":"4573211a8eb2b56a2a276f65bf34d15876bf617f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.9-20200204144607.tgz","fileCount":34,"unpackedSize":114353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOYP1CRA9TVsSAnZWagAAQC4P/39w67OIHQToilKxrH4/\nSOu4p6dlia/FEPuPCfeamKpB2zN1Pp9rSEk3SEGP7Y9TjYxFPpA0fuEvP7A1\ne5c0fxocPA+1F3rEK4wIzRjaKUY/qjcQ/7OkzmdCQqkKhf+vm66LR0C2V6yl\ndHK/8VCzUh5DodGw1vYcKE/cY1xx5pZD/PuM3SR7LBKW4pU90AMuxivhT/EC\nfk4u7ySh3fwTt7AGZsDPoSo289IGtpntALc21ViNSjsxnbzQqK20OhPmB6X8\nA0hd/B2qD72MUU77zlO4ghpy46LJblLtweOGIzEacd232XwUMSr4mXOSU40E\nckQ2tzrfJ1m7fk5Di4JI9Fe4ejSAPtYbpLVZLSIj0/SxW1k8h7qu8t9bxh4r\nkTzPbaTR0LpgONx7cKus46WxOCaY1b/tLt3XZJ6ih03xxy9h9TS3FJI/0BK2\nSEKqJMs8EH+qLjdGJcHCQ8DPuxDue6Kv4hZwvGSMdvAwuFC0CbYwbREKF1rv\nVBYPkM/V85cPJPbGDs1CGHM1okuyVU/p2PRam7rsWt529emRtXjGe8ZjvN2H\nt/lpJamjVXeLFVF1FgnniFPCtwAs8Vz3ldIQdQTdxBYdT5sThEgFNpwfmQJG\n42FvN2PcQQVNq/fswzkXn1sMI0/gv+F83r8RfZwp2w77BYbk8iwP8Ti5x6+P\nvaua\r\n=bHap\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEL9X0i5ev6JoZLpJgCDVGjM9jV/vLEoP1SUd0h7+fnAIgGn2Q3RMmDZ9b2aq/3F+eXiG1LNFSXFTwBOUK/WjFOtA="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.9-20200204144607_1580827637333_0.6827363179710317"},"_hasShrinkwrap":false},"0.20.9-20200211152612":{"name":"@accordproject/cicero-server","version":"0.20.9-20200211152612","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.9-20200211152612","@accordproject/cicero-engine":"0.20.9-20200211152612","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.9-20200211152612","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-TWu58s1dui+U5tsGFpBA+CpYDB39+BYTykyG5LpvBCphup8K+5kW44fX85Vlcfu6ggWsOzlrEn5dFrMOox1EOg==","shasum":"3f89820657b36204bec3eea88fee21bb06c3bc95","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.9-20200211152612.tgz","fileCount":34,"unpackedSize":114353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQsfWCRA9TVsSAnZWagAAyZ4P/REmy39OQBLmieY+uv7i\nk0vpueer3GBU/9kKAgsDbAI+tOxyJg7/sEGE0LcScqmFPETg4L8XPaksqALZ\nuLwoCaIqDk3bzqJHeyr3CK6mpFdri5hdo+kd6Ll36iU+duDOeOuwMa/QsOcJ\n/y/edpZ2aBkFx/2KgvDi1AVo/kHYUxETrwzUerufkXov9tzA16KV4muGJTt+\nI3IcvwFDDpUnKRjmH1a4po9vBhmtMfKfIZtPc6o2WodJQZliucWQnNRwRt8c\noHBD4ZceXq8eo48rUWblaOhmVxBeOdUsALitGRkauMTt/ZThU0kHd/g+DUAv\nYdEVWxbT75/+vOO5STu0sGmMB4zhq0J9WSaRq9gRuYjMWxRgnopf3mRGKYRn\n27V+5h2m6mw4JwuDihocmj72P+ZVwOmQQeRH5yVh8FFgosNc03pffws8d+xy\ngmD7EHz1plvKQVn6rVlX8nBAIMSRY2UOzN+NzfF4LqMURWRP6Xe2nmbiYR2V\ndB/vtOPxZ0nbh7b8xQgiX6hyWUFKP07ciCnkDtQTvMUMXewIdmVazRj6sns0\nlPygiBmidZ6JrIgPQ8bAGpyQ9V9rJp0tcTog0kzldSuwszhyo5ZsE07oW+Fv\nRNxKvkRqI9YIdrKaM6ljh6nMTZxubYZzjXqzwqQxJisJzs+aeyW7Kb9McoXi\nSSXH\r\n=MKFp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGtJxsxQl7KpHQ9Ny/29ySJI9wQn8MEIckxE8JGVBld/AiEAzgcdl8ONSHVwPKB96E42EvVFiA47LMDpNm4BEink+U8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.9-20200211152612_1581434837726_0.45921852525367135"},"_hasShrinkwrap":false},"0.20.9-20200218175251":{"name":"@accordproject/cicero-server","version":"0.20.9-20200218175251","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.9-20200218175251","@accordproject/cicero-engine":"0.20.9-20200218175251","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.9-20200218175251","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-qQ67Xpb7V8hjkNMGvq2PGKGIwlVy3u8KvbGIz2MOm/J7nZVW6A0dKlKnBAEx4csBNquSLcuOoIsgypCK86EF8g==","shasum":"35c16f8b348ab05c2f0249249964db66f634b5fa","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.9-20200218175251.tgz","fileCount":34,"unpackedSize":114353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTCTECRA9TVsSAnZWagAAayIP+wVOc313QYfbulHu1p3a\nlteWO17dgz3Hi18kB9l4UvSuJStuyC1IZACynBtDZdFsJEchlkknp6/u0BOd\n0HAPOHxq6jvqEPC00ovdzs8AMvYVYwU62KYMBq6V6QfTmJTF6vtVTmfq4r/b\nrb4tEq6X1RUT4QapF0XJHBUMtd7+9ZnBhrmh6Lvs+dPdJy0PkuYiLDXiMPAO\nSVueqTnHjqGfRY4Y/lcs15pge7GvYPmYeAHSsOOk86et/7/XFku8znkFT3mW\n6FfX/CqLZiae88mXiokUcWXzyl4ungs7P4+dTUXN/kEZcsf87zvchB6rquUA\nwr9GOQ8pwyLxbpeI/HQ84EFtBX3/CBhMoPcKw2y5G1IjDjz+KDyB30jWamDe\notQstAfn5E5YuBjofqPMAqQx5H7YqMaNVAArQGDGr6nvaFszkZG9w422Z1cN\nYwjLMl4dJKv87RrcBgRzE6b9/UrFdeVoWTlgfH2Adjra1CeQ/una9hVw8/2z\nWTV0FOaBgVLWY7XZJH5mb+NjBgB1R8uv4hbyeV44hZ6yp5++Du8Hz/Rgs4Ii\nmn5HFgXv9dabvAnw0ho+RasiscpJk8wy83j3sSnIGYnbhUEW18GmBR1M971z\ngoPvz9SZ6TwQFZwwKD6uaaj4fwCizXpHxan5vMD2fF51C2Wcrf6jY+3CYnqi\n9ygz\r\n=HMBe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkqeDgxpYcU40rC7+2sL1luUTlLUCLdwQZnPpHeWPargIgJ4DwxDpaUaCdPoh03ToVV8kfZRpY0/TgQO0gyQhymiA="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.9-20200218175251_1582048452000_0.7448411123512164"},"_hasShrinkwrap":false},"0.20.9-20200218191940":{"name":"@accordproject/cicero-server","version":"0.20.9-20200218191940","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.9-20200218191940","@accordproject/cicero-engine":"0.20.9-20200218191940","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.9-20200218191940","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-fPYonI+2HMQUUrbW8iC6TOlAyiwwyHLJtGt+RmBP1I1seyURbTXJL4h/ERtCCG/uOGCh+o/t33tp9bXZmjDMxQ==","shasum":"32567971c1f9b91b6055287740b39bf4119ef615","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.9-20200218191940.tgz","fileCount":34,"unpackedSize":114353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTDkRCRA9TVsSAnZWagAASfMQAKPred8xiW8bzJqNJw7s\nmG0Nus1Exm8oMCBTF9be0Fr8acmNTPa5lD4cWJcovBOUNJ0dbvRpbcInU8NC\noVqAV7Hlx8MfEqC6XezK5CV5tI9RSNoc23woLnvw7mzWwzRW8C4JztEhsvr3\n+hakZZSgQ0GeoYyUlBuc5SUqzTjv7hT2ci5tWgj81ZTuxvhaxNIAruOT4kwQ\nUnA30Lqn0TrT940XOgJ9iRNhQLwBzo95fcxEvN2KvFBywNunkVlwdkcyvp6N\nrK5S6vnYCQi/9QDnOmR8Olx4Qj4kRz6M2aX2bNtYnWD6zpK9vc34HF0YBp86\n5B2Pq1o5XTsWfvZYSwIPTfXv1P6R8E2j71DMFPb4LWOyUtJxHfVcdu5tkxA8\nQM2w9gu9l/Swt1w2sNcewQwbRLFzuPN4VsAOKygaErdfXmb8tzrBhA/5aXIx\nMba8p2p21f0HYsBMGtvneMdavBBkR3o6zqf9JWrHw5m7VgjNz4/cxPN3bO+E\naTVroZa2ZsjCbxaXBYYo7lEeMt8u7ctGK1kLVX6O9ABASSQK4OQjc7L9gCnk\nmABi/GJeJ5+9SvLuWHp6PldWk2O7eB1GGh6cq+Uzb46Q+BLLnKzil3jweU6J\nrJcm+VlOIbqGyxQ0vEYdlPhSH8pDn5cMpwFbULhTUebJ0pAj6SS30OTM8/C/\n5qO/\r\n=qwEr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwK7Jyf7hRrC7Qgek3apYWnY3wN7qAQAqDNfISP6rizQIgC+cRWXQ0X5LRiCG2Lu16tc3TH80+SWPkUkJa1pV2cMI="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.9-20200218191940_1582053648745_0.09015333789627644"},"_hasShrinkwrap":false},"0.20.9-20200218192857":{"name":"@accordproject/cicero-server","version":"0.20.9-20200218192857","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.9-20200218192857","@accordproject/cicero-engine":"0.20.9-20200218192857","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.9-20200218192857","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-EgLjywW0qd+EKSGePOJ3Pld8SpBDyz5egcOqNf3oamMBWS/i8Lr8kMwzsEU9LOl7b30gswzstOqIeEPTdN0k0A==","shasum":"a6f9ea219976080723f1a2311d51b0c5e7f1c3e5","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.9-20200218192857.tgz","fileCount":34,"unpackedSize":114353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTDs/CRA9TVsSAnZWagAABKsQAIJloISmUcmcWBPq29Yg\nA+FYB00PxZ8jS7/0ZXVN/t+fNALR2TXja6JFGcTYXUMo+h+4EoMNv0JNTMIs\n6WBlCSLthwkM4xYEfOAXRpwUCei0rGnCjSXyMpzMJDYwOnD6YiTuBRlO+yp7\nqQ1HvWjzAcudfSdYHK7uCTFIG9XQHk3sA0Xu0gb/ocsOy+0f6tERcC1ENzRk\nA/gVtaqKNsoPNjyokOugbZBYEt0NgBYVdz9+29zmVR5GtZYQP2zQQdRN+TEF\nDpJfl/P7uwUaBO3r15AvHsWQrIkcg0V6DR5ven6sJGpeU8BphxYryoKQIiS7\nnF7QgDx4PckGDqpsm+v20h4HW2vcSy0bCF+GVp6GjlrUkEOgFD0hmTZhkOGF\n8t9yGch4DW10c/VJoNIuUkYkTRqZuRpiWUt6aqdgZCyn0ITOnzWKzE33hINt\nedoHhIP52q2Z742PaJ29hl+p1W9qNe1L8HqCC0VYqVS8O3kivsj3xh44ay6R\nCnM/B+WlbLThYcNdd/mwbJl+Nx4pIusz/4j2Sxse2Y3c2Z/KAJWUyhjPA3DO\nKSxSEA8DeLxS1Mf5DGmyd7fA1kyx/o1AMkVEKPkzIGL56Tu9jaudCgG5oamT\n5r5bn5PtdYPcLefo7vk1k+UKJFpxrK5Y9+m3KuY2cl11y/NDPFyuAeAQjC+x\nCQVw\r\n=zKcJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEbBRLz/2xucBa9qwfc0TLEyhEk/0k7Gq8s+7RLb0lA2AiAnPsam2p8z1ABJgNwuJgpyWt3UAIqr3fipHNVhKQkX+w=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.9-20200218192857_1582054206471_0.02531211731727634"},"_hasShrinkwrap":false},"0.20.9":{"name":"@accordproject/cicero-server","version":"0.20.9","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.9","@accordproject/cicero-engine":"0.20.9","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.20.9","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-QOHE3ZmTmfunVTkRyc/JHD0oswx/peA3EvbPr2fMBC4dG7CYCxeZr9Rr8tpXqcDdYjC+ysU6cP+MX06dU4jIIA==","shasum":"a9fe1394b3c20a003a4b8d8b14b89053edc742f7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.9.tgz","fileCount":34,"unpackedSize":114308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTDt2CRA9TVsSAnZWagAA5qsP/13txOPKpmvV5+V9wHZu\n3CNsGgoz1Xwa5BcmIXBGzuo0Ux+lj5ebNU0mMb+XkV7t1E3peETreHMpMY+n\nxFFGZbhDRhsR3ZRQI9OdrQL/zREgesU8V4Gh1qB4/kAOop8iqs2/3ktQw6nP\ntWNteGcwuqPUIPYmWfG9LlIcZ8DOdsQGboK+PbpSUvNArdRO1riXmmtUvjNb\nQS+InNjduIvTXtEHijn46OyhgrJGTZZX+iWLOeRbXRC7d1TQ6F9Yp/o+rSMR\nqt2hc6IXYROpp1mTb+mKTLy6iBLHXym9FoIYoY2Bhgs1rPt4UtH55uN/DxcA\nlYWFMkbnqDvSEerm+g2tq0O2KulB/4a1WQ5Voo6XpvDD18IBU1FdsW3upG2x\nSIXkKkR4VKD2hnZsdKpvKgOhekjEMoAMpVqmWQlDO90CGDvlrDrDxUxC9XZj\nYMy423+w9YGy1s1ISueMOw6VjyHX4oyRbupB+IXx2ArzfEplFtbcoOSg4Qll\nd8eig9vrLLl019pEFLWKLiZ9hJHD35RdJUgZj6AG9ccsZn2RXqbzjxYGd+Z9\nUNtU276WSjWikP+ciMVwBm8/MyCxKd1+Btf3Hd5obUhibagRQc1AAxFSLY12\ncWdQ28//sEYuN0EU4rMhljtGPfsBcz5bgNwd++xnn5Gam6hVpblIfyejU4UF\nsAmC\r\n=eLXI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChbbw0ZWipK0OJxWV2ONf2S9Ub7PYkvsYeBVvX53bhpgIhAOZqefQSyBZlcNQFIV0+osWMlhlBgCjdv3kogxsnNs78"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.9_1582054261684_0.016282510933471883"},"_hasShrinkwrap":false},"0.20.10-20200218193745":{"name":"@accordproject/cicero-server","version":"0.20.10-20200218193745","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200218193745","@accordproject/cicero-engine":"0.20.10-20200218193745","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200218193745","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-bG28tVOvyMJVOszB2+pI12ixC/ZIX3pZPy7Kd6FIi5+8MNqCnPqtqIVBlty//6Y4vE44tz7knhbstRekp9myGw==","shasum":"463f1cf86015ab87c76056ace56f4f352966bbac","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200218193745.tgz","fileCount":34,"unpackedSize":114356,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTD1KCRA9TVsSAnZWagAAXVkP/R7Y1D6rTKaS0J21Hrab\nFR5lbjyP3MRwX/AoPvJ+UBDlqPtnvQ9UFOr43atd/rPVRtwj/lEu7VmAkKW3\nPSB+ddQqXzRtZiS4pVo2n771r2/g89fuCS8Mua2ZmVm0jxKjBpK19qXF9kai\n93iEELNqK/2mhtlsT3tklwiWiZlav8N8PfdggTK4ghmA8Yo3IE00g6R6qZ0e\nRNcxdhFHcXW+uG1bbP4JdzMhcv20vLe+Wk9iW2Stol9JHQJ90JudBcLLZbMB\nP7BXTM6n5GtceqUQCfrMFpcFPsVnyTelhXXCXHR0n4MQR5eldRlwWmkpdL5j\nlhZtjek4dyLd+cSaKhxmSKPZa/1f3nsM01PZA4G3pzFlhp3oVGYfBQXvWBkN\nMRXMbnUmXXNCoQCJnsnF59z5utrBktcz/KxWqLExUUPg+iENRQdhothx00eG\nMO77aVszTSRTNz/oQkCpr6SBv3t0DmkicX+2urABixZ677k9UHnxRodj2OWn\ndQ0FJDjBjr6QaLqXNJHOuW4KXqECMgxx/FQtKL80V9gBRiAS7tIX4TgAe6WN\nwAwkOve50m7d8bU3CHPAYfSJj4PlCYVU1Nsifcso4DSN0v+BLsRm5qeUkXmz\n1jRtenHTACl8GcVx+hI9ZWxQw9Vxc5SnPnz4EUhiaF3NyEjoRXcXhTEK4U85\nRnLc\r\n=H7BR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD18Un02wlsLbYYt7fVL/P6VPEkBG5hV/b8eOI5VCEdXwIgAyDJsguhWjEDem7ACHfBzzzqsrUdJttLpTQywEsuo9U="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200218193745_1582054730055_0.6914708505375637"},"_hasShrinkwrap":false},"0.20.10-20200302212019":{"name":"@accordproject/cicero-server","version":"0.20.10-20200302212019","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200302212019","@accordproject/cicero-engine":"0.20.10-20200302212019","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200302212019","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-jKMHYu/om5ySZqmlPHnbX0FCbXsXY4qugGeQ3k3XehAuqzNVzBeQZj0rtIMk/X2WoMSwBCcG1r2L68Lev0sVzg==","shasum":"90545ad857c23c459aa376bfa56dd42184f6338b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200302212019.tgz","fileCount":34,"unpackedSize":114356,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXXjTCRA9TVsSAnZWagAACjwP/1CLt/EeKwQHIDeNOJD6\nS0gY8+OMWAWxt6TP0gef3SWa8rO2CdWVrSwILMQsDjCGBgb2h37zod5P+UyA\nhiBYs9B/bbXM11gQXrN320xFPsgQHwW49N/cjACrrNSP6cs6AWWXR9heYIbU\nFTqVwTzxgPxBY3vA8mXxPtC20iAVTsBLp1hvGBjdyTqlNUuLriVT7UDIi9av\nh1ZKb3xZ/R+8FdJfSoZbrNnk9bcZGgCvooTKqNL0I6McLGHqsFaC4r4xUmTy\nwTod8KrOx8qsKIQtlUPuvKxVP5LhJg4uLDKYlmoGfGG/LQMwiEu9hbX3vzaQ\n1Bblsq4PXEh1jJFHCq1stIqcMO9o/tOCCUfC9vuiTQQovTXWufZ/50ZT8Fbc\n93rK7GjS+rFPWBON/PRIf86B6uVUXRxqkPj+T7yuLMnapMQO5O7kAgITXziq\nol/77XRwck0cWX+PpCfDzFK+JHWel5B+7Wv7w3T55nqCZ3vNUeQkvU33tuN7\naCVCM2tSeXKQbNR7+LSdKXIBM7LOJlQTI8iXI2RpkBplCcX9xSFe2QD2GB1r\n9Fjla65qORd1d2FlnG3nOpjYpjBr/arAw8l7f6nLZmP77fqYMHWjphLRCR0X\nY6L3YcT95brDbr8ZjtUknWCjDXObkARPTscNRSBeYYhQ2sWS5tlKwxyr40jj\nAKti\r\n=X3J8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICwCgFfOMvKEHxoO3mnLins2+og7hblSaUDS3N24HSdqAiA1YDU3Hpc1iXhgThF5qI9h1XDDZ6H7M1U08UfUu1Ez7g=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200302212019_1583184083067_0.5358927398911337"},"_hasShrinkwrap":false},"0.20.10-20200304155543":{"name":"@accordproject/cicero-server","version":"0.20.10-20200304155543","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200304155543","@accordproject/cicero-engine":"0.20.10-20200304155543","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200304155543","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-dwwK3GRArSnVsVr0X/D9r8t+HpeCY2hKCVHLbtroW7XnFwz8MU6+EWBP+2ZGoed+/UiAcOItjoYIoQerxZWGQw==","shasum":"e9d63dc0828a6120b9b86b819fec593d9167efb8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200304155543.tgz","fileCount":34,"unpackedSize":117747,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeX9AbCRA9TVsSAnZWagAARJYP/jBgeuV2K7ZwZ22MvS9y\nRgyUb46Tt0B9dUkoT5JVu6xQTP+mMnI1udW5hJ0TWVED50DHhB3bqX1Eg5kg\n8ktnnucWtQ+ZxBMdic8aJx0PgHPob3cg/lhKd2OKRNRBkWyviIJShAY6N990\n0Z6/i3nVKmsRGQ9Uv/1xH467sWAvQiYpFHSJJxt04MPCaTSlEvje80ytKnk2\notSNdh67PuCmoPZuYfKI1Ro/f136H91KBkRAcgyG7TCBaDww0m85wN+TzwWj\nzIk8IsWLmI5ZlX/O1pWEjvS0BLMD0Gpy96CPM1eGqvtueeCK0cse5Q9gvw4U\nOo7JXH8AArCXKcnOwxhW7B/imJoiyhJcffWfRlgcP5IvE2qr3+r44tYfTmbP\nfSoqcncW8GkcV5GEAAgMph4HALAwvC7Sz6mbpCFekRYrOiOQYYy8k0wg4O6b\nI/D+GRFXwza8KBqHXEGR63JmDQWWnL0G507eGUhu3ZQZkw67s0PcBeEawpjd\nKrZ0gHByZaAMcCXHLJdl1qC+/LTtzwxBWjbaKBtB4qKcRJxJzsMWxZ8Q8nPR\naJmDS1wFojT+6Y+rsmsxXR5HgPJG+wnxJv4nOkyDTcQXAVrrneQZkxJ2t8cc\nNk5ZN9Y7uRVOuuiEet/UPAT1O/Oo6VctRbUIeKMsxIbZHaS8RyEJ0vfm+/GY\nrDvP\r\n=0uT8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOiuBQblzml+CSHFwFkr2F9MF/Cw+9i27G73QM01QhbwIgUEEC6sVCmr7KEO9WIHICSbpI9iweMAMCOMhjE3RNID8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200304155543_1583337498600_0.1139823722891593"},"_hasShrinkwrap":false},"0.20.10-20200304222754":{"name":"@accordproject/cicero-server","version":"0.20.10-20200304222754","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200304222754","@accordproject/cicero-engine":"0.20.10-20200304222754","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200304222754","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-0eKzGubh04etYQ5/HGmz0DwXa74+4Einvv3wdfP6AEMIHEi1vDGWlaz8tmkaYKOGfQDyE0AEzF7gg65OjkcxEw==","shasum":"69ceb7669fc4052ccd43abe48e0e09a4a051d981","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200304222754.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYCuoCRA9TVsSAnZWagAAwXMP/iVHa4P9GYIAgIWKBg8L\nEdoEE4/17+7qR9Nh3mqyO/HS64yxZkEyNh7G+hVSjrhJhtHagZdFy89vC4Mw\nBoXfpqWswJ8sqYw1xrLftMtEQaVAFn1qesdO5E5jG2Oiwu3LXjhLEzaELTSR\nkXuCZu+/KvXOkBL4JpgpBPoJSlUVf91s7OfiM+XqwJ/WJ2MzizooWlEDFwhV\nviDeU04dPQtWDAgSK4hlATxMkCCkEFdvIfhsrlLE/ge/sPhHPGbG6fl8Hw9w\nvuuf3d5j6dehRrZBBwTbkoYWIB5C50JcTYgAkTkgT2UYd5T29bmFinl13wwU\nwLkEjxYuo1dB/4KgxV71/pSpqAs1VRmjH/zNkcHjbgVZaqrW0s8lYMh1ibkl\nBaKgi5sq+HhX6nMVr1iz1Jj6MTRn/c/g6iDw/KihNfnMIPKl1tKPZPSsijp+\nz/8naP7FMabI6K1UKOC+kyxfJCt8ND2NiUfp79xm8veJWTfcocexjVK1kO0F\nLj4vG6wBkVv7K5UMw4gIiWy4DQ0YaNNRvnesW2cU7NrSatb62mXgbQo+++Lg\nuUoJmPHkZEF7ULhM6JO0NeoshIHYxkvRzKR9j3RJlm/Wk0eailzYRalmPIeN\nAoBvvATfwydfKnlhtWWkKZiiGACtoZ/BtV8Z3Srnizf7hSaKKGP4J6EmhTSd\nRfBU\r\n=FkcT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDibjfuMAOSl0OL56ZWPQ2Vzgh8Li2BSmMAxu7SNUguMwIgC4mOs26PwZ2I3KYayW5CwYpR+URf7O9ntsWZj12qOO8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200304222754_1583360936069_0.1553550304335618"},"_hasShrinkwrap":false},"0.20.10-20200318195153":{"name":"@accordproject/cicero-server","version":"0.20.10-20200318195153","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200318195153","@accordproject/cicero-engine":"0.20.10-20200318195153","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200318195153","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-skgdctw23XiUTgPsUTN+FbnrIBHbo0jLNsYKGEEzA6NjCQXytHOSRpOX3fZkrDJS9NnTl9wTfMumdkwCNzjbkg==","shasum":"54f6ab2c99c3b0e8e070af8558c877cd51c0a1e4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200318195153.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecnwdCRA9TVsSAnZWagAAO1cP/20U00+RrJuw2QoWPPPg\n8muxZfpqb3uFNE/MvFNuMEQnVklCMxtlWRkv42gy6mU5hfCBfciJFC9S9g77\n40SSWf2Qkxl7lURpSpTPcbpiOKtci2PGzj7wsnhKBeXAUYr2T1/epMyX/ssZ\n2P4ZpZLIFdAWQ/68X16L0yHA6rHpHxRZknZiMX1Z0z2sIVUGCix+bcDooj9B\nJivQMagbdn3TeyVbRbs9P2netwI1B7pa7E+z8eIK7smAlKS6Nf2z5oWl7oI+\neDut4kGlahBtlxdPxSmHBgZVwmnBFKc3E3bL46B5n2wfvD7y2lYdXKNVsFTK\nMlbBLvdrBIEbxaB//a9KQnlm/cj3ER8SYLyG5zTV2oJhUhjseOCAIXo/UyRs\nx6jEtOiX57MkRNXYizFZ9MDBGlCeb//WySPjyrqG12r1dve7gqtW7tkYtO58\nB8iabhAacw3dAiO5QXqWx6Qyqz8RTZKBoPaYQ/BYULghBvMXWV+NFk6twyE+\nZ+LvB/Zcf5vh1AY9+KTB+XwJEqg/HNOao3rGUXRDO8lvLiHnPUVyNbapgxr2\ndNiorzdjlWNxNhg9h228oE2N808toPAu9doOOg6a3fxg78i8kiOJEdlf6wP3\nhIb5wIRw1oIEO5cHVWD/74EcvZsVh4FXkfy6jlpBz4CTibYsZn1RVLzaXwpW\nd/aY\r\n=/MBD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGaymh3DR5UKyIq6lTSy1wyuQOFtD4hRmTx9bat9GunXAiAORsHZ9jK+0wkz/6eBiKZzyXceNGRUh5h4iJNLQ/GEJw=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200318195153_1584561180611_0.03732596397443255"},"_hasShrinkwrap":false},"0.20.10-20200319170937":{"name":"@accordproject/cicero-server","version":"0.20.10-20200319170937","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200319170937","@accordproject/cicero-engine":"0.20.10-20200319170937","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200319170937","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-HoHTt6VS8AHo4npWfbH1WYEntrcj5fv7IQsgdgsQ9beOBXBTIP7Yo9UlbZEdJv66iZ9h7hPJjhjDNha+T93l9Q==","shasum":"12c452c39435e68d2346688986a7f1bd1fb0e4c2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200319170937.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJec6eSCRA9TVsSAnZWagAA3SoQAKN+0N0+D/hSjj9rovg6\nBsKvRpUofpnN8wWiHOKcw19SuSOJsaZoQ6RDe/flipnJMFFiNoiOmyb0VbZM\nuwNleHw26Pd1G/cQHg8s8Y9YZ0SKpDoTJgAQ9GF4Df8ncOPe7B6SS4wgpdX3\nTCJ+vNbrWP0yRhZIoe9WvO/aO15i5WA2BYAXyEfziTqxfXJ8VEagjSIbY56Y\nHM75IYP+B+4sZbA8RdHCzhxjzq5PCQv89ytFCNrk6sIs/gk2BSTyu+Txms38\nMBk055Kp/Q2BOQiZPHZ1i3Ol0pXne2rkU53+KuXnRvbLxSmGoF2avzJLqQC8\nTLrshYnOsqn1ARFk4QGUFy4NTnDJDeUIyK2gUHgXHrX+wn9mOgK736wYzj3l\nOVDgHyY934EKrOu5R/V1IY6xYf1hrbDJYzgK1f6psEioawv26UI9UwfzG82u\nv6WsHBYRdcZYBd4F7kR4oh4uSjq+CxWu0+VAON/+cT1mWlbjzqSbuVvUslKv\n4xbX5MTclKu5vF32CzrQtoA8OxTVS9vu27hAwew+xKkdZfYlhsjABepgbyGK\nNesJE3SNtRyNwpAEGvoj7+yQriqQ96SxDXKc6nqg7I5LRWjPDEuxEGF1LTKy\nsJDqS9TqQ2HnUnesZlbuf4anJKoStWQhUFKWE6lMwCcFLKv0oVVfL9KMK15v\nwgNk\r\n=OzqK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2BispjPCWhNYb9v6+kLjIeeNQVunoNu+hVg1LSXIGrQIhAM9JzZhSJFflsKgAoiP/6ggW5GfhgZkZK4lUFaP0PZMM"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200319170937_1584637841749_0.637414296310375"},"_hasShrinkwrap":false},"0.20.10-20200319172525":{"name":"@accordproject/cicero-server","version":"0.20.10-20200319172525","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200319172525","@accordproject/cicero-engine":"0.20.10-20200319172525","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200319172525","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-vpzV2pOoQ4hQ3XikNIVfUBmX19rKh8lbMgqqMU//iCtPtvTDu5qvLbqYOyVAF7Bb2ADlZ1nYe1ynPcUAQWpp3w==","shasum":"8c7782abfb0792a55d09da96045955c1c5a7cc2a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200319172525.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJec6tmCRA9TVsSAnZWagAAvqcQAJMKyBe1xycCI2IR4DBS\njqume23t7wfuGs22RDVoqxe1ULAtxS857iOLOlJFNtBSnq9H0Z+YfoGKoFAZ\n28K0/1C0yfkw7eOtSMIxm2QrsgK5BVtl6jvWqEisyeMxSUHklcVVClq8g8Ov\ngEImCSKEDw6N611pqNUhG6E4OjhhqmTo6l+spTdJUVAIJVq5SfXesWspiehf\nj0DznbvZY0WoZX1zpx4TFqSjc5A0012fwydhmSoP8eFHkcQSKhoTqG/pa9I8\non6UHkNd9uZRDNrMw6wHbVTn9sAi38uan57Pg7KrcuSekCa6A3IXaBqqwmP5\n78vycUgvEN8rx/QfX+2cz0UxLvH0xrB1oyXUvJsRjBrEFs5om6JTQ1e5Qx6j\nqwr6CLkGJ3xGXUejlMR9mj90cRPejp14rQAbZECiw4leVm2g50my226q9LdX\nhBxucpZFKoZI5F5jazYT7e9itYbsSIOBNGMPe0D8caT/0VF8fLGNUW3+i8kz\nFEizAPBIDCfYVWN/osnuKkbn8x8XdsxgDB0Wt+0IDqDjPg0ddmzyazwTJ2SG\nI+KczMyfc61LS7pekIxQUK/bfP1GHLfKkZp6HZGvqX66ZW5D84XCDgXM0Cwy\nZB18yW+IW5p+xEbDeyEgESqB4zNOkmzHHtnOcVowlzcsLxCLtDFlnqWnBp9C\nKSz6\r\n=gEUM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGHZvgCFowMPBXOJryT/MDRvnLjwvitKOJk5Sm4wm9cOAiAdBOsUlkL86KH+shfLsYsRlPTjBTGxEQ3mj8lqm4mc3w=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200319172525_1584638822178_0.6817813256433827"},"_hasShrinkwrap":false},"0.20.10-20200320142004":{"name":"@accordproject/cicero-server","version":"0.20.10-20200320142004","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200320142004","@accordproject/cicero-engine":"0.20.10-20200320142004","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200320142004","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-IDeq0JJNBCjYTWgINIXdHbKXRGcyWzzd3DX5bE8I80UrnU4Grj2Pnq0NC/ePKSVlksw5vNR2jAY5LQRYcteJpQ==","shasum":"5bcfff6e9921342b49a5f00b79597e8beb67cfbd","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200320142004.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedNFXCRA9TVsSAnZWagAAL/kP/24bFnN5gFul0QzKBTmF\nBNgmaejSdkHqtz6Anlc7gGL9ywsfuNYqyhCoVcS6KBT/bWiejM1hRZ6WtPbD\nYRoQLsqz5cRDfqB6NW1sgCKHDFC2EDWKI/L3e8430aW4h8Ucq/hFpntAa+vG\nCKG+i32nrwzvdJMCbjO4HYGwxOnAC4qPVt/HgMWbwIA4GW8YZP7zX/6AAgWg\nL7vxYYFR+YNtVCYMbO1hmGyhIFDDxlHyEeim6rUOrBDABFBuTxCcPz8nUGs8\nRYfD/McMM2zmFN/rtqqygpi66Fd1RWfBcqx/gOj3V5IRIQDTMoLKJ7aZpkHH\nHocAYPe/Pr6DUVDhV+fhM9FxJcsS3JFqJ9Vwg1U0QMAwJqcDrDfYhpIrZtDg\n4udZHwag/dYS3vGfi3u0FoutmwD6+I+y3Iuz3JAbuIHtioRkymuwv63ZR37J\ntaegjPTT7fvSfA4n5jGb6FaDR6NgV5KvY1BJsKMM529GU2FWt8RoEt2mQ9TB\nnCmeQO71JCBpEHdFqqxq0wCKghag8CygrVNBlV+RfDvvrPHEMl6+dd2RYbHM\nc3Otn1GIL9rNUouj+dxCbTlMrY13TLoPzNib9sLB19286TDOWXRvyxmWmMfO\ndfpOnfW7c1XiuqQhGCn7BXyxWLoG9sT1gwwA+/UbNY7W9UTY+eh38BJZjNqG\njreA\r\n=I4jB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcx8qJBdHEAflu1olvUTt/c7ZPBtylboCcUTIT7SXf7gIhAI+Qa1ifAN+F+7TELoIVLBNydtZ/vlt6McLFwNeYrXCX"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200320142004_1584714071001_0.7469659838128722"},"_hasShrinkwrap":false},"0.20.10-20200320153321":{"name":"@accordproject/cicero-server","version":"0.20.10-20200320153321","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200320153321","@accordproject/cicero-engine":"0.20.10-20200320153321","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200320153321","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-eatIXO+z3IQoYNothDjUA69MR/Kca9+8k/WYzLxBQYs873+cCdsIu8Y4PCmpyJeNZtDR9rI5Ny6F/t0Edt9eZg==","shasum":"f6415453dcf926ef66bf45c0158dd9554febcffe","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200320153321.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedOKCCRA9TVsSAnZWagAADxEQAJ968xjA99U1vKuPkT5N\ndzPI9MkChXl0Hh9oSF6FzdRSISzjbKTtpULJ50x5K8L6Y1w5T1wN+XXAcfb4\nJcSvNG1Vuw0VJk8ANFo1/++Y+Y82+x5fIvKwzuzOoaD80ecBTiLSwJKfL3iH\nxKwPjD85/0kEeUaM/fFICIhlAS3wnB8jTRk9bLZBUGuOUpAMjiJE6STgqmYw\nQJRjk6BBZqyybqYg5DbCWYKm1kgZniZ5kcniXSb6k9NK11PO/Alzn+vdmROL\ntWeb6BADpCrKEQG462PYnBQYOtq8WOJcHgKxQxiu44B2RJi5uK9Y1P1jYE8n\nX2wRmS37aOvYtWx4gVSd5DF4PP6yK0OqnKCbN6ZP5aqM3uRnDPqwrdPofb/J\nlIZtwVh93Nogz+rx5yMBZW8LYc2dsuumR8zIvNH7NhRkj6HL0kY9QusDR3xv\nZfGyoEWRT23CLnd5gGzVPIys5x7qy1bBJnNtwM1cxlS7Q2XFaorNU7kIkOrf\neY6NmilhY2TlWV2mMVuzJ0nx+F7IkGuiOHvsTF/185qycGi+KNa0vIKWx6el\n4mBW2PeZ0JvWqa6rtgPjKiz34x4CjI/3WFFP9JbDPa9Z2i8UQHzDQO2ti96r\nkFf2e8HagNiH+86XRa8Sn/LPUtqCDHMZhx/BtcsDdyA44LhXu2XWSv4NZ6sg\ngnyO\r\n=HjPA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIETXs3VKLwfeEcD3K906sUJFymtWHfyzks86mTSFRO4ZAiAkoR+huNBjBhL2jLpQIC1QSJ1SpsFK+vtEZMLrKuJG8g=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200320153321_1584718466513_0.34794300743739903"},"_hasShrinkwrap":false},"0.20.10-20200323193650":{"name":"@accordproject/cicero-server","version":"0.20.10-20200323193650","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200323193650","@accordproject/cicero-engine":"0.20.10-20200323193650","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200323193650","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-EDBVEVqonGW8GOghLuKEUIb/SCOhnKvyD9EQiY47MKmGTFYFUvpQBN1nBIJIbxl0rrLWDem9/692N4Gh10F7CA==","shasum":"8ffc16ee10da698ea7cf919ee1e0420734bfbfb4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200323193650.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeRAQCRA9TVsSAnZWagAAA30P/jr0vsyOD04gdZhHOOUa\nyOfo2L7qfy8LUfjHCfPJ5M88zDOcO7vRValRQYM5Bag+39WxVB0jeVfb+ef/\n1yu9nkXm307TaY4NaYl5Bkj6psYkazXWUS8nyKketoNTWSY4xa428orYa//h\n6YXi/PzLFIf/cYV4QY6btikYFwovg+9VUmRTMYK4NqTiSrhyhHyXHS1R4nw/\n7P2AlfepVOU9kf24F1c4A+cGJnFPAoNZ57K6R0TpBkumeGqlsSp0XUYPcn1G\ngSytnQoJLk0+ZMawhLlc2EpupzW7lrj9YtdsCL/kgaTjZ7ZE5jHtHoxaUCpw\n3yRdFbyCskxzkcKGIFRweuXttjBYA0D67h4LF8ryvy3uDpt+ahTxz2mebZTT\nQ4YdbIgc7TxLntl1TXfNmLCzwkeb79mRIEbh7mQlrNwfh/hUyhTAyOIsQVSm\nvAW7qdzwWvVthGzRqkF+fOG1tHtkLeSi8AUlztgdDl9Du58ZK1IOWotx45TH\nkpoM3SepVF45Bc+0NFZhQobIm4IGBvuUEYLhIq6EvD4xYliIGYmaibBh3n09\nI5SMo2TMo/5NUaTiFae6hrdn1teAzHni6aKYs073an3qeQz5rJyl6Q/T69ET\nFThJmGOgf4EnuooF2Rkk7com7aj/NlJWxuJGV2atfqrLuQVNJijw4YrNJ8EC\nwSXu\r\n=HtMF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5zO5NlngHxiGmoyPohSiJf+5SaNp94fCccO2nRI4gQAiB35x7Kmyp2AoqCkhtzd0N1iGlTEdxjuiROMKanK3M3hA=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200323193650_1584992272550_0.5022923926099001"},"_hasShrinkwrap":false},"0.20.10-20200323210937":{"name":"@accordproject/cicero-server","version":"0.20.10-20200323210937","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200323210937","@accordproject/cicero-engine":"0.20.10-20200323210937","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200323210937","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-A6LeaiOmqogtw9m98iwhJJRliqFBsQYAqv4ldRspH39H5XTngBld8XQ18pbzaaI/L2yFQ91D1VlllKYSySz/Kg==","shasum":"cdaec921829838f3c84f259cf1e6c8c79a149320","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200323210937.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeSXRCRA9TVsSAnZWagAAF4sP/2A1uNPzBJGv2fyDJSiI\nz3gERxkBWH75MD9PfCN04GGiTaU1TB0lbjSEn6ctoh7TaYZmQxyPXHqtVCxK\n737qIceK5+DPPLo2ySrPsaGhxB/Er+Fcy6xGX0li6FR8r9bX4wikI2pg3W7z\nYxtgaUfFCaTCNzGEowxTBvBhFQTq8YHJ7jYh9usvpZt1oQx1Pa2agXps0fDC\nKRzIzZYJ4lTnA+1RzuQh6axbp99GAh89WDGrjLfVUBE2utuE9pLMz8NpPeFt\nXhZomKaQrE07lt8ne8Rb9f+47cOlpXhfZaMN9bSLdlDEiAEu1/etFxRw6jz2\n8oE09gO1dNSHEd0AW9L70p7wLGxgJrfV5ebPNQMkJcdKey4oKYqxzVmIda8u\nm6mSpCeQZ5v2gJCalXZRJrhvwpFjLoVo92NAa4t0j+Tu+reJGUIKgH8sZILL\n3N6lM3mr7Y0LxhPM/vRshtbtmuEJwrBO7QYGykDqv3DydR5hokLcCNKInj4T\nTZHrvAJGb6YTJjG3IG7TRtv2iHDa5Gd8SXmOl9GM7k2OF6c4BGkmQZD8zQvQ\noavfFfkMWW10z5DRLdUg0ixP5iSzqnNJNvU6YoCF/R1KxDVNFazxjDSJcajv\nNnx7iATviZulJid1BXWpZOTbWrNZcqsqjFgRaciRW0W5G6hSrE/7jl8xDPS9\ns9qh\r\n=XuwF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDkqmMzuzYexYTTD+brja1wvlMvOgBKw/NKwBaUzbuKQIhAL6xbZpe17O6PkB0bn1fNoT9WJspb5rMP5Y9/EST/cbC"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200323210937_1584997841347_0.02062275911584277"},"_hasShrinkwrap":false},"0.20.10-20200324160857":{"name":"@accordproject/cicero-server","version":"0.20.10-20200324160857","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200324160857","@accordproject/cicero-engine":"0.20.10-20200324160857","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200324160857","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-mUAZmg0rXY8dMNA3IdDJQcOn2jlK06njH1kBW/EcoEtBWpliSWWkQiqFTaGkloQeEGwwJmJqeoQ3r1WbQQdZ7w==","shasum":"486a890ebff6c92fb4689df43a6b954ba1e0b2fc","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200324160857.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeejDqCRA9TVsSAnZWagAAaz8QAJDAQ0N5ApNOwbr+VW4f\n5nvWZHw+HyEt270wvibiGR8UeaSxUFJeKuwerPKmWBHz9AIeti+9gGNrFFhb\nFg2RrV2S/+t6l1fUeOLVN9v90vE0Og1CIlOyNIZzo8FiCna9z/Ue9F97dw1d\nKeFfUjW4EbLMMmRqiLIxDsD7UgHjjlrg/YguN8SuZcBOCFaYJLCeq04GfBYS\n9Nujrr0FZEguIYbc/j2B/6PmH+0jxJ7jDcq4iT6Gcqg7B4RRNxNs+lU8F3Mm\nLRDk7cbDEzjhukMlVfRZ6wPd3+GRjN4bGe2kEkVPMNHf56TQumZTW7nVFro6\n1SE6yCS/DLTGLE1a5HM8wFT633rLTnUoPQTE2184OUKy5Veew7HMrT+RY1sa\nRGSZCVuo2gPOXpCS74paDtogxQL8Pwd9QrCOZ/gCe2vAToIQm5Q25OvPJuZl\nJEXANpNfPCafdv4bVcVAYV1pkFsOMo7gzMIQXi4cHgchTN41CKnRpR/1uK9N\nLng0OsjVrCuUQ+Vi3+2IWOy4+MM9yjYSO6rdqDGqQOeTxBGgWdmmrT5nHr6S\n8uh7BdYETx5NU84huKggaDCBqxkl0gajBwk2f8DGPKyuX0FdZIGghfpq8fsu\nr4FzqzdOXpt2UZBePN+I1X2ArH07g8eSVkT5OncuAHUn0jKqPR6t6VIo3kYa\nyXjE\r\n=kOoX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHju1gGZ6rclVF+5COteKWDND1aNV/f6XIwxJ5+7K9XdAiEAhWEdKW4Y7NZXUA62Wu/0Y0ZG6L9WzoQ655idmP0rBr8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200324160857_1585066218219_0.05516201322955938"},"_hasShrinkwrap":false},"0.20.10-20200324163722":{"name":"@accordproject/cicero-server","version":"0.20.10-20200324163722","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200324163722","@accordproject/cicero-engine":"0.20.10-20200324163722","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200324163722","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-TVh6YJ65yl+9toHIFLXGZoGAbZ56XcVczHEu70RHISQNEypuqI+2MSdZy2lFxZIGIT/Q3GUw0rpr/g4SvegNKw==","shasum":"6fe51cdf9ad233e90a7f50ab6498114bafefa352","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200324163722.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeejeGCRA9TVsSAnZWagAA8VQP/2TZUKODdv+xzHchXtFp\ngsUXCCj7VoTCt1Zq/n5Rqrfr8Av8QaQuGndFsDrdYSztSl71ZdxY7mY/L8j7\nPSdtZEYp2KTUYw+739Zb6E6vkdLPDzUbd9OKliIu2yjCviAy2VGU4I0yyeXC\n05QdQhqJYF4jb1y24q0KBFnrVKSAvUHTJq+H5HgiJau9wVVmCXO+WiBgMc3m\nj4Yp7pvljFElt3fTS0K4NZz3885vs4TGvccYTvvv8zY7lId+ewHUK6TLiFCo\nhK9iR1UVXF6Tdo2uXeHkcbXhWBixTSfXTbFqa6cKrjhPP+yNOfO8yuykrGvs\nEcQZEGF5sAMhYvuaQ0D+S5MPeovs/GAtNbruj6ASIL0SXsUl/Jgbrw8QMCnI\niEI0K+LgNZDlm9+mE6WZ0FNBGpOl6xurUT1uyoJy6vpSH/XijFoBhliaq3dn\neRyXDfVsyRMPqAsm+LITj2AKvVBsoaj/2DsdzBP7dC1zA1RS8xeeq31ODzYS\nDIPzgufjYi2lv03wlmzspRAkB2Yl2k2O+nc9ZzIs/SKZhyutRxJ6MRN907p5\nDWendnkXEHoc9aeyFBbH6auY0h+9xopnTyY8GTrPzMNrFW78n1TaVhkPcQ/H\n2kqJbTD/9vWm56FV4mYp82KBhNMbOqVv2wyAFPyOFaj3G/6J21d26wNXQ0R9\nlcmw\r\n=ZXzp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEIpURMFQ0BKecEdmYSN5HCJCFf3dWIZ8mNFjlWPOC9XAiAz1HPBu+l9ZRNBRxvbm0y/MyfNTdUqIuAov4hk6440jw=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200324163722_1585067910105_0.4685070687482893"},"_hasShrinkwrap":false},"0.20.10-20200324234913":{"name":"@accordproject/cicero-server","version":"0.20.10-20200324234913","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200324234913","@accordproject/cicero-engine":"0.20.10-20200324234913","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200324234913","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-L0hbDFjC80/QII6tvfypO0UJjQWGwz0x7c4+HWb3GE6zjRt60iqn/ultx2jqVMncCENXJx/+VnDDUixfKFyMyA==","shasum":"e05300f4770eedb94a74bed407a744739244ea91","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200324234913.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeepy5CRA9TVsSAnZWagAAWpcQAIXCflnp5igylypT3Yee\n9GhnyTDYHoAhP6BXJ1dHuC3TTVjwQxTY0X6hx2exE1BK077YfpSC7uJMU1hK\ntCDGRmIWaH8JV08W3zyk+O3zzKPuVFfbv9m8P8efkBENK0bxZDkRp+ut09gP\nsVgvEyp33lG+I0GC83Rqrw3oPuSCAPekVgjs59H0f0YRy42tBQzYwERYFw+D\n74MlGhNhx+fSubIEdftKw5cXabU2RFeahXzX8N1XoKKm2O8vPP3+CS90kVGu\nqf/8c7wIR3ecHKvyzR4EQ/bNr03q382SJpD12dS/H7IUXYDcW5NxjfxsZmsw\ndAkv2LDj8RVpjDZ/NegFWjySMW0YGCb86+piEZwM4FlWsJHvHQIP8lDmt27E\nFg4IbqK2S5x7dQW7oWndKldvYmsQP2Hznpx6+5W+wYUZB4jCdm8XtDBz7iRK\nFdgRxb22fwSVCbwLQMujHNatzU+zLM4TGppGA3RvChxKTupOgp/r1tdTj+WU\nGv4Bkl/A04l5F33ms3Q6+rfBsunAJONhvNRgk6GcGgK0NA29z+MXFfp85PFr\nVSD2PDOx9M45XimF7JJkWF3XV8RjimX1Ke1jVLyP05noTwl1Z9RHGq1uowsO\nMGfnLkSzEgJMJZu6iBfTw2ZWPEAZGz1BhhmYKu1rdzO2/6NxxxpkwFHVKFZk\nub1Y\r\n=maAr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbiFi7vRT0/pCdfv4I0wkpHqeh7rpb5GNVCaWGC9uPQgIhALBKsNvIDP32aKLBLBXP9KpjSusJzFbC7vrEZE7A6N2j"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200324234913_1585093816782_0.14609804321575748"},"_hasShrinkwrap":false},"0.20.10-20200325000050":{"name":"@accordproject/cicero-server","version":"0.20.10-20200325000050","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200325000050","@accordproject/cicero-engine":"0.20.10-20200325000050","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200325000050","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-+u70Xr1dIXfk0M465MaD4Tf5HW8NkuZc/dW1N5HTSV3e/fn8+vCAS4QDLYYOKInwDcRqvqkZJEqiDo/fQU9qNQ==","shasum":"a5cb51f72836b765cf3dd27597bbdec130cddd09","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200325000050.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeep+ACRA9TVsSAnZWagAA0EIP/RYUFothrlviJeH3kG4a\ntquabxfknjDLXkk/sqMMV5ZET8Oxnzuc3/0BjnBnZhC5j9FsjMze9YG2iMsJ\nYOepP2NrpZI9SptTQar7iUf/mhgifCOWYwy+v7U6Uo9ow3QP9tG5X27sA+T7\ndEGcUoPeKXKW2qmW9VT5jALMwZYOJ8IWotK6EF45szMmiJ2oB4v1ahG8YENK\ndxuqDPIvdl2ydM77o5BgQmWVShJjX8Hi5/TiY9F7GwYOzN2TMGpYcXQuQKRQ\n9FoK/xertU4mUYQ9huz1/aEz0usDyACP+zo8RVDYdW7o8asElcOYYRGdN+k0\nECSpchv3fTM3hUiCKFW31TdSk3T1inJ8Iouzup2IIF1XbtqYVleT8HOFHy7O\nD0cdxT012wilO2pKNbNORB2OVl9CDZqK38HJxRdLArZXpRMS6Z8fATcMQ8LQ\nC2d/mfF3Hqv/ahZPFDHQA1Wqu81HuA6Zi4H/F3Bf609q3WQvjDa6J6Q1X1Us\n8GhpdfevEe+PrbTmsMz5qX8NYisj7dyk/TA1CEVyATYtJlaxn2iTi/IwlUyt\nbAaeVoAL1Q2WA/OT7jA/phZ3Gn4uttL6dvPB/rE7hAnO6Y4RHjcA5Vu8jI+/\n6pCGFrNPAAbsrXXboAFHg8o+JD8Fr6SeVrWUr/+8f8NLB7Sy84FTvoMDTSF+\nTnMG\r\n=zFj0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnUrhbSZ04DdOrCgT6PNPtqojnKzxq1AV6LCPZ66OOXgIgaj6PTaZblc2ZRcT52g25C2HAwpI/0hidjG+toqdviYY="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200325000050_1585094527813_0.7065352433964736"},"_hasShrinkwrap":false},"0.20.10-20200326171506":{"name":"@accordproject/cicero-server","version":"0.20.10-20200326171506","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200326171506","@accordproject/cicero-engine":"0.20.10-20200326171506","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200326171506","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-9BJG4yLHYq2dOL9Ew1nl9hZcW7qejGjUZbHyaE5fv3H1ieiPrdltgUIZBNWsU17FpgT02T2ZCHJooLwsukWIXw==","shasum":"33bc42ea501ebe96cf8ba654d15df7e2fab8c84d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200326171506.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefONZCRA9TVsSAnZWagAAwtAP/jNvXyFJLAo39jHEbrFA\nm3u8MoD8Gr5k0IClA1WBLVfyIvHwt8jA3U28Deu+qy2fzuijF8/7l4wOnAm6\nkJ+RVatArwA9PrRv1iM1gkjrD6s2vFC3V0bPYBzBaq9iNJhueprcBUhGb/IM\n0a5AYCmcYELyn9FXJXrKqIM5A8HmM7nTDQ2i2mQ9h+N/pClJH6mUNfN8j7Cr\n9qI6TQU2BuiWh75AtiSUV1xuTlWaK9jqoQuYXMwSfQQ79ifuBRyh6+Mm6nBw\namiKiHK40/Mp9kq19JKd4TuYdcJ/i1Tt0bBQQx4KX1y/XkOWurROg+6RdD/k\nHGdf98tJ7AbZPz5Cisv9jvJwNYTTEDZHHohHnXekv8e1HwdCIZI1141K5Uqk\nR48xz+preglUEaPfMZ3d8bAM3Kg8a5sSZfVrldIftEUBN8e9zV3WceOwO0IE\nS/03tmsF3jujNqiCvGy6bfyqV/G1wXJbMQYNuBAZX1gMaJOLP7kJKyPFLJWn\nyxn+Feajo9Bm1RWF+2GnnLDGyXeYhsH5VetfSmVuHTBx3DlLVfLvAp6yzbNc\nbCiEEgO3RNopVg1CfFk0Za0Zay1hli0aBdYL5VZIySO2CZ04X7qT4grjIfT2\nNPfI4Xrsmv2oly7+a7MdZWvyzlCv+KcVhl+CaGXWI3GcU1maLE71ThC3iRxl\ni1gE\r\n=iNzS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE32C40/pjjAP6DOCLPYQOj9tpJYkAVNA4f6FPbmBJwqAiEAvxtrKkbLcu+GJHk8gCb4NQGgD9Tjr5tyskmcRBbmtJc="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200326171506_1585242968576_0.9442811347881244"},"_hasShrinkwrap":false},"0.20.10-20200328161710":{"name":"@accordproject/cicero-server","version":"0.20.10-20200328161710","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200328161710","@accordproject/cicero-engine":"0.20.10-20200328161710","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200328161710","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-YUZTKPfKIKuwCl0a4ZH8bqes7/WzD1m0rZ+qAUseyNXi1DNn/Omu0n1a4qElsxBrjEEHPue98MMxpqVc0yg9XA==","shasum":"769870f1b871966317ccf4ff9a7c8e6eedde020e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200328161710.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJef3jHCRA9TVsSAnZWagAAVlEP/jifXl4kco8/O7Q28coj\nEJjIyjFF36pygebEhDNahlcFCM4df/3A6yuqVUihutyuP2ZRj63WQ6VWFF3n\nWcVUHGi8onK8w59r24S6EdXsdFDlJxnpjpSiQmwHyNj0TGMa3rwBtDBPd6+r\n0LwVHfo5BAuI4l5RQ+CNEypcXe6MuOK6z1J+bSUrVGHSdIJQkJl5sKMlkrqg\nMlgf+NTrW2mLrzpT11F83n/F9KAL3H+4Vr3EH5nPjD6hifFFe+HwHB6E/J/k\nEzl6raunLkpK43JfXGacFvMnFIWGWZJqxgih0KpAETQPaNujgA0s8Z7QpsyT\n2WVlSCoUVzw8UFC4ReQnirGwpGI1+7zVMCUS2FdVT4RpOCgT1I8MRMyw8867\ngp73MxFZX1c9szc0VGNToqVSr5J7dKlOfXh1rdrVdeD0NsiJWDDtgNOmzJde\nt5OzbRAVcXvNYnG6MIKn0Aq029TpMXNEwJEzZBSGZRK50YKrHzAPDnz6toQp\n61oIAEErGsEzxz1wkhXEYSONq3hG6y2BDbDwCWFyzUGZLuRQUOenTpt+FuCW\npIoQjUseGUZRSMCvs0xqgWXZUBarFogBNORVNJ52d+T8U2ZchCX5UsgAfPYZ\ndglJyBTCWglqMHjed4jVcrUuwBT4w7PL3fod8yxDW8mCYwXYW03vZxoAeMQZ\npexO\r\n=+MtB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGysfeOjIf3wGEBijOmQVlfveaiNq0JPwnIs6+4uSpwRAiEAr4pByAtUp3osMbp0mllfxbEJZnULxnKjBDcvpV7PdAY="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200328161710_1585412295385_0.09589679874946766"},"_hasShrinkwrap":false},"0.20.10-20200328162631":{"name":"@accordproject/cicero-server","version":"0.20.10-20200328162631","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200328162631","@accordproject/cicero-engine":"0.20.10-20200328162631","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200328162631","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-QEV2+0qnvMfE3VRF7wwbmY3I2wMh38rTpflYRYueVo4yQSOG1Dpy4g9zfYMiKv7aOPv4y1I8W4nuxej5+nShrQ==","shasum":"afa997bdfc14e684abdc0854ffbbed4435d724f0","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200328162631.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJef3r3CRA9TVsSAnZWagAAvHYP/3uJ0fXA1Pk7R1RctaqB\nD8d+soctP6FtvOpRJGOlotyw4/0bVOnreqLn+X9WScPHfdhdaRJlC6gVhByK\nvv8ZVNjipt0xwprRdRrg5ovankzfj7V04SyeA3EfZ0QjodtXbLK5uTfteTzx\nUI24ux582xElptUxnFSiPqXmyF8frQN/TnmSgJAqQkNr28cXvVG4PBnOE1HG\nZQttNbHNprWBQBsiL8lnp/QPLtb0shJ7A7RP1SAosK1fklgIRp2x6Izp7vqg\nzjisSQjlGza5CIvJO4uA+F1VqtQG0niS/Pw3wR4WO13ji1Fn92UVPMJeIKT+\nk3UW0AsjZsPxPWbNDq/hv1t6itYQHUlxqRT1aG197idpjQJZU3TSgUjFWyuG\nKZwkMAfDvsTWNVJ7ZOWLx9YxBwnbRzWaq5dWzJNZIt7R1VHky62kfhq82T8e\nPPwnYuzuwmYOeX59dmiJ5Di9oiRmA8WyDgDv2Y1NuMmXkwv+ygVGnpa+LSa7\naWnBdizYb4MLJniNLiFurDSikN1u4FgoWPF7qOygWK44tt1eXvuiUosame7S\nBWtKjl3kpLX/gE+uDtAoHECuqfs6TS7jP0F3vw2+mHVE0D6Yiko19JaRbzLd\nEaA3PMCz77g6Yeae1Sh4R3YEhOQTMNIjIi9cWv4ATxpzwwhuekoMHURwvKhn\nMPYM\r\n=gzsl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+pPFisik8fqcEArssnNWqVarb9fiXLQSKP99OHWVuPAiEAtHGswRaVU2gRQXPWp/xhVHtacwzavt1nJU0p+ejPPn0="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200328162631_1585412854932_0.48085635662170434"},"_hasShrinkwrap":false},"0.20.10-20200328170746":{"name":"@accordproject/cicero-server","version":"0.20.10-20200328170746","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200328170746","@accordproject/cicero-engine":"0.20.10-20200328170746","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200328170746","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-urvT59GRnG8DzuVQkV5ZMZaoTjlfcVV1kDB8oeHQx09SpfT6CauqEwn+zakUHfq1gXbFRL7dGjUWOIBNhbonow==","shasum":"3b3248b33b45175ff5438efc8be0b22c32755ac8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200328170746.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJef4ShCRA9TVsSAnZWagAArO0P/2xtMRMjhOcUGeiafJoV\nUdNN9SnG2w9czsE61dH6u9Uhz9jZwZ57azw6R+Z58IyvGNKH0n8zEFyqB4ve\nplYKdgFc/rGsNj92ZdeVAfsrrgOEmvcpN3CwpYasuIxl87+XDhW2lDXGlskX\nfvD93TP9cmCJB3ZRjNBdSgzVuNDKViREh5WTuAlQEsu0rSzV8a7dIRWdbkeG\nBc9AHWMZ0linXxuCedgOrh+9lkCtIrd9PlFlKB76iBlp4TiDvRVoUxAu2M6W\nTa+1w1UoB9XIcrzCr78x5NNr6zL+chSKjlvt/UN8V3HbcHkuoO2Vc2a0+KwJ\nZqnJeiCJjBkEjV2KG2bSubA18t82pnIcc+Lk1jdyVBkb1bfcG3Qnr/LcqSHn\ny/z2qZtlQg3HJ+yteKXlB7wE4znnmIvDtP+B1G8FgnVn990KgkxpUL5qBNKn\naeL5Ok+wbNGgZjQxlPKrRD2sWS2SJYXdrHJ7S2AF6OVQs7q9/rU9Q/0ja4Hj\nl63Py7uI6VSx8BeMPAfjAkNOb1ZVNYUPv9EJ25vx9sLBqyPcYhSjkfbosCJB\ng5QskmMLdCM3k/0tU+vfIemOA4bA4t3jyP0/WubUtu0UtOvUIoirsJv7RwXQ\nvZFhySHBLBwo/ssJX2Xf613Ab4dJrnMgTHg8lSy5iF67cZWufGa0wxHx6gQL\nII0v\r\n=/CNZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrCZdrC0c3EM1BO4LeydrO/wRz0ENejXOlmjg1R7Lw+wIgZ/L9d5yIjATODOWqb9FaiFPOO80momuWmdtTBJsrDCY="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200328170746_1585415328886_0.8898586687692946"},"_hasShrinkwrap":false},"0.20.10-20200328175415":{"name":"@accordproject/cicero-server","version":"0.20.10-20200328175415","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200328175415","@accordproject/cicero-engine":"0.20.10-20200328175415","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200328175415","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-k9a+y/plDUu0arJasMKYV4QvsYYveAS2YJgy37aY4hBIbJa1mKhoiJbUVhl1rBjoytOoJ9lkTqNsnFGd4FhPlA==","shasum":"eb168b3049d9dfc6d74952636ca366af6f5d2c93","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200328175415.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJef4+ICRA9TVsSAnZWagAA5BoP/jKWCtYVL938tVgtJujr\n9+o3VTgmFV3C/drMITX1l4QeTNKgVpNt69DT8HWl+20rQ5WvzdvwPZSgvu23\nDETC6c3V6sMNTL4K+qqTpysjxj4Fz1DQBREwV2TM3b989BRHLCzaUiWc31om\nZ2up1+r0Jmk9D4B9tn1CdWf3ByUHPpQLNWrofQuPypSXsBjIB2RKWooFwbEN\nPseH51ANPjmRJefjNoJSvYCem/6n0wexH9JKZF9HuH3WYorxgX72aOy6liCt\nZozbYH1Osx5iCd0Jf31Ln8K5CIqA5xFU3F2aKKN/PwJriLkeMxoOTTGjz3TF\nKJMCknr6vV/BsX90IzyQAp9O3WCpSCILpTa0J4VgXDBq8bjPDxqNmphRhevo\nNkyxxgyCHXvqj+cccklkwU3sSbhByoJGGVL5EN9b39aXaHspikSU1+EIRj0Z\nko++tGL9t9xjju0b121l7ExIZYQeUg1KR5xnZ2PmBJ/i4ZMPe5mfFv6DQrbR\nru9Asg7Pwq8DIChuLTYIGHEcwL31ghHync4XXcBzP0m+1LX/VX4g7Yq103jQ\njWajqLP8APrc7oi/hY6/moJipiAqDD35VgxAcP3C9tDcPUsT8wVkl7waOLwj\noLcHlBohxI/mYjM8O8WzTJVke1oVFwDMi+96gc7orc4HAiYQVCofpMH0cVrT\nkSSM\r\n=vEtw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUR/vMxvpLe4Cx1j9G4zEeNWnYQZ25Y+pyDsjy9rL9cwIhAIM/kLHkLSDHebP00SqXzNjbCzCe6Ldn7sxvK4LKkKgo"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200328175415_1585418120095_0.8544418562543519"},"_hasShrinkwrap":false},"0.20.10-20200328180225":{"name":"@accordproject/cicero-server","version":"0.20.10-20200328180225","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200328180225","@accordproject/cicero-engine":"0.20.10-20200328180225","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200328180225","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-viAdGbZcW/if0QpPJL9ipKBl2NGKR1+QN6p2s1sa+U1HinbgIG6JPt9/gnSbRl94JjOh+B3JCQa4+QQC/IM8UQ==","shasum":"7280a4dda62cf702204b5c57c5ae6b0056d03da0","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200328180225.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJef5F0CRA9TVsSAnZWagAA+CkP/iOako4GggkGyWCuKLho\nXHuFmFOVkYtZi+zeVi9p9QswzN4fb29Gals+ML3vz+38I3mbodRD0tIFk0RK\np3zb1DFYmB6qr9THMFx1TEkKLv4WxbKWLyZKA/OynZSOYKQRizMk9oeJNlLg\nMhZj60Hvcm6OOEfdHgkYFCjSKQO4Mk7exupksWIUIDpJOPWmCICnnfQTQTxo\nFNA8XXf9AO93QHUX6s59Y09oDYJLNDvjrwplkjsYGk4z+N62XajFNQBTHnMU\nPh+fUl7JBKghEVT7upGSEjq/nejVmRsIeRjAQiEHtwJ6u1nuqXyN2EppGbJj\nSkEPQ2HyICU4mwKZ+xT8qVoHQKgeKP4bu0FBKVLXGh9S0o9dF0XwcBQFogT9\n4cAH0PBHfIoTMYBxgTkFS0sLGVmdwcnqgXer2epzF8ZYxvx6ASgd2Yw4b3nO\nVvEJsPRd3uhFQkdbzprFtX9f6BGSPw9MI2jRK12ab5RkPQkDYfvIxabo8kKs\nBcvHeqn34iLY3u9Z9AsrscjUJnlIp6mIWdzGIVSsdXZAMewDfuQWh3R8Y885\nDxa4obUfHTPtEhfWDvlelngITVUw7IvdxnrryKmt8gPZGo/5e3vqXGpztdDJ\nZtdjyxAdWankU+dTvxxLOfzUS4wkjlFFxBdCVQyFI2ypDoQK7CaOm4VvXgK1\n67uI\r\n=UGky\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEfK5NkZGvFPSgEfLjEpezqbjMlxK8HyIN8EyWg36UIzAiEA+3S4KCI25VXq7fXh/cANDQ/JrLFWuHioP2xoKM81fxw="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200328180225_1585418612025_0.6260697734398066"},"_hasShrinkwrap":false},"0.20.10-20200328190728":{"name":"@accordproject/cicero-server","version":"0.20.10-20200328190728","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200328190728","@accordproject/cicero-engine":"0.20.10-20200328190728","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200328190728","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-cyhF0viYT+xEp7LtL33RrkQ9PNz/L4YjO0GIm4hFR+H0OrIi+N3M1eVHFRsCv4v1e+hFkM+LEKj1QtadEMxtFA==","shasum":"a013123db4d2cc39c3196a1082dccad767e9f8a0","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200328190728.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJef6CuCRA9TVsSAnZWagAAypEP/15jY8RCUVQovsQoASzH\nwlRP17zuygDzq7TwIMZjnsEYjgpfo7Doh5qsrIv4dwuogBl0rzZ3/2Zc/dgM\ngSEG9IxLXR7tUE5AobNy21Bmh8ECIef+FoFzFiwRPnz9Zy9ByAd48DVkQKWf\ncUDn0AU1hJOyTAVSYJj5jVCU/8tNOn1fTa8pyJCjWIPcXhzvAnbmXvNMZOKD\ndq3wpA6N0NqrA5wSaNfh5YvuXsO/1YflrjgNrEwqS7hmI5WzLUO0K0Gd4Eck\nV/nZta/SkeKymmNat/3Tv+ief8QlmU4NY7THDdsT8RA3pWArpVWVb5N6IlHJ\nLdcr59o1WPb0MmhUt/ERK+g8zhAjiZTGKRJI/ntiW1EZ0ndIxdQhbW9edbAv\nuEk11aFpsm6yXkKqvltraeZPi1/L2yQC5BzBUlFditePTL9miY8AJJD3D8Sj\nbk9VgGGoahJvbAS8puR6Adh2AJwpJyEOnGY2gMQBymMrI6uh7V346xy9Wg2h\nG1xjrhAt0s5T0Qmapv9IL6VUxuIGL7RsH7L27z2JxeABek5JlY6zndZSfczo\nPw9cCXZhLi9SAa1+BZnWKbqSX3/FJdbhfWO6eaSBJ+eFLbrK6s5oVjpYuz+1\nKGWgV3MG51rd4cQQceLt+3C8GR8UtwOxrZNR5iyatOjAdyynlPz7fGeC2qP3\nEAzT\r\n=xcky\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2nYDkjOULeEEX1c3bXp3LCE3cqkfwfMXu7TH4HIWORAIgMpo3whjNbV24c0CzPUiUQkpXjdAnekReL6ACTsJqyBE="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200328190728_1585422509931_0.34053693814139807"},"_hasShrinkwrap":false},"0.20.10-20200329142754":{"name":"@accordproject/cicero-server","version":"0.20.10-20200329142754","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200329142754","@accordproject/cicero-engine":"0.20.10-20200329142754","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200329142754","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-wIbn0PlfIPRQzAHOZ8X8XFNfvU0vwX8iZLcCFV3QNGRHZsyMkEz8wH+MUFOEwn4towwZmpFpW2BACOsDFNQEKA==","shasum":"0d3701dfa3ada67aab7852c55cdda0e559404c7d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200329142754.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJegLCoCRA9TVsSAnZWagAA6xcP/A3rhHD52dcRY0ZyUL5y\ntoC5sMoe2t3hSkV84/N1PEFDHV10Mk16248MMSDUxPMao9EHLilCGgj+bK9B\nKtNIqPgdIfzaYrq/648PxRFZnSjTGzN+fnWAHCCOPVGdulH37C5KqUZFaTzI\nt4x95dX8+BCHVdGmfVLCgypdzRHYy0xbcM/svK3Z2zllo/4mkL6I7+23cKcM\nR3DUgwN4TpxjCYKFhFZsb2Lc7FW+G+zJxsxCfdRvgfxUu1nZ0g/l8/lo4eb1\neEjDI/FULjaQtiUZQBGa63GUOLTN4M4CtsC6R8HnWHi88Nzce1dTCHO6/uN9\nyWW5gV5C/mj6+HzXfcMr4nIFo0BoN/ArfMattT3lH3UaBt5aAQzDdLdMF0sY\nqBMSu7K/VlC9HtM0xEfbY4J8x6zHYueeaqZ5hMvrnF4o9aEKWSzAVKoyTtZp\nX54kFq4ujEJKPJJan+c3aGtW59LSmoIy4PkXW7MIN0UYcr+iDohWGBsjiPuC\nONHH2IHpzcEKKwKX/P+Cig2JNpGM7FWQut2IxYlCDEdHa6w6imeHda59GlqZ\nM34WD/kCmu7Ttsyb9WtPkOWWdE2amwH23p8xYxGxNT086IhHaOOPcaYtaSkP\nIZJtUbErV/RjCY6sNJbB7HnXSN28zylbA6z/j9dsnrwOQhMMRQbT56YWm73l\njVyC\r\n=yQts\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEeIZS7vkAQevoEJa/od45UGYUTXT/pG3DyCzfi80PdQIhAOiwh1jRVqp2PNKp2bYrefoObUqHLtnb09xJuye2bPjC"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200329142754_1585492136432_0.24097598420970345"},"_hasShrinkwrap":false},"0.20.10-20200329143840":{"name":"@accordproject/cicero-server","version":"0.20.10-20200329143840","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200329143840","@accordproject/cicero-engine":"0.20.10-20200329143840","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200329143840","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-7GqesrcMDmKhrKu8X8FQDj/0rXjzgvIKLCxqddzRI2HJcRyw1ySXUgCR24M5m2EsvnO+QVgTpXTtQls4NqWSzg==","shasum":"8ae797202f3c8fde5b0ec2223927d35d1100fd20","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200329143840.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJegLMuCRA9TVsSAnZWagAA11AP/jrkjWQ6LXLvvA3tlr0R\nrY+dxHVHkwUc+w9oqkLKZu7QE1PhP4FXyacdJm6jmtuwa9ZiEwP6hWbYhJz3\n2MFHHgZo0iWktoQDB7MMj/FT7YFqyxsWfopxiWEmnbVdbrBO+LbAKz+tOzmq\nIFc3a0hm0Y4RYBtWhCgDfa2tdM6C+WMZJo37A0xh1aibRI1hmbJbGxUiZWMr\nJX63FM47HH57SUKSBN45KehGHhoiZDpfM4uv6LnNwZg+qUY9DhOYTWMm1EuE\nxr8m2Xq+IeX2QsSw7iUION8aI1DrdNgpmq6acnDwd3PVzoWyDkhbiyXgO85A\nBHmEPLoQrqTrl8+7s0t2AFjA8KlXO41EBi7H7SsZUCqnn21FcYnSMZBf3eVH\nBuc17x8+UuR0SEztgf2F1QV7UEcURvalkh14RpDoxDImomRfZQad2UH9vsiU\ngKdimOFv/s+eHH3IWW7aaIXUXIm8rXCbstW4oCoq3Nhvm39z0DEvyyRfYOGH\nIMQ4mTx4EOMQYOb6WjvxtbxPhXBhgtLK/r2lfOKtLmqJGyzi/PS6F62xNnsd\nrW0khCqIAacJcTOjjQ+K/NJqCP5CbFlK3FzjEV7a0H/uKh3UXRAU5CPnduTf\nhHT0j8bkWkgauDGnKEyqrpy1YoxBOjmFX3roI6fBpcHvDcZVb+s75TLaWsFl\nLMpU\r\n=z3/s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHGLaXIbMjVRUmuimFEaSe1Tuz7rZx7++deCjmM6R+JCAiABU6pSKseDjDbGuoU/PFFuX0zBWr5pRZp427/g0z3qVQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200329143840_1585492781897_0.2928966337729506"},"_hasShrinkwrap":false},"0.20.10-20200401150916":{"name":"@accordproject/cicero-server","version":"0.20.10-20200401150916","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200401150916","@accordproject/cicero-engine":"0.20.10-20200401150916","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200401150916","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-JPX6GQXYNoa10rfM5HKt64gmt87kTIwpUBoJNXXML5CZZIifPhU79yCKB3uKfT2oGRpyzjn494o/pN6TXjOq8Q==","shasum":"d484abc763065b4624276af04993ba0d96e7a183","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200401150916.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehK7iCRA9TVsSAnZWagAARfMP/0aboHifdz5kffIeaq1z\nR551vDZM2dWPhzcuzk/TQk4JGDRuzLsv9VOMu48VV6KO45+p8M8pLqZE9FQR\n/G0A/tskFq4E1lqGrqJPLUrkjYxlRDTsjnp57QkZRaYohYSPpcohSkPcNFXL\nFi6z3YsK6CQOQ7ZCAIr0/Z7s2ycqM3sPMJHGOPNG3FCxG3THb3bbYcES1SFF\nb3NWVaB6EytpewnCXqA5BPtsbq6oVd05x9AXGzZckrMMpE/j+n4fnSq/NUE7\n3K/kJIfjIc2Gz65wL3Phl+UmRQYJlBqvceiMhC6OJHfMi9AgZ/A7+HBM0zlI\n9mc7NdzR3WN0UXwKDcnqid+Sn+uIVDOWmvd99QJ2OjpudBDQ7qrV24ZAEDdM\nj09UQQoVIQUElHcWxcPi25KOKpP6D0PNN4bBFybeGwypGaBG/ls24MKwMbR4\nRePQUpazxctQaNKzlUEQM0NcEqW4J4G/kiLl9gq/fuYqIGOeReYCzvk5xwUo\nhvG2wO8qL+jg2/16pqktwgubiXcKBM7ef4hKaVgY1tA/k2YcKdlA+RZOKheU\n9dVKgnHxMoi12wj4JRgo6hBjdFqOLlTzah55d8wE7EfQHK7srMZrdvL04fg5\nPpK51Mp7Kvoxarn/0eBFGWGXY0h8BbfQfF61nzGnbmx0AMad2lIFE57I0WKE\ny0xc\r\n=SG0a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2PVup2xW7DXsDeqvzq+t1KsXCnlZZ/wd2rAuhJDlXTAiEAknRz5dnICgG/dtbI/Ptg00QWj0X76SwW1e3F0k/OjFk="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200401150916_1585753825828_0.2657661830106215"},"_hasShrinkwrap":false},"0.20.10-20200401150933":{"name":"@accordproject/cicero-server","version":"0.20.10-20200401150933","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200401150933","@accordproject/cicero-engine":"0.20.10-20200401150933","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200401150933","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-h3hnujpiNl/Jy8TpBzMe5lo8+ULQNjMkoidHrIdc79xTxZJDo+XuZpv1N7ddmS/RoH1nyh4GmZRORSoQfhWuVg==","shasum":"3ca1e3af3006ffa89d12100dbee8d8270e3dd57c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200401150933.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehK7xCRA9TVsSAnZWagAAzZQP/i0r6zT6zvtGk6+/cFHZ\nYONR22h7vE9U5gH/1w7tADNbyCzQEhHwA7Psa7fMjQnbqb96J57GcRCnR0QO\n7hhUpfB4rMuiegvzHW1M3phCNM8smmvbR2GckNWD4qkrsZApSVraVufcwOfF\nmJ1EmhrM+tKgxHUKlPRVwTuUad9U6a4ZDgJARxpj/LsxySOE1pi4Vm+dp+fv\n/hQZXcbAcxY6TwsYTWDhrLIdgvpFLSB+Qkf+zwzhJeByAWvd7Rc0liyoIwnh\naxaD5IJse1LdE60gOnCby4sN0s+88U4qIbNu0qBMIYamx8hY715mdrGtivjs\niBzvhXobiEvE990YVpdvgwjbzuSuCBFKwD0NkdfB0WcEpvZamrnPslZDAsDx\nw25iPb/LdNQnrOD//u2Mc48yr45ncjloddsARkeBupc6IjsiT9WJ8OFzEP+q\ngOCDQeiNIGTqaMN9TBC1wWhqA/3zcougHFPSaiJ2aLiWWX1n8YFUANtL6ddZ\nJTZjTaIFgG63qrx+6o9VfUx2no3DSrZUbgmk5HGR59hZuryd1iErbilxmamO\nM9HbBVhJf9Uc62lKGIc6Kb4f93cCRW1dazm977hAhvzASN/c+HvPWUxXYkdC\nkQS08CCazKhKMTlJNEdjtWv3rwe8CPHq/ww9Z8sZ3lJI6prrOjLWprGMsjG7\nhtq5\r\n=l23y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxxHqMb0G2kGl1k9iAV5SjkaO1RPI9y9d3W/SHHX3GaAIgL2kDkFr/5hCKDCrOOcwac0Gz9dasbK3PX037mU8SQqc="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200401150933_1585753841314_0.9081807948352307"},"_hasShrinkwrap":false},"0.20.10-20200401183942":{"name":"@accordproject/cicero-server","version":"0.20.10-20200401183942","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200401183942","@accordproject/cicero-engine":"0.20.10-20200401183942","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200401183942","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-8saydHjAdZ5ODUHZQ9UQmcEbNBywFj63MJ7AmYgQZN2lZFMxHZnNW7f/XN2seRrBw/lO1DkperOMBeGT8SxgDA==","shasum":"cb36016edf905a11ce3a9495fb1b1c65552e5cfe","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200401183942.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehOA6CRA9TVsSAnZWagAA6AYP/3Iebd5cY68qPDquQFbi\npB2e0SILxOi9l0eFlQUxfK6H7NfmwTOhDKX6Po9PYHN2gJ5qlnf5QziClTAQ\nXqBF1FS6/4NAILKeUo3AIxRN7JJIpzFQXQd6zKSeZhxDXwZ61KfjVMGSoqpl\nbWJW8WPUoOKmkCdRXKcs6iUyUVG86rY+Lm9uNC7QRopxu2YETxqtaxltSr74\nEAl11Bs3I6pmYIdR4czHTY3FVXhu58SrJqjo0lVZjdjYa+KRD5uEy9twhsiD\nnVt2RtmsfhTu+/2l4yb3Xi1WLOtJwJnaQPYB9SnBXf9EOqp3ewy3MGBn/SHg\nUklx3iMWMhzKAqCc9urD18Roq96UXIy7oVEJUZh8vF6rovy8TTgkl7jTGJXw\n5jwnfx5gXGRsxAnIwSGT/qjiPUZaZCsUgJ7X4pS3ZWhZO0OZlfgMAbwi+t5J\nQfGgr6jaL0GIPx9JH0icvCrya6xfnJXdTrbRitj+c9jZLdLPRoCLh5zLKuV2\n+egO2tmKUGPSKFpaUL5cQqfqQ4XCahovaXaM0k9D+ODuiZcxRfmRvuPhbVQI\noR3e0nw6ctyL+y7WPZXexZklFCFuEMn7mExighSbMdwplj/nnh6TLmBmBq+k\nLn8uWcWniGYePdgEyOvNPWrq87C9pfWnwyw2Hzy73AbEUfCnxNs7LRkaRPu1\nMOg6\r\n=gsB4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJVflvlYA2U3YScDVmUCxJKfSU7gCx4BsHMSjLDVr9mgIhANHl5jGrwlJx5d+TwAdYiDlVO6lxGPdQLcWMndHVZLJ5"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200401183942_1585766458271_0.06721341997700803"},"_hasShrinkwrap":false},"0.20.10-20200402172536":{"name":"@accordproject/cicero-server","version":"0.20.10-20200402172536","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200402172536","@accordproject/cicero-engine":"0.20.10-20200402172536","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200402172536","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-F6NmCfRT+49tN90mv4/+3QOG33B2b5g3TDFkkFFO9STI89n3C43/FMu3l8iJ0Glt+rJ2pf//814eXkUzBVjkLw==","shasum":"f0becef85ef01e695cf42a8b667312f655954d28","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200402172536.tgz","fileCount":34,"unpackedSize":118576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehiBTCRA9TVsSAnZWagAArBUP/iE8sNKU23uq2DZzLmQZ\nYK54jT+qFcjhMxHip5lkV6tS0kHeneFTcLDWFCbG+vQuf7j5iXUO2CZjV3Ub\nNxlY2bgWFzYKk9HGzBic5dMYSxF1bgXMYCeSyBygt5Bik0Upw7SKQ2QDUATf\nNF3gHHoyqTut5IV6Y+CwbxjooJzEyPBq3IAdHHZXPM54O8PWOKQzWDsAlHJC\nJW0G44i3tJ6MOkKMtLyxj7K+ic3LyY75Rft7s3w5SQTJLihD9DRchuqR3H8B\nZOcyhoO2UHHKjMPrvyVnknB+tcb/tRek/OLPRsf9+FegEZ0WuWntA856h5u/\n1ymE4vXT8unKdwL8ocncmHJ1IIBPbhcF/7zt7mV1GvsdFsJvD8ie/syaiik3\nQEBAtN/UJaZWgYNR5JzkWcDDLmx5LeG25tBXLtj5jnjRpzfuCrw6CLYH8YBC\nBvzLpEH9GFucR48qrESN35QyFQ88t82690c4EsVloAEfVEop9PjXZB4SE74i\n4qISNSmlIwq5ir24B4sJDJAsKrZppmjEVL6VVvhLTwWxKWdmXRAo/M0XI6Q/\nM35p2KjOFmbXDezkpfjSnuQ/3yQLICgipPHxA3I3WP+YA6e8DrV+BbhOJdDK\nAx0qLaGuq/aJ878OcoojVRP9jfTm2/J4HmSkyJW6qa/A4Gi7Ce0nNHsC9iSx\nitUK\r\n=m7PD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGT04yl6CFvvR9l3bd96TYYQ4m2JXU8MD8U1lOTAHqM9AiEA1b3qpI5fQaiHowrwhQ8MC4+2Ejc0lnpn6sxAEmilszc="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200402172536_1585848403063_0.45716048538179743"},"_hasShrinkwrap":false},"0.20.10-20200403135955":{"name":"@accordproject/cicero-server","version":"0.20.10-20200403135955","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200403135955","@accordproject/cicero-engine":"0.20.10-20200403135955","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200403135955","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-43zdgghAeufWhpfngNDdmGPOkEBB5AYI8bfvTtjbu16bs+nF7xwRrrgUqM4XI4pLLtY9/sFY9cZglQlwhtWBFA==","shasum":"488af4e3aee4980a022a62522ba6ff67cb80f5ba","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200403135955.tgz","fileCount":34,"unpackedSize":119357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeh0GjCRA9TVsSAnZWagAA440P/R3/T10qE9RwrR/JJN/L\nOU09yWC7hcHXmzolH2R21TXASdGXDzyci9FEQugg33AILKCgX6VR0qDFTnjt\nsGoFrkMDMsh+Lpb+x2few96475hBHee+bNcMRa5Bp7pbaRxGD2IO2viL3Vax\nSm+y+w1zEk1cUCm0aQFnRmt9GwZixcK67z+wy13rLecisZOMauKo45V29T+u\nyr1AaEN8SGe5hhg657PyG8plCzMU5v50ICdqrsnjPXo0Y9JzfbKM+lnTfzlR\nFkNZ81vxh9x30LJAYMCqqULWSVBWXJxPwrDswC74jEyLVmasfcSTr6cYsJo4\n5zJZYSs05tSA2wy5no8hkYipiDRdX6iTHJ1SEFiZr81gDt3yOg+XcNZBzbnt\n+rVtGuP1ST/ivwyANnySIxnF1JSJBIFUm0dd+m6bWDMTEloBY2tjwbvDUsW0\nUenjrl1puXTJ5BRrh8KYA5CL+YMAaFoYBQvCv/L4KhtJx7M+9NvnQOQfTsDK\nPRBcdASWAn7EjhKQowApV6NuvTKrKpWUlFU3XEpLllB8rxlE62Ilk9I3Cb5E\n7klPlrqv0mMWVwDcVsPXLk+yXU0oYbbRZNUOvO8EErD3ZuDHWJhQoV7YIaD0\nKmz4II0PhpmZKLLu7a81t4RlA8uAP2bKrJ0MXSdxPB09Ekv5DlIdJrtmEJiv\n5Lm1\r\n=57xd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFxhE/iEuzz71x1C4v5A+C2Q0nMA4PZknOvqVxkpAT2cAiBAvMZB4k8UehdzIVpQk1a/AKhQvYemFtLMdhrZVehZEw=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200403135955_1585922466935_0.08029690807852607"},"_hasShrinkwrap":false},"0.20.10-20200406211607":{"name":"@accordproject/cicero-server","version":"0.20.10-20200406211607","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200406211607","@accordproject/cicero-engine":"0.20.10-20200406211607","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200406211607","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Cq8IFKW/PA3Oxr5kshWXfcb1Mf/Toe+VFrvKIK9Jx5Hu5dUpk3Vg1VGVc04CVdqfjNnb6GlDQEc9Be3uymv+OQ==","shasum":"b3d1224de2e477eb8a36b28d2cfa3b257344071d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200406211607.tgz","fileCount":34,"unpackedSize":119357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJei5xXCRA9TVsSAnZWagAAlokP/3puo4yPMllVCXLl25Qb\nDJA9EX9/v3L1Ei1ZuUcaXYmQV5Uvc/qmXbBYh1F1NrptX7W6G72L4eyYO1ft\nJgB7SvOlgNJSZkWKLG8Nk1ii9qtfn7aL0KiTrvIZ94Xu6A7TQ1NOqPC5CET2\nCqCHBX9/F0laaBZkA6oQ+/ToXCeCLSOKXOzeVEWlt//jgJuV9Q+sKx/ant3G\nKz9RMWCqaJoCk/7nXSZ2FYROn1Xus/iy1BGWLn1EnVD58HNWs8XRQ64rbT6+\nmMQ3ok4xdYLooXzKCx0xfUBtSlOqfJTVqcpYAJJR8Ggrg3QyVKZyw2ci+Z+t\nE+PgK/8ha9KI5F+5QeWr1tP3LZOnYGfRdJtFXP/JOtYoEvcN5UZ2AWQJCtcp\nh8sq3U2plz9QNeF169BqsmsOpUbwnn7cLBqgKVh+tIkOZDm6C7RgBclY3T7T\na/BV/3ydGas1CeeQeiaApV6ZwEIEu9g2pGrqQ62/p+JvucmzvV9w8Zp32saU\nD8vRKdkmLOhGGgn1M+l9GrSpy2HvY4XKhO0kd3e42X81SX+N9TnxIZ37CJ6F\no+rSj+ZFsGoTmJuICBSRtp4s9qm8saajMFg7PiixvKaLoSCjvnT2K/oWvilD\nKK8nq+JSOmtu4KNGuCyZpAA8SpPEqwaSyQNupUMxWS1AtaMVbNCUpY5ZFP4A\nnVy6\r\n=O39e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjwo70O4oGuxom5b7IKhMAYVVD82PpnXgHyvmu2H5T0QIgMMS48oS1hM6QIql1OIaEJMi2w+59y52ZrRlsI7o4qAY="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200406211607_1586207831400_0.06314957119757914"},"_hasShrinkwrap":false},"0.20.10-20200407053707":{"name":"@accordproject/cicero-server","version":"0.20.10-20200407053707","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200407053707","@accordproject/cicero-engine":"0.20.10-20200407053707","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200407053707","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-pvq3lyHTpcEru9bJtWticvMX3lMG+y0YGi/r35O8KfG2hKcdzr9FptCk+uVyoFlGENVK7Phwy9X9uEY1HWmRbA==","shasum":"1169fa8cbd9f8f7bcdcb495828756323f4268c40","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200407053707.tgz","fileCount":34,"unpackedSize":119357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejBHCCRA9TVsSAnZWagAAjBIP/RPaLcecBzUA/MwNW5BO\nHvyL82/JhUuFtB/Dg6a2aUaAStL8QbcwT277Tf6dLnWgZYg/CYE0iOxodvhW\nTli9m0HylObVR/6oUPQXzlWy64nfV858SS6tH6uq+cXAOp4igYWMdnMO6DSG\npzIw3d17P0siJQJkumzKXUf1AxjgTB4S4Q3JodszDSE1uNxn2mIiEIDb2WtF\nZecfdq5c+Pk6kJb7F3kDHhmsfmad1r90pBojotLsoTqR2hm2fAf5EqmJLsIk\nWDWxDRurbUxwylEpembNGY6Ere7o5JC65adQBgb6xXXOq1C687igt2HpxX1X\nP0b9bkVWKsCGPc+VoLxrF1eTl5scVx9NvIIdIVQodQNDeAHNvSHr6Xjj8XL6\nKA6T51+RZXe+A8L1lsXhc9gfifr5UH+nEzB6qlVLg2bXG0eRBbgGd0XTapB8\nw6i9Jweg4lMFqv066W9ascjGIFzdDXe8qazLdcu2UDJvvExD1IRA5x9igloK\nE6UAHlQQZ5ehwoD+COQHPQowiGQ+C2gkwexWEmzbnU9oi/eUsRhaIhXN1dgl\nDZcwF/8vJoolf1IMWLQ3uIb1m5elsDfkJoEufvGwP8dqgdYfFPBwjfsHukrf\n2ITNoUvdJnHTB5ng//7TusmcQ2cf/h+J9JvKVAv7+q1IbLnfKO0LbVwkmbnz\n3rqG\r\n=7zHI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICLC4F7qz3Ckso3eEPwIZv24rjOEpox3dY6ECQY45hD8AiAvbvzW+dZN7ifLpI3mfqxERAPMfQhcUTPRXUNDLCufpQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200407053707_1586237890144_0.6460996462522195"},"_hasShrinkwrap":false},"0.20.10-20200407194430":{"name":"@accordproject/cicero-server","version":"0.20.10-20200407194430","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200407194430","@accordproject/cicero-engine":"0.20.10-20200407194430","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200407194430","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-807htKJzFKNRACL7O0ELXHSgCk75sWWCrC2l9QoU127xaDIYN0Cb3Vm7y+HZcwWAfjWgBvpGFuSu5kRkuHvvRQ==","shasum":"4c97fec6246dfe721f1a4ef81c5b1e65644e2cae","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200407194430.tgz","fileCount":34,"unpackedSize":119357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejNhdCRA9TVsSAnZWagAAQ14P/3pB+xfYZVuX4GIW8dwj\ndyhHdMC54+zvUZTwQm+Bgf44Xd4YQk2ljU7AV2ms20n3ppwNQswXiuE9sNV6\njQz/mQMOZTRaq5cpMNoJQNragf3hFA76xMnhVFg7wObwx6CA9U/bODGDGMHs\nVUKm5Z3V8mxhBHHn8yBkmFtnTGamCkWjUDB5d+z0J5p93vJvpwsDiLjVgMh9\np52mwPHBGe8Kwv5GGdbC+jcs6CV0hAqQBmNXg+O1+vEhMedAWk7cKgTS9gTr\nidNRXoQPs/tPkipGoIin2hHN78MqQNgnomId3LUhHPFAnQ0Rau1JHApBFPgh\npWyaJx9FmspS6547GDqTU04l6t53yZcJZptY8JJwq3gI6P4NhVUYe91irCPz\nVIqxNzcCZONWTLWaZcjZWwO/vGl1hzsmFISM+4AsuFSx8TlT7hL2zKfTraBY\n7KcJMCXwoD52JJaHyN+MeBEt/H4uDVpKN2EwMkEgUU0Uh4ww2pc6OBmkkj2g\nRnZHrO5UBvMClTjdSwIc5AcXHQEr/PyhaHzjv15aznMy6eopNHX6gcdcYj75\nKhgLi91gJbqXbd+BWKEMd6ZyMwQiFDsF+D0/HtJWsHivrXdSTDdOo0zKueN5\niwzIMhgs/dZrehpZgpCX4oGzRsN41yuEN8QwQy58d5CNpaeUxGgoxXZuxOTu\nWBwZ\r\n=uFOH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGl4S0EofhizpXfCUbU3RiwXBAoZ+t65TF1lqH/tAjW/AiBGIDtntLBfEYlY2T829+uz1eXE7lRgE6rEs9k8YXMDjw=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200407194430_1586288732798_0.8223153957274545"},"_hasShrinkwrap":false},"0.20.10-20200407230821":{"name":"@accordproject/cicero-server","version":"0.20.10-20200407230821","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200407230821","@accordproject/cicero-engine":"0.20.10-20200407230821","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200407230821","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-eYnnMTNBbmJ7vtNcurZNeHRV/55figedJqpqMUL/JKb2EJkfJKfSvvW+6Ah8PUiT9fFTG7lWnwR0emu75rxP3A==","shasum":"f84bb268e473627882026acbc12dd4d8a2ed00ed","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200407230821.tgz","fileCount":49,"unpackedSize":176418,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejQgrCRA9TVsSAnZWagAAqx0P/RGPDK1o5sFQco7OT9BS\nBj6QP9TYImUT5qo+OTRR6qQOXoAqlwM79gNPHU/c0UDO0caDW/qkTbC1qUVU\nyZ0IwO3xrsiANat25khJe7rf15xv5jM5yzLMoEcRIZkYLtJ3anLvf1t5uTZS\nZO/APt2g4Es0kE1+iGF3MWEzW1larLjkOHgAc6KunbQUaLTsxR5VeBDF4oO4\noYjJjinLk3IapXsTF1ASiFh32Z/Q3WosAEpja0BOj1zSbADI1GvNrFxayZW+\nMemHG1OF4BVIZx9HDXF1SkH4nHbM7wBoCedqZZrnrJZDnYwSIUc0mNja+Pfg\nFm4RbDll4W8I6rmMZ/wsegpU9gdO6pr60pwxRb553PjjT7/bq4WdHI8sJIVp\nnELm01kxua4oxHWjffzHxS3i5QicEQxCNSCfXxa/O1g9f81vHXm5Y2GVYSg3\n18Dl0MAYoGFrNJFLHlH0JLqu7s89HAptLL3n6IKBjKgDykV4DeA7JR3iKyia\nc3cSgGJ5+hC8yCO+b7OSl22G1aG0df1ms9nKK8Zu4eBCH6Ko/2kkemmwpYT+\ngEbKT9tbENpP6PHNIQ3BwIuLkWhAUrzYrPr/8LSM/to7x1dq1IlMHvJ6boiz\n635FTzNZVzrh0kn0oLL9tUJCzQtkvfJiUpGC4LFcs9gyzhkCo1oMnWRewI1/\n1eZc\r\n=A3Ht\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNvPgbK9Owtr1rkXgsgQnzs53EPnGW0IjfX7/p94EyqwIhAOTqJ3o1CkzmguKrSvDhzhdRezG8/b3/eVp2JpT8/SD/"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200407230821_1586300971059_0.5627642927859222"},"_hasShrinkwrap":false},"0.20.10-20200408172742":{"name":"@accordproject/cicero-server","version":"0.20.10-20200408172742","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200408172742","@accordproject/cicero-engine":"0.20.10-20200408172742","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200408172742","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-RkbU/pYp/izBc3H8zBPNESo7Webm1M5h3wy68W06q5cPrt+T1nVS7nyhYNKPLupqK8M4vj+ULe6w7x8yhz2kyA==","shasum":"06c3b7e932b0e92a2948e7dc3dca6be39e255af2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200408172742.tgz","fileCount":49,"unpackedSize":176418,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejgnNCRA9TVsSAnZWagAAH8QQAJYXMjG34v/uDKk0cHuT\nlqKI7F7CGDZnbfPJgYZTALknbZ03/dl58rnvGSIb1Bw8FRTBKqV5tsl45i3Z\nfJa7K5r136R5rRVpF21+FIzlofi1GeMWHaCXqOZR1d95TqsV/4+z0FwLyryK\nITu8PnOqEFq6474pSdSuXvkWHN7+3KjL8Xd509+5W98r34GYBrTqY8Jc0eAw\nLBU+fI3e5UqD5ZPgjTmtvJXyP398BYu+1In9bObQBxhn3Zak/h42Ke5JaBcE\nJiMQ/1EhMYVqqJ+vRpwW2c+HnaaVdWVHR8APTNzeShlIVVHvn18ezBNdH3ko\nv5Gj6SrV5MkPlOXPDcLGL4CT6VpAI9nGBMBEWJf92ss6bKhOz+FWNsc0shFd\nZiCG9WkIUiSYEJUt3O0zexVTM6ZYTsfzLjffuO8ddwQLA05l9ldmlQl3+GEa\nBgt1X2wSbulItnLdm7bRHE4pEOiILVWuUJte0pgxlvfbbeiWsp2tgKmelPzR\nIggfdITXfNWQcy5Z9495CbQr0AHVogQFwLnwy2Skvh4COXRwMX/T6QmhXhvH\nSQQgubUbxmgj0L637nB0A2jyvKeeCUryCTrwoUy7+vMFQg6GttAc6NSHrSqR\nW6axYijo7S47M8OBAd8a85oo7kpX19ELrqy3ByNv/6nE9x4IjlnelzlDa7fK\nPdCP\r\n=/E+h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICTMb+Qv7v8grIGxeOOGsvQ7EvUslqOpoOxJakFGrI/RAiADe+DEWUeg7aRipWgVYa3e1VFoheDmIbqnRbpsanQ8fQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200408172742_1586366924535_0.38132030070770684"},"_hasShrinkwrap":false},"0.20.10-20200409194636":{"name":"@accordproject/cicero-server","version":"0.20.10-20200409194636","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200409194636","@accordproject/cicero-engine":"0.20.10-20200409194636","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200409194636","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-/vL/ePd3HW7pyUEO377kz6Rh/LnsGk7kD2Yz2sDHSQeTNlEiaHsr43d6y9zLO6iEkK4Y1Rd0t3RgnMmS6N26Aw==","shasum":"d183c0fb2b1e689aac6361f40d96b47cbc30c20e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200409194636.tgz","fileCount":49,"unpackedSize":176418,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJej3vdCRA9TVsSAnZWagAA08sQAIYgxuP7NKzNPJe+T96b\nCtvqjreRxSS6ilOrQJYKbHO2aEU3V7jC4FCCBX4egs1Z9wJ/puzcXmP7bYhb\nIp+jZ1ay44SdX2Sx+7g+G1uPBNe+mjtNAaUrx1dxEftGesPXuBH+9veKSOsz\njykLsQSILKyb3CPKymTkauA3RC2iiuczgwxhlyqQzcbFzSfead+LhRjHftLX\nAk53YnFYUqeLvCJKfoIBD0WP5CGz9pYNeMy/31djEfQyfI50PogCrfJn2DCM\noDpBSiiaHfPxKCvJv4zEodF7ZPT3LghDKaup5+EAkVnKslI6R9EZhdPIPWZI\nF9iHTvU0uPme1GC4cwV226/wnBUu7eofONBU9mv58iV4wnAckXpVSHU5MeVO\nNG5CULI9CUNnPdACTsCGV7+8hNA1GXoHo31W0ek8jXZ4Ubibfw7Tfkh6mbIh\nXcMdp4xKHUF4VsmuvhXCXg+krLNIRKnHmMff0HUL5ZyiTlVnfz2EmcwlxEXr\n2n/sTxA1+xgtwhNtxWsiSVofV1iQ0GD09vJEVL7hukUkY0DFA0BsOg9xEfKb\n4NKof6eW82t8ogejrCjyZRpycw3XcH2+LR0kldcVZ4Vjv23OE2bgOtPG5Nc4\n8keUdn66XTltqiSLnnGUt8LyqURGDgVEZErdbfqST4+VTGaHnd2pJqIUazWK\ngf4R\r\n=rhAe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFJD1aHHe0YuCEst084TmzhJ6gpkKBuqisvju/ANxiSwIhAKCCi96JYw6yZ9LMEwxKj8pxITe707Gk5MWfPer04wEb"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200409194636_1586461660663_0.581030430133628"},"_hasShrinkwrap":false},"0.20.10-20200410141609":{"name":"@accordproject/cicero-server","version":"0.20.10-20200410141609","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200410141609","@accordproject/cicero-engine":"0.20.10-20200410141609","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200410141609","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-1UPBE/JcatPBxTweqAfBSlgoxUPe1Bf9VOYzYofQtgnDPJl+9vLwxIyHNJjjIRZ1xJ2NqHUavSU4pcYhV/qMRg==","shasum":"b653a0b59a5d9951250145a6fa55eae0d4ced511","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200410141609.tgz","fileCount":49,"unpackedSize":176418,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekH/qCRA9TVsSAnZWagAAdFcP/RsYS4tXnZyZkxop3qSl\n/vYaTaSszjVWc/A5De3iEbaJnP0lMwNqbBr8NMUXo6dM9+Mr6DCScDVdstl6\ndE9/6WIafH0/IrzTYtGWmoSye9EQUSJQfk0zUi8qMpxo6j8oly//4ZD3wv5b\nPBXCNkkOx0PgfX59/EwxDbNokn4LsybsXfiJgVs7VvN1BRn5z9vm/gex4hjP\nR6+ZSLp7Gse1paa69jwhfn06B9MYgbe1pkEP7ecqYp/KiSAKSN1jeFgXPTfo\n7/tTMxLumFXYKK38z2B6SSfIBNC0upfCn396N3ffYIZ0fzAzCmP06K2I8C4E\nW1gY8WzXOr+GOCMTg5PiUfQdU+0arqmiggC1rwwsonEy0In3brf4FauDpKl/\ntHDk2Tgv5PNtrkmIay9QPU1JBZhL7t99/XI3eERy++hNyWwdyZjg3EaLk6AP\n6nPTHSNfsQkljuJDxb6sP1XiAopV7OyS9jS716HS7Xi0CDol1hV8DXVo4dCg\nn6wxI5MhfwhulUaEFwyZkcgYG6+hl2LZmsTQgvd/lUEY6TOd+SRnDDDUrsvu\ni1al4GNiHmt6FJVOvNaGAtseyKHEViThY9W2oZRpCTNj9C0KgMvNgzb0/RHE\nJvb0rNkuE8SpsgGmCAERoM6TsbcY+qHe81RBiZlOElHvuGgO57ra4HmQc+6F\nzsgu\r\n=gFJs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA2T05rqK71JVhfYCPvBHQ/mLyUoDMWB4L7eKsE689BYAiEAsT5/rHO+aPtVGJIQ9fXWfmuigHi4kU1S/TZKFDxdOqo="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200410141609_1586528233968_0.9191426184634612"},"_hasShrinkwrap":false},"0.20.10-20200410165421":{"name":"@accordproject/cicero-server","version":"0.20.10-20200410165421","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200410165421","@accordproject/cicero-engine":"0.20.10-20200410165421","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200410165421","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-mwQoZxSnISriso4S1BRjoNMU/R9yGiLani+Vo4yG+3/5/m8OD5DYu3Pp4+I055sEF85tNB4oAAO2Jkg64mplRw==","shasum":"cee65c09dc7d29ee742484c870461bf048add11a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200410165421.tgz","fileCount":49,"unpackedSize":180773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekKT/CRA9TVsSAnZWagAAcKwQAJ0nMW+JqliiMhgfj7LN\n9ZDRsS3VE1KGa/IB7Mdg6ii/ZwmXUkWfpxezt9/gLOTUjCkiVUSee2MSwW7c\nBr7fInoWOo+H5YXLIAOLHX8rPNJF/ANCq7dTXqQYlR9ZdjA8urbFv5Sww8d1\n2bfuUE5JDYdgtozc7nGmvsWvabtkLyW0PkfaJWa8vyz+JGqNAuFfsl7tbvU9\njD5l7gH0LFRGM6K/5YBSXcgAoRqCzNr3+b1QUX48Ovkcqgd0ZDE4xp9rQbDJ\nAHfxD4J6FT3VxTRybh3hN+GxPAIdC1Yo/55xsiXUH6gQW3LJLKGsos/kNOpU\nFZm9azSG4yEfLwcZ6IDn2X8ZlwQbxA9jrOCw91TFU4LMdRHfE+BIaH1xzYnq\nV7PbtHork9F9Y36t7FBRc0Py4coP+u49cjpeYCg8tg8krsmng0TW4v0Pzi18\nzkHgEfjbtzL3p31g6D3ZzjEVT9xsKZ3H5tMzyw0/UzOfLRkJlKhg0Ch9y04h\nEgTL2srPcQS7i+KXbuIlxLNhzObWz+hPDn6xaB0hzX8NLqOV+yGnYBB2zEyC\nF/zaSP4aEOreD9L6cTu/O75fIWdVBAbr9GXIDJmS4BC0XkV+C/2DxwC+gVLa\n1uJPyHYsOWWll0EUWWGIE6z567RVtAhVhx3Tzxn2OChaZLcVYx/m86iiuteb\nXGEA\r\n=H/3y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBir3RWJZ1cSrjzSBicSUgXH9WxdHH2OSEp7b1MR5SX1AiBtbYBD2tMaY8s5+9czUOMnzbKBKWdORuDa3C9G5ACk4w=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200410165421_1586537727500_0.316937710524992"},"_hasShrinkwrap":false},"0.20.10-20200410172145":{"name":"@accordproject/cicero-server","version":"0.20.10-20200410172145","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200410172145","@accordproject/cicero-engine":"0.20.10-20200410172145","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200410172145","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-LL1++Bm4bPdO9MQxFbPLnIPyyku77WRVnFqLfIILeqBD03N8wtq3XSvKp4XA5KiTgnuASysrKvglDWgysbSxWw==","shasum":"c3240a193403984c53f32c5acba1a3ae2c8989b5","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200410172145.tgz","fileCount":49,"unpackedSize":180773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekKtrCRA9TVsSAnZWagAAiCwQAJ1inyN3BoRkjiupx9yV\nF4eM+T16g5Gu7vHWKiNdstADrJl1TV6ZQRN4ykS0AuFe2diEsPMSONR6qO+U\nwqLu1yr7g6AVWKA0c9rckd04SMa6cyawuEoCXKvuVUOEFds0esTeFiawVNAZ\nXHLbgLLjnoJFK077+gN3cgJ9NgVWHwixOe9VAGPEcCEXlyk2xONV630GL97s\njcmuuZ9bFUu+EW9Lpv/LmVrJiikEpcEs7PhH9sUXSX8RU2h0rNfBRmKCrfz+\nyVMtciypIZrJVGA+bejoNyatVx87/Eavej8UcQM1a+8HpZdGg7LjevkmfixA\n3QIGMGLXj0yzQSR4zxIodDkVmHv/Vi085iMr48yw9kgLn3IOYshQp1SuVvga\nUmM8Iq0tunsa9GxeNap54YHXweOqF8/G0VpsdMGliBgZrY0tHrxQ1wYvxZRU\no9xmcyEvZm51QDei0vaSb0ZwfqdIT8zV41KGnNV/e2duomLg03D+tqHcUNvc\nHAz3AKAkrS9BCnCoeKZMJbe1YAxQ2jBxus9zz6i2TzMaYU6vMqauLiRUywd3\nQDP/Y9jD9wFuTAnZnVDjgqkbZaL6OcLOGwnpGbrNS4uRXeeq7ouLTEcqlO6B\ntaaeKrkLCiVNZMkUTfPSLkZxD8ffWgsj5mkkRRoj1TjNhlR6nMk/29r3710D\nLgXy\r\n=WKja\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCU2PUPrR2xQvEYWuudP0iwkX8V2hhSgxPMqfEJzz9HsQIhAP84xc2xu9v/DC41uHZrWCNDKOJZh3VogwVq55WlXZA4"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200410172145_1586539370647_0.39180141645495614"},"_hasShrinkwrap":false},"0.20.10-20200410181244":{"name":"@accordproject/cicero-server","version":"0.20.10-20200410181244","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200410181244","@accordproject/cicero-engine":"0.20.10-20200410181244","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200410181244","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-FAS57gd+Qhc34VfphS4FcMvvPS9/SXL/dTMUwn/sQxP2R/MOJtFf/ZXb8lQedPJo7gJf8yDOySofsLee4WzWrQ==","shasum":"7cc5f1a30199d3bf3d33da169026347f5992f15d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200410181244.tgz","fileCount":49,"unpackedSize":180773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekLdaCRA9TVsSAnZWagAAzNUP/31b9hfb2y0EK4PLAHZw\n/Mh0AO5Th7SDq8DjdmXBZfpVfrOwOuSLt8tFXIqrFeAUViEO33MK1j9VPHaD\nBRkj2pgG7raPpDJHoNq/LlQKpVB3rV/oN8zlygwmYSKJ5osoqRuPO6P3/eO0\nl0hnmil5wsKu7x5XHGYi6L6NfREli2vp9mDc4BDrKxsA0bhmG5E5LoMknlRn\nkRQi3GT41NteWyIRDA8S3UvrZ6wU2A+5CwIVeEzSqTgVdToqfozcB/2EY1jE\nOmPjU41/wGqJfelgEhN8CDHned4URqlPtTfVEcNS58+4yq1PoS6NJfgaJF4s\npdfagl1sqMMBnkJWQmylwSOSM7D0pZlgrN4hcbKpiXLBRIZw8Ey3AwFBGN1a\nqsNg46HGz4qkryFSaOmpi/P5yGKkC1ItmIiH51Sd2T/AfBMgptvsJS2JiBPx\n2SS5ZU6MGFNclxC+X9AZELSYW/E55uKbbzjIJGHPXYj96kEXx0zDP1H/+I9w\nYPIGJ1Tg2NqzsdAwumTiX/yifRGNmm+CYhm0JUjSEWJDkkpoXYolGA6x0y6g\ntequj2L0MnhC4Ftfj6PiQ8mFaCvepCF1cbSlOpQGxHq2N0HXgxbu7Rnvqz9K\nyr+CsyATYPh+L9f9/rKxfICystB/WJqqtOUULC62Icn5OyChUvyiz8cwC4/Y\ncHcU\r\n=qCr/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQTUceDdL6rTTtnzSemMUXCPa/lN6DO3bJZDC/2pO8+gIhALMfzrq8VBE3BafwZ9II0LlIt9eLSJbZo1KBpIqqfDVU"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200410181244_1586542426010_0.02079100469768913"},"_hasShrinkwrap":false},"0.20.10-20200410182359":{"name":"@accordproject/cicero-server","version":"0.20.10-20200410182359","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10-20200410182359","@accordproject/cicero-engine":"0.20.10-20200410182359","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.10-20200410182359","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-mtTQe+ip8GPDGTfh5/fVcNLF/8PncHS1BlZawpnRDn4rXeBsbTyn66bCP7AKMRxOC0V4xtiQDIOjVsDDdNlYAQ==","shasum":"bedf2ff81de36129c26c30d9626260cb353e950d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10-20200410182359.tgz","fileCount":49,"unpackedSize":180773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekLoBCRA9TVsSAnZWagAAWBAP/j1Dl4Jv4PFdJfFcR3FW\nUyS6NVshYayViEK6y/bztwhOAMqNTielfVAeeV8fnWQon1cvYrpOQ1uCjdhQ\nh6HqNl3V3OYILGk/jXKx3WFUskkIyJdaAFPbgT8/jpVTdFJVD+wUnA4oPcp9\nuRU/94KO3mVrLyT/zD276TXGjpKeezJfO/AYgDFrzYTa/PIJoQXtQUNe4x6V\nsVuepE+3oMQa+YOh780fFbffB1fawxck+2wdvVniKZ7cWG3QLsYQo7K/KwOd\nARnv8pbcsyV5DpW8sSlJXvv0Q8d+0UuuOwP3v/bgt6IoreN/GGr6TQ3p/9Ot\njw2fCbyg9Pht2HIUQ9TJX02EPngH1ZWKbFfU/LdDz55OGuT0uyaSX0NMgDTf\n2WXqq9SSGYF0H4ckuDEd3ypIX+p/g80XaR3HFs2cA3vNc63sTOCpwDFLckNY\nGZIVk0TPO94Gbg8XLTcc3sjDAeptJiwuz5I9tz6gJoo6Q9RQa21oFdhpz3mO\ni2sC/5mmTfn3VoRmVTQhO6oe2qeki0c6ySAKJphcvKQu4KIUA286xmuNkpzC\nAcuDntZafEhM2n9qzrG+9J2cOjNIpmhZ4CKp49Mok6FZmhHTbVB/WvPPpMJC\nIaeKqaDWCgAq80zHFlKWyYqMwGzNUB4UIj+77MeEb1+h1yKBBUDoQ3WRztHX\nDwAc\r\n=DvhH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICp+Q+bPvVF7Fi5AiHch6E+15goONPxVxMzwcfrS94SAAiEA0qvhrdUEIfNWzmwyKuy/xtNntJoCJ9RVr3lZlW8Xnrk="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10-20200410182359_1586543105233_0.3868610957360481"},"_hasShrinkwrap":false},"0.20.10":{"name":"@accordproject/cicero-server","version":"0.20.10","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.10","@accordproject/cicero-engine":"0.20.10","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.20.10","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-dNznqQMq+t73T9GWNMhoHNImjF7pY6tl2e0N1ooZChl+fYFz+r+mVsB08yD2u5kckxae8QOTcNxyJY97/VK4gA==","shasum":"e623037fb218510628d562f5365aa69c8ea131a0","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.10.tgz","fileCount":49,"unpackedSize":180728,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekLoiCRA9TVsSAnZWagAAFZEP/ih+egiivE4xsITxLCID\nDo0tHAEsyUyj0gW2bTDC+9aJDN0Kb2IzzEUXiTojNBYzNm7N6s35N3IjpJGQ\n+8WMbLFhvoBHlExYhWSSeL8ryIV4/yqAE1iR6k/PeqC6m98h0KgtMZBnnCCU\n756qud/q+eAXUGhDw93ZF4yrz9UJO83D6IYaIN9CcBUihXeffu2B1u1A71NX\nPFJmXn1KJCK/XuE/i7A+yxiiPx0c80DyAJJo2njLsFWwRCEHbaJ+cQrmT86E\nSNq7NsMkElDVsnzYFwJ8+EIZefGCxKbrNkHZzM9bRYzCSLLgtPO/x21pR6ar\niFph2lZr75njQhBhXIF2mx0al4U1NLerxhseOrUcp35+/mV2DJZEQwMutMva\nGPpw4pH2f2aa89sqr71SPOxSfTfuRmyx5BJWUbVHfU0FVfH5peik7++/8pv8\nsTyR8WKqIu3Z/l8pFoOq2BX1rNZae4JQEwPxCV0hRSGK8T+nC2dFHOogOt3l\n6AhCLeImAm/NlDOFXFmjrWTniDgOw/p/BpO4XZNNWhz5Ue6KtNiF3Jkj2alt\nRSEcMJjsVPwGEFdun8cEnBNYLM2QJC9R/OxmDDR1lIHcQtLePVCvMTdqw1ep\n0sEzwFnzBZnxInNoqyxjKOr+Q7VdYWZ93gM/Q/KLjdLPQcUI0NglTxhAteQR\nbGyC\r\n=ZkPt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDbpZqqvl4EvKUnA+2VG3y7a4KNviHpeFOc+vhj/YlzRAiA65+4pmHMAPvAMJMAuqEMAORklK3r6bzcR1vW22OCfQg=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.10_1586543137999_0.7425844161503306"},"_hasShrinkwrap":false},"0.20.11-20200410183245":{"name":"@accordproject/cicero-server","version":"0.20.11-20200410183245","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200410183245","@accordproject/cicero-engine":"0.20.11-20200410183245","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200410183245","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-a/PiGspM7uyxZBkZHKGvAV0mAMfF41iwbYzpybmmX5CxhhchwOPxB1mVkCeN8ks0lInolNIoYtcRD21qO67xmg==","shasum":"12ee91646af5343c9642e0f7464d0f05d62a1d5d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200410183245.tgz","fileCount":49,"unpackedSize":180773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekLwLCRA9TVsSAnZWagAAk1kQAI1LX3kOd7wB+47MTDvU\nsCIvNPQlhvfNRg3+3JsRvbBZ7pqL4BRUmvYe9sRq/+Zh5uL0/7l8RuIqCYYU\ncwN48JvVVFVgTaeQlz3JKJ3CK74vewIj7RzAY1QIZMqxoBKLvo9FuCeLXht3\n6kR4JHwc9p9LEkGWcyakK4XJIsz2vYaw8B8HHiFQ48R2+J9MuTjpqX09uHw+\nUFT/kVXTo9Vk8xBkGOrMq9kadC9PeNZQDr55xmfNusF0RFVEayuMMTCeTRl7\ndf69KHZ5BGwGFh3haXp465s3fKh9M+ZXLzZ9zP9XgmJedqp68FrNm3Pc3OhA\nK1BCdJsn0/aPExEi4BKTPyWJ2g9axyXPz5/yJzKUGJH0ntZTNv6e6p40nJUp\n7HHlh5ub9Ch3OerQcfhFOdzyoYBV6t90236tR4Fsg3Bq298DTB5411/r6mO9\nQ2mp/sgYI1GT4n+eMVjmben1xu2ClEO/5zoAR6zSY07tbr3dhaDwz/0IwgcO\nM7Uj+cix+mcfFQSD/NqYQiRUBiTo45eGkeWLbPZRmUskHPJdexlb98t5ldLb\nJ5Lc2bb2iNnEVNxDdMiK0fZZUFTp6lcsQin4lk0jW7ybGzMIfT3PgOhcYCJL\nZoJPmrZUX5MpA/lmEukZEUnx2bMe/9lDVNEKJTlWhidRIZle19+R0kcv5YtI\nRC3s\r\n=UuNz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6ykatgqEG/FH7l3RcHuM55aIe0KkCYUrelPiguieSRAIhAOFc+UflfIc6oV/H1A6/kmUZ7CJVXgrYgfhlv8kMvdsg"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200410183245_1586543627478_0.4817247514799625"},"_hasShrinkwrap":false},"0.20.11-20200413151148":{"name":"@accordproject/cicero-server","version":"0.20.11-20200413151148","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200413151148","@accordproject/cicero-engine":"0.20.11-20200413151148","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200413151148","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-nuOh+XcYPUjhVHjgugypXEF4R3rR9m9Jxzuajoeral/Zacz1BqOlKbPTaxaN6xiqsgGyEEyKRP6lnnz4xKyiuw==","shasum":"f01fd4c4146970acfd2c6e69e043e0fbf9a7b41b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200413151148.tgz","fileCount":49,"unpackedSize":180773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJelIF1CRA9TVsSAnZWagAA64QP/jnZCNEQmaCMuUyMaPDa\naFia9Hl0aUGuYMSdga9JVXHA5etGDzUl9rZ7Jh08sSDjxA9icyjUTakPvuII\nnNhhEdltj7ecvb5So6pD2OyZVl6JtJXdpwUvofokV31DRy/WT0zEf+BCMJ/A\nYIbMkNB3h2jp6zf2tF0g5817lB5jX9wka6xrW/EfI7XyuQ18+ExdSb8g1xVa\nGoKMfp0Sbgn48WW3MYJXpfRqGAFzeNV+mxR/RODWOcnXXdx6tHYHCqTWJxiy\n+VcXk5AshbGEAg3NQjWjgnkE8krMKwCuMGdqDBxZuziSaImlqK/+hG0llsYX\n6vvXkxF0gBqjsAXpFo8YHaLtEEtArjnRP8zffFaeQgrXit3XTzswf3o4W7RI\nRsDDMC4RaxNBucQNMapwx7+cxwono6W34PZpVHiu7ELuIXPUfXTlG2kwLH+E\nrL6hJ0+BDT6RdmkkVgPZ18arwfFgNrbsih+f3QSowPoG3D7Hi2oqp0VaTJap\ncW6yZ1u9bDptXMEyjLe1lKR3bmx0JVIH0EZ83tToJP5xtt+usYHBNv9WNyQG\n4AyqY0Bsj6gKkXcBmja9zfBCKTf/5rc1KHfW4yQAgeHAvZZWlYYtBn0pGJgQ\nfCyvjCwZideOT+VTToDU1bfxWeOdBpddA6kjBwTznJJ7Xt6SnfxN4/kNUMn0\nfI3V\r\n=jquw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBWQEDoeJgiFWJ9c2EOazY7ixGV0YTFgCEoThm3CJmS7AiEA7l7Hhmi0PFEI5HQlZy5tjZptllqyEeaKl7Sy1xeodJI="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200413151148_1586790773142_0.78700787222167"},"_hasShrinkwrap":false},"0.20.11-20200626053054":{"name":"@accordproject/cicero-server","version":"0.20.11-20200626053054","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200626053054","@accordproject/cicero-engine":"0.20.11-20200626053054","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200626053054","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-1bYrc3Wc2wwachxuY4rF/eBgMQYR+LUB+cZEln70BvNzXLuQoif2boKPIH/ygAytMV9EG6ujufdt9QR003nZtA==","shasum":"d95bcdb6a729e0367ab9240e1af0d5c49420068f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200626053054.tgz","fileCount":49,"unpackedSize":180904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9YhNCRA9TVsSAnZWagAAqV8P/Rah48PAQ9PomcZ3PqB/\nODWOzKAlgyuoASbbdZnqHNgE2lwFu1zNe5u0XNH1GKTUgmSqWAJKdubPOg1Q\nEt2eTBMgg/BdNjvE9RmLdkmcxdMmiqpX3tX4tR9aXejJICjE342mcc1MbW1X\nu4+q4ny90wTUn6CM4b02RZOeSS2WH67sxQjRjWPX5A0dptyyslq6O/Z9h509\nKT+RQAlqCqjcF8u+Fqj1d00+64it4uCEWBB3Es4lk5chHiGqoLn30Vrt5F10\nH7Q0DwSOfYov2PrRNof86Bs3WTmvkKbBLCHQ8jemr60emT46WvGkS/gz82zn\nu6gz4neHxauLgMyGN7A4OAFsuIXgqC8oNgvGkRibEPfQSMjOc+FWP7j7AakE\nN+9LvJs8TwpLtT4tR4yp+xX474bXBbHy5dvTb98xtc5RBpWKFbcwBx8/TrTC\n/vPQ/HSvTQ04GA3c5TE9Es4B4Sa0u0Np3B+eZu/5DI9+u7CSnBaqRuG9RoC+\nFcNIpUvKKD2unKQC7Z3CweCARi67d4UdDALWF3ujJXllC5JQNm/KQE5GzZrU\nQuV52QH/YdtgfWm2lCYZDZTBX1bV1qX8VEb6gYyMZ86nwOnbTFtBEYT/09Ws\nWthg9yYpRMPQ+WtC51fZ0UNWuLwVNf3jFRRcnDJ6Q86tfLbdyjXstkKdPjQf\nXmG9\r\n=BO+B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD034X2e7j7qSuuwZKRpSU8GIanqXr7P3yfjaxndluBfQIgXI53PUp4ue3aQnDf3zGtPCjK773DwB7JxroRncoMZUw="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200626053054_1593149516720_0.6683352985841611"},"_hasShrinkwrap":false},"0.20.11-20200626165149":{"name":"@accordproject/cicero-server","version":"0.20.11-20200626165149","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200626165149","@accordproject/cicero-engine":"0.20.11-20200626165149","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200626165149","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-XWp6yMCc8leuoBWMBdzkrJuqFk7QTR5OSJwVy0vZZCN3gIgefAALfWbOm6ANuyZMFj5GMZ40UPy1zQEFTGjtpg==","shasum":"a540b68a5c7602e6787a26c88ce64bbf907e5777","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200626165149.tgz","fileCount":49,"unpackedSize":180904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9ifoCRA9TVsSAnZWagAA5ikP/1H6mBkaJbIqBNAILIAU\nB+vzoH/stFAkR8/VbAM5KGKm2GPvCnQBNLH+TWrN0Sd5DW6QHroXGQ3zzZLH\njFaWAPGMWizP4VWfXyatSODcW9tjz1Q1GyABvh0gNrWKYJ9ypuXbqLva3+7k\nf9v4auGDk++o7/9Z2LSK/cqQJlvlyIeeUiB6dJyK0JeciqSw5VLXvh8pqEHb\nD2NMPDpD0iB4n46pgrE3S/5pAqn+Fw2b9XoVwQBCJtgfa21IPdUTX4/9dPXY\nsriKEQnisFcmSyWvD+ULPZr21FyZP7ag9GbY/9bhJDugTIrYZvuaMMXtBz/C\nOx2e6lzc+OWhCxciUEOzSrY5LKTF8/4slwfPZcMlaqGtHAixRftR+5IVmM66\n4TPXQX7FdIbh22fMLywG9yCq7aJeGYOWU+I/F0tc0aHDA6Df2JMfxnXwVLoO\npApkGu24Kz5HxpUqJ9zIxo7ey1UTQfBzclAUTXdTt8FyXskK/OitU4cwJAmC\nc/poa01DdkW7X0KzmiJeziLBJOptE4Nszkv8a+3NWaDqiJBhebuZ98Rh+8dN\n8pRqd8+hxEnwd9Px3MfgJkxVyW6jICYZXgKeOrqk0LUv8HV3cTUeoAIBQqb5\nchQBbHXsCJlf/Q1hfLoX2H4FZTBXOeI7Ll3yK7dveMPkhJJFz9j/By6ezBy+\nOcCB\r\n=ykuy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBej1UuS6J86u/YP0idietZO4/Zz1xb8itFe2wR0AS+nAiAFYhZcySzByQ1yTPGQciElhwZIoW4GK6FPq8wM5sqoCw=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200626165149_1593190376413_0.9300207485925713"},"_hasShrinkwrap":false},"0.20.11-20200701050006":{"name":"@accordproject/cicero-server","version":"0.20.11-20200701050006","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200701050006","@accordproject/cicero-engine":"0.20.11-20200701050006","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200701050006","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-5VLr6aNYg5rZ//LpFZwwXKJky6cNMsjkM7BFQYWQtwPbeFKmGfS4iK3djeuVAUEUagIL6UUUegjGgLwAD22SOg==","shasum":"e78801cbcf1abe58c159d23cab3feb268a3ebbaf","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200701050006.tgz","fileCount":49,"unpackedSize":180904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/BiWCRA9TVsSAnZWagAAnCkP/1ZcPjfaDKBYrjPrqcoz\nxpAQ8Av1DEX1Exe+23k6FvWnse+UBJNG0owsa2tzL38Gy7K6WqXkLIUVjG9e\nFUZsr3zehbD/CAgNr/R5pabgjoG+xhxQvdjQvPjcEjWh8TkbmsDwv/AW/LMB\nDVMsz3VKdvjDu2KDtwBR46Gw4ev01rNyCQaDeMh7PfAQqmSuzk2F//IKCW6A\nR+m8IKZie+lXE57621fcC2eKNJx9rCT469VieRGT9HEEIU2SaYPDSc7w3trS\nHZzYPJ1ATKoQ2KD/8RvtaDA1JmVm3aaK/J9hHjoLgpEq9jMiiDo+nEA+2Viw\nwmeZCm+nuxgE/ysyrvCO63IMsoTLsC4AgL7veqH9u62sokQH6pEfqgKi59Rw\nZ+Obys87KdOqaKnrFNac8G7i7UD+fq6M31JdhhOEvCSkYAP2O5Wa601Fr6E2\nwAHcr/hi82N3wIQSkEJA74+QuPjg7zP6FNzQORBdCXNK1461k4khVTFBPNbm\nvV7xpgLmqmHzHjG6FEl5r1zeXF9w1B2AJNUFn0jQWGuzxNfcjjh++0iPJmFN\nAh4MgY+ny9pbFaLkSwd+RjRtFd135rTzCvqLjlI3id5OFU2F2K1ER6qG0OsF\nhM9Py+xBj1BuTu2HvfoVJSGERh4cGzXKxkaxoHcuAsR4xGPr4TF6SVD/6cSi\n7h/m\r\n=kijx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID8aR43cZ1fdmJHoU9X16OBAQJ91o4RC8xqfbjHdj0lVAiEAx3JdXeV+dzFiXwZspbe3hMzwRYbhwV6e/rfEDyjOrBg="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200701050006_1593579670461_0.04597325083814052"},"_hasShrinkwrap":false},"0.20.11-20200702202324":{"name":"@accordproject/cicero-server","version":"0.20.11-20200702202324","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200702202324","@accordproject/cicero-engine":"0.20.11-20200702202324","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200702202324","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-VgYZ5CWMbkbJT0iK/DoDHRmEaN4k09UG4zxQhBJBmSjpvEyB2pvlO4uZc1UvgGHnp0lmIEgna7hBqMbIXaAq0g==","shasum":"e325aac76176375018f4eb2fc89e685204191378","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200702202324.tgz","fileCount":49,"unpackedSize":180904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/kJ5CRA9TVsSAnZWagAA8BcP/3581HeoVCKsPlS3JZrA\nFqQrK0hJpskW5He/vCK6j7pAmJICGRD+V8SDgfd7nAfYPPOWytpYcpMK75np\nGjNjOQLD9NRp5izEHz8hpbz/p8ppOzihIf+cqwsAy9csK5Ot1DXJUnqTFAdu\n36C8PrnwSO1lLiCEaIWAcLN4CbQxeCAB1MKhsMzxkLjhukcJRdwtfEizsjMN\nen9LcfnERi3yrsxog38l6IMEkc77yW11UCvNajkVT0Iqe0UcpYEdC/XSSfqn\nqX+0XhNzPw+YHhp4VnwuxEw1NT0S417UbnyXtQeKWhNAj2QNKzAtTusfzZwd\ncWvzSwPnVVlWnsU+ZnD72ekTNYvNM1FQS+vHH/nflhkGdxnnf6NqJbPKX7dE\nffyZYYb3uZ7Owsw0+17WVukj4s0r+pRW0DQP1hO405RfZ9Z6miW4Hu+IyffG\nVVtvE8Kc2bP7mzgSp1PgwW6PEbeGp6XrpbQDVvMLb2+L9rcRczLRZVwVd8qx\ntidKnRO8Nvixrtrc3MRdsy1Y6ouByOzmaKQMzextbLfQVy84WoeXdnj/xq94\nUCXNI3zH7XRxSz7vpZgp8T3ZhUo1SLeOxkipzbpX2U5/FRjfbC7+42qTrBj8\nwoSNvRN7WPB+ZwzX1uyzMVtDmzwp022+S5Yv/mig+7oxNmTPKwpUuM//0ls3\nlROU\r\n=M7ks\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDarb3nDiDqw5CSGlKXv2LfpkNTwv6nAvoU10vfniNc6gIga0GlSHKJr/mdopo1T3aK/oiNcY6q+hBfjv/oDLGIzO8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200702202324_1593721464864_0.7048703024160927"},"_hasShrinkwrap":false},"0.20.11-20200703171530":{"name":"@accordproject/cicero-server","version":"0.20.11-20200703171530","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200703171530","@accordproject/cicero-engine":"0.20.11-20200703171530","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200703171530","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-8JKmWfSGGjAbrexNckPgETkXw0tLaAr5yHsohsdjjL/qU2sxYSNEoyWPIbiEjOaVOWEZKrbgNbDGn028HW7pYQ==","shasum":"8688a354d65ee739c8ff9c0815a3b03c9c9ad44d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200703171530.tgz","fileCount":49,"unpackedSize":180904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/2fzCRA9TVsSAnZWagAAyHoP/0fz6x9mIGjcfbt90Yz7\nwdrsjVr73fLWVnmimHL3PF8FUEIWyHSBi3zJIwJ7kPcTHmqDl+Whc5gl+R90\n6O1KsXwW+vF8O82nk8F7XqOeg9DurIoEe4oY+5DrfvI4105PrCGLhf+Iddom\ncuO+cKnB2em+Asg92zsgXgMCqEiYzQJZb0iMuklW4utEETc14UY8cDoYN3sH\nJcMENhvqOV0Rryf9l3CfVJ/zz9gfSe3/9J8fugffOKqiBFK+HCM90c9G6spC\nVQeXyrAWiM8yKJA+//Zj+jc4WUkUTNR8x5onMfgOEERg3qo8bgPfF+SJqKZQ\n94gKl69ti0mOtjj1sNKuurZjWpUHNU/BG5XHLxGNWGvjJ3oRukwToNqpWF1L\n8UOZut5aS0Z+ehCTfC/7x7hh6GstT3eTnZeew6+noOp9/hlM0noVBJF0/C6R\nqg9U71zik6nkJOiPH5mAAP8Rns1hCoWcVzHTdBnZ9VnnJJhPHPoNByCLOpSq\nsNyx+ZjxOONAjzJTM+E6VJZ/3C4ETk1enoiJaLay1tAJBEtZNV4K6S5D6xm3\nQLwtA99KmS3fCcWZx9wi1vGGba1N9x2BQ0arXshV8RAN93EUqFrcRt/ERjJX\nMlg+mIvGIkdk1HNtv03kMgPBNq2zOGU7BB6vjnDOcnS24zB156nQJnTa8yZH\npWVg\r\n=/A9i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFSOlZo4LwCnwNQga9bG1sNNpn+dxFxN/QLPTiG+xUWOAiBfl174ibMnqm9u/ojmo9CafPqb/kFt126EducPiKx1mw=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200703171530_1593796594570_0.7874966132612435"},"_hasShrinkwrap":false},"0.20.11-20200703203333":{"name":"@accordproject/cicero-server","version":"0.20.11-20200703203333","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200703203333","@accordproject/cicero-engine":"0.20.11-20200703203333","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200703203333","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-FOc27S3XwTdtl5PaEDno0THV/cvjSj0uZQotlaUwaf+Oa1Tfbc4QWzN8g3jLUkFtG/vCNi7/xcqCGR9peQzXnw==","shasum":"49fb1c58ab79370dba3c365e038fb7b3a3ab2c3a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200703203333.tgz","fileCount":49,"unpackedSize":180904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/5ZfCRA9TVsSAnZWagAAmUYP/iX++oN3ScrFoNkYo0eV\nKfoGHhXarhx4hHl+wotm/tvJdTjiNCDpvRwALCaAXV2Hmknx2I7h2EQE+RFF\n8EaOV8Ws/EyhLXB86GNewwczGGtaVTeREJUE1SD5kdJDGlROzk7+MIm7SsxO\nUAs2+MQAhSXG4bptXHx9Wzt7btlFWlJTvOQ2nTL5pHvnZRjxNWcwSxxZmgXi\nXLjKBxilZrJfBSSj9GFDJ2iSTP6/5yy2SjvJZ5qzXw5/+U6D5m75DJ3JU1LL\nQeMLWoT83DvHCUnpFjcFRqrnOtQ/yweV6Din/Es9NHYNb3muam/jqXW0u/LM\nxXKgTmja/VM1k20k/0dgQumIKu+mpjIUb6QFmqPvmfZtXBeZoCKDbp9ClDLb\neFqQ4ZCgUuGfQQlUb3tteaSBwncx3AMma4p/5ESyA/+VURwEm9iaahG97HKD\nDgZSo7SQZnraaKioA7Q46FVGM0PC9fV/QkU/l6qGQdtfuNPGf7y8Ro/9SFs+\ncrNRkTFnVo4eEA8UmretypSVW0/xA5cHXEzsdH2asamQPy6PqwKP87eoyUjm\n82yGLeW634CDHuZ3CBs9YvmaqJ8ZOrt+15IlxR8tpre7TBgQCVCv/n9Ohopq\nfGLddQLF+TPvrzvRjJGNZew9fnfMsPOeZsNG3subB6saeLEnOsen7IJyQMnl\ntyCS\r\n=PF7C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPIB4WNZML8zSQoHmCnh/abkmVDTTPiO2fX4GjwVKgKQIhALSbaIjoDsUnkU1+pxd8xVxUAdrZwsgDJLLWJ9Wjzi3o"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200703203333_1593808478857_0.815862390350117"},"_hasShrinkwrap":false},"0.20.11-20200705004745":{"name":"@accordproject/cicero-server","version":"0.20.11-20200705004745","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200705004745","@accordproject/cicero-engine":"0.20.11-20200705004745","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200705004745","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-BiCuqCOtVvhqbRBD5JS/yKnVsREFl66FTHsHqDzzlzqbbd96JUnc161Y8kQCzr/KTYrPLoys1sPLKQBlEy7WxQ==","shasum":"9a058b04c0f8e3ad19083de13b46bbfc45203670","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200705004745.tgz","fileCount":49,"unpackedSize":180904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfASNvCRA9TVsSAnZWagAA0RQP/iKaWgIfAJrNbR53dxq8\nRh6mCpS+oSh9iI7A4PXcANVmL2AkvB99n+e6wiewf7mEfHmyP2eJXfrVt9Uk\nAx/uefGmQbLuuEPixDYWMc84xzlftovHf4udtFqXwRPjUepCQAzAUDq2xe4l\ndAeA/O+ZlYuV6gvMeA49sj9Gw6bPANxZAAtY1rcjkHARl3/4UHe5pJDIJK86\nTTZ3hM1uqqxXMCsV7qrqromFaqJidtZuEbQX5Zg/rU+ww0jrLoMtMjGII3j/\nVXxxW4fC/EV4cutrsq9yWeSxipdfP7H7YcyMuoQe1wJuPq6x+95HBKVHHzJB\nej568d7M/pJ8pbJCok3b8pA09ve3vmenauUtBNQDk0WgvHWenCCiRei5CsxP\nXPBjTq5Qbxz5KUW2VKDUnh2miHNW/LAw000pjtJ1llAZlrOSMCep9MdbFn5j\nM8TUEgEYaNKjgmkDPSYOHihoSXmphnGGE1pY+twjYKPBVTzzej3IbvAi+X0k\nLvus0bZzvrN1Uzs2i4vJgb4NkoODGITl2Bk2iXjTCQcopnGTlTHUtOLjVnK7\nNGK0MZukauz7+SBpL8A7RuCHkZ/rd8O1oWxFwUCAiPnjqXLEabiR3bDUhjnQ\nNhcbiYTZReZVr7RgegEGmW2xT7/GWoa+1lqhadvG/K1WtmG0SIvjZPpmLMPo\nZVdp\r\n=EqTH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBQ+YHJV9/duclSUZPVz4+yQM1c3mjnVelfh4mDyTy3AIgRI6+6yXbt1gPwJmzTgH4C63RGt23rLxNh6uXJapV+BU="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200705004745_1593910127135_0.12899327730164445"},"_hasShrinkwrap":false},"0.20.11-20200707010400":{"name":"@accordproject/cicero-server","version":"0.20.11-20200707010400","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200707010400","@accordproject/cicero-engine":"0.20.11-20200707010400","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200707010400","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-oYdFdW8IlKky77ZvqjCnwKIe2QjYJhaKd9ByeC7OV3nsHvhL8kkyVSM5qvEgx01uHsJuc2GhRLEuO+47hatJQQ==","shasum":"300842ad8fc48a19edf4979681dbc204174de90b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200707010400.tgz","fileCount":49,"unpackedSize":180904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfA8o8CRA9TVsSAnZWagAAIY0P/jNyEmKyJbpHLoud0ite\nWDcv0WUmFxT2qrSTA20avyViM+UOAwnHD3QOre2hRK4QKbKXMt1Da8wPQbg5\n8OSjbu/657ju9d0IanrvW/+3Hezv+PdDwt88tL3j93Lt7lr/lQbZq7B22iNM\n3KLFVKTHSHQWcpsrgvOG1Xx/P1eJcU+l40q5qBsgLUuu9SQlDgTKA3iwnKVe\nzp8IdnfmUSpYQ3WgVhfsP+AVGAyl3NbQTv8eYsGK7/6C9YWzGfv3WSXfxeh1\nsBU7G4CRP718m0b9YqFZOHUnsW+Kq+05borZVn0ijXC7QHMcL0AKDFbExM2+\nOuzwNACCK9lwY+HBtzKeKoDZ2ugdVZMJ+NDaGECPKfTWufF2/TrmuihdtSY1\nWavMudgAQfjrFatWisDdMt9Vda5gRsnSv8lERHMJhS0/1V0t3TUznmu2GyPU\n3oMmkftW9QSxg7pFPVbMyx1h+dZoN2mLlcs20yLcEMp7wO7SYphyeKvtcCYB\nUP9e3MTizxL5sJe8nlx3glsqP0xuyZqApjsfWaZtVfuc8Cw+ol+acuTwLZgj\nRMOO+7iqeqc6IYAgcVSq+v2iAp4gvwCqMm/1ecW1d+wAICEeqBvEemCGM0QS\nQdbFCrCbmD16f4I3mR7Onju4oa0TG/xzo8IsKDAiGzjHQywG6R3r6nLEJq6j\nucSl\r\n=PMML\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHIvpCi2vnIkuS1p8LExU1zfrfgSUsFZ8KOoGHiXVX0AIgA2hIRyRB2wzzssDOpnMj3cQTW6fsw0ZW/SHuR2wLfSU="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200707010400_1594083899886_0.63614425615545"},"_hasShrinkwrap":false},"0.20.11-20200707140253":{"name":"@accordproject/cicero-server","version":"0.20.11-20200707140253","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200707140253","@accordproject/cicero-engine":"0.20.11-20200707140253","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200707140253","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-iuBemvBeavEG2lsgxMtf9akUXXUgWw4YADHtxepxTwPoZhtyBYfhZoEsEWEW9mnkvSMvHLRZFc5Hh3m0TjhlyQ==","shasum":"dee03baceeaec204cf7d718cee55194caeba115d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200707140253.tgz","fileCount":49,"unpackedSize":180904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBIDWCRA9TVsSAnZWagAAUt4QAKPWn49cOqjADvnMYiDy\n1wdGIGVBmHJy0ggOlNoFwYfcIERyEKEc4Qy2KQ/6+HP9D9bSRTY5gJUT4N4i\n9CHkncCQ0/NiTmdvUUqBdZXEp3EKSUB8bmS87VLiBqXZ0jB4Hnx3WnPN7+5l\n0RGZppT5IKchbeI8CEBlKoxzhT/0MP6BBFHHy6F2FnNnEE5TwwUdcjZZ9nAw\nfAAgc0/kv5KcELzEmz6T3VnwpT9G5tIraCZB10EJ/t1TH9MJiHsySYpi2tng\nJRsDT5q0S5AvaEvXZrjS3SVw7vr4BituqZQkSRvSrHlpO/w3y+mx0wctE02t\nrUoldrIe7XzJTnUsa/xImdHlAIcYKRdfuhIXh5LqlaJTIGgTyEeusp6sqyYq\nSn75oWAZGndvbzO2Q05NWyrIs8/Ev7i4wMRXBVEE5ZOwkCJCxssuL3pcshFt\nvi9uqIxlUJD5mqQrsECUhU9daMliwRd1bRGbd92PkfcXHVmfiFl5JsFfGzHS\nOXmMw056RLR30BBUwvaK/yqYxScQ4icYRrlv9L3TBFGx/4bvwhRMARlu63Xt\n0MKukIj7t8cM9lUaB0+HenrOssCowikDe6arNi1TxKnucdH371PogqsZwwJw\nrZuTSYPgYqBPBtBWjIDGXq7g3ddIi0+T79hXPu8VbxL9NMtExluelriDys8O\nEwvJ\r\n=YHsA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUDqCjyGc3aw6kzuI7pivdeV5c2rsoR0pyDEtLjwycJQIgUQngpUX+1rmU2vEZCmd0S5fF3B4rEdO+csB14j7DZik="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200707140253_1594130646211_0.15817106597880026"},"_hasShrinkwrap":false},"0.20.11-20200710202320":{"name":"@accordproject/cicero-server","version":"0.20.11-20200710202320","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200710202320","@accordproject/cicero-engine":"0.20.11-20200710202320","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200710202320","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-jtMzEh5xPEG96FSbFSj9LtovBmiLpdoJ2UCLb4YhKgyrno3N+xiz2YpaICx9SIJGG+mDNQ6I1SHo+StYmJMWjQ==","shasum":"5a9e57751292c84d51f24e8b3ce2eeca186f7df9","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200710202320.tgz","fileCount":49,"unpackedSize":180889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCM56CRA9TVsSAnZWagAAVZkP/jdoqNGY9paGWbuBTLlM\nqIs1WhlehFKJF+i3/X/vwhJ0lsI05tROtmDLiGAh93ySI921KrFEG3azJyBT\n/0uTIHCreCrABbO+zSsrfTrvz0CCBSM/vb3dUOYkFz7bjDWBogPcGvSr6VYa\nC0tjZp+Q8mCUWJLI15DDrKJNmOPtuewQTFKmH41TCgMDqexPOak3m5b7eyMC\nuyBJHUyXqY6cp0GPz4Nw2zi8DZu7Dc4d74H9Yjs/7etvCNEumd7RcT2gw8RB\nmieFP/05D0YRpPjyC3fxhh9TQFjEN5kFtKQUPWz/QPorboll1WsWP9GfbLN1\nTCaZKYMI3fVv2Wk+YD86j2IFyBr6qOtzhkmMRd4pNv+qBMJaOH9036GXmRUr\nBDXJSi9yQL7XUlWwzzqvjHPpLRkSN8c19K6CXKm3gExBt6WzdfDavfQGH4Mc\n+wpep3Er3uj2s3FcgddluIx12B7JmUdTKh45hufxlhwkBAx8uHKleDTmRibg\nmFXSuvL4NRdu/HHfGpXfsORzt2N/60/fOI2LkD/HsixJFNCQPjxsMRhFQpTQ\nPHMeW1u4C8+az1vcXoxMRscHif4Twg8O+h5Z1jtDaNk0oyWo20HDP808yuXI\nTNh312OrGR9ssk5LQgj+3EI7176ceayDb3pG1vDrAEI5lsmcIUQcATFI2NzF\nfZqM\r\n=O83v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID52cQ3kSOQwsVwqIlbFpW9eILwd6/+vaQAahJmy1I1/AiAAzlz9TCctMkTnbZw4IdOwTk46QL0pHUsAdW+wVg8Yug=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200710202320_1594412666373_0.8793800680682138"},"_hasShrinkwrap":false},"0.20.11-20200710234032":{"name":"@accordproject/cicero-server","version":"0.20.11-20200710234032","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200710234032","@accordproject/cicero-engine":"0.20.11-20200710234032","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200710234032","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-SKxW2LXyoJkuLW92vkgdZ899yoWttYk8Nrc6Jn3u4V1L6HnbaCyCBi1293aMFTs1PtifdFbqm1XYmiLuQWHBeQ==","shasum":"9266daefec46dfff2bb041e1fd65ac995a5c612f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200710234032.tgz","fileCount":49,"unpackedSize":180889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCPy4CRA9TVsSAnZWagAAmT0QAJjN3xnTA+QKKV6OEq9P\n5lq9fNQbwJXbS5d/3Kf3f+GBu/a+aEv0z4V0s2tZzfjU4UJoP3qrFajhs7aq\n8FXn69GGLhUa8+XVd+7h5X4RQP6t36yWK8e7DNCKcha8GFmmobPDPsiZkRtP\nY5JEmc3tudX0HCXQyPR59JMnN0gMn7+9RfpJULLORwEs8a8Sbr1y9iuaJhnM\nClx8sBAeE2nsawtu+oxBEFlBvF45UGOd0M+BsVVOTi3BbpESjKH/hCnuZggC\nvFc1SJ6++jCYW6KT2DOzLdZ1pipKDuPFU0aIKtz46L63e2AjUJNrKSpPHmSu\nN3Cu48Vegl9REtdr8yYQmzqWfcv9xb/T7OoiA1Jcq30s+AtS5UA+H+6qqUYJ\nGhHXUmjjTqdY9Gf4AzqKLbVLD+QIy5HWljHDJ8GrwexuQee4Pj5Xlc60LBPb\n2O5PkO7VrCrjTSbttR0mNG1CpdMCtCG6//P8bt6Sc4Lr2uCpJZHoXYkqPRiA\nQit4p6p9GdTAKrNoGEvIewv28bfHlFEg8L3Yl4CerzKA5wB5BiOEjDixqu3B\n5TIY5aI5wnQDBPR3QKwyoWmmmTMCb1hE7aZGFmNpV+CC4uOD7sSM22tFAowo\np4/Ko1w7eCmIqZ886EBeGGNpE+StqOeDTCG1yma0HSxbyAn3nrwb39Mc2tKZ\nahEL\r\n=ID1K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDZ7iUTcCI+vPAaRrzyKLV2GQ6sX/zduwO4D6x0197MpAiEAijNQfbATW8mSMejNYUlwoq5aIT3cKMpizK81C6OgXKw="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200710234032_1594424503561_0.49863049900070644"},"_hasShrinkwrap":false},"0.20.11-20200714144654":{"name":"@accordproject/cicero-server","version":"0.20.11-20200714144654","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200714144654","@accordproject/cicero-engine":"0.20.11-20200714144654","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200714144654","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-rX2c0ErVC2zRxrqHr5i9OgApp1sc2Amm6e9ANAZgEOOjaSW3M8QLYVei01vxOR/e2PMqtmpHLMTpoq2TBwB17A==","shasum":"e3aaa5ace0dec0d5bb9b89c43b2e1c3288f61ede","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200714144654.tgz","fileCount":49,"unpackedSize":180889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDcWeCRA9TVsSAnZWagAAVg0P/ieElVhMNb7YVSWgFfVv\nUBQNH22caTNCPuCxClRtJm9Z1jW32dX649MGzQQtpdmBxElGAr+7ikapxtVS\nasHqXt/pi5qu0xOVjZ6SIA1aSewww4JaCAHZzZOCOgVk6rBq+tuJYmn/5+EF\nUMHwysmpPRodoPczDOrSm/Hitbsh69J7mHSofZOFNVmLvXIBtXw9vUoVl9/R\nLFvugn/Zzr1AlNIK8Ql8ETdtPoxZdzr5wZvB+CwyB8hUCQgmIUlf5evShWWe\ns1qQrFs4Av0JCmFybuqprnFrvZR1SzF9SBXDILJVoyXumVKic5D5BIfZjZFS\n3cbIcA33q/i5zIkYmrb73foKMTIcmu/RWW5gJr2OwZcytilaKTwTvc/Yh59h\nmHATk5oiSpifXZswfJsT5J1T+7yzRh7la289aHxsRh3EFgWPM1VRgyNF00Oo\ndVeCS/oKV4hqsEFTOpzbIiBx9/Gt90lKyOrXXbcHSSTQ3azV3z/jmEcUez64\njPSlOW96NsDHhQup4D+7/QP1endqGCAjAhkYElMLKU/2z5uBjVfPKfT+q/w/\ns2USnA4WtJk3h9IcXdeEaeDydErLYnA9gvSzVYMq4Rs+K0D+MgqAWkDk7lYV\nAcPBdvyXHKlEcYnR7JKafpy/gNJwzYXH0ZaMSMsD7dN7UiITidvtAR2znI4w\nX/U8\r\n=eyji\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkMw79DKi5biRNeIIvSUb/FZiHxYoeftt7fC1UffzAcAIgRz2ji6p18etBMMksEG8UkCOMS2xt8xfHqRa8SxvVJt8="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200714144654_1594738078519_0.03493667352445651"},"_hasShrinkwrap":false},"0.20.11-20200716162939":{"name":"@accordproject/cicero-server","version":"0.20.11-20200716162939","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200716162939","@accordproject/cicero-engine":"0.20.11-20200716162939","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200716162939","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-4k2fMQKFVr1n9EoOb96yHaEOFcVRPRJI79Vo5fKHbjvEYHh6UcyxLZFtycMNtPTC53VK9KTGJDGF4LrnNYC1Jw==","shasum":"3dc449296d20f854c2d7ddff18eb3418e1bad428","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200716162939.tgz","fileCount":49,"unpackedSize":180889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfEIC5CRA9TVsSAnZWagAAlyoP/j0uiCZa57VAxzV15P24\nzyRA8yKxJdc+MZVrOL0aAnHGtWIKVOoDsJpBh6Y3wodYdhpdADGVvZWYVcvv\nm9azoufN/VU9v9IXX67FV2IP5DQFm5ESFLwBlbj7UOTNc35vADj5JeuvdUUA\ncBFheTPOgYvSKl/mSQoGF0Ej9rjuWmexbIfV0itqyjtB+Zw2Zk4vgosXvsYt\n21IljxXxEOV7KizTWWD8E3k7y/hKkJdg6L4mQv+CEtlV1Qzam4Kz7oBJoiLK\nIG0+weprn0L5ODOjHRZB3nrpNb73k6P4HV8Wg5F6ScK5WhzZr+xZwbQvcew/\nURgWYBpEeyHZyzy23XwM04dmBlicoDntG8ereSSa4wlVYNpSo+w7SIe5FkoJ\nsHiitImbi93hrnyj2ntjisVLjDc9Wx9NW6NAU37cUwcQpi37a7D56m11Uguq\nqTEl93wy767uGY3HyvgTeU3vzRBGKLM1kjjGzv1e/e3V1a/zwu8+RAyqig7J\nblfCjnGPNPLacrGZV4BWu7RpNti0seHt79dW+Q3+pYktMnxS13WJMIcwq0dq\n4Tc+3K2Gxg2fV7mPpYjTUVqOENiVP0Hm+91P/RAA5HH2XMWiJbzkqcpmx0Tm\nNbnOAWSWNTf85pNWuhayCn1sF2AeI8XhGJppCTN2ENGUqBFTGe6NCKrF3r94\nqevY\r\n=ita4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3ASd0C0E+U8wyGNJCt0XKweWXnJeFkBRdsLRe4DdhTwIgHONtEGMw2vLO6GUhQdyXIchVeLycHmZZiIySQeNiLuI="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200716162939_1594917048867_0.5851074455090302"},"_hasShrinkwrap":false},"0.20.11-20200716171122":{"name":"@accordproject/cicero-server","version":"0.20.11-20200716171122","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200716171122","@accordproject/cicero-engine":"0.20.11-20200716171122","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200716171122","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-/OYoBRVd2ZvGHb1j34ltCTiSeZ234ZXgL+T7Wno9wHuoV7omb7NMSZl/TkttoBjUf2wi+U2r9PnU366SPNn2Wg==","shasum":"4bc49681ffbd19ca569f0b776a80311299d36aa7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200716171122.tgz","fileCount":49,"unpackedSize":180889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfEIp8CRA9TVsSAnZWagAAWSwQAJUVdap1Wyl39a9IA5Mp\npFg+HK8XKqurDyISM2RuZnKM6yXhY42wOCGlvLLnE6R1OO53tU4mpoBCXPet\nkAe2dML+teKqn2SfjCT6bepGaqq5szZ+rsJYSraGmtAscGaWUwUd/MY/j77W\nMepTUXNzPyq8cIFc1Ta2qoG+6Vpjo3EikP3Z1zbK0x6qQqlD24jt3N1YpDa5\ns4sUomRJEKA9YVqXUcBhULXXSfqE0V7fYk9n8sWvYWPakvN+R2zwKzyg6eRq\noHZ8mHJpp74gvP0SIjKLz6fn41G1j+dZVsaCQgoA5Ge8rYaBqdzXyh6Qd6pX\n0ZBnKeL/4WUu/NuLxN/cvahkpt5plMXxGbU412+/zWTZzeWq29FzeRTwjqhD\n5ImpvLTmaRvWyk6ahLPzCLuGeqEM4OAIO5TLuuloMC030YpMXqmwe/t/5ONU\nbUXd9vrCFl26AGc+7Cp12fKpGPslBWaPwRF0FoQlPoA/M9RWkbC3SE8wp9+I\n4mypgiDjIE4I2EH7enYOAiubpx9Ufq+QF0MV3Uj4zKxMtnzDnotjqbpi6L7p\nDsr7NG4Zf/lkEQ9BoPz2YORp5sPWHGscNawIIppG6ld7ZVikHiLmFwG40OIE\naHA+CI76JwsLrVkHAb/paiOGilsNEBWdxrS3OL+ZE2qc9nXEeeakQw6Go/3z\nlQFp\r\n=Fzbh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHqTEr0tM/U5U8TKFERvILxWBa+tgvP2Q8tYClCXQyh1AiEAm2CqMAwkmqyWNjSZEuUcYoi5YdpLm5osA1C3MKBgCog="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200716171122_1594919548138_0.2807743924530981"},"_hasShrinkwrap":false},"0.20.11-20200716171440":{"name":"@accordproject/cicero-server","version":"0.20.11-20200716171440","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200716171440","@accordproject/cicero-engine":"0.20.11-20200716171440","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200716171440","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-KwU9z4P7UP1AlH26N+qCE2BeR9NTr/bPRgZRhb2i6yjXCO4BgRvbWiXu62q3CLzkW37ICHqz8tjNkhHlbyxtRA==","shasum":"d6c83121d23f3090bd187e130b01150ce1ba1213","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200716171440.tgz","fileCount":49,"unpackedSize":180889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfEIs/CRA9TVsSAnZWagAAKbAP/AwjUD0IGwe1Y9QT0Q5H\nDR4PA/17Df64BVTKxEXn+qK1XBSpWPa7bSJm5Tn9+03h1vvNcd79WdLkBhBk\nNbaepEBPntgY5O5oh+VBHLHzaiQpm9q4qqik7RVv/2TCPlwt7JuGoVWwU8NZ\n/RmQq7YpNn0lYz6wVG1AnePBuNtFrs0o22Xvf5tvU1rPZKO0OQp+OdZz5zh3\nTk5ANvS79+rsGL23DnV4CEvhUToUrtrbn/0wsK6ZhGWWz2w+OvhNNtu+GdVc\no2W7hSncbfaJaObTjRSrkktoAiMm8bpvCR2A/gHWmfi9jBajdeM+Nz6Sh9zY\nY0E3wmpSAOMgbOrfouOq/Qnr2M3W/Tv2YyT89HL5rLlgZgoxWFbj6dpIwHLX\nwUM7vbL3rBimSbr09tVV43x6ooLav45g68aIjQk+7l0OuiNE3ESWNC9mURHA\nK8wQJVlk/WMhehGf8s6zERQxmHgTnvAlj95w34fl5cwFoa+xcdpOLYnL/BRY\nQtEINvyf1VvBsAS4HYioaCTLWDCmImpDWAC+tvl9ll8eif8SmhXlnTqYTWX4\nR4VpmA3+Zr1G2Zo01i8cwJh3JS9v4YO+1PXLI2gcrtc45u4jBsk5VkxWjYR9\nJI2asMwLZfCDYcxwT5G4A9wV8HainICc11uSwJ50a9BVSDP5+CTl7ONMVOoe\nJZwX\r\n=7Dkx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCSXVooF+9i4sZP3UgH4HM9LtYAhOulsslbpJ43vGFCwIhAJ9Kar0nPgXWLIdMjHjCJxl/bes5K/3K+wpT11YFcmVT"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200716171440_1594919743496_0.712042517980394"},"_hasShrinkwrap":false},"0.20.11-20200720144828":{"name":"@accordproject/cicero-server","version":"0.20.11-20200720144828","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200720144828","@accordproject/cicero-engine":"0.20.11-20200720144828","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n### Parse request\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200720144828","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-+8ARGXVLOjzZhKhy3db4mYYSZgATkfdmrac1vzfrwnmBtoDF+Li1IC5+4wQF/u+KBefnb5Ro6wTD8pVqVlvWMQ==","shasum":"7beb61be341ebb2403a76ae5d35bc3b2c12a90e4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200720144828.tgz","fileCount":49,"unpackedSize":184954,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFa77CRA9TVsSAnZWagAAVyAP/RUNHyZeuzQhioGwljKl\nm+RTm2ImHiKtuAFyZzRTMyOLXi+shF5qYz+ij+yXbrWkgeVw0FRbQfDai7QU\nXar6QrYsBZh6orBLWarcdTGSVtE6CWEEHjMwJrapsd/0rM7WFbtqOOrMj5Gr\naAIGZIooyWPfvO+ZRRAbGnSV1qf/fDJmTMyDPYoQ9CWvNQAdn0TdjvTV8Ox+\nl52Szt3pLL8UOg3gq/HFtkMHjyyekmy8uKBAESS2xx+pXsPoCpSYpkpZqWJF\nWKdUyYQoss7oDjVQMyDOQ2dx9UsDHVqQkGMzmTsqqumilNLxY8RXt7SjzECU\nSPRahFz5i9U7AToNXUivviAqXcI2z88bk9SW6HFhfHiALZGnQeDRumXGtaDu\noTz8iJ+We0oOnVLnicKoP7XUjefQk3mNlGC8ptf8NZ4kOYKE2QmB/tMhcO1l\nUfSq+O7MbvOKn3SeDjuqdzYY4WaVf4RAZt3h0D/xgBOilTOJCbnVIzblIac3\ngSwNjk9dPQu8ej4+PBODBRuK8crHQEII8wLDxarVmRX9EFFj3rWSo/p8dj7m\nJARSCX2k5KjezE7KdcPOpkX+TeI/WgB1sn+Xq+aPdmdDdaNker6h4sAKhNUT\nCKD2+DBY2/j8klV7/dddwoMbq0TRM6jS5KK5SCoyABFCUAPb0iI9dJa742iC\nB1uc\r\n=uFN7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID4CwH3NvZDRgp9ET0i9/PU01VqxxMgpJeKF2FI84loVAiB4/GLD9I38nBVPYlNzC9nrNDVFJyxQ+XUBaAfZhkjrFQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200720144828_1595256570796_0.6572051036159627"},"_hasShrinkwrap":false},"0.20.11-20200722133715":{"name":"@accordproject/cicero-server","version":"0.20.11-20200722133715","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200722133715","@accordproject/cicero-engine":"0.20.11-20200722133715","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200722133715","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-FxxNIhPurZ8SaE/NLu5FBmqdjOgkSxVMI8w2Vd7cgn+4jajrMcz+vUgFwDAmnX5lozPaQWEvw8tdr9OPypRNpQ==","shasum":"2cbdf8522da9b267e973106fc26f503119093bfe","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200722133715.tgz","fileCount":49,"unpackedSize":180889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGEFNCRA9TVsSAnZWagAA6D4P/1omn+mzvgzp0mSUE8lM\nTLvS3Q8ZG4k8RXmxY2vlWxBVaqCV1VQWIS4cckXboveCSRbUG9UGLOdyYK13\nZQ7umJZfe2v64f5p3KllIRKe1ZXSmLP/Kr+OJpK9kG1UjWNF+y8qw9lkZdyx\n8LVOhQ2E9lWWiQXyW59rlRWduVovaa4zMf0hizPo6smMDxL6ia5QBGspPXfE\n1/fLmbneYgPWN+oUBo0cp5gyq2E91wH9bgfXm9ztbm1mAYMhGUq/Sx1KU2t2\nsOJTrd1w8iqMdP5dkLWuJI/G28ckhnKmpAsSIbVUxS4uJ18NY07VtNA9xBXQ\n5uxZy9QwhZ+oraQ/v8OFMEdW2cEVNuhWay4rz5yM9neoG4jYk4O08mFXZAOX\nU7287uUdizGm7pQCKQMXvmOXz5WCxT9dYvWOn45zRlWZYy+F8E3teFrei+6B\n9+VSDScgNYLAGkoHAXxsFVr4a/y6L/u7ysng+Xt8cE5sTHyHQpw8OTsJKMgr\ntVZT1AULb/bxzkEVxdTqmJik7/YHZfIDYJ6S26fIgeDHAxyTDrzrAyBUrbD7\nJul42WE1b1fb4qS72H++9Hge58QWdpS9g1XZnw1+TxFNmxnPIrz7qdcP1nLf\nVU8wQebWLfuL9NQw88FBa6m36mEivevNQtGfa4zYcwlxiNbBjksmb9ruFa0c\nTOpq\r\n=dqH3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcyF3olyvNzAkD9OnK+DuM5SAC/krgOIRPObCcUALRfQIhAOLIqzgzE0N7J70k1fKilO/lQjWCVigV32kZzvjvxxED"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200722133715_1595425100683_0.4297677423696238"},"_hasShrinkwrap":false},"0.20.11-20200722211310":{"name":"@accordproject/cicero-server","version":"0.20.11-20200722211310","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200722211310","@accordproject/cicero-engine":"0.20.11-20200722211310","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200722211310","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-UTPjvEo+EUgZnBULvWl3JYbFtuMKuBlAn8ZLEirPycHikrpkDat5xao7LE+lO5sbGNU9SA4sueErHiGNa4VrPA==","shasum":"ecd340b63b48a62059725721433c99b2a8529744","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200722211310.tgz","fileCount":49,"unpackedSize":180773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGKwrCRA9TVsSAnZWagAArDwP/3urjFqrkqMatJgo0gnM\nb75mV0/UMGLpaBuRk+53bNfIYGnJ00I1UdxFYSdd86TT3EKQsG/FsaRm1r6Y\ni0PUbftXOwMD7Nj4fX9QRBt7pw1mUBSRLTcGRcWyTioZ9jnNUd+nIm3UqzLq\nxJ85tqSBt3OfSkZC4YiOSLyAobRI37wF+8iLoczzw5VS0uuA6TfzLqBJ1eKX\ns/MNA6ISf4uSdRwWBGUyoInGP2afHpptq5B5XbjjsAPDV4vPJoGFM8SGL64D\nD/Ejk+c1pw1n8krVBZNHbuqZTzPpl6aP4W1FZcKtGZ74hfnFv5/rpk/i0X6p\nNxlygP7P3VpeOBu74g141dpIc5SkyPWvME8EOGiQs4cfyNl0dpMMVQM7CJIR\n51S46I7hH/1ASJUWra9C3nqUUgQw/WqEjW0u/v8sdYGAqKxeKLFoFShKBUnB\nAN8E7SrU04etxdO9G4dPGk87KPpO3h4PMsZ0yBFkVitQrvFvENChvQkK0tNA\ns7J3q4iuF+KMZuBvw69P50fF8aW5ih5OXJ3o0VRPPh5cL1Mp1QCzgaUxVN/V\nU+swdzTOUe27BptFkrah3KD0dfuUFX6yx++XTG1L0T0vosS1CG7CthLGsIwc\numeZzgcwSvFtAK+Nrjt69O0ICECrHhbKWLd/Xsn5W2sN+mHGiv/UG8wtTspa\nPADk\r\n=ehjh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGjX97TE6JNGVDndmMqy48U9/YVik2b3eivL90hmIYefAiAh6N1KXjrcjPo2KlXgwgH0P4Z5t0IFGnSiyD4wbrPZMg=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200722211310_1595452458544_0.7405539472766449"},"_hasShrinkwrap":false},"0.20.11-20200722220537":{"name":"@accordproject/cicero-server","version":"0.20.11-20200722220537","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200722220537","@accordproject/cicero-engine":"0.20.11-20200722220537","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n### Parse request\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200722220537","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-2TJanqXMownDhdBMEOrqZRMX3gxKsWm8GRg/Qh06xrpunFpIqYCNgrzNcfO3QY0vRcrYn97F3OE7PCobBaZIAA==","shasum":"77553500c867ea7073e403361e1912f2abea326f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200722220537.tgz","fileCount":49,"unpackedSize":184838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGLh0CRA9TVsSAnZWagAApHEP/juo2Vt4e3QIE7KhAShm\nxd8Mtu0h70LA/gGMLW+Dqv0G126Raq1Svhn+C+PDKUTjsi9GGd36yS/4aJZK\nG0+KzaK6siOYAIlgbiT6mpgjL0x8iuwcEUYcykt2BHsu3OMJSD/zeCzMPTVs\nesL9hIhmGMKwO9H/5RLj33UKFdtQj5fmX0bdYavbjI136XJmAwtsV1Wm4tmI\npIo3Y41eKAo70tOjW6VO7GnxmZISyMDSz5DSG2HD1Ahtahmune9RHnr14fDj\nYwGkxmnMszJFgDCgfOLjrg8oI6KXEQaqds9DoJ8h4c9fVtYeId7xODRPXh+J\nVw5DNzDtEhbiisyRHj2EKl+pPQ3B9c+5GK1iFST1ju2n3x9UJDoOQq5OMEbY\nm0oCZkqyCt/LuJdG4PrUqVOKKXDSIOcWqY7xo4sNEPtfBPv0wctvyLvbV5UN\nVb0NbII6q1p2fAGbUaPwEQKFzP9jokWf1cvtyJekSA/uotkfKBcVeG+QFgJt\n/od4UnpDUa12JeFjvPWkKzOum9EWyYzeVLOZqZNihrwCMcJ9QrxNTdeV6oYc\n4kJsy+Pgkf1k452hhP8H2btSa5/5kpm/a/VbX7IpnvBkR0tLUZoLeTPcgOtU\nrKwzAcEl4mvQapgpsmBZ6IcN7rQDK1I2UEe6aDpMbc8IC/DRyVFsvV5ny3EY\njrWh\r\n=pSmc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICn+G9E4U4kV08b8G6dJ3YZXsHEwmyWqxmU5H6cGL7lPAiEAmND4bX0YODzrifQYNE5o/AP487RnGXjN/D3K8G7Hxyc="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200722220537_1595455603562_0.6192275944282224"},"_hasShrinkwrap":false},"0.20.11-20200723014725":{"name":"@accordproject/cicero-server","version":"0.20.11-20200723014725","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200723014725","@accordproject/cicero-engine":"0.20.11-20200723014725","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200723014725","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-WgPn6piIRCf96a5SnhMKuu4gbTMDpS1UjVw0QrZbZPnfva+8XMY+bUiITKPonX/1lTtG7oNvhB6cwoQJDlTECw==","shasum":"d2c9838cad3fcbd2aada1fc2a3100e891d4b8ae0","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200723014725.tgz","fileCount":49,"unpackedSize":179460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGOxpCRA9TVsSAnZWagAAE0AP/0o2zTxfpqJx6TwaAk0X\n240+xa42omqXRqtZyJPSlMKXUbLMJ8mBL5rgnXXdBgHRTkU+/LLqEMX545Vu\nxOE0KEyS0cEHDrRpBf/F+dsBEhPSoaZugC+doXv1M61NOJn/kdIxLLjr7lVd\nZvjMV0lSekn3E+bt+k1CfXkwU3jjOINSf9fehrBIHVogoUJ5kfbZM1IhbF6d\nAmlrnqu+G1Zno7oVXz+KIu0Ub3He21PXTxpKV5jJOUu/Fv/kCzmtRQ4buuIy\nBTRZ6zV+piES141rFe8X55JBHN3ckuH9aillsQcCIUW0pyRi0QVJ1zBDeZPh\nLpNoZdN432mz7ZZYZokACvWmJ1z62SrTYfnXrrbp8baQRQFABReZG32NNBJ5\nHm1y4VFt/s/5jloYGDiuiQY+FrygPLZDx2uK19ULdvukF4qP+tcjNLPpzkgJ\npP9vbPqHBzMSZHytAxx5z242MdFUGjmmD9QpvsBn/9r37NNB1czObQHnUo9n\nkMo7jyYy7cbcAJzxyeHWsJG1fAOkwCH6Z6vOW1GVqHZJA4U3lo99xamVUl1F\nRaRyloxJD1j8dTNfxvPDiWyr9lX6DWOmBP+6AJo3WPO9wPRqUl7vmavtKw39\nXZXP+nUFHoZRo7u7ztrKmhBzA1Ma7QpxtZ0BB6AaUEVZ5eh6hjMmrOvKw8XK\nJRgN\r\n=Nllo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDD5+MLhdWa6NE4gMs7+EpaSopwVrePQ2AAEHAtNNlSCwIhAKebsU65CEkXvEf4Kxt/ud1TKdoKSW9FZJJ1jRULR4GG"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200723014725_1595468905352_0.03370980085304631"},"_hasShrinkwrap":false},"0.20.11-20200723020808":{"name":"@accordproject/cicero-server","version":"0.20.11-20200723020808","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.11-20200723020808","@accordproject/cicero-engine":"0.20.11-20200723020808","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.11-20200723020808","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-yt5aMmh8GOGahZO+N/b7x8FQhYsppBUCGqfWeyZhRlPBs4qd70gzwlVkEg5uvqnIfvwzzXjl6N/9KH7+H9HKeQ==","shasum":"7786887bd99d1df517731971620ff167ade97ff6","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.11-20200723020808.tgz","fileCount":49,"unpackedSize":179460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGPFFCRA9TVsSAnZWagAA4RoQAJbQpOJtiIN5fojuvLR5\nmekK56G504diU34TtcdExRJ5SyiD8E08ORYMJyUX3rp6qHhkVZ/HEDJcshqC\nwVzflu3+HJQ7ZzqfTWjM4ouASfCBdy9OX/q94cbyow6i4RH2pLJLrH6uFzXc\n/8lICcsY3HnLuIn3ZXtPwCuQLfOMQ7LsXOpkPbkK96PuMNnSNah972ZrH0N6\nNi61ZtrkMf7gAFvCnL6gyO1A+YLYNAYrhTco9ZUl4EKwHFYYLXH1Ss8j8Pp/\nCTnoVVVdtJzRm/HVdroYH9ovi4q9WECJq5gw8BL94i2qj1sr6of14yi7QlrC\nGORotZ4ER1QbcH0hGEHqf90hvZ1HGh2q7Br1Z7U9Fuj+jvpaZpJPMJ7ba4vK\nmFxNCbOLU/E676+V/uDmrw7gWjAN8Gdp9gtzuFarGYPMhKVC1gv2BoO16orE\nJ70/EHsHovi7Chx67G63apx0Q2AgLXJ9OYaitAvV2Ck4DIbUE4OSWAAmnnum\nSNNKFiEnFHEvSsfk0k50U4WFTz8cx48uUCbixtWIS2KhQGgzwcAev5lavOpo\nzlj4YBCplfF59407dtMUa3M24WBdh0eiON1fN9UP2h99A/mYgSqIN2A7Olh+\nitwZ4RFQsx6+A+nsmTyFhBuvYMzmujspu+WdHzRBQ+QKmbRBL4JpjLXp34nC\nkfh9\r\n=N6rm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEHuVfqyldgzlyN/aNn1a86UBYzMGtMxPFbFTPCBv6hfAiB4JM4tkhqS4wVam8mvgJnai4uUO57SQUYzcwHmVttOyw=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.11-20200723020808_1595470148489_0.16172155723018578"},"_hasShrinkwrap":false},"0.21.0":{"name":"@accordproject/cicero-server","version":"0.21.0","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.0","@accordproject/cicero-engine":"0.21.0","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.21.0","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-YmTbTdKsIGnDuIHGKEXA+AMbcq4lGv0ub1KFAfCz+Gxzv+cNyD4WTD5LCfs53f4/+Jxbg73J9zwhZBNq82J43Q==","shasum":"e5107384a3b0e4e88e029261a9a28839c4ec0b0e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.0.tgz","fileCount":49,"unpackedSize":179412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGPVeCRA9TVsSAnZWagAAuDIP/iDhflX9PDTI4BpNYQvK\nD3U6pjK9efFIkBrwSlbk2eNFKO279DZRxhTIgbOGwUK3LKkpxI6uPVwRXbE9\nB70rA0StTVWVK3ZH6RKNqIMleh1pXIDP7e9BLABiw9pfabLwiu1MPYDU7uB3\ngZ7xB2fcdA4KvKy6VzMxbE5YDLF8aqJXAbv+1sK1AGdP3wZ41FfKMtq5fkyG\n6BFg1cAhD+T79e/i94cSOKYGpEWN4K69tjMpAM2FH7wQpyYfNbTdri8q0m8J\ngUcuxClJ0ugBERRRNPurx1d16/FHqQ48goNCIFEquQ/1c6CqavTr+UEIKZnc\n7rzkti1dgW4uZ+SmTfsLq+efk4hAh7KBmW+Vo5qPNvxVw5nY2EYf7KiN0LnS\nKA+TNrBLIjyGhqR4A85TgWPb9WvPbou6uJN99Fks91a/KUI/5SoGss4JLXQm\nX+mjJ3mYTjgZp+bkfDpvLuJOJVX0DjP4ZqKt1o+la1L9Duib6VfWJEBMFaQm\nzyxLE2hsWiLFNgkMmi7TstxL0pCpX2hx7EM1JNn9OmOxbWXBoaw55R/STSGC\naSjTkIsCkDIFgaF06gdwWFO7M9i1SkgD5Plgu+MNVk/Y8plCWH7uJb0lpPCD\nbqVI88cv1jMkdLyMofwaUjTiOlaq2GMt20/pIG4jESrcxHXPw3AA0bLDOU+P\npHKR\r\n=Y8cr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEqOjtMM8vy6jVIzZjZFy4DQpNDBmSnRyks1CGSuzmC+AiBybQrR4UI5BDVGdZdNN32EYjuTyuycwOnjweQdE7VC4g=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.0_1595471197602_0.2623563977369734"},"_hasShrinkwrap":false},"0.21.1-20200724012255":{"name":"@accordproject/cicero-server","version":"0.21.1-20200724012255","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.1-20200724012255","@accordproject/cicero-engine":"0.21.1-20200724012255","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.1-20200724012255","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-PHcu6g9s8FbAwh8H4vOHoXOjkcvmIuUGTguk5XMp7jXppoLW7ptsI0uDGrg7uJPLAILU85bKceLVQMOMUcILZA==","shasum":"7557048f68b1977a71d8a1003c4d15a7f95cd2c8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.1-20200724012255.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGjgxCRA9TVsSAnZWagAA1NMP/1EOabH78+eM/hGwsWYg\nT6hNng9FzH6+KMGEJfM+D4VmLslna/CeZXfUhlrzqFBEtQHRtyE/O28d3JbK\nafJLXbiipXWHkeuJaLG8294fnivYZGuurax6/8MSwKh57EtdPPYHBoy8cXrl\n4q58FrzAy/aLuvR5LFDV5QSOsvFQPC6HbYO2q+JxRCSf59bK1jaz9ft+FIHM\nAroOgjMtc5OUMeD+1ljf3CyrPYH61gWILak48+TurCSYkuj4iqE1zlc8wRzQ\nYR1PWcWQS3foQ3L4zpaqK47SABkTmAffLHRWMjathoJswvkElqZPeeAJMfTW\niR4UmGWJmkUztEnOA4nNQScUJ8NsTCWts8yvcRxY61jEuBII7yfpctOwibOJ\n60PLrDpBXWLbd5HMeOoDe+PWfKF0adeFEvqhduJtDsd+X2/AKdxlk0G/ph3d\nyoN80Z/suZoZOLR3gGur2Kj+28OlC+O9I7bq6tsepHQUVTdEHLmS4wdIFYEL\nHTi7ooZKnaeCjwlQIyeX2rLL8vnXunL9kDDU9mWOoLHuldeancBfKIAWEYDk\nJBVfUL6LV5529e35tmFf3ptJZ3ptsmWsCh9wRgKBgES9gNU7LbPi+w+wADyF\nusROJ4XX+GAc7n5jQfDDh6tP19PlJL2OlNC2eSWV8mdlmTX60GEXGLPBAdyi\nD5GY\r\n=4fbw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHTt9nQymm7Kg+Ce19qUEEEYgXne020HMioyQQV3cd7PAiB6qOAJMUh3D5kZSNoHp2/vUWP0IMRn5QF6ul3k2rts0Q=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.1-20200724012255_1595553841010_0.9422603402312488"},"_hasShrinkwrap":false},"0.21.1-20200724153405":{"name":"@accordproject/cicero-server","version":"0.21.1-20200724153405","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.1-20200724153405","@accordproject/cicero-engine":"0.21.1-20200724153405","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.1-20200724153405","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-2UUB2TgvsRwy72rdaRJ4NwVUtHYeFl1BEFp7rStfNQu2tJGdo7cEGxvDhQQhNayWEz7nbvovZCmugimjN3xKSA==","shasum":"459c4ddbc3913e40d07e7fa62da09a5d859b0b89","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.1-20200724153405.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGv+wCRA9TVsSAnZWagAAFiMP/3ArtlDGRWxPOdye5aPM\nGsJa13uZFxhbC7lcTbh5JLdqz8+14U6fSaqNWhXN4E3eISuGxNlWfLYMsVEr\nBpXM7JQdXDukCsZY3H4Bb7+RYGbGLMA/zRQOzb2V7lOV2umoYLr+mrB0uDxZ\nAQOcwASxmpmN13L+JU1am938x+6qeBJV5Z/gmV4cyBdiWeaEUG+cS/dkyo3j\nlSP4PoBbvSvZ/+CUyivr6lzyt5zbWrkdTSTMSjFrhnqpt8WtMUcSxxyIdAmB\nuTwdOtge6sD3VR4KbCO+LWbNQocaRuZHS34WPiDm4bkVEqnTfZqwXmntmx64\nioBJaSDq0aLPWm3TpOmRWx4+dCxVlpa0Vf/p3pT/aUondHexc0ti3EWVMzgy\nYXX3UzjdY+8zYhM1AVtXpfPtyUbQwjiVJ62l21ay1yd5rE4TKRh1mrF2FHvy\neS9sWGTVcHFde2JCCe2ihGhtmT7MH8e/mJ05PYzgKI/2wxoBvrKNIZwBNnNB\nVe9VehlnlMHvgXjSIzxE1sb7fp6px6enRsUznfmb56ubft3OFybB83h8qim8\n4HRrvTJzALiV5YaZvO9iU5WulbbagMR600xi1y60JP0gxT/yvyhygD1K5Gmo\norqCSKfpOhM64eMT+QcU/3JLaAKlYu6ZY2mLTr2pStyZEDfy/LByeTJn/p/7\n5+QK\r\n=RnTL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDe1bdsZjqtBYtwkjgKy2YUDX7AzQiqZGAYHmbMHtiOwQIhAML372cSAi4af881sKW8OP1U32ZN3ouwI9PFcLihh2x/"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.1-20200724153405_1595604912091_0.341303054124217"},"_hasShrinkwrap":false},"0.21.1-20200806204652":{"name":"@accordproject/cicero-server","version":"0.21.1-20200806204652","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.1-20200806204652","@accordproject/cicero-engine":"0.21.1-20200806204652","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.1-20200806204652","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-yzPGVAk9/g2rGpOrIOJG7l1z2nkTsvwt4zfZoFnd/9g/MezPTQ9bGkKQA1EMiVBUnhyqg2apMGsR3UY/Ow717w==","shasum":"1ee5f7d4b8baf75a4ccce3e0d4d1eec1c084f2a7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.1-20200806204652.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLGyACRA9TVsSAnZWagAA6GYP/04Inc0NtAwUcsSQP3r+\ngSdtWJIeQ9FurdTP61QOkv7/cAgVodUyJXPrZrsBWfWZ3E+Gu0k7T5atn6fC\n2pRz/etfc5RXTIp/1jHBiiLdie0gll69R7iWw/wvxVD5G0uF1PU00kceMmlS\nS2B/c8Ot20d5tU3wE1wt0hi1GWT34yupcEQIBqWnLVhvKo3uEOO3ZvxDUjCM\nC/Th3fOb/NepitphqV4y8yxmZ2ls+ywGYReEncFxahYrv8IuteKb2DkE2uaV\nBxAKZYYp64n68782H4zd+1mR1P/4z35m9Tw5RZf8sa/5TzQAh/MQ1MutCt0K\nRaQhY5Xkjua2OrPbjnzQCH0DlNWLlIh3ffisWdW67/jSun5vQ9y4iperym0N\n1helrIQE/D3kRxcCGH95MuGxY4d03fQp44hlI/xaDNZpv8j+wxeOjMnWZIub\nwdZqdb5/z3O5Jymcbo0mE6ITl8Co852D4dQwZpLjXwlxgiYUGFjJ+IR/9uIt\nxl4rGN5AqrWB1K573I6y3GbWviyq6CEc/ZJ5bJSls6k7rjBFm+OHoR6RhJp/\nq8osT7Oef1/CCaqlCe381c4xySlGD77Y7w1FbZwBlobdr37SECLNdu1J76Y8\n3nXkAweW6S4TYIAoQeZjn35J66LADymnVo9hEkok6nvHcK+G9WnUbEVA4pTZ\nFBAw\r\n=nUkb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF5603A85PAcEW5a1rqcMIZJOPflr1U32QBthf5gkgQlAiEAvgkv0lLLuGr32qX29H2lHT3bQnvISLy1V+5EZ8/qFI4="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.1-20200806204652_1596746880002_0.5106631981701288"},"_hasShrinkwrap":false},"0.21.1":{"name":"@accordproject/cicero-server","version":"0.21.1","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.1","@accordproject/cicero-engine":"0.21.1","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.21.1","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-kfQDV380h2MsyV1mZq8cTGYr/MOK83QhO/AsBCL5FINHe2d4GAaBgcbdGGT9MztopjAQix28bVfMhBaZcZZkrQ==","shasum":"b8d59d0ad14bd5ccb50f91b9972c39692eaa67c4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.1.tgz","fileCount":49,"unpackedSize":179412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLHJFCRA9TVsSAnZWagAAtYAP/jcT5X6zckHH9VcwoF5p\ndmci+1lxGuRxypnQTmTaJOhv3C9AP9oyjB1Os+a4pduCB8pJzbOK1T8coJKC\nGAPftIt2/G+HJEfqyC/ksH7ujaLg9hJPHFIsnUjw8BTBWk1dn2H5WvpqEtig\nuKk7XdfJ23v5LLJox+6i1C55KphC+Ax64NiOmwEleHcYoo8Hqy8XViS1m8wS\nV/ZYapkf/of2BpLKk2S2T9qwioWYHVHHOw5wV2UzdXmnBjSsa03Gt44ijwro\nLclLumODpikVVMYa8aGhHIw40tHMBO9NzJLVPV1lFDHhf07cksfsJfpPUxIi\nopnf7lxyPV5RefOjxjT4090RmJL5d30l/5osqv6g3PZoEceo5k/xYlrCMXda\nIxsL6wG83uQtqd3MejQQ2MuySN6MdNQ8sgEWp8aan3fmf8421SliVtEq4723\n7oF1Y9tuGtG1vd6trAacNExPAA/0Sr/lveikIewcWKYyMXTGDrGHuOK1Yr99\nGjtx6LNxqdWRuAx6IfeeycQ2Nw34JYvjwAvDqWiBsLon9a6qjbrpAHDlWWSp\n1UtRELX4GqzABve8ohnrfekdcjYvYG6jox2jwzTsGE5HLXmPGogvH8D/sdR3\ntil/VUhhSy20njmcpfWh4wu+A8Oi/2ptzn6oDErCUxQWjZGtTwZ1KeTaM7JC\n83dR\r\n=yZr9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH1ikpmQLTMcGqYp2+9KeDk0BZ4y7GP7khNzJv+Ib/8GAiBGrFGV+zJrcd9t+/OZiBHo0Z0CDlDn1pyqXg0Q1G9cYQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.1_1596748356732_0.7558203962893446"},"_hasShrinkwrap":false},"0.21.2-20200806211836":{"name":"@accordproject/cicero-server","version":"0.21.2-20200806211836","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.2-20200806211836","@accordproject/cicero-engine":"0.21.2-20200806211836","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.2-20200806211836","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-mWIqusvQVnJVtBpqVNBRZ/9DJkldO1YYpmA2Mymmkn/AB/mPCRzfKpGLeBmkRuvHbuDvzC0L8DP9d8wurYiCvQ==","shasum":"85fa833d1225754bafa9f9d5e659c65a4f2d0366","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.2-20200806211836.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLHPuCRA9TVsSAnZWagAA2QYP/2sPd6pi5mQUN7JClquj\nuUh8xa8tjDHO6g4LTzHyRFCmDoM3znW0C34eYyuD9xKM0ZnkyKmH+FnONHRQ\nhEJvBvV0OLp+wrZPbhHgzEAazxeCSgHTC6yHC1olzFPMrTsNqKg97QZvdu7i\nhneNYXNywnfpe/3bmTk6ZcsaS/cxQ2N0D/jYWBWgjTNmvChkZ4aBtr2a1FyL\nTvVoVP0NbgLJNogz64YYidMYMYDWUHd08bJzE8ZBwKc+RdKatwOWkBKpNp32\nddfPW9MzWBQGtys3S+xzLA+FW6seBDKcQS3iUytYeZriSR0VD1x74PKo8bxN\nLOoqFnVu9nQV5qusHGbOJuVbC5GMA4x1L82QjYvPMAbE3yy6KdluMxhhfO/0\nav1cy3yHpzSbKSOT+gcH971uDykCH23hEb/rspul5y+NJKHVV8DxkE6lK3I+\nO6yd9nNnWyjgrnM8pq6axPLjbrOma6c9vmXeXndG3l+kwthHIWTS6pJsSRu7\ntVuTRevQ8x/o7WD5zHZUwd7RB1uiCWBLzcxrJd91aLtCj1bpwecIulOTAwc0\n8QUatu8850x+NzDo+6wR9Y3hOGM8GtCGgnOan682rqodFzLAuLOLG9DX8yg/\nlq684QhMUb5vCWH5pyeIHn2VcRLmpBtVsHqunxpEr697MqqXUCJT5tQYIodL\nxQcP\r\n=7rxS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmTSpKnbrxcSlSw2AkrocNL9NhJOoUcOwbKGr/U4x2NAIhALkt7Ww+SgXPzoO169qJnTmWi+JoWLKee7kfgWDBet1f"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.2-20200806211836_1596748781652_0.5049473831586153"},"_hasShrinkwrap":false},"0.21.2-20200807173832":{"name":"@accordproject/cicero-server","version":"0.21.2-20200807173832","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.2-20200807173832","@accordproject/cicero-engine":"0.21.2-20200807173832","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.2-20200807173832","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-ZRIrEevpwYuLH4ft1Jg9z28cgWyntst4DuuP7GIMdKo8gOGFDR2Kt8MxPRNA6pFGyzCo8kmRAvOeP4o3IwJkAA==","shasum":"75389bcef2eac6988b366b2e4ea15ea65aba7b42","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.2-20200807173832.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLZHcCRA9TVsSAnZWagAAR+YP/Avu1zcRa3ccvJu8Yv02\nGbBR6GjqF3qhAWWFpqFnKTJqdrmp7jtDIzd70gl96ASFXx+zUVf+TxvqB8/P\ncbrNyRtg96YgqRiO3FdQLHupnLxcZKlxctQvgVlGMKxbLBQKHwSWLHfOIFYX\n+bxHPvwu8cAvNnbdmPg811UKWITDn9DsmpJn9FHkRCARplHuKjItWF5n/ZbY\nAen7wKczcs3IKRxkzsWnBTCnIQsAbup5YPHja61a+f8g8JQ3T9TB4MaZXVuG\nsBfdzotdA7puBs7cU5CgRc0OOE1LP7Aw/j5nG240tdbLfWXyo6MH9YzboujA\n7pvHooONnrTjWYWdQ1JOVRrk/9H4jTU2edfEQ1yY/kuIfbMycYUL/avgSuKP\na1v6c3eeT/iAWsTXEvBpLD0Tb03t49sGpxeOgM9DEHRLdIbvmLt3L7CIAZ97\nUwj6bJ9Rx+cv81rxG4011v4ylYn1QVEOmhWFl45Tj20KnQekJiz39I27yjX8\nKqiJztKRQbO6bHaeVzSTLcMpTacu3P0eLyvrK+j7mbAHt1wWiqZ/SP7bTpRG\n1c5sojD+qkpwZG7y5E36ZvbOBv5yE6zRQ2Z5isfFIuymN0TJAcpgd3Pp4PIa\nWM39Gp3tGVKJzEPGUBO5myqLMask5kaulokfJQh7oGWZiW8rqJno25eUrr2P\neZHg\r\n=Hg4l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRvSDIqhbSzB+UdtIbyThzk7lE3gwdPAbtKcTRsBp5NwIgTvVQB0/sraO+lfjLO03ouMif+hmlTooz6qlyz95kiv0="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.2-20200807173832_1596821979470_0.7131088661111651"},"_hasShrinkwrap":false},"0.21.2-20200807191859":{"name":"@accordproject/cicero-server","version":"0.21.2-20200807191859","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.2-20200807191859","@accordproject/cicero-engine":"0.21.2-20200807191859","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.2-20200807191859","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-G7r4b1ddRZrlPKreQTltXWSQ7X/bsBa+CF0q2HfYb/ToEOy79UUXfnFIg58hC1OzeP8syFEcgQZr+19bqMC5RA==","shasum":"e6a9556e62d659f288f1de65f56f6739e9363391","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.2-20200807191859.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLallCRA9TVsSAnZWagAAzoMP/3WsisjJ+Ztcblpzq7tq\nXAnLSYvpenvm5vO7yGtDfTHB/JFf7fWOsb2AYQoaMZl86JT+nKoO7M8cLciQ\n5G9hWFe12QjVRBOQVC07Qr4ZHBABfY3IMSo/VjXenf3za7v30Ju5X45EBpaR\nX9tadhOWRGSCc+0CZdQeiGHIbqD68wMD7NB7MmmjuIU2CFCHpGY0DNZ9lK0I\nAeIVGVbWF2xpJe5mBoSHqIU7Dbr0XxvIfJlNPMV/uQjq/Tq9k71no5N5p7nh\nmjbwxokWcq09zqzuY9moNtFpwYYwybiPYx9xTwgFL9IxzQk385+QoUIFb9eR\nimOoW4wTnmGR0PGJSj05Qx0tw4B7qRuHuCpxnQ3ujuFlQJL9N0yQaWB5L/4V\nOp6gfdYEWSh5Vdeu73gjRv4KzOJFQf7vtEv8rS44CSDZg1x+3CllL01vJHmr\nX4ycV6CYVX7Ic/3UyzZ/uuUUzOjDL7CL2hSJ5p+wMGSFg+juqq+89Sd0y0uc\nKCwQ8RGJcZPgnD9ZBy08wC8RS4Ojo8DiHo3e2PX3pVmTUXj/qXbkqnMZ4bfv\ntqmO1wOsjNa+ICnkIJEDUo865JqspDxqZyevd4IHfAqzekY6xMImN+JfmOra\nUW3i8skD7TmXLejU7Gpnt4EyB/JVcgFdZqWQQ/7jbOBrljxmamb/3zpXVGvx\n1MKd\r\n=wQyw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB0Ab59K2iJ2NMxn8sm4zTg45aUvSZq8W4tv+txbwVOZAiEAzrmPpVj+DnUcAs3fLQDI1WNJC3oxgTjdb5bSU0EFA0Q="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.2-20200807191859_1596828004826_0.9141374300790484"},"_hasShrinkwrap":false},"0.21.2-20200807210547":{"name":"@accordproject/cicero-server","version":"0.21.2-20200807210547","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.2-20200807210547","@accordproject/cicero-engine":"0.21.2-20200807210547","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.2-20200807210547","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-X7q9Zs+spxQta4wLZIOYzQfZE5hG5ancxNX+T/GeaNAUdjtrlNrPQYqLUCq3PcstdcnK+zvFiboBXTCP5L0i8g==","shasum":"e33380e598bd884db41813a89494781df997e6a7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.2-20200807210547.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLcJsCRA9TVsSAnZWagAAe4QP/3Hf89ZWG3u5+JaEVW/A\nkKTfQkzuSQGjT02oPxWxBB/03WLwT25mCU6dChjB7aD0XYEewsvctes8Uk1a\n+d0lhRjwHBSUpmIt8OiTQepTzgDCQtjF6q6lxMC5FUZRQdWS/CM7XTYtXLbk\niTTY34ciXGr47rxVzfUxugGouyoOL6qA2Zd5lGWJU5sn2ilHgBFzio1p3kzi\nl8btBumP4+py3XO7wPCn0riewH5jS31iUJbtMRpAQGau3PRoA78fVJQCRaGc\nqghh/7ZPRvtTKKbRAeM0d5q2Nq16YXWUiGrWuFyTR0d6ltG/aZ8zJmnUpMzh\nHNlnQ1dqwJ6+ChydrDgxV8OCIZzPOtTHW7lwlZmDV3AHhJfdEg+rvpEq2c3U\nYMAyks+lZgXt+QIsdkxAanWGPgcBMVvVnZ+PBX7IzK73uw+a0laGEf/VzCug\nEKj7eGY6xFtCHK2VDgbe97f0JvglKKDQyZEE2W/bzcYEEMSDys1N6CvTRk9U\nbZxAOtU2ZQ/HSu00DVni5gPZjDlcgiEpU1aPzFA3DPOgvpUQ7lM0AYuhAU7W\n+ErLfV+gDLbawNWknJ3zyUds7YD8qamkkC4Mw9Xxd5vnEefK44/z4V3BhHRW\ni6caBpLOM/jw0J65sG5JfMoHjQeeMtjupzldlqdXDq10vQ1igeENvxOpFA3O\nbOk2\r\n=0CJw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEENoCUr8qk5uuziTZrJXfo6IiR2YbBUOFB32853MAlZAiEAwDwCooMiP2baABbOmxuJrNxz1KCF+dqVj7Af0F13LRc="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.2-20200807210547_1596834411917_0.7178974699545131"},"_hasShrinkwrap":false},"0.21.2-20200807214306":{"name":"@accordproject/cicero-server","version":"0.21.2-20200807214306","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.2-20200807214306","@accordproject/cicero-engine":"0.21.2-20200807214306","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.2-20200807214306","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-0v1SElitQ+KYTiCS62r6/XFpd0+9nr1Wj6B/zvybKr0gKgtWVvtxNIDNTt83yXafW/3SW7lPm3YFAFCpOc5PWg==","shasum":"3a48e61200cdfe848c3a39e78d9278e3450fa683","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.2-20200807214306.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLcsuCRA9TVsSAnZWagAAJ+MP/iXqAgPXUFx9bAhZB3Kf\nIbrO0eZxw+Sr+Q41YHPuDXsHaf25tMsFqnicN850PpXXgU3z0bImRo1dn2Cy\njBcvck3UkIpnsDjYCU1F6DS9XRBvhtVOdOsRndHF43QTanw7WdJlh/j95piA\nIcXxFydDg7k+2spvgbIRBvHcaiZUofzIWXE4blSCtrlGkJUcwJtfFyPOxzM4\nFa8FSyYOMWupm6uwZxpZ65Qhy7qSy3HbZbnieKRhxhOHPRHa89pqC0QMxLl9\nca1Jf5YmwgbyyI5TFDoUEfM5zd3lcznEP68flx3NMe5++UpidQCpKuh6If3f\neR7WDeHRcj5ZtRuiNJoXPXv9LqxAvmZA34kPr33o8SZiK5HbPmoYUrUOq1Yj\nITKKUiZe2zwb59kncA+ZMAhPviS19Ap8RCupFzSeW3ZXfuhVEqgiLmjU4/EN\nQNqhWXU/emUP754TihRwXFz+X5hzIPJk19L/xzUHAKYvdPSyoUR7tYrw9k4u\nUV8bGyjl0qfWeJemkVEKgEqUIQrH4Bnakzfhuf7CnkCG0F2va2B1KtVU6UBw\nnX3nl1GMnOHd1kgxabFuKjqAGFN8BPZl1BtGKOM2EFvxLUlvnwh7y5YsqxPC\njFPtTLWWPhar16pP9pkfiNhhgu0fClYuMlqsSp8vFpcojDVDOT9PeIDSRFAx\n49E2\r\n=LP3Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2dKw4/KvP64FncLnJEFGItZgBVBiagyzfm0+i6fpuyAIhAMu+dU0KJHlpdw+J6lBuDOeJjImsB0W/UoLAkK0b+WMo"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.2-20200807214306_1596836654375_0.3470008164833449"},"_hasShrinkwrap":false},"0.21.2":{"name":"@accordproject/cicero-server","version":"0.21.2","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.2","@accordproject/cicero-engine":"0.21.2","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.21.2","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Oy6IudNLnEG85W5x8vF0cg10zZNURFjN+N9ok4cwf0fyOl0DSm8EEF3S0Ty0K08p/9M4kzzTf2QM62+EL9kAJA==","shasum":"73f6baceab70890f21d8409732c2948da4ed899f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.2.tgz","fileCount":49,"unpackedSize":179412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLcwuCRA9TVsSAnZWagAAwLoP/2apeIkAHvt0il7sqX7L\nve+jn+Ugum7qtQUjkuuusn5Bmx//jO/+W3e36uDTNd5dC1qTPgEQlBdZrons\nu5Af8joGYsEy/V1mFRkUn56YJYdC5guZ4E7wEtf0zFz1um3EekdFUE0h9Ero\neqncyFH0NYMu9TvcyEW4kr/2aKl3zhYRSa49LKKgzGYuxVk+rmWj/nsyVPmi\n1TSfqEkg5HFtpCeR3gJqLdTwwv9A/dFiyAc9E8n57EfJ6Q941GCx7mhII4CN\nWPfk4kiskhi4R8wvkuhQwMCNCjCpl+SQ3pK0ojDoKjMLoYuU4gY3GJEONzdq\nAgfvH0YyiPQMAIJ+SgVibtdhy4Xl6ScAMWcYuxlY4o9vpIJK/SjesJBQy0QM\n9SxsHmA4enh/ekKwPJxS/iKILE6htkqom5oZJ1u+Qb2pKxFCJgJ4fWV7rM03\nlAXneOKc1vbGN1ZGsD8oBiIi1HZ3zZFj0KVtut0++EZiAUQyvrQ1bD5ChyRq\n5D7lSmBgWLRIzEnviqyF5nFbCFxehqgeBs9awjbKj6+08STTFD2bw0AJHo4C\naojrOXaYVPSUN3IhvYy1CzmtvPMtuQm+dHUyjelev6d96HBEa3JurtYQpR+r\naIjvog1DwQIsyuMJDlAwOfn1mgrPoMWEhIgWEL2yLCCGnx+EaFZAjVeU3LHm\nd378\r\n=bBJP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD32Sni7boS3xfehmD3aT1Vs+bLFfarxFphePw/caidugIgIZczO97whDXiJlf6JfKh+ZqOB8drrNILHNWUSZTZwmQ="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.2_1596836909937_0.5404529998967986"},"_hasShrinkwrap":false},"0.21.3-20200807215313":{"name":"@accordproject/cicero-server","version":"0.21.3-20200807215313","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.3-20200807215313","@accordproject/cicero-engine":"0.21.3-20200807215313","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.3-20200807215313","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-hgtkxZFXuApu7agl3SgXNokJSZk3fPL2YcE5rJvcUh55oNPDa2HZxA1MFph0jv4WIzjaoogjyt2l63b7zkD1FA==","shasum":"3a32390efacbf51134ed9377a18e1f1a369f6aba","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.3-20200807215313.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLc2QCRA9TVsSAnZWagAANQ0P/iwLCmXbCyRAuFjWUyDN\n4xs0HuCMg5CNwpc4EMyDN9P6jxa+I+ydQ1IBtyHBzgxvSk7f7NoR2u0fMrQ8\n+qM8SJ6pV24694Ok44aE91qYHZcPjnzXEA/btVgx6RDxhTAQFMLVaytl33Gm\nf4M84O5tFkdd1nuRfWuQ/GzY4vPwYyNzMugQboA4h2IxGC+/phV0jBfSut9Q\nDeGBceTLDnxGIScZr6cpd39LT+iSCzFwLZtMOBS98aPKXcKyySR9Wxg6i3K0\nX2n3jd4LaCKYYyqEulweBkNP2bOeKh+bxigbaL99G36Z3qWEpj3OPoPk123h\ndNzYG3OcFiYRp77oZL+lHDWjBPKFn/PChBC83O0r4Sic0UhkYpcT+qxXcmhc\nTzLc3avclYDZn1vcv9E9vEsJBPt26u30m9zZaM6e31oXh8dllkFX7rXlcizw\nWPXGoRqNFfR/GzKQeAC7cJG+jxeTy8pP2xkshGKNZNH8LSdD5pLJYIF4AcAi\n4HIUWj/KMbET9aEusa4FeSDbMbTBZ2qqHQJ3tGRNG68X7j5yVJ9Ik67EDTcA\nuKVRaERPYNPYnO33v3m0uVTTfJhXjXJcktkxg5f2J76Cy/wFiSYZLSCGOXx9\nn0L8C/iAMXJ6/thrwL9gWeLlY1Z+x4fxH0CwOqzM4WoRIhk+xNcuUCeXdO1L\nwez6\r\n=RKO8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHr3XxTGG8ixpjWKyNuCuWgc3Z3otTQn1RguFVl6UsKBAiEA867f884dza2X2QSAmBjavBLdnqnQCjpC52W7owtG9a0="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.3-20200807215313_1596837263544_0.07286700236991717"},"_hasShrinkwrap":false},"0.21.3-20200810225647":{"name":"@accordproject/cicero-server","version":"0.21.3-20200810225647","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.3-20200810225647","@accordproject/cicero-engine":"0.21.3-20200810225647","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.3-20200810225647","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-FeUOaItRhIbBIZSox2f8hdQ7oTpYDtv5O4RziFkatWdkRWWqKc/210R++gSP72saHYzCC6WTCgV3jyL0xX0WxA==","shasum":"ccd4ba9a6f30b563fe885547bad62cfba82ad0c7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.3-20200810225647.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMdDvCRA9TVsSAnZWagAA80kP/RNgR4rPhV9+le5sdMGM\nrlM1frYXP8hrb6eQGviZBsX50TWh8J4AmyTExgDvt/XPhdIrsmun21+fALan\npmKxudnqp90KAjKs4j2z4+VjeoM223DHABiXVs1DMPnTyPcs7bZY9oldRpWB\nmdY/tbTj3057iTzTraiVJr0D8ZrXJCg1Y9CZp0s22r3M+/Yv933M2ZPmGTZq\nSWGB+72F2rOy+8fc9Bwv7JINlEYm6mr4i0XuyaaxePog5sbun6wyVFkdwokC\n9M1DdC78YQsmrh93By0qaDmpY/PECkYkbZZoy+q1j0EQ3/lLbKBl920xGwZO\nw+JUVukOKR3apo/8YLbwmP7G9kWKm7+8rkUiphO85RjmAUu80ZcBp00+l2Qq\nsR2BzHMRGfYgeQ852cdcBpukMdUvRFti3sxSUqhHXUVAjIKzHVbbIB0oubMh\neZc03wxq6rmG+Uh6m6NNVRXgUmL/GcMeZFZ7WzUf8qdegJIbMHV/F6+UNhZE\nRCyNIBjp/k2u9ExoCUxDNazEwWf62GRhgEV5kZuQsYnAYhKkldpTC+dnURwJ\nQF5hJTqhvlWtmJEvwb67MuIhm7jiO//wS1RZkXmvwR2/+YQUFZWNA0XD3R6f\n7BGI08E/AcjH7+8V50L3oclFk9XEkV1OBIS9DuzCIoYC6qmkhCFdbF/tS3AI\nnybp\r\n=Jpoy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5kdoukodcniNZgzJbLlimefcZNr/bQJWOPgQ4I+iYhwIgLFWIZu71YsKaVxciFzzgNPoAsQjBAZO/V8r3ElmmpCs="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.3-20200810225647_1597100271347_0.3113351689141226"},"_hasShrinkwrap":false},"0.21.3-20200811201228":{"name":"@accordproject/cicero-server","version":"0.21.3-20200811201228","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.3-20200811201228","@accordproject/cicero-engine":"0.21.3-20200811201228","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.3-20200811201228","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-nM9TuUMnLKDSKRoMYOoaTdBPZZxQ+cHuMADNeox/F13GIWOniAECEkoo1O6YT/Rp8HdYzw7Og3iMONW7IbnPCA==","shasum":"80fb1308d4cb78a067ff0595a1d366af9ca4f0b9","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.3-20200811201228.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMvvtCRA9TVsSAnZWagAAwTIQAKBKTpY4LVDWnC3P5ss7\n2eF+H6fEm2NldO3khdrTINldjEGWEfWex95IRyH5byseW3TF4TAnCNapJq+L\nMpItCRU9fXnzpQXZEI34RQ0PfdJXlHfkDIOJ4ygWs9p5GLKsRId/xALgfoik\ndXOYLPypG75yG9p9OHrJ8EE32KNyHSKGGQol45QdPLEARNRzKW981KjL/sgm\nmkg60x1+dPSM0ZXzoapPsC3+Qqnj9sJ9Acw4i/YLr+uivRQy2G7FIuJ44yAK\n4ypGiQWmJK8EQ6AoPoHaf95S/zzwcVqQopRlPhiMc5McyhhzwIJLkMtkC40i\nBVQNBxwLo8oXZFoQuvFXTExl38LxbmO/No2yTcv9HCo9swAEVDV2u3vhnJly\n/SoB+wZU8V3UTR74AVjhQbpr7gEhHrUeQ9ehEXJN4HrAoGovXxpJZ21/Jn2V\nLwPuNIfDWYjRu4HuJl+eiKFkj+Ce7elvPGmNMHPH5YrUWX+LpVtrc/bZzQoA\nkThd3G5h5qUT8cWekNgBx+F5ze227tpsGCAvghY05JR93px/nGEpBa3UoIp3\nWCXFL7/iB8mSAF8Nsjig4l71/u9PhZ+JX6Ws6ujUErO2frs712VIr5ammt+Q\nPAdwCQRMc65I1JFpypbkWEQ5/N4jDB1tiDcdzGO7NmJSFJC2w8KPh10kBVYa\n3OzX\r\n=89ND\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICuqIuI3tJGg6Ap78DMfeA43kO/6rCbEP6xFYiuQ3IIpAiAVbacZk9yumQVZoGWDvOsPl50pK6Nnsrvpp5MwZxNKPg=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.3-20200811201228_1597176812526_0.052281029040435634"},"_hasShrinkwrap":false},"0.21.3":{"name":"@accordproject/cicero-server","version":"0.21.3","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.3","@accordproject/cicero-engine":"0.21.3","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.21.3","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-m/sSlb1mg9XdmMdnYsFyNAmfRPLGxBO71o+rPTMYdPVp9NF5XjoKgZJ04DAydsuz2PpvSvvhYjag4AQ7psLzXA==","shasum":"cd7e63ea253f100b89c3cbfab5bc9daec1c23895","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.3.tgz","fileCount":49,"unpackedSize":179412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMwIoCRA9TVsSAnZWagAA9QMQAIt8/9ssa6Bgs562Ps8L\n/uL0CkLppOWfc9MfGozpyCzgJpWEGbFc3J1Kkrn+092r3Ca5w89k7nFyu3YQ\nDlAVUhcFJzZ9dwg4Nq3OHb7I4ZdJMi5A5bTu35Twngi8otu5E021JTAtZ5ls\nnLuWJnyZ010LThEhFS5NImQiQgrANXrDPJFkJpU9hgQlm4PlxjOyCw1s61vq\nDIDWziprZ8lsmC6Y3eElUjwAr6OXhi+1cQQOrbUDoScyD1TUJ89LSVZdEjFw\nLkHzh6XcexoxwPxBWj4hi5Q6vS6nVO4/W2QRfnP+rUW5mhHvGZd5odLrCtPG\nwUxCMRp40vjYkS4izjXi8lScRG7kfpT/InffN/skgDJtZF/XgLC/tuRWie8U\nFtbfDqppjz1B15RX8rcHnZS2FZ6N17ROoJxSMH2D5oOGHl8ZHdxUEoEHrHEV\nEXDEgUpxh0IQVd+fGnII1SBMeMAP0B44qQI4AZzaQxlb6Jg5QphoRp899qVk\nUc4vt/VJ8TUjyqP7NNy1kN9NxJA6OKyJaYW+N8Gk57a+mkl/rhZFWMUmknKs\nglo5xFwLn7LZ9ettu1/UPD1nPuqqEcDvn7M9fti2l3i93ma0zdC29YSMHIic\nC9pTCuPDJCdhkJbu44a/u9IjmlkbAcaojHoVBRXa3Ymoyj1lysG7dGJp3CtL\n/hd7\r\n=g7Ti\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4vBfg1JskRq8EQXE5vgznF8FhvjUstdjaCv9AHWlJ0AiEAgU128bTA+5viSxSedXLLarRSed9T1rJzCTDJ5WytObo="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.3_1597178408280_0.4386734688906535"},"_hasShrinkwrap":false},"0.21.4-20200811204506":{"name":"@accordproject/cicero-server","version":"0.21.4-20200811204506","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.4-20200811204506","@accordproject/cicero-engine":"0.21.4-20200811204506","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.4-20200811204506","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Ko5Z5NWzLwNPGH0RyNR4B+wfMZPMWRy0JTXIKkdxyY4uTObOCzUW/LcqMVq8N6U4b2FHUmGcihYdERO6NpV9MA==","shasum":"be5e1782f88eaba5e06339da071ba90aa1689d40","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.4-20200811204506.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMwOTCRA9TVsSAnZWagAALjwP/0zmEr3B6+tM6/41Rvs5\nXws/+C6008wxvbbBwh10rnbS9DaayMHC7G45AJf3I+BHl9kj9qMLUjGAlp1o\nEmT2Bz9ixeYpGKW3xDUM9EoCaCF+0iUpS78ba3WK++eG1M7o9YHvyQn6YEL0\noJwHqSqS3OMdUqCMXqdWGDe134zABM0KKkYd55mnQ7vkIWkTfdv67+YEo/Up\nU/64hszdrNmhw0/kd6NMJhTwMMZFoW+h2VlO5WJHdgaCvTH2D6Ssdf6irT89\n0sOorfo/8MpOM91PtZ6aZeUi7MeNuiWMV8oEDokihhrCdPbSHaCW3omrX1sg\ngVD46/CAOf1ocoRKwzSdKbqtCZBVs0wCyHafyqOsTUmzTX+fsFpLjqantgJP\nifKBxFvToLhSZKfu4awZh5EG9B9s010TVVcFQv4zEk+cRz7IjwKVtBydXpEY\nhHI5bc/Oc618QQGDRD29mUhiBEsSQnX/Bzu9eIe/L5temA5clEk9FEtwjJUO\n0VdlsBWMusLfhFj8SBP98ZUmN9w4Up9NLtj564jF6tQgawxxJSxEUhn4TUzE\npqfsZyjj5RJAc521eq/5Rge/8Qxat+WEo0tFjjs93dUTe+lTeoOlG/eF+31H\ndI95R+Z071WtCrFTBdWRWbZm3vQXNaQWHxEA8PP60djdJ8Ozg/QbvJMhHsEF\n/Dve\r\n=3/ED\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwTQmzHlM86E8VlYpi2OdGNFMH5+N2ehETg/MHhUx5fAIgGsofcSvPfkxVeOlQ/wPeY5/rAksIN0OPjQq7YKI0r20="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.4-20200811204506_1597178770927_0.8196528624874486"},"_hasShrinkwrap":false},"0.20.8-20200819140132":{"name":"@accordproject/cicero-server","version":"0.20.8-20200819140132","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.20.8-20200819140132","@accordproject/cicero-engine":"0.20.8-20200819140132","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\n### Stateful request\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"request\": { \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }, \"state\": { \"$class\": \"org.accordproject.cicero.contract.AccordContractState\", \"stateId\" : \"org.accordproject.cicero.contract.AccordContractState#1\"}}'\n```\n\n### Stateless request (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\nexport CICERO_DIR=<cicero-template-dir>\ncicero-server\ncurl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/trigger/latedeliveryandpenalty/text%2Fsample.md -d '{ \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\", \"forceMajeure\": false,\"agreedDelivery\": \"December 17, 2017 03:24:00\", \"deliveredAt\": null, \"goodsValue\": 200.00 }'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.20.8-20200819140132","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-1YrkbG8a3eJlLxXEBtGGQTfuyvCRyKbKCAVHbBb4soWe3p3jsWgSy5NcVmamlHrVmbjyBn6HyO/vlOoC8HIkQQ==","shasum":"d856292fcd575aa9ebd1ae24367d7082224f021b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.20.8-20200819140132.tgz","fileCount":38,"unpackedSize":590918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPTEHCRA9TVsSAnZWagAAqLwP/1s5Qk3PE+bQSS4E2pA9\nglu8PWPiahmIHUpinIpOcPpjtjVk3yYIVLbRFxmeGzyrkvfjrD/IdvSq/GP2\nTxXmLKbq++yNb78Yp+3tQSBglPujSTBdWUXuAK+HEShIcx0XmzvcgD/ia6y2\nVD7X/t1AJQyrbfpD2OTYkAljBLgqZPFGUuFHPrsrNc8WFmvCj8IAJUbrX3R9\nFKQkj4ZAsjfkX/tg875/J/exf70nZgHLV3vgT0OlokaYyfu6IxPtXL4djaSX\n9HYJNBwGPhK32LRjbpp9uGyA75E48frQ4Mr+Ch7UQkhECwXrYoG6LeJNzw3G\n/of3Q/qWBjmyo60siVem1yyxpusqjCY8dw72NMRBUbUxDYGXMsjb8K4n2+R0\ndUmlLjNXttDhBM1OQL6WVsDosjfjyJXQvtwlYR5j//m3QPcrtHyxqZIDpceA\nwJd2dT5z7yWvHKe9x6GF4jJOfpOYJxEsNa7jQ8grRKpC08ACln7Bwcl4sdpu\n5jDa4dTLWRBW/22i761qcwdMM3ghBL4Mh3aGj9JJd7On6WxY/m0VnY545w7c\nNPcH81XdP4zeYdiX6EHz/DJCSpTT+BsH/pNnOnCEZkYAQIkMsRiW/12/b/Ag\n7EeO4Fsa4K8nX0YJxXyz1XJzTqVyHDhlaF0OGKzkjBmFlz8DMGAxpXNgo9QE\n5DEx\r\n=6lAf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChqHvCUYxeQPT7hrDAT906T7takCWdiBZt/0NyUXC9TQIhAKfNmZnc5d1uF97gPcclJIg36195YSBu5wKPoksYGhCV"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.20.8-20200819140132_1597845766824_0.9255869090116469"},"_hasShrinkwrap":false},"0.21.4-20200819150854":{"name":"@accordproject/cicero-server","version":"0.21.4-20200819150854","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.4-20200819150854","@accordproject/cicero-engine":"0.21.4-20200819150854","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.4-20200819150854","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-dNUtdAHVEMCZB3RFEsJ9ZdKVaFABcqovcL0+h1pSGTn438FMciypI6vk+hhMf5HbPDp+PixzNNlvwtNnuq9tlg==","shasum":"d5a98032f5acd35898a30eebddf03801f465003d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.4-20200819150854.tgz","fileCount":53,"unpackedSize":655322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPUDSCRA9TVsSAnZWagAARF4P/3wyfNY2iVPU4WG9KzDA\nYJcwAlDVta5uP32JsTNlwtOmB/Y4EQ67KxbcfJF2KOlHrQ3/x5g6BvMzfdzE\nSpSbtaE9aYOXZfhiyfpFPg1qhAWBR/fngXsT6XJSYfipQE8dkAa1/KPzzu4z\nsx2t6ffcDltc/pRKKUgxIRzmx9sD+feQF++/LnlrWNuuHTxMNxTZM+0zYfYi\nlgzPe19sm/udou3Tl/4rrUbgcwSpLqQMuT+saOQXcgh3wi9X/8142cFZaLio\nJWkoUAwtrxiDNuPZVSVSOGr5WjFGN2k9olqtNNDqkMf2H5KEGE5yxJmEujcJ\n7Z6BDCeZp+etJDyswB9fYRI6dTRCSmm180sN4+3Lv2jWAYg4suBYwZCAo4S2\ngvfEwsfJrHjxJfXJTwafYchPd2B+1itwAETF18g8X5qo91oSWLxJ5O9xTcZZ\nrJNKLD2huIheeHSLA2is+VJyTS6u5j5126xHoP89Q5qLbevuB6JWR92b9Fiv\nJQB6sJ8OUL/OfkFK/PQ6VTO01wda1v3kYTPMCMDSq+fHWSpJakiGQKmf2ggG\nNqNYXPQfCqyI20dijd7GFH72+Ba5ZfCEScfKiRgEF8rAhZ9dwWBBS9MkyYNU\nvAKrnJ0IkIsttim5P+HkFXLwFbW0QOzGBmB2Y974Ak/T5kII8Eyf2bOaC5ts\nR6x6\r\n=23S6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNb09yPydK1xA5yhzwBcVEsQWmxn1Q6ySKGydSw4tw0AIhAK6iY4PSCEnfj7qfIjHgwDiHgKn9YXbx4E4FuIcdFNEo"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.4-20200819150854_1597849809576_0.2803202347849607"},"_hasShrinkwrap":false},"0.21.4-20200819193608":{"name":"@accordproject/cicero-server","version":"0.21.4-20200819193608","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.4-20200819193608","@accordproject/cicero-engine":"0.21.4-20200819193608","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.4-20200819193608","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-5/ANXiKaXSsu9ROxTLkx1izXdWM9msm9ZvjXQ3ZLiRY85lBfyJquE2WDStMP2zX72Zgs5s5tsNWy6X1bkRbIog==","shasum":"551ccf4624aa402c81a60c4c6bdabd3e52c53d66","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.4-20200819193608.tgz","fileCount":53,"unpackedSize":655322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPX9/CRA9TVsSAnZWagAAh4gP+wbL/DMHLc6XDc4h3AMZ\nHv39wFW2EHdAH0AcLtqMGt+BD3BC0e6J7TanPKbJkHGnnMdYwni+tiQcU9t3\n3yWvdt6N51f6dcNxi8xQTfk+U6r0PkJLe6wFpuC5BqQaU5h0pW6PreXSdTJ/\nxtGjich4mq5WRbHnluni9y48t9JESrM21w/z9FE90hMPay+rB4kJiyeJfQt+\nc7bP8VSf7h8gQtQX4mW0Yuuxm4yQ9VfStcwUKUozno9W5T4r4+ZUizqYHw6U\nNdaLCe6gBsxqqe7VCwihRqhgWyyyv6YNtZFThYrXCT+oSIFs4E3CEVBhlvoj\n7e11PWpFlc1IbMX2Iexpl7tWXHGDoIsHUrb5+p3q4z1ru6DRoybc4JgogTtX\nyQVcpAAa4f2jAEQWSTQAQZ1tGqGnTSLDI0cgU1UDZxqtp5qBo+TfX1CZflKG\n6tQK8EVumiqX6zOBfsvEqY4O0lI8L3wysPKdDGrulHUf0H0CSs2QNsnQQjJP\nlO52nTlab4PLHjm5WjWH5Uf2/XPAie/KNFB2Z/ey3Dav3FsrWbMSsi8XNovI\nFv2SHrDyU1x3S8RMPVyX5nl9AKKB6A7kiPjGb4+P87quRGJPjCRVu/ecKBz8\nlS/wsmVB04y/fTljb04lOoUVrjVoBZ7LI9H3mkjDyepeJ4S+OI4ifyBYK+GY\n7CnX\r\n=ZY6b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEvs3YA2DpZiJlz2ZHQkGluQqRf5JKi+XuDQa5g04Ac5AiEAhY7fHbopyGuXgdY+zITgt4j5fdTGFsiv0v7gPQ265OY="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.4-20200819193608_1597865854657_0.5477308405173964"},"_hasShrinkwrap":false},"0.21.4-20200826140724":{"name":"@accordproject/cicero-server","version":"0.21.4-20200826140724","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.4-20200826140724","@accordproject/cicero-engine":"0.21.4-20200826140724","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.4-20200826140724","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-i7SzZRKmht0ZIvtsuZiG8OqNZYcV+A0mMpEJ56eVT9ciEw0vw9hsrz6E4i5YUw17mTx4EpBnBYT31WXmy3thfg==","shasum":"36f0d55ec22854f2acf5b098866e7920b75d5ed4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.4-20200826140724.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRmziCRA9TVsSAnZWagAAvFIP/0xJXoFFp0NR1QQEStvA\ngYo5xrl0WI6Vyccoz7HVOzpS1t9CCfyZxUjh3y+OHZnhK7alsX1ZnqS8mtcI\nNjjNEg82vDWfm0+rRCBLqzGNaz86+8fTNIVLiV7/0z0ewtZUPI42mrSFv+1z\n+JcUaell7A39tG8fJqQzrskRWcMC43hTCaCrP9lKUlTKmEvfog1a2ShZ5ufF\nmGKYbeU7+FpKHgCAFCGX2Ax9psk6U8zVCOhluBiTbl3vd3O16WN7dFUTblIW\nnDZ8BhtlWFejCHnB4E/msnwbUrbLcsqzbjVeIWwp4arw3/BNcBuq38TUZV+t\n1qUB4RJM42T4zQPmlIshKqBnx/Zt0tR644vrljQkYqfAAzkLni8BBpD0F4+T\nvaw5o2NYUrAJCVnmxv/3phZ6N42N3tDd0UmRxGSBy9B+5wcM6a0jB7DvZIh6\nm2Qt6UUBI8+f4rQeV+OVbeXpm230zvags428D5TPNfpwP2+BlkDku20sCOqD\nI4BySxz74fzS/rdpAUka2qV+MhUduSixPVYjcQUV9EOnLwi87wfxV+baORcZ\nVOwBQ27TJqborLOrjJqej6nYmBuKoA/yL4Vxrat8mRW/K028Xibj8VRl638U\nQzAkLrDJqgAFNLgciQhPujvjEOxqmDm5Tuv1HoR1JFyk9WstmCpiLPpbNj7u\n/3+N\r\n=bPhZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCA1eZrUI0AtjoF2rby3br295PzKblx/AmhVZeUPdIyQgIhALgVsd2+P+SqJech6M+rXwxs5LwkyjGH/Ne2nC+y1J8I"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.4-20200826140724_1598450913777_0.4284530712024872"},"_hasShrinkwrap":false},"0.21.4":{"name":"@accordproject/cicero-server","version":"0.21.4","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.4","@accordproject/cicero-engine":"0.21.4","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.21.4","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-B/EnNtIpyURDWOA+oqJQ3JGWhqzDJzJG/F5soG2ZF5jQc0P2hrQ5PAaZ1Z//NIRS8cZ+YlFNppbStFxE9WF4bw==","shasum":"e8213dee074f916a42f6ee5076f38621542cfcee","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.4.tgz","fileCount":49,"unpackedSize":179412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRm6UCRA9TVsSAnZWagAA4PkP/A+l1VT1gwr2JM58kM0O\nx1+h3+drGemGAVAiFxe81ZNThI+fMOSvjprncQTCyV2fSVKkLXNqdkZjlrba\nyHJQyDGxH86Oisw/iD2THZ6TRjRVTqpviQpe7q7tfzNKNmZowllz+zL28eJU\na6vUJEpjtP4mMMklCB/CwwHkavEl2JyXs1+OLJ8Avwuhjdj7AMG4+V5uwrts\nov7Uq/vrEAuY4XKPu75L4dbPzw6+Q8X+swhlICbCh27KppjAC9/Ui8/z+Q+H\nP79ZjBAXQiZ9oy8Bp8Gb2gz1dXQhMHDyMTnO5pwRRyHx0aalgWfXRTEMC/ST\nb8SNY+hwj1ecq5buMpvGDqKkaKTg6kZDzO3ycDNpe53M8Cm4G+bu8p+PYZli\nD/As+QtMQKOf3ViqnMWdvvsAS8DNkWyL6dgIaB/vcfyGO4AJVyyr2btW1Enx\n5wjQpqvyUpRmFVN2qjTbY5VJbScneDB5q+4jTIZhR6B4ZsuZb2SLDO0OlWm+\nfJZ1ALlO+SSItg+KxNsXZTu7pRpkCDtQwZX0kxxSDg2VqGPqVB8TvOjkCsR7\ns68oRYHIoBWjDju94MkSox3fN2y9gwE2InqFQzSOgj62AIStsLGZZu2s3ga3\n2dbyI6lZA+WHcQUYyRoiH9Q/7wkopMugmM5qsoMdCd8yeyVV8j5sgtSR//+S\nx7/e\r\n=+Ldc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIETta6fuzc0NH/W60z8fxDb5X7wi7/oFk8XgZ7VoGVSKAiBOE8IJxxgoD1BJGiB88bmJFXxXoaTkiAQioxTvcf2HAQ=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.4_1598451348373_0.39806509504801535"},"_hasShrinkwrap":false},"0.21.5-20200826142029":{"name":"@accordproject/cicero-server","version":"0.21.5-20200826142029","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.5-20200826142029","@accordproject/cicero-engine":"0.21.5-20200826142029","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.5-20200826142029","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-CxJwygUOVHwExcskCKe5L3v/GLxjeX66Y1126lnXquvADzgPxzu62nicfBU7mf5l1zWYOB/Z7U0yH/dqwbWMNA==","shasum":"2715c8b1f1e4748658cbebb448bb9d5b4d6c952d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.5-20200826142029.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRm/rCRA9TVsSAnZWagAAU2UP/2bnQSeZYX+Ch73Zdi07\nq/xod/OiVjeFpKI8JbOwdmM1qKMpMtsr0JwupzZnlm/c6wrI5moTIbroSaAX\n/ADUHnEPZHDixXZQ0V/a/TA1gVAFCy6ugYCjGYfYLrew+RKD/BEsO/MFnzqg\nYhtXBNj6wZZ/ZPaHi4jl003wyIxVUBgbEEMJaT6o7vFmEMCGwgFwakLbMAGj\noHjEPa/Xv08VD67OF/0xv2H2yRd+9cD5FFg6xlzB19Xq/y04Nxd0+tSeiPOw\ns9l2epleoloHyaWEkcCw4MPM1nSTDw5FX4uhgbsz1Q3zBWe5z79z0ZPTrCT9\nLlXc5KQxJzTCmyWe6DemMk1cZlGL7bdcLFDuTeN9cln1YAEVYr4w5l3UPPrM\n4FCvR7kwp3S2kFL8OSN3fkW7/efDcaSon6EhurFKQi28RuqiMW1+I21A2oP4\ngg+nTTULecxArD0MY09pHsUpTrIQ1HOwlMJPjWbhAT7qShqLXVQljcW2xdyi\n+l2sk9zkwjP6hPgKM91GHTnVo5Evq0s8k2wFjui4/sQvHoxZ4J9AvsPGM5/b\ne0zmma7BNw0qfpDLN5u5TGSYoXvPBNCq1DGOJUN/2MWo3acZ78Vx5nGYZrw9\nRAIrniOEwc2T8WEGhZN8dyYYlelAAsXFXFWOkEDjtBcn+34BeuXvotz0jxMC\nbEbk\r\n=D01n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCApgiQUSvs7eoKsm60X5aGXOWOGBCXJN+WI6Wc0OrMMAIgdnw0zxrf5Y3tXo6yL0ILPbTallwpoRp7xDPvmOzyFJo="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.5-20200826142029_1598451691331_0.6120721918848486"},"_hasShrinkwrap":false},"0.21.5-20200831132103":{"name":"@accordproject/cicero-server","version":"0.21.5-20200831132103","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.5-20200831132103","@accordproject/cicero-engine":"0.21.5-20200831132103","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.5-20200831132103","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-3uvHkZsW/EHdzJOjMURcLK8OPy/ykqThzTuDnfq0tE70ebCnqmVQaJFwRReUcecKPbI1P8zaGzaUaYrn4Z74zw==","shasum":"197481da6dd16e1708035b37cacb39109c0bd854","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.5-20200831132103.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTPl/CRA9TVsSAnZWagAAQ3cQAJ56Q3x8i61kV/4VlREs\nhNk5OkkJI4WHroIbfWxiBEh0cCZOIUUmzFqPo3sj+oxSelydNnBMfwnp1J+t\n/CCtmcIeXAj6AvJLOneYnv5n3qDF5lMnrNEaXMFw12EsSd9VI/1jz8nr6o85\nlGV0K33h8YMFByJEVvIMNu/iGdlGOeggVAmUFclVuOPZhFxNQ2gXSk/CoZTX\nhOE2birHvNMLm0vzPZQNnBbC8BRQhlii3LUqVNdoNmngxBXtNscy3ToCqqT8\nlBujMybUk+E3/aFm/1ILkEuQt0fHodZGykR7Ezcwx1BXqMvgZ6gcKkbJNFHm\nsWuOG90o96Lp66Sr8IYhz9zdn665N0pv9y+8Fr2xcv0U6nnbkDje7jhMvVRh\nKEMu83/2n6mHMWyXx+xpBpEZj5dLTrIQe7wkb4NynTlethJuL/hfuz692HL5\nBWYED7skdolBuSkPfDgHmDltwnb1kFz+Yd7SLzXPhT8HkzUpP0wQ2Z3O9uES\nkJJpKTGyKiSfqOjmruGz+Cnb6zzE+07KFk6MuFDkWlRCOBdgbW2n0jCE/VA1\nC0oImPqxN0w41WhmK1o+BQmqWazxqFpYznt+xh+WvH/nlGVM3rv3mk0VVmlI\nXD1xLkU7GhZEsHTJWL8EEw7UD3KQHeQ+SICKoJIj4iHmuCfgmPfuSDI8gwqS\nlE8F\r\n=gp85\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTUGFL7a7CjvRVPgHGxGveaSLSCKw41sxelLmB5onY2AIgCsav/ektHqmIKUJn9KcdsJbNSmXMXBneGONnmoez3M0="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.5-20200831132103_1598880126602_0.12174760959240638"},"_hasShrinkwrap":false},"0.21.5":{"name":"@accordproject/cicero-server","version":"0.21.5","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.5","@accordproject/cicero-engine":"0.21.5","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.21.5","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-1dzwwOu9LNEusAsioO3Zckkf1ZCPf6IzdUKdvDCYk6vG68CuCviwmPHfCN6DP0Fkswgzx3JSM+NK1PbjqxUmMw==","shasum":"a1a77fa5c8f759450f018deef131656443b28e8f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.5.tgz","fileCount":49,"unpackedSize":179412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTPnqCRA9TVsSAnZWagAA78gP/1EqqVoX1OZr2hRXfjtT\njUKmAxWeiGmgs/BsoRCNalM80p5FT/bMTdxEyXNgPWVXRgv1jjOnTLCRfZke\nU0bt5XZSMP21jlF6TSQC7TMQc1553cOV4BgfXfFffG2ICKD5BoyINyUr0dEZ\nCUESTfmapb82E1GUHOv9XB+vAQMnO3gel3m/5m+BaEqr0HrjvXOwzusuSmD/\nkc52ES161mOxjgvUdI+Msu9C1nst7ruwoeAAmh67fErDLt/8+G9ggZIbZZZ1\nrsB5qWB2ZUDC7TMOmCMGJKzKgvtqtwuDToaGccQj89vMdOYwfEstVRYisNTp\noip1QN9nZKQ+5j4JHMMVEVRhtGbj/zy0V1EryxE5Fc05ufVPDT8+XxZbETbf\n3rqz41xvx92MNIO4kkide2WQjBJ52282lECzymYOvUNb3/ZXojxhjjKk1z6g\nG76lUrZr3QfTwAbin9+ooX8IhCA6RmNQF69kX3GvOsQp3FCMKmn/19EWDAr7\np6Y7NFTba5XcvON7hbrTc3Fh82mux7gbMz6JHW+g7zfzryioREYDpZirPtfL\nKTju1mOSAfX8vs8Ctfc9i8+IdsnhTD1DK7Vm5/6Cqhku/27bKVr7VFQeGv9p\nYQGb2Ai+ORGXXZe9qafZsswXA0BKCUK/9SgsKEzxSFLhAa40HZruP/YWksE8\n666/\r\n=YIhr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCo0qokQUeUU69rlfzfDTEnxe9xIW/fOgh5hNqAr3vprgIgNeZnQC1D+a17CFPiIVCxYwgHpC6oItujRzS0RnePWb4="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.5_1598880233802_0.017672663973238745"},"_hasShrinkwrap":false},"0.21.6-20200831132846":{"name":"@accordproject/cicero-server","version":"0.21.6-20200831132846","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.6-20200831132846","@accordproject/cicero-engine":"0.21.6-20200831132846","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.6-20200831132846","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Sbu2Xxk3ix8eUZMD1BTd+2srB3VhGtUeRdwKLjtLE9AcqVz132liz/+vyMR8dQOug7C+CDAng+6gqHvnziJ2nQ==","shasum":"b0d418c1d64d5f8006e3b51fefce696b6173722d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.6-20200831132846.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTPtRCRA9TVsSAnZWagAA4+oP/2aRRXYPvU3n+oBl3k5r\nu2ZbGns7H9ZtE5Ui3P790byVZWtDGW35CE/ZVHyv6XlL51glZj+YhqVZf6K8\nawkb2JVLTlVrP8fZEI32lBEaK9HGf86ElvwXX1RWQ3P+H1Z/aeWggCauKYmH\nX1yto8EmGesz6gCXib6ZvSDzibgnjvFyPCyy9nau5KOSL6OT+nMIIZD63/kN\nYKbCFt3jBvf/hfh56+euONHrktN89e0lXc74WCJgj958Gl3eQkNZMl2dVC6n\nj4QQLxnkA9xllg3FAAJxlZzNvycqrQWDCe9oxJGVwmNB83tKtIcYJGZ/CNv9\n0Yz5dPm3XN2ErUT85Ym7sC7VNMMDMRt/QU2IeWZeknHZ9V062z7Oam0jwBbW\n92OgJ9DN2MJOSyYg0iTz8+2+MGPnRWElTIxtrTtyQzIBy8YABXujMB7RTH9x\ntlYaDtn3RWWe9MjWgU2cdn02eqUbQMC4sNNAwsQdrbWx6/epE99am/Vxswht\n+kkrCq9gwE9KK6g/OhRPsv9bOtareyVc3iGKmivzkJrbQLQBSrsYGWZK0WM1\nnC/7XOuFxITwamEYxjqZWlZUSTntHoi/+kcoO8FajOerBQgE97u7f5VR7hH3\nLEBw6oQsfeoDiyT3R1IsymPx5qAeI5g3/zr3urRjH/zgduiJmE5IxkiTyZfe\nu6mB\r\n=R1HV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDy+E53ZbMXSTgFH0fJn1lfJyDVjQbXlXL1BGD5VcUAaQIhAJtzfDrU+/l648zbDCV8sY67wY6imkUSKwvkbqWNIRci"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.6-20200831132846_1598880593379_0.3592363526563116"},"_hasShrinkwrap":false},"0.21.6-20200904223940":{"name":"@accordproject/cicero-server","version":"0.21.6-20200904223940","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.6-20200904223940","@accordproject/cicero-engine":"0.21.6-20200904223940","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.6-20200904223940","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-mKJMDiZs2mz7dWXHAJf28lT1rPqS6s5hgsip3e9OUp7ndfkI5ISc8gdsDWzQnLnoX3DSoqTunJD5lCZLqvoxhA==","shasum":"c61e5dac10e13a00cc2209453f01e720e3feaf13","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.6-20200904223940.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUsJsCRA9TVsSAnZWagAAI38P/jwPd+B6yFRAH8DLjQyV\ndQo8kEdTqJAMNyGfrk0omkWdZ3S44PpLelwBM5xxuLMwetP554UZ+dhpm0Xs\n9qZaX5Z99eJngA4TQItdh+DYoRR4awJNkk8V8YZB/kwQsx1BYGp4dSdm7z67\nX7AW5Bo4hfSNlhtFqZy+fTnGlwxitmQ//xrrIn0/o7aGeFd212U6pOSuI18h\nDYcbU6zTgflU0P1geEQWWUGLjs4V/ufcNhGmpXt4FGe1MEPFlKVlNb3iuEo6\n6FGkM/Q/OxJwto7GmSkvAXa0Gv9I/TkRK/a9TtaK1jSh4pQE4PECzmdyy4zw\nXsJKZ5Rit9EMa1mq6j99qxeta4Njy5U8dRkr48/Zyok4J1IFLI8SPWxYLYmK\n+X3ndnSgdE8BLJ/E9nb5gCDTFZlEDyXp8CZy6Ndes1Knh8v9heLTgBIKPx73\n2TWRf32ek9KQnJq4z+CTgYxwjnOe9VpJspTqWjLHpM7hu4EqbcGSffWhfEgJ\nO5BoJsnAdiqc2z87fwn+F64NwgIEwHDmhZCPakq/r22zpORMdvwKVIK/pKlR\nIIDSeIaa+EihS1MoE0O+4bYdEJpZOXEFFWT+Giau8u68VxO0D2yZVsWTj6Ds\nimIIlEbdyUDNXTCIeaWFsPBTZJIdeBEJQXfXndjvOweja9ayWQeBoKvEh/Y6\na2C8\r\n=+5EN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtLK4EdWEqGZ6uZX/akilLk6ZD8E8wE7B0ggVGpDhuZQIgJ9O5VXC1rAu1aBfz1bymhQzseiromNVlLa4ToXXd2L4="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.6-20200904223940_1599259244254_0.5318228968014125"},"_hasShrinkwrap":false},"0.21.6":{"name":"@accordproject/cicero-server","version":"0.21.6","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.6","@accordproject/cicero-engine":"0.21.6","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.21.6","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-CCfQZMoyox70OmLGhCHeFFLJXzsN0NL7bANwXfN9v/haFdIVWs+G0/3NLvxg5YWACmn7ebMWPwyxUaA3cO4h0w==","shasum":"6eedde8f4dae1a8016dfdf25a01a5dcafffc7a8c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.6.tgz","fileCount":49,"unpackedSize":179412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUsKUCRA9TVsSAnZWagAAEpQP/iJiu0gySvTYv0vja/pa\nTg/npU25wrUxX7Ku18aRP2Vl0knpDBwTdeuekHZ9fsILsBlji9H4wiBtOWIU\nigRepvfMnpqq8eiNuUg51LeuyQSTfqsr5i4lkrkQLmDBEanrDTFU4znPRgUP\n5hFrcZxC9GnwGDq2XUYZFe0OJ3w/80f9SiD3IoKEyXf5CaW/xLR54fKzQ7XQ\ncgxkOZnhvmQne0v1Kq6rYWu7B2NalRkdC6tTBoBgnNxT1E42uXZ8chCJXgdV\neHtIqzpBp9jT123uUQJDfv2Op5gLZ8tRX4aTyv88wntIbYLp/L+iASi7FlL3\nHoQ98LSss4DTEJMA1Ov536ez8Qa5Fz7H42v+salS7OdPz1x7POWSBd/56lOD\nepSyaE3t8AxSkqnxJeziBs+3apJmuYt1lsNEbSGosx4bPxOR83h93XQ82nwb\nBpTdPzndutiOV2z90KjfrXi2UUBquxd3r+SgamCHs+qAmbq+l1v3c7fcm+m/\nTSi5fA83QxgTU44BygkJDjextzc0aAC/sIorl+sCxe7hoi14vz0YGyF8nkcj\nHdvBcf4w1j2/woK6zo6GTzzKdc1/QL/aBHQzBZQiz6Z4u/ZMmLSRUJtYO87p\npq3knZuQs5YSXHjt9gfvLz8VMU6ZYgTRZGEgp8fGszqGHg/NxnAelR5mTQhB\nThx5\r\n=Nd2d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHRtgOPsu6KsydBHhEUe//7uzNHcTrD255Q9RVWpdJ2gIhALzfnXi+YZII1rBYIGNheUyYVinHPBJJY0jq3BXDeef8"}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.6_1599259283844_0.7915530023539352"},"_hasShrinkwrap":false},"0.21.7-20200904224606":{"name":"@accordproject/cicero-server","version":"0.21.7-20200904224606","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.7-20200904224606","@accordproject/cicero-engine":"0.21.7-20200904224606","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.7-20200904224606","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-o2Hvo8+9O4iPgAgjq5LTdQBR+ImDNLAoSatVvH4l2zf1+CK7rU1CehXDBSnkU4U+MlWOregcOPBy25IjJCTInw==","shasum":"5eaade666c8e14472b0c82db28470c90c118b75a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.7-20200904224606.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUsPsCRA9TVsSAnZWagAAvVYP/0mDVLB2k68MMTA9334c\n5HXW2LitZ1r/BaQv9W4C3mbquBM/fkGbyz2lRlUcPQmkM+DZQoukVeLB8RzU\n5zyluG3eJ/GJpL1Irc+55w3A7sosQ9Zg/CIQFhyUpa0jFABZgHikgki9rqx7\n2rrdPqd11UXaUzu+3bEJbTRnDOs2i9KDxL8qzpYw13Wc+/T2vkx7vdv5jqtO\n0dgrTlDFz120i7BQ85jTmCGlJqoS2WpBtlW8hyLUL2j2kzlJjaNLKYZ72Ua9\nMQsODliKR2NDnVuBkGGsAHYOcDhAQOoFX+FUUYWVSh+GoJXOy7iJE8ZOZjcU\n75y/PBgWlyC2OZc0jHcMsKsWIx6110d0hkt9fqs8uuyeKWX/OkPKOuYQq7ng\nRJKh00zCSq+hemPac49b+iLjUfF1jQ9XuMrRpZcD1kCtiQ0uILV1mny6QyGA\nQPu0JOHCplOeCllWLKXxfqeNGbxQ6lygRQIIUt+FGnq+AJQ4KBK8tJrHBdol\n2kE7bC/ZrBeMVm95aIA1lEJ313WuVfg44SRwASDJ0TUm3uD8bSTaR3hs9KXO\nXLHI7yNr/Zm8EJpXho+qW7BIBrAkkFgV9OIsDaSnE7NkSdHLW7Mgoo5OTipD\nR28xjgRMqDqwnRPbzJtnwmHFnncYkwfBbInK2wF90NORjR0zMBz4MyXeeTVo\n3qSR\r\n=dL3p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHgWZ4oUn5f0gA/OzLuANIq7SygM3l+cC7vnk1GsS1NIAiB2s/OjlYB3QHeyI53gIrWtmh+7Dq7294qNGiB7WKiNTw=="}]},"maintainers":[{"email":"dianarlease@gmail.com","name":"dianalease"},{"email":"danscode@selman.org","name":"dselman"},{"email":"jolene@clause.io","name":"irmerk"},{"email":"jerome@clause.io","name":"jsimeon"},{"email":"matt@clause.io","name":"mttrbrts"},{"email":"petrgazarov@gmail.com","name":"petrgazarov"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.7-20200904224606_1599259628273_0.09347416627587735"},"_hasShrinkwrap":false},"0.21.7-20200915183651":{"name":"@accordproject/cicero-server","version":"0.21.7-20200915183651","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.7-20200915183651","@accordproject/cicero-engine":"0.21.7-20200915183651","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.7-20200915183651","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-wWtpRFN4CpR0weh+/g7NAQx6dbCGn6VYva8AJgHO0XBUJ7gpowIkqQlHNJSPSLoqWpCbZfs/Fnxv5jwCN/LtUQ==","shasum":"3169b7b75e690c1178c2e692f0e009929ef94046","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.7-20200915183651.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYQoGCRA9TVsSAnZWagAApN8P/izzL48CxiGr+J1aLgcj\nj9Djjj/WzGYSzhflUe2cTeADLYzb6QrSL9l7BTlpdN2UuMRs7BGQzMxQAI2K\nsJulFbLutCDvCdmq174dx1+1/Y3xi1QiFk4EonJHV/WxW3B6TGk1q3sTl6HD\nQbkHVDaoFj9mnRTb3IVQk3EDH/AdO3/fLQolSJgnaUnJaMxRYv2Y6qagwD3H\np/xM5g4Rw0Z5nUfYWgIZXzmb6msUTbnv5zRjSAaJ2VjlDh9Y3K4u3EsWRzfS\nxx0avsBa33sAq7EhlEBfQkMJzXNnhHsMkSzVEWWW+AWfLGCMohFAL2w+QeVj\nIy3FobHGC6OImLi3wJZCf1Td5euZZzpA/UPqz2PX2HRneBrOrOJPT0MMwbrb\nx0CfGEuOu+RLam9cooZ0v+/BmwELWBsqSA1MMpMK0Dow3L6ydRZa6Kqb9BZ1\ntcMhO4DPCYKU9MG33ysvVhyfj5BD3zwhteR0f+p2nlM4WpOLXD/gKKqTIob0\nEYnt+rHu7+3mftZgOIR5lLDMrYU1Ou4Y9KRznHyaw2jvfezQnze07WIHew0A\nf8S5cEZeAfNZlAn4DjXlW1fn23XcDYYYBwd6HOnIqDC1qY4jbPoRYuMbPI97\nXcSMKrZZHtRmdVZGOLQrOMbVL8N+igBrZetIyG8cISPVbEiECwcsXU9O5+S9\nybui\r\n=HifS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDsee7PSMf1OKMl+rj2WHewaDKU3rgDZjfKbYJ908nG+AiEAqPY9imDGXqWO7ul7HNrDM5H9t3zFdhH/wFbUYCwkHkg="}]},"maintainers":[{"name":"dianalease","email":"dianarlease@gmail.com"},{"name":"irmerk","email":"jolene@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.7-20200915183651_1600195077755_0.9390420943109035"},"_hasShrinkwrap":false},"0.21.7":{"name":"@accordproject/cicero-server","version":"0.21.7","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.7","@accordproject/cicero-engine":"0.21.7","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.21.7","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-E55q9NLEiG4FEgbBRSTfXvox8U0qpid8Wejs5iHZfhsxQqXSXChnGEHZO3ivzqWc3qUaRBfNM7LyTMVnV51fsA==","shasum":"ceae7b201e83ac7bd02ec686f72e31c6d60ff2d2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.7.tgz","fileCount":49,"unpackedSize":179412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYQsHCRA9TVsSAnZWagAAxaIQAI50NwZ1Cij/vfgmjQkR\n4RAYTyBJj6RePhgFg/B+ycZt91Ir5heW/fuYHnOX9M1O7bse5vJ1N0tL5ANp\nIxx15hhUHLlxTiKFX/nmMtNRoydmvNJNUUnhzITj82TZqIF+lP6G0ayB8rHX\nYsoVcGRXT5b7QWR2DsV7qxG7MrrBzIVDRNFLeCT46TlmOH0fZZl37uyJB76t\nsq9YGqTyjRQqfjTJcaG3XqmyMRgmLMwz7yUtHs5tV/VrCS+YyoqwRH979YEI\nizBPDVrB82GKUOBMRVYRuIFdosw1el5ZJL8fE0c2Woc3DDz6V4owJID+cx89\nQMdTjgjOQwLDxzD85h0Rie+JBMbqQSO3Xrp4EJnb95kOMICOxaEFPM4exeCP\nDPcHvAsMX9fD09rCTpfAeOE35PtCjhN2bCQHaagpenmix7TFA2l+uDn/hCng\nR391omp7sACeFAFdG+YjRLxvt4U0NqVATwv95ydoJw+DVumzz2So5cDtct9H\nLnZC6stiPUYfiGfyjbclcACLuBEK6TVMkTp6sfNjmU1u4gyQhFgOIkC2yq1X\nlJl+2JBhFE+FMFWc4zqkV5Hg8bvpYKn4yy0gFM6/YNvOsifLqS1QPxf37P3j\npYjD12rNkDBC4WaQR7jN0KoP+A/2/UCofCODyD4F9Q61CJCrwbCJONvpVqmn\n7H4q\r\n=OU10\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDogUphffZJ2tzueRZdclQmC9ZLUI+gASSp/7u9hf6gAIhAMMrZ/5mga23zFXp/LpB4AeEk5obO5boRRBbq6mEL2L8"}]},"maintainers":[{"name":"dianalease","email":"dianarlease@gmail.com"},{"name":"irmerk","email":"jolene@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.7_1600195335041_0.47250015342481344"},"_hasShrinkwrap":false},"0.21.8-20200915184718":{"name":"@accordproject/cicero-server","version":"0.21.8-20200915184718","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.8-20200915184718","@accordproject/cicero-engine":"0.21.8-20200915184718","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.8-20200915184718","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-zZhEcIBJEBMuZ0yxZ9b3D95ug636aV20CKoyydU8EoAmJE0Pf/cSrDlMVYHC5iaDyMcTfTi3I7qkOs4cbMJ3rQ==","shasum":"13bacfd977018c27454a76fd7098399de7184918","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.8-20200915184718.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYQx3CRA9TVsSAnZWagAA7kkP/jX3HIMypfK3Qaz5F073\nSCgPBX1Udr74Ui4dkLS5goNUPl2PdRHhY7LUEufYthF0c6qduCtwcr3h5iAW\nSg7mXK9O3s68l+B2KH3sjNwMGhjEvUujwo8c3rplVcmifwOYFKktwYvd05jR\nSzLH8NXVeVPXzps+yEG6l4MJhyVow/ArDFRdwJVIP1wqtxxHlfTXRrz6m+f8\nuu+qKyU0+QxeuHor79JcHLrcX5/CEyl+zPlybbySk+9e+Qw2ZvoamKIemfPa\ns736Bc0C8baLjMNeiPYJaPBVAy/5jSRfbsd+0KlvRjU4M+9GncRIEjnRpR5l\ntpC7O3AvywbqQXpA51MNh6sIDfR1vWF3LeWjc1kozu3HkFWLL4v5Cz4d1+8+\nNzQ6HSyzNC+JApd7Zl+2+5GI+CNn1ABK57vxPHNKYnoAazFwPoBj+IrUVbf4\nwsPfwQfe5huZ5YKPE+mS61zB2/vNAu6SGiv+lmnG1xnC9wld2yEqtTaZBKbx\nnTH7dCodtK00FKH/iiDDubnx/fJyqB3d52bl5escZ06cmw62vymKALaoyqhD\ny8AqH3wNrh0Wtq8W0omu+eLp/Y3vmViP7C9e0oVwD8jbjfhZdTwXb5r68deD\nVvLCIJ2jF9MRpafUXCSaA1q7BibGOtyYhN4wb33EJJS5shHU+wnTHB6mK/2c\nZzWQ\r\n=Ccd0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEh/Yl2Vhr4T4Pl1bqzJVBd+PaMYWQfOKrxXXk2zHoU7AiEAsH1YDm+az+wDHqvZqqkdjBFpfN67WaAg92kPGfpXTBw="}]},"maintainers":[{"name":"dianalease","email":"dianarlease@gmail.com"},{"name":"irmerk","email":"jolene@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.8-20200915184718_1600195703147_0.6045025519865921"},"_hasShrinkwrap":false},"0.21.8-20200918205510":{"name":"@accordproject/cicero-server","version":"0.21.8-20200918205510","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.8-20200918205510","@accordproject/cicero-engine":"0.21.8-20200918205510","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.8-20200918205510","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-hCO5OiPLuXKxG7J7zPr3+pNkmDUmj+JHnqS0RM/dd+yx5PGkk1Cy6Nk/03KCk/0RLMcKZoCZhYbzJ7sNQiJtrQ==","shasum":"19aa85b845cf20d7ed6a8802e8d71678931bc40a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.8-20200918205510.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZR7wCRA9TVsSAnZWagAAkAoQAI5nfTKc+dMtYTvTKNbl\nMENcfBZ/r4hCiiYSTwB2E315sJkEbQrydZF0whqoMGAae7/Z5I1VRgQa0tTz\nkEcQzA2sOFhj6tye3vBOTp74rzT5RVC1fea9+nkK6rB/0oibZYJOn58oo9td\nC/1ruZU54woTcqbX+orkue/gfUPTTAIIYSliRA2Y0IBqwlR2E6auAIM1AOaO\nZM4uEbdH4LiI915Gsby4ubCEpE9jXctECV8KfRhK8mT14cIvniugRO2E4Zmb\nVZ1yxShkWwzXPWShGUYSuHRg7g2rCi5rQTTUXNM0RNo/WnEenhcoNAmXUj/3\nmZYVyFPVCRJe3oNXSu27X3TgV6fqI3FFauC6e4DJv6ar9gYRaDW1EE02CGXk\nHe5jGql20wZl8CiS1hQyoPWBjbtOevfyypgHk5pXmbEF6iuci3g5uZ6aFNAB\npt9cs+F/oI2qupTn60b3c6tYdIx9kV/3KPs+UUXr6v+9LJRKxpDfGYbS3guz\njj3u62b4IXIzit3VudtoslykRaRSQyyI6tnIFAOU6h14Dc5skJLEoo/cAH5X\numyKWUdeNlcuOCAZbWSwELKD0Ay4f9YBatpr5owkqg8BQRcNRtptwb6iYxd8\nmzbtB62UDNwxwFDAtniqvrBsSpFLUa3aSKAUqdU1bg3Hq/dQvtzigJHHUdAH\niZDn\r\n=sTaq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdp37Xd4R2XwKMHqH3ekNk7tlRdBzVMSpzmLtRYeMmPgIgcVCiq4P3mBqcqm/MeS5RoEQaizCEci0HSy18/GOOtJw="}]},"maintainers":[{"name":"dianalease","email":"dianarlease@gmail.com"},{"name":"irmerk","email":"jolene@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.8-20200918205510_1600462576174_0.13391394959127356"},"_hasShrinkwrap":false},"0.21.8":{"name":"@accordproject/cicero-server","version":"0.21.8","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.8","@accordproject/cicero-engine":"0.21.8","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.21.8","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-lF8cbYUTO4gQfX0VV9BtPdrnI0QgEeG999xC3oKH1FWbIcpjNpm+WwsZxivisPMpvpaoT7ePL91BwFtuOhkDuQ==","shasum":"8ff1d4aa6a2c66c092305347f14e7862b7683f56","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.8.tgz","fileCount":49,"unpackedSize":179412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZR8pCRA9TVsSAnZWagAAUg8QAIIB72K8AClQztbeijO3\n5QtzXmRAlm8GRkBjvSC+75HziL8ybglDwNSjwi7cl3uqcYFTYTBXrEYZMoVf\nQQmPYKswjuv3OSWrQG8j/8QXJKMndvjQO3oCe5W9NCloxzlI37oN/3fAnsAI\nyaQicBtHHy7qZHCazooW2UHPWp7QTyGGfnShAF6KrWb7wHjy1BtpB19zL6Js\n5MjW1IH6PF0GCUbFO8MBsdyjfkjBc4q5q8XVld/gACl2tfY5ADdA7MF4ieqK\nXPPcfABRjrbO/dndfbnyDC48FOcsm9Uoupf4uiE1quZ3ocPTekesjZK84g3S\ncwHe1rf6i/pSfMET0AiI25/PPBjeinLpvlg8SBfwL74PAjFhBQ3B5yfLU/ty\nfV75erCYJ204jU2IZg37WwaN6x3QUVEE1Rz42/Q5j0b925qk8gkYLlL98vwf\nZ0pz9ud0gcBn/Cm7ED5Pembuvd1xeQEe0wUllk6WdKOOsEdTVXXT5RBXmUoF\n4udtgQSJXj7oDVeg34oAY0E+GkmGE1AFvjmMRZH703ibrqMZeBYVGGyfCVQc\nufWJ2contDKU5yH+8/ZkBShDRXisAfSG/Y/DZnFR5KpKre2HrMIGtYGNqGG6\nhbNCo/zIk41lSTKFshzsTVhpmYydfJx2rQzyHYBDMpK30GQEv3U0W6QfGZsi\nHGEX\r\n=7bD+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBR/pR3kpX+mEu/siDWQ1eCnjUJ0xhmtEt2kV/iE3qXaAiEAiSWF+hKtKO0P166Sso3hbnDxEl+ixcsKMLLRwZqSaeg="}]},"maintainers":[{"name":"dianalease","email":"dianarlease@gmail.com"},{"name":"irmerk","email":"jolene@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.8_1600462633451_0.9302827637305897"},"_hasShrinkwrap":false},"0.21.9-20200918210153":{"name":"@accordproject/cicero-server","version":"0.21.9-20200918210153","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.9-20200918210153","@accordproject/cicero-engine":"0.21.9-20200918210153","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.9-20200918210153","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-bUO4tVLPHQQQKrSgWpY6HoVErpPZZLkDlKl+si8zFGJnSu/zPiYnSvUfqKEqMdrASdo6ALOFZoQPuzEtiZnJBw==","shasum":"69a93011a836e37fa7afc9cd7a4a0dbf8208efa6","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.9-20200918210153.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZSCCCRA9TVsSAnZWagAAAewP/2g3JJb/RBNcxDl95TYw\nN1r4AoxE81hi9+h6yF7ZReX+15wgmlBGBbo5j68Sowpp9Y9tN9O2NDnHPJU/\n9qWkUr4/o5pZcsvoDl2RD+Jvc0awFMk2fq/Z0CmgE7kknH97SecmWNhVbxY9\nmWTAdIAjRsmi5Tb64he1xNQSokN79jyHKdtr6D2VifSPVx4GFehPbVeIqTLW\n7aQW44RipIexcrXaq5jui/7FCSTjwpvxOr/qZ/VMUUMP5HCTI5yd1b60HqsN\nogCHqnFV/WuGtRXe5rAGfgNxS4YL/FM1IGuMeLz07JCNqcKA9z/bskYezfqc\nIY2K5nhe4vI50cT3ONnj4Jp+rsRkwjxZjSnMGbSsmzQj6rBBV7wyisIeHkDs\ng/0nPla0iDUsCL9LMfY8A5ZMcCFpDm6LprRF4LTj/JAZ/kIh3GCe+r5hggz/\niU0aDA69zeLZumCROcRNu4Cvxwzyzo7yhiqYVmSFJDjxBg0Rc3ZsDlZD1Tbo\nrAAM0dThnXmPO6xw3E8Yn/ZzarrasDvwn0OtaaMmUBYvnwJvOqLc1+6IZaVQ\ntLGNmO7yxfGnmLfMCbUYVn1erZZgOfmXLBFFWknjkNUG316R63+wsnZHqku8\nh+4L53hwb/SUvOB946Ui/xzd/PLwFAXkDDTHAvmvrZCG8Yk4Tn+9vgiOCPby\nuGKM\r\n=BPrS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuUEwAmQcS+z/o43SmG3bvwF836bjfRJhoEl/N/E+cYQIhAL5B+PzLMrp/pv4n2YI2ZS/JXkvH5aRkbFKU1ZU03Fqk"}]},"maintainers":[{"name":"dianalease","email":"dianarlease@gmail.com"},{"name":"irmerk","email":"jolene@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.9-20200918210153_1600462978093_0.7563623485359958"},"_hasShrinkwrap":false},"0.21.9-20200922164333":{"name":"@accordproject/cicero-server","version":"0.21.9-20200922164333","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.9-20200922164333","@accordproject/cicero-engine":"0.21.9-20200922164333","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.9-20200922164333","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-rABYtpLn0iwEILpR9N3zkBF29V8FsNj44rEn7qwCjaP3h55z/eK/lJYRXTmhnez5CJAJpH+mVJ01Qf+pmNz9+w==","shasum":"bf67fedff562df27f0950203e9a3502b48dddadc","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.9-20200922164333.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfain6CRA9TVsSAnZWagAABj4P/RhXMXB9XePxbyMZSheP\ni4MtfL7eSEvkMxxeQEQ08XBlepqrQ9jXrLp+82I0ZFs6R6Pwv+zQTPgd94kX\n+yiDN4sqrN9scphQ2cM5d8YwpKFxlxTSRIG1u+zUnqYwTBgnGyIiDJ1uPoKc\nte5E5YDw/Byw8neudtfT/HSzQlkp6M9+ZDAEjJWVG97WIM6PrnQUaQCE8MsS\n5peNddmicV3xEAKtiDWwhewrD17e2NiLwnUrqw7aSQu86cWmqCXeZGpvAcO4\nNOs7q3BHc5L1O++fN5HJ3qob95w8cgPn6S1j6qnGhrol9F23cVt+wD+jD4Uc\ny122+XylKHTTSnNBFmtYf1r+lQ86b9L/C/4K4r7+7R3O44kMK4gT5QLAEMU/\ndiD4Hz90dMVtdIIs/lvSqZP9JR9rzyQHBBkog3/oX72Frh012XHvaLppNRUS\nbTU70dXSSWD/1PsdYUepJrvHz2powJPGLnxEZiiINo9comFMxLSXIa10sl0L\nstLYFnVDwVt5W51duClqVrcPGAXFQ5yzNkh9vhQXtPyRffUo01gsG7//CC1t\nD7Y0cAU8Shd4jRgxbnSAxA78B4jer3O3jBO5lJbGAyCKfNkbIlE47w6K/2xx\n+WYaDQTNEvE7xf8PFJFT5OiAjWs9CkkPFtWlwyap9ZVGoPWvJC8DrhJNRCrp\nw708\r\n=5Xrp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNlDNnfBgH8OC/F4MFGLrkeOSL4Xzxb+U/zyHiuuZFjQIhAI2HxCGG9eEAxTnIEHFh9zEKGMDzMPO8wZZj0cisguhi"}]},"maintainers":[{"name":"dianalease","email":"dianarlease@gmail.com"},{"name":"irmerk","email":"jolene@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.9-20200922164333_1600793082265_0.7236656146074611"},"_hasShrinkwrap":false},"0.21.9-20201001204244":{"name":"@accordproject/cicero-server","version":"0.21.9-20201001204244","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.9-20201001204244","@accordproject/cicero-engine":"0.21.9-20201001204244","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.9-20201001204244","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-CDVDdUgDhX8hwQ1PKk3M/Eyfq5pJMY2xM5T7KDFQUstNXzL3GtVLi/gQRwSZWB0LMiIooQPHK4fTWJ8+JeX9RA==","shasum":"002bb85b0be7bbc528efaad8d90d280828eb57c2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.9-20201001204244.tgz","fileCount":49,"unpackedSize":179457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdj+DCRA9TVsSAnZWagAA+/oP/2MCVA/Q12U5xs8WEoxS\na7+oQS3r6Tto+wr6mREvwIx9Qr5gOaVOldQERhI76llY2673gIqcLV8/NRwK\nlNwr/OoA7EDW4XjyVzD60+JhWGcoYJMYQHuwlfg220pjyrgROsrf9exvUI5O\n2xJSX9Vgww9Z4FnIGesH4oNpSQuNfk/72L4tvFqmoDFg94FHMHV1bjeMxPA2\nWBYxlIo9Ymbe+CePiH/zXKcyOCGlmGL/uQBetQhgoJ/l/kJCakz23dCey9TB\n+iXF75bNeWVL7rFaE4CFDki7z7j5Xf/dMRs48zaEKFOU7DgyfAFpwTi/U6rH\n3V7psf2x6AcW1mvbCrtNZoPhabZwiHcaXqrJOsGslfUdKCunSEb6g9cLDOSP\n0DWwE/P5M43vonYw2XllAzd09OxOhOMQe9FE1XXq+aho1dImsngdutlZsRDP\nwp9bUcuzGy1eVYFDmT6WbuIAOveorpFGlvqKZ7biPkx5GOmEnpucXwHp6ziE\nZaLRoKkMIWHExpq5SWW1krqEm8bBUowrSD+tCmTgdQDEVuE2GVNWeLU2FJF7\nXHEeRhybiAmCWPWNs++BerINssxgpXWkZP4p+xcP/0i+Vv6RMxNR9doqB1T4\nH92nSuIucwhjOO0l3uZ/BafLUZpEEkc5GDhJHGMyi4M6ohi3uRb9QZVa8s3o\nlGl6\r\n=XidB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNG8vScPM+eSggC28gFjxqWR2Yn0xH7RpzH4e2taNErwIgYpx4Yk/+Cm2CXUzZm6XyMnWkK72qUlt5qVUm3STSkYY="}]},"maintainers":[{"name":"dianalease","email":"dianarlease@gmail.com"},{"name":"irmerk","email":"jolene@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.9-20201001204244_1601585026951_0.9665186051362948"},"_hasShrinkwrap":false},"0.21.9":{"name":"@accordproject/cicero-server","version":"0.21.9","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.9","@accordproject/cicero-engine":"0.21.9","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.21.9","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-vfmb6knMSlgeBpLhYDnbxilc2jW1J70Ke22Jkrtt7ci13OU19vPXvo7zxXHEdAs6QEq5e8uhnEfONSdVYNF8YQ==","shasum":"fbbd90bf77f03638af3999d516929bdb9bed4574","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.9.tgz","fileCount":49,"unpackedSize":179412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdkDpCRA9TVsSAnZWagAAp0oP/1GjMJ/Xl6aeq4e9y02a\nfE2+oDPK+Fw7EKFrAx9jwd0+xEHAEuafHpQgibKCsWOuecqTILa+hHV9YGCi\ntNKB+gZZ0UOiYsT/VPhRxF539UNtZb2FvU2Vsl1bn1nW7PyJehXaK3BYEPIE\n/5utWYB6jYDn1cC2u9x1PERbzn6NeOuAXwwig97sh2EBvDCZXXnGRUyyomiM\nCOKT98pHzfqe+fzTV0Od4bEMNoOJfxDKj1UxGIZj4jyIgVG702mwfcDqqMpv\nNW9eTmpD9CDhAq9AbOuuR5gQiAHRqCdtJ4Yc/UQ6BT/2NkrjPgtsYS7PG3hQ\neoPMFqykJRewNsuJLx9CRAduyBPOk+WHWifRRysMw1sPlDc3Spid9rnCSvQ2\nlHHzcLl6M+ejFNyoaR0BMwr+OA3YIUEFXrOipZQ2w6W5ZQ/mYs32nSkOOfuj\ncsThXdH+ismsCkLa5EEprgKQq33tfsJa9TQoU4RaQcLN0Y5LH1DwALeHtnxH\nYEhjcH7Z4ey0bmn1M1eFAeyLf4S+yCQ/qPIDjk76nA3pAUMsOdxf4DsrgEOJ\nIpedqnORPjAP/t/NeNTeq/h5XImXlE10LU8Fk88d461J7p275UiTWtoMNMRc\nBHindXom6Qe7AGO2PTEgfsJDoI4qQwXF8W89MaOOih/+OWapGj243VD8QKrY\nSwa1\r\n=WWD1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJGHq9J3MMuKaNEqlDdU0FVKVA5stI4sVluvXZGylJFwIhAMsMuBL+RhWKXWbupuoYjdUGA3Cdh67zXmo9FiL0FvXi"}]},"maintainers":[{"name":"dianalease","email":"dianarlease@gmail.com"},{"name":"irmerk","email":"jolene@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.9_1601585385247_0.5801487852869591"},"_hasShrinkwrap":false},"0.21.10-20201001205416":{"name":"@accordproject/cicero-server","version":"0.21.10-20201001205416","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.10-20201001205416","@accordproject/cicero-engine":"0.21.10-20201001205416","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.10-20201001205416","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-eY+npTg/kYkf6SbeleZkh6wKYVHAFXw6f/gBvUFgIgQf/xPkaaq6MkbJp5SjKqg+scBPgMazzujKZuWq2QYQcg==","shasum":"53e7daf2611b96a9482ba09ee5270dc564b5e70a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.10-20201001205416.tgz","fileCount":49,"unpackedSize":179460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdkI5CRA9TVsSAnZWagAAzPMP/0ggK6gqyFsCIjVtDDgV\nGhLla5hFq8e7il+SfUWNTdylhe1rgCF7mEJIwyPcx5btQuGBeadzvxAt1hCt\nfM3+fM54wsXObmuqLtElS2e3lJHZwNoEL5zHlrAirIrLGI9f04Bd4GuhCXmY\nNJm9ea0DsXXyvqoqyJwdaJ+LL8VvseGBejCnkmlzsMlqO0Cv8OrvKHMVYSKZ\nwucN7vFQOOE/Xum2aVuXSq3crI/bo9uWs87dJI5TGDmTXyHuH1MrSYYi7YRC\nf6yqWcuo7EnBfwXh4JOfxlWX0zid+eL4U8VLSIJTR5/z8cyGDtk8yCH+5YAI\n54re8ALGE7lMlyGWbUN31I8I1lzXqKRQOi0UNhiOnISFT4P3hGKnQ7XervST\nXU2f7uHzCcaT0g+3bRAKwNB1R2vDiLg8qxjJSDjWCWdGDdHNScKwcIMQBGEG\neMIFHdEZC9+UkzjI2qXhVuKsA0+M30TjajTZfWiSDzUeqf0h4lX3lFDHak1e\nBYBixZ2MG1ItKzUajc75R0ktW0OakD+EPd9w/hnBeE+y9PlibSQ/G7dGsY3q\n9HTeH10mxzJaEv1RJxcH3hO8g6ANEUFAJLVvbZegdmJlmAsMyVE2dHvh7Wzz\ng/2VObKDeD5z7bzZ8b5afr8Kn8bpyEOXhGnER7onr7a7XEr997dwacxGYP0/\nlSKx\r\n=IAXe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAVxOFPl7kEwLAeIUldbffs7b3Lt2kHphzmtGrhZ9DLGAiAK2oXNZf2y8kymEQHCUaBlNHBgqSSVgb7oM4HewUoUMg=="}]},"maintainers":[{"name":"dianalease","email":"dianarlease@gmail.com"},{"name":"irmerk","email":"jolene@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.10-20201001205416_1601585720929_0.5689752504457577"},"_hasShrinkwrap":false},"0.21.10-20201006171728":{"name":"@accordproject/cicero-server","version":"0.21.10-20201006171728","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.10-20201006171728","@accordproject/cicero-engine":"0.21.10-20201006171728","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.10-20201006171728","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-t7Vrd/vCMlqCos5DJRs7Q6ymCJBmK6Kb3J+/e3+iMHrIT0Gw9zSO4K3nbOypZyE08uXE4CAHoIbaHI5TUctJew==","shasum":"98ad0840f9756980662c32f57ec372ba05c4a5d3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.10-20201006171728.tgz","fileCount":49,"unpackedSize":179460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffKbnCRA9TVsSAnZWagAAR/AP/1DEs0D6u6FY2FYl2BNV\nzVV3rnBNw8untKUcYqaQuFMxOYfQDcRw/HV1G3/ic9r2WBNSFB5PC8+bIxv2\nnF5m0ADqRMbOOaZArJVwTxkgmHyd2DyuMWwU21yokJrAzhVfMfBy7WGDXFb6\nyzBVXuYNQxbHw57rb3DEBI22d61cYP90R13Cf14LCfP1wj5yRfVRo4v0Lt+o\nJXIIApnEk6nJc/cA5mvrPPSmIow1W8t2GwwBK5w/i9pUFiaE+ycd4oyFRbkn\njVjhCwbadK9wH5fSQuWOSoIcVudldtfFhJGxQFwP8RXZIPGjuJmARTaKZKJy\nbehn39NySegEY+JfY/B7oQ+18SkcppPTHT3EAnB4+T6vhKdwMj/Dt1h+mhFv\ncz/Dn0MaFhxYvTVzYB0LriOqg6A82mXNhGSyydYOvCpULW6JG1Ycqyo40wq0\n45YG0wcrhitYR5FPn29y4RX0Ayfd8SKfbeFRfmOmu60G54lRnmvnB57XiIXm\noK/XIaFrXDN8VuuHG8eb9TJYR5R0XxB/7ayTSQ/DQ2c7suVElQH/DY1B2C/T\nbOBcxJ8FyO3awxaWIEe5SEsUGq6zIp/FEW6ZKsnbveDgw8j0+EMGUSdNXxZ7\nMM+W8S/ULJ4YMcy1SMyYX6k6m8w/NC14zwE4IpV9PAzteOIp6YNCP62cnF64\nFw7f\r\n=1QkZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEVqXwyexTI3hQXWMn8N+OP8aAaMG7JWLyPg3yJhsimTAiAKKkaZLpWc9TMA+vA/x/MunQirEjk6vahDrYChDd8V8Q=="}]},"maintainers":[{"name":"dianalease","email":"dianarlease@gmail.com"},{"name":"irmerk","email":"jolene@clause.io"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"}],"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.10-20201006171728_1602004711051_0.7658976869278191"},"_hasShrinkwrap":false},"0.21.10-20201211011930":{"name":"@accordproject/cicero-server","version":"0.21.10-20201211011930","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.10-20201211011930","@accordproject/cicero-engine":"0.21.10-20201211011930","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.10-20201211011930","_nodeVersion":"10.23.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-PhpEbLAdO6T0vlUbB8tqnrN+DbJpYojYB/WGgLAq9Un/AcxDnnEEm8TsU78DuJ0DcrBYlSV0Qf9fVvoctCLR1A==","shasum":"e7f2daeb010ef867397b879caa7185228a7a0415","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.10-20201211011930.tgz","fileCount":49,"unpackedSize":179460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0slgCRA9TVsSAnZWagAArFwQAJ0j6C8uFxylSzylxEx/\nm86PHGm0WIC0ZCuVL+8+I0dqQ9Up1Zeii/Py46m/0elJPA9IZwBfFdg028+Y\nfvQ2CZZ7UtRwEC9VPKrdme/QUPlc3ExFrjEYc7oNNGzsLknQEYGbwJDmFD1K\ngkZM4bA3AhMyULY8+rOGv5BOHAIpwaqj2F94L2x5JeJ8u52Bh/dWJz38vIHh\n3AXoX9OTHD2jKDVCRXcSzC26QMmwN2MmnvE+9MPb5suU7PElVEIFSiwEY8Sa\ncelIS9rEt2U9z0WsVSwQO27yv2YEoY5YsNDHZdH6imkogmSrkjmf0EqVZCpL\nUwsd79D1u53uYIQYbZdKgGFYImrliqJ9NqrAAsk2/P8KC6vNtBg/5Ebbt/gj\nms7cONZn6kBinpiJ7hg4PskLrtpXZa8tjGluWyuveAnto7N+KqL/9zxZaU0/\nzVErW3ukXtzTIfANPOqjvXXGVgSdSik0pBAinKkuKjv2EgQ2tNf4+t0dqrjV\n4rEfzoAi1M9Iiu0GK2M/V+Z0AFF7exXor3RfTcekrxGbl+AChctf0n6u2omV\nngKpaVOCxspN7x6sR5zV4EL7divGlwOwiB7mCU7gyv/tRgE3sDb+O4/cIC1U\n02fKzWNoZoevU2xbvJFWIH50g+MlIR3wjnqUa8W9Q4sOWqA6ZD3CVq2WZjcQ\nANCa\r\n=g2WA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICNr9h2DvrdKWhGkh+XSFWg920G1+pCvZvLk3mPkVtP3AiBh0pnU34n28UM/TsWvWmK0aIpCjED3jYLr1BAUJuy0uA=="}]},"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"maintainers":[{"name":"dianalease","email":"dianarlease@gmail.com"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.10-20201211011930_1607649631638_0.5087425716384768"},"_hasShrinkwrap":false},"0.21.10-20210105032704":{"name":"@accordproject/cicero-server","version":"0.21.10-20210105032704","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=8","npm":">=3"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.10-20210105032704","@accordproject/cicero-engine":"0.21.10-20210105032704","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.10-20210105032704","_nodeVersion":"10.23.1","_npmVersion":"6.14.10","dist":{"integrity":"sha512-ADJ6OOufB9ZNWouvUMv+oOUseVQY7EZdeTGw+T47xL2bUACF1ClMjTOHpIh9GiWYVI1F0pr3M25MZdIt/s4Y7w==","shasum":"3e92970820136c374c7cd5dcdf21d327cfea141e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.10-20210105032704.tgz","fileCount":49,"unpackedSize":179460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf89zECRA9TVsSAnZWagAAAfQQAIwEK8dz/JemgObsQojP\nWwKmWazoin8S9dBBlEOUCe1YwcUL/fNKjd6YZxhQscHuP4W0a5Xw58wLbUZi\n3TpzbEY/Wac8HC5tDO7QizJYapNGf3cYEIYaeLY/XWfBJ0hvVKl7NEbglEnw\n+HPnZ4m2UgOFqukNRx40mPa9ArRzBKrFbOd3MzSy8PWXSf3ALYw8GovUCE5F\n321ENy+Rj4tk/oE5Ez50nj2V9OwI+u+JhIVy++9n/uT3FkWK8pykwBCmdQBE\nw5GWgBWf5oMcPvusMNwJ1LZLF/VhljdpK1eV6RwJazIA51ZHSPQ2bBrhI+mo\ne185ap4MmHDB8aeCmlbhyhjHF+1cYMOy574653vOne4g/yWVXCjzZrdkWVT0\nHcDyIL2S31rkUXG/65fipDJNhNjONmuDQjyxGOqCjghLUvSO84mVZzFRO98S\nqi6i3xI6fMGP1JEi2Sbp0IvVFHft2EtkAjSjnRtJMWCWS+QmSTc5bPgsEe+Q\n98/JOQliuTmAf94fEVMv/Sq/11lBq4Su79bfGOLC1LOqlvQJDB3F0UTY8PoM\naOSNDarDzFS1HWr4hNQxarL3MgnbIjprN6EdH7XieKNzlplgnqidRmjsPCDY\nzg6NXv5nQzMSEmnEsCAG+we7xjGr+ZlDxee/uO62/LVAOy4XiD2gVz0k1EBX\nxGeO\r\n=kDDg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEj24VDtnOq7Jzl3nB99+jfehENJ5OUB3RfAR7UaMIV0AiEA0oasBfOojs2xSX/euJgoUQDfHpYdUQql24EyCfl+Bf4="}]},"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.10-20210105032704_1609817283937_0.8861529150888703"},"_hasShrinkwrap":false},"0.21.10-20210302192730":{"name":"@accordproject/cicero-server","version":"0.21.10-20210302192730","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.10-20210302192730","@accordproject/cicero-engine":"0.21.10-20210302192730","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.10-20210302192730","_nodeVersion":"10.24.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-g7GG3HOtj73WPnB/QrrWUJFZybvxmwUpO/1SPA+NPnFI6luELK7/SFo/SNOewD9W8FXDWo1CHOGFNL+D5ejmNA==","shasum":"214912ed1016b638d9857ffd0f926d30d8873a53","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.10-20210302192730.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPpHrCRA9TVsSAnZWagAAnkQP/jEJlgFukDx6uInj8IdY\nl1CT8/wFnnc+Vrf9JUkXoWDl3AEH9xLoyn+N1JDbnWGcByNzK8B5wV0p4QTa\n2AR9W8J7sH1IthR/iXX9tyi3u+c9SVNkuvnovc3AYY1A4Ui9yxABi5Bt3Z0/\n5NdoIWqXl4wZucZh62kaBK3wb3zyWwFRCxz/Zy6imyrV5twQDXPw2qC6nVXq\nXXFJySZ+H+EWlcqEyif2zP78zW5x/EZmmcHQQGkdQNoxJ0mcrf0FP1UFKPjy\n8+Kus/hz9S1saWwXM0F4cukhPRvfxkS8XasiWMLFodeS2Yz98Wgnxmxq3eyz\nWXqojSpZmGxZzviO6mYIRhyICV6//5KJyrO/p+gUGK6aTy61XrxZxTCk+2j6\nZnsGxkccKsR9qKvCADui5/nIl68I+2cvjy89j5Df9nO0Cl76yVthyINHRFeh\nYahknnEjL7xvjZamLQy3dk30bK3ZpVTBFS7dBmRZ5SPofwV1AW+zVMROeJhI\nns4g68BdblUkwBCDg+t0cj4ML6rqFq15pMlyiuaA2+VHWbjl2eSoZdV9Ecfx\nOYlqVc2B3wnMqWgP9DsGh9bPibxmwv8txc2VU9LD8HSd5uFwQu8uwx23g9Ff\nrUAzevtKJV64sJGng8pPNRRi4gyyGmAKAr8KvbTJruK++bthduJH5ZLsvlMv\nQPgM\r\n=FwVt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ5YNkrftaQG6SE1H57HQopgdYVeBk8pE6hyczofVIKAIhALOq34jdcDgsHikH72nZTvIsjZFGJ6tQbv/vlLy0h36C"}]},"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.10-20210302192730_1614713322504_0.11659034711831096"},"_hasShrinkwrap":false},"0.21.10-20210302200337":{"name":"@accordproject/cicero-server","version":"0.21.10-20210302200337","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.10-20210302200337","@accordproject/cicero-engine":"0.21.10-20210302200337","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.10-20210302200337","_nodeVersion":"10.24.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-BHmXfCJhDnJWDNe9Rf7UMqJAHQc57pvxt9SweRrzHXKJoHSeCyrwUWBeMo/ZnV/0JS14J8zss/8Di0OBDyXNZQ==","shasum":"09287cae2e4730b1a16f009100b17660c815d77d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.10-20210302200337.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPpppCRA9TVsSAnZWagAAsIgP/R1DxnRIyfOLUAeWOjdu\ng68C1e3xFbxiDgjwtmP+39aaSYusMnJ4PhhM/f+atVMlI657aRcOCpa5BTZG\nnioSZCMlR3gXxeO52ktXa7Vj/cZTxo4qWjzM17r/N99wYkssy6OTiu4CIRzF\nFHOJU/p4U3T/KvtmUbeunUm6iIcn90K3tTwvhJpt/zxh2um70XbYAwo+W0rb\naZ4ohGllP44/jNP0eOWR7r7M8z49WTS9GJtA1vB6ZO8/+PjvrDhA56ZxcZEC\n5R1gXhANG5r9yHNZeCn4Z87GeMV1f9ZdGqZ9+c/TlcfPGiadEum34Byo2OXg\nprX7kWK4VlEAYKXjO3jZAxlE9J/+4af/EF375WsJm0thL7tid8LiNrFk/ruF\nOFVqPtlOI5/c5c4if+Kyx7EOrUAmnPWgHZeQD5hTCHd+Nm+zmWO5R10soY7u\nB1trONXgga5QCkLboLkk2umrrzDoHJnk51VPreZ60pu8hhDRv2/f2lzbvkaH\nTDuvbDDxba83hyTp3nLWhWRvjzpXs++Z7f84bvpZa/byBR2f5VX8gEtepkFi\nFa4w8xhzWae8yj8oC2FiyuS7qEvZG2eoz5zcqy5p0CEfJMeNamx89PDX0FGf\nzl2AP0Ft8h0PH4ksnHsvw9WLutzjcJWX9Siyzf2r0ZY/mYV2qRJPDesb/1GS\nd0o5\r\n=Djhf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB3ZZlhlJkftUW61atn9vAR7n6XrtUxIPN+pe+FIQeALAiEAwzdO7nTR+5uU5qeyEDsB8YCHkNAXkwtnMF7VcswE4l0="}]},"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.10-20210302200337_1614715490526_0.21475074434437014"},"_hasShrinkwrap":false},"0.21.10-20210302212741":{"name":"@accordproject/cicero-server","version":"0.21.10-20210302212741","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.10-20210302212741","@accordproject/cicero-engine":"0.21.10-20210302212741","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.10-20210302212741","_nodeVersion":"10.24.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-1jzZCt8hCwTr0CDtug7/1eFX9B0lYLmnTkLdE44CwvMAwpnk5Ttrx8BVfhsrOueiSBV8V3KAoPqZdi1c82LCIg==","shasum":"70253739a082dc328fd1db80a5948d2a9ed8ea29","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.10-20210302212741.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPq4aCRA9TVsSAnZWagAAjYEP/2vRuohsdsmlEUQ5mFpu\nS72wFBwF4g3sK1PMWkFTmOx5tPGEnpCXt4iaD/Imn1KTSXSXkxPQUPHoWGO0\nLE1Y0GMAv2BlSX4zTzu9pLo63wAOUOAloEg6dGa8QF6IrjDZhPj1rTSst+BT\nJoInExqvFrdw2GwMPhM9gmFVeaZnd6hHkd5107ufUBvIfrr7kZkkyle6BS8g\nz7AtvQIatWQUiKY4IUnLznrLpa0xW17EWaosbKcuoorr9WRB9lxPKOsCW98V\n1qIfqG5ithV8oMY2x3f9Ph5XXOd0eJKDuYVw2QhMrrLjEoCKk7dijNbMf2O1\nLsjhVOAmdUo0n2ifcadfogtydDEDHhMbt8RmJNgBdZH6e0P7nzWu7vS4RZJV\nczSWME8nTfzcy3ZesFO0+olRrwpnmEyvlmV73J7052t8hS4OBV6kCzdVAt/+\njfQIqhrzTS7ikztVD3eQKPVY4FM2HMiPLsm+AO7ztrw2JsCIt23BKZyq4NaK\ngiZSzZpLTD7dERpW/eQBOm+pi3I7ASfUXNEKEQo40bu0EFZp4am/liOlYcE+\nTyZUKGqIxxQ6IySZa9Z0kVqcJ4ePsg/FguB2rniOUme9eKC1I8kYTEGsEFwY\nv9qwZOCXfmVODbMozgb9m7gdRE4QsnFRTruV8gv1JpDZmvjtY+qtnY3Mtl1E\nEhyS\r\n=w/Od\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2c2+t+wRauI/RXEBIfIBUpPtGvzYS7m/J/GZOvtjjjAiEA3VrLCt84PSolpKNYHFtwpLF8uTBT1huNVIiGsjnIM2c="}]},"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.10-20210302212741_1614720537932_0.5775218188693525"},"_hasShrinkwrap":false},"0.21.10-20210302214445":{"name":"@accordproject/cicero-server","version":"0.21.10-20210302214445","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.10-20210302214445","@accordproject/cicero-engine":"0.21.10-20210302214445","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.10-20210302214445","_nodeVersion":"10.24.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-Zizju79h1Ovu2JOQNa0AwEaS92jCWY3cdf1aMLm5jimi3BybQjykD95cEqZ6htS+y3PG3EsOj9jitqd/2uR41g==","shasum":"236b4f338a44275c0909e22558df22ee15f99f62","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.10-20210302214445.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPrIOCRA9TVsSAnZWagAAmQsP/jqo4lay7gm1/3ccjC3m\nVk1YMBK+h93nKugzZZnzqi9YJWVcq2ymOSGETxaRXpWjC/Ir56k2OvZNBvBo\n44UghGklbzxtDOiv3rOWCv4Mi6HMxbupvy/LQTLG8gw0wqlIpcFmyvsbo30t\n3f3/4fIPbwMAVNNnWx8wFq2kgrWb8a5p3xnkWt5O1ePkVzOxhxEX7axaT+/m\nir2bbCzOBTsfNkUlQMAoSngakcty+SalXjwXVfS/yR18qwn1uQRFCWR5+ogT\nsD6oPd0XLpxJWHXivK1wCYtoqvubT/qR6ENm/PoJii0j3LjqkfKD3ImygmEM\nHzcFbMes+eLrkTo5ddadSMED51ep2ibigrea5X+Cod0YyExOb0l/wntR628u\n0aw/Abm03UjkOcGbgSA4Wa5H4ISOZIvllOocB1JWAFDY5Hk7w74w0L5GTwWq\nseR0vgSPCA/zo4GOuPpCA55ewoT0JNicE4U3j4p1L4iiN5MgDcDud7ctrmev\nOKsnIt+vHpAkzEX5Hvmbcm3Nb4A5AbThaQK099MfKzCA5Q9K6ktWB/aRucaB\ntAqnkXJ50LPV2iZdTUPwOh0B54XQ13sHgcNA7+1MGLYe8rcd39GVabymRG/m\nBjj6mz34WH5DLiSX3tZUTMd8QxFoRpZSWYKBicJLWe3ebcJqmZWrrXeWOvCZ\nLFPU\r\n=W+on\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFWhBLOhECiJl1syZaulBUvrSvwKsVb7KwjJsMRohYUVAiEAzcLET6HWk0nZQb0jt3pjTWrzYJQh82ykL3x3xZ4luxY="}]},"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.10-20210302214445_1614721549829_0.2708223970232255"},"_hasShrinkwrap":false},"0.21.10-20210302220350":{"name":"@accordproject/cicero-server","version":"0.21.10-20210302220350","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.10-20210302220350","@accordproject/cicero-engine":"0.21.10-20210302220350","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.10-20210302220350","_nodeVersion":"10.24.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-xDjWO0QgHcos+nQiuaxJMBM2v/fDSq8txBH1iFxXAl8LNphrHnNZDn+sXQbKr55vPY8Vz3PrUZjSBt5ZTMX1dg==","shasum":"899c7e0cb6b0db5b7d869e0dc9577a394003556a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.10-20210302220350.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPraGCRA9TVsSAnZWagAAYdwP/i7gKExTwBxnx+F5HvVg\nzdle76M9zd3msdB0H+WNfLRtPCXIxlwA6dvN32BDxwaQnBMYeiivNDKw1MVY\nknfLiaQ9uKmRgCfFuBLBlAsitf/pGoOVX4+XbSsC99KO0C6cbkhlkPOJa+23\nc7VOqYbiP3rejywP1nFHv1cYvarCgEw8/3JXI+NzhNNGlhFARHkpO/JHSAcR\nEc/eN47CgsnnUBAejpSpRqi5m0HYZiu5VmibF9GD7wgYGsMv7BT68SSDBvra\nuO1q6RCFSNMFZ5Cy7stiBfgnvqA6Wc4bb8Y7fpiGaEg1vCd6HDqZt/J5/q+l\nqEJJlC6h6oNHrDWMGn85Kr8Ommt+khCX2CpgIBn4tFQQ0xwWw/BgWHqew1cb\nN5kYiowCRmUNSSAIC89oF091MNkFGaTQiGuRCAgu/syHRZ/J5yQuxFTj+V4A\nAAbyWqWAU8tGkiTr8asG6b2UoZKKEnGYrFM0oLR+N07gZNkwe260TVmM50hu\ntNye4jJ5p9Z8jugM3CVeWxaVGeGSR/1mhuVgZroOG2JYHapYVeoX5xzrmd1e\nmgtNajHQc/eGgPUAnaI/pfnPBjr4ihBvrF/ca6/0/fQpO5MsAqLpqDl1IMEi\nAiJC2tCDNT2AOJ1bs2/d9KFo3Q/s4GLLEoYHGOwp8kWBfOPd1mBth9Xu1SrX\nGZuC\r\n=YoU+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH4DgEWaa/JLW5d8bzUYr+O081qRa/AnFLylSLvYHAj4AiEAw5icT0oN+aJJqVTbyf70MCQ64keAmODX0KXMGJa0V38="}]},"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.10-20210302220350_1614722693649_0.9150959281901871"},"_hasShrinkwrap":false},"0.21.15":{"name":"@accordproject/cicero-server","version":"0.21.15","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.15","@accordproject/cicero-engine":"0.21.15","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.21.15","_nodeVersion":"10.24.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-dXVCyuj/68xa2ICPH2f7VGoCgS6KRAyY+FVAzpnhg0fyuqtPoJVvMx9ttrSKbD+LqPtJeK8UKXFqxFPOo9KJXQ==","shasum":"d895973d0cd6c0b4e2fbac431b3ffa89fb0bf752","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.15.tgz","fileCount":49,"unpackedSize":179459,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPre1CRA9TVsSAnZWagAAYNgP/11R3zdRSeAZsTVyr7jz\ny3JzSsRWIN85V89Ql/eVPt7gupLZz8Y5QunFJXiSAgAvnSMFNI5uhlOBUauD\nf6gKOrlnlsZ8yxIsZ731m8apZ9hX9HJpmItSWxGzPpIfRviLBq81Nta4NLbe\nDNqMqo6yXs12sIDzIGjqtU/RBTzcJNa/ZpSc/jq8JpzQzwinmluy7hM7Jdph\nip/Y+VLKvB3ehzwAEuBerPHNeTxBd3ywuI2Mg9H2fwAQRuxvAmK6So6qqAM8\ndJeoHIFZxKC3Y6J98XPKVHsM5DMVo3OFqtNp9VxzB/g134W6w8hVqHT7hfj7\ns1qg6SRC3Y3/UBEDdA8cG1YRKyHGwpr5HfiT4YNtI2TS5KYH/cEivGkjLKFd\nEAZLvDct8GHwjbbYh432iGzMFl5spN+gfvXg3zI7wVSgbFh+YseKHuv1xo/w\nwdRY084iZ4ilILRfK4z7Lv6dug9B7wZi2jRlk+O19PdiPD76GWOqRk0EL+ni\nG6oIuOYIzPZhYiE4EqvR9nxSaNhzL6yloNWxcObLFuF/lEFAChWzWgVJsPSH\nsDu65ix6D+kMVNcWqU5hZIQ5DPkJUIzwe0yLzTAYG/YKZRT8CjoD7syWIA86\nt5YL2aIPZizOKYWBMDtt/cxS5FGHkxOnjvCdQs/TqHtlg6YoTzVbk/8cnF5b\n2zU5\r\n=Z9zg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCW2+7KWbGbclN/PeBH5LX4WsS8u+za0adcbRLQ5RL8PQIgHI/1iobgmOFGThfTPLYq8wqlk5XPPmdCQLrCNY/txF4="}]},"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.15_1614722997115_0.7245369750331656"},"_hasShrinkwrap":false},"0.21.16-20210302222047":{"name":"@accordproject/cicero-server","version":"0.21.16-20210302222047","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.16-20210302222047","@accordproject/cicero-engine":"0.21.16-20210302222047","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.16-20210302222047","_nodeVersion":"10.24.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-1RAnc9SrvmTYYTGfqDSPGiu4H311MckiNIBewmkbZwintiLd0Si2Fy2OZukyD+f6EAzdEN+sNge/repXUDtdJQ==","shasum":"bd52bd9972a29b89630ac972b6aa8df5eec7628d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.16-20210302222047.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPrp9CRA9TVsSAnZWagAAqb8P/2HcO9+4vuYg3s/fm29w\nXk/59Y8UPpi4UDkpit+jDF7bcWmUpylKRgO1VyTjEfLokvK6A/W+W1duySea\nUllBnS30XCjVo11qa4Ea68IK6OG0JgcyAYUmmTNtvD1QfX9nL0uNhaZTdAxu\nYvZQ8f0+0RUPVd2pHjhMMJboM65Y4VU8YLjIfVxniVMBoXh+qIagotb4pqBM\n0trmSxt3Siso1pbS2EKHOSowhRLwfpg+duKvl1AGefbVv2uLy8CxfWIq4mhK\nW2z/24xxLwdW4SoMUypQJBr3P0orj+T8BAYD50AVQHY3KFOaH0C75dm+6DiH\nbyWJCUYPQd46/7NiDBRleuy6wf+3U1RFUUzhPgDuqAak590MQibBdSHtt05y\nnPm+CdXK22JPeLn+gAxiojWfG5ZfZoqKSpxqifUkHCrxbfmI81XgExH/4h95\nC9FAkExtIqBW6kE4bugcOjkqnS6JjhCJkkTiOFFN9HXVgWiVDFWqW9TILejk\ny4PNH7WvQDVJQyR7+oq6ASdJmWDOVlD8BV08F3fEX2YMSuJOo75D5PRij/Zm\ngIdgRiGz0yULUYmLaS8xene7GVXBttD/xfpHnZ1AXBNvhCsMirHncZcojw+X\nUrTxe5M4XHJiGXLr8sHBBds2zAiKbS2q3/cwkKn8Rznzw3KmUMwtJxeXSic0\n1EY0\r\n=9C9M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDKolfTT5TyaWzTDEZnL9SkLsu8D/HR+K8FOV3rtED7kAiByY+LXUNjj9UzjZdykPRZBH0ZloUsTAI73LwxUz4uYKA=="}]},"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.16-20210302222047_1614723708562_0.9589032262133272"},"_hasShrinkwrap":false},"0.21.16":{"name":"@accordproject/cicero-server","version":"0.21.16","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.16","@accordproject/cicero-engine":"0.21.16","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.16","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-grlABxh/TKUVT9bDTZpjhCAXTNqWqqkiyspoUqc5iw/JRpohRNxpndBtcCYC4sF6VqXZG4y+2FgVRkb9IS0ZGQ==","shasum":"80c945a5e4ae5976fcec584d248e9d9a633ee7d5","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.16.tgz","fileCount":49,"unpackedSize":179459,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPrzhCRA9TVsSAnZWagAAx0AP/033RLp0gOfbsZdfpU0c\njYY9aTTw0cQCzclo1COJi9pnrkaUVcf6qD0ebXM9Z8db/hSxo3XFPrCqGxzc\nrQ5JEIvBc0+ku2S9KG6rBhYY7waKZPmP2/MFOK3UG+mJQ1090zZ2f4Eh36Z5\nycVsUee4AsN6fknyoXwS4AaCG6kQodbu7Hp84DaWykIKKp+eN0yUNSJa9xAw\nVP4a20zVX62hiFj2DR3uyqEx5XQ2KlpdL8VSilkkDzm/T1dNGoFB54FDFcM3\n4AS8gtfnXlYQ2N5W1A9MgC+sGTMxFQMl24BlasoqU1xWm6uxLBDPIYTBcOXg\np5FOafbDU3ai86Rv5TReejmwUCk9EVn0g3D5hmwy5VIrU/okyv8dp0oaxDde\n2wd7Ac3sGaQV9gTA3nLbIojgrzZewsYhjgjGXuAPCZCD/V9SyFTqTM8G/HQr\nt9bDdDSNMSyesq2OZP8sDYjD8TIsV1QCRO9gNCHbMFZtDZuyN4Wfrt2HvXOC\n4IdQCClE7o2sCcrk2PcRsS87IqLet40fBFZwbgutIT9WF65SGv1AVs4nWREa\n0WJ9xrDbdhsf9YJkP3U0YeLCsAEpwjSWlhOlGvWl1tDqfqVwYkDPSnJfXmJ2\nh/v/w+zY+Q/JgxoWqObkwk8D2reEW9wzWFdGaChonfVE7EcK7Xhi4CHu+0tY\nK/DD\r\n=CL5h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQSuUcXyrYlUqj1AKi75yoT83vqGmHt0ysyFYowiIZ0AIgPpb8ne3o+CwPI3Ai4wy9FtGB5I1k9OTXPWoQfIw6c/4="}]},"_npmUser":{"name":"dselman","email":"danscode@selman.org"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.16_1614724320769_0.337400755794113"},"_hasShrinkwrap":false},"0.21.17-20210302224341":{"name":"@accordproject/cicero-server","version":"0.21.17-20210302224341","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.17-20210302224341","@accordproject/cicero-engine":"0.21.17-20210302224341","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.17-20210302224341","_nodeVersion":"10.24.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-ED5c936HsOzsxEFRJ3VUNPTU66nrMEc0T3djeHxKAnat5q4j3XXbfPPZg6WUY5LbUXgeqJa+myYY18knytSDOA==","shasum":"4d299bb02d5828fef821dd36b666a37b23ed32e8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.17-20210302224341.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPr/bCRA9TVsSAnZWagAAoAcQAKQ60uo/RMmq/FT0aRqZ\nZSHdJL3/MHq6YNfYz5WboaBDxXX0KCNUqoXDnkFF05S4Wj3TZojrRAhcCKkr\nWQI9CedmUzSk0D5Xf9EEXEf5KzizdNyIqOFlUfcxRLUWpbjWP/4UGdcMEZhw\ndFrnazYNKV6iu1+cZ7z/qkMaRYoUFfcEXfxRXsZIHsH1q6bt4WA2FyC2/yhP\nMErL+S5naBs0WgS444WxnEoaT7QLVJegyggI4RV3+sX/4fP7Sv5tOSxNrF0N\nXMVeuRQR5UjyE6Ctcfy05L3vmbqkpZBHodk/ARwT8UKOVsG3e9JNYFwCp50z\n6wAt2BGu2rUgM4+I5INQkHSM9XgJN61YuWGcNIsvGGd6Qweab/v9FlBNi9IU\nK9Ot79hTgv2KRm2MVQ6N6hu1ZEVGT8ZIKabUXLZiQZ6UdvVb38EiakC/SKQ5\nTmmnoBI7w4MPdR8mJ0fvhzN3VnKtJ5ZAZs7iLCFJBAHPVHnVo3J76rzmIQPM\niit41Q6aDYeX/48n9e7ywezqkzr1T6VAr3boyxSjRU7Fd7dpMHTw0tthEZ7R\nu3ny9JA9BhNCAlk1xCANj2uSzr4C0xVKGTCakOPpc6mbV+fM5r9/Wx+8fvQX\ng3zCvaIPX0SZncn3Q0VXlsuvvlnUwMmByvhpoFv9hdcfXlmY9kPT55bJ8OBb\nFtZk\r\n=OmKV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFMS4BoZJt/Zj8jwfgP+NGqzw8xOEXnMuUStzo5PObl3AiEAi6AWTxOrS0F73d8GZR4qjVMKSw4GThxkJ5O4jKQTA9Y="}]},"_npmUser":{"name":"mttrbrts","email":"matt@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.17-20210302224341_1614725082599_0.5760473704083999"},"_hasShrinkwrap":false},"0.21.22":{"name":"@accordproject/cicero-server","version":"0.21.22","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.22","@accordproject/cicero-engine":"0.21.22","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.22","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-OB8kHXTuieOtCNhXoTHz6fJcYQo/BQ1rUAN43xYMlOnbkOtW1y6WNy2fn+eFDdt2m5s5fTgpGBN5hhmycsq3nw==","shasum":"32d56dc50747a9d0014aab1c1be81ae52fdc553f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.22.tgz","fileCount":49,"unpackedSize":179459,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPtOmCRA9TVsSAnZWagAAj4QP/A+II/4GNKFXoARgv1Az\nctIpmw6vitY3r1XTi+kGsvaJ8ESpIZ2chg5JsXgyWdGAa/0YTbf1Ah0UFLdC\nw6UCzjD0fwrEXh6YLlm+BmHslFSPmBwDjAtYnTpmPNrA0/vN+tJmtdB9/KQd\nhD164fdx4zW3Le/JHfHOq5tnZVO/EvgvMNpwoUli/3dcPexLL3yT/sYk3QZk\nUelfGGy2p0PT+WDGhhSfehBv6YBEWrTOx1GZy+uOu1WJUp8GrR1jIGMLMyF6\ntsi5YBciRbnBoyugDCsU454UNvssc4fJzg5x8fiDVl9xVIr3F6dgMfoHR3jp\nxIA0GnLm5GEqG31b9YWiK2qoQcGaE0e8a9l9TQBxjwtm72wWUfrCEsP8qHpb\nYhns7Nh4cwhtxwtsulkSaYTcapeOSnwTvJDbwMN0myiHQUn+F3b0g3g/L2Wl\nUl4vsyzV+0/tXQsjt3VoQM/qRnVRaJ4ScE4VpGu2TJNePlnglKeSPviiHyqD\nx6d0Spn3Bnppi9Vn5iawrpqz1ViILB9Km7/LrOtCp1hD9nLvNNiLnBqfZMUk\npd+RWc1XDuzHPSXc0NMHW/+lHtUKwQP4OpAYXvV5YJKY4BXI20nd7ZakUxs4\ngIVkbvIrKxx5qhvn5E45hBmYz4eFHd++AKL+WJPpWEDI4X8vSJ1YMFEk+8+2\nF0bK\r\n=C3gT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEutW1OaB4+N4byeXXhVQOeAOX1GYAs6ZzlqCtH3goz+AiEAj/12QdZppNyABA5RPDFCmcvty4orCin1JLepZuK6mtA="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.22_1614730150487_0.6743640029518463"},"_hasShrinkwrap":false},"0.21.23":{"name":"@accordproject/cicero-server","version":"0.21.23","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.23","@accordproject/cicero-engine":"0.21.23","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.23","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-ii+phUcSKrsXKolO2RNnX/aFkq27dyh75oiujFGylLBfvYl0zSBigvEmEm9G32vzu+cpyzcCoKxBszS8WVDrxw==","shasum":"12a57d326f17fa0a413dd3e0f199b9788d31f805","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.23.tgz","fileCount":49,"unpackedSize":179459,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPtUOCRA9TVsSAnZWagAAEuIP/R5q67up/c29Wvm9Kwrl\nDgNJqJOGyBXRLZSX39a8cCXEZvbrDJNRRt5buKPrMig7uwxJ4n54PCG8c1BV\nVdeeE3SyS9uhylzR39oy6C5aBZhb6tSrTDtSZm1LhoFoa0G7CPxtHVakgETF\nzQR1bYVcOedPORgHsLvGnD+VjTSF0HvxgwSMPU7fGYO1HQGK/baYcTmyOqY2\nFlXqLSGy0g+qJA+4OzqDoh8BNog+DVnPOPXcAaaxPDNqTQYvyUFOnngVZ7Y0\nIX/yXtRla+464TJmH5JboaJIPk+4Yekewp6t7kfa83SCbgkFGO/d2ms150ao\nByovn+Mm3EG61FKHdMrm1dGhgtrces7vPdBBjv+377+XJ/3jwWgSCDCyM2YS\n9w0jKDNC6qqaLo3GFX1UBGniOUSQPcPrt5B1w7sbWSMOUyzbFEdzqLLap3pa\nP+as9PNJTG8joDvYe0EwII+HV7otNflBLiZ18UEGjDzUPNNddmQZojjjaWMW\nlJ6DpvBAAA9Dow2p02x50iR3PuINAo2ZR6YN6yvBf/shA160vEJwLLr6uMcZ\nO+jWPeFpem2XHQ9zfW50fJNm7C1LFFxwZs6aOqjYYskMNzIxgYKFEcpQbWaL\nohiW4eO0ETV0V2HQd1mh3kvvfAanAyFUI+0dq0ZB6NMG8Pry7gxvIXPn3TaJ\no+/g\r\n=tQX7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGzzlhO9Y8xLjCvceo53OumKPWooSC0Kj/pKlAFKi7/QIhAKWaatdtCy0ItBlq6FRFlseGV1WD50eiMocW2A4n/ax5"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.23_1614730510030_0.466917841075021"},"_hasShrinkwrap":false},"0.21.24":{"name":"@accordproject/cicero-server","version":"0.21.24","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.24","@accordproject/cicero-engine":"0.21.24","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.24","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-oACzP3kKq7yrwI/TDKl4KOLahZKe7pD7lzHj5LmZCS3qs/PJK8wypCbqsnMUowLlQ+jWhFgUZWPaMJ91y1KEcQ==","shasum":"90a7c96ea340aace9102752ad5d09f006b5001b3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.24.tgz","fileCount":49,"unpackedSize":179459,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPtfECRA9TVsSAnZWagAASwUP/3H5owr48uARMbpuFHFr\nwtxib/Slq9WVLr6aT5Vnc9daWeHVovffKDwZGeuG44yvM5ZTcS+qkIJRcek2\nEAWkzdXrpPkfO3c9ICbLX7qg8tMaP5bMhqM+hYUSEv6E6syHn8TvIg9c4Sst\nZo/RTqHncTho2kMq7zw5dtaXrDYriNr1hOPkBjniw5788kDx+o7FPjTdvOA6\n7o4L3wvWXGp2ff7EsSsjIGwIrCTGJztf31GLVLJmcaA3tvHkw38hHb46oZnI\neOgM3fmMhdPyfvgfGWHrK/vRVXeZ3xng/Zc//qFdX33ycxpi3GmVDMwem9fh\nEW3o798ywb23L3q6/qWudE1wtQMU92a5bXev0obQmilN2IwlJ+jlqKyuHeGd\nR5jrUIijklc6Km2NbmEJ81Yot382RQ09nIt1yp1b6bEuQba/sWxfZCsqHBhK\n+3w/qv1Lf5GqhIz9AfhP78mbG+TvPh3P3BywmjunJwRWoT5R3i3AwZRN/1vz\ngjAR9os2LNGhnmIm3UUHlWVuDaUOt140XGR+vakNZtCPUhIUWJ4AC+5kCDLF\n/ZCYltdujjHQuI4mKrJlFm7rznEVvmLI/KgP3U5fXO5eWcumBAFf7JjWyghy\np7iZCs05xktteQDRNfAm9pKGATPQmtw3slGuyFYRcrnzhLsZd2jrO6HlWb1d\nugCm\r\n=RQ+Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBrYmbBasSoYeD6+5go8PWwrWPdVtwNbcSx1QXIIBU9AAiEAomHB4LAyTC091ZWxoea+w0W1uplZUkg00q/tcWkTbB8="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.24_1614731204032_0.6889783021133475"},"_hasShrinkwrap":false},"0.21.25-20210303013047":{"name":"@accordproject/cicero-server","version":"0.21.25-20210303013047","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.25-20210303013047","@accordproject/cicero-engine":"0.21.25-20210303013047","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.25-20210303013047","_nodeVersion":"12.20.2","_npmVersion":"6.14.11","dist":{"integrity":"sha512-/+BzhtPyAIewD4OZfV3ScI54r+fY+0HwOj9d0B/y127O9Hrtpzy4gRA668wq29N6nGBAvSzbtMl0SZXOZjtflg==","shasum":"966c75eed82a4b7233db1a1c8da1baad5b2b5a18","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.25-20210303013047.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPuboCRA9TVsSAnZWagAA0AgP/0RzwD7BY4bqH0m1qNKe\ncM2lCtKDMy7gefwI7Z7NXpufYuaTpL6UFlDjRNL6O6C+/xVorFJfE6dzLW2Q\nA2JnQT6IA6fuOndI+bwCWenOtBVoAUNRMGKSER1nRNn9LdYW0dIm2hEUkC6a\nmvPeECrBd/YS8Ko77D27BS/m96qDYWDxG4FpbCCm/t8tncon3FjkQ17XFdLM\nyQmNGVsqjTGSTjASnALdF2eZLojrhHmTuV41lVRJfjAfvAr3VJu8z8UjE/fF\nAyaxM9ZWekgb57IG4yfa0lhmm1KMtbjzwy1r4fYAyqSchdOwa17lW0qENE2y\nHtqZy/7nZfePL6ouj+KdomQu7cxPsmSsZ3AsfnjPCwHE9UX26PGY0VyjfOO8\nH/KPsTfO3NAruvfHH9Ho8Ng3PsRj/0/WsYfe861yxWCNJe3P4PofDqujYfYk\n0qlX8rmrdwK6it5h2y45a4OD3YOCWsva8QTXq34HZmWU46kTY0zcZTNvAEMP\nWKKgKaDSJhIlwKorD8+KhGLeWV9wDbFSYm5XzPWe/sLiJ/cUpE8BBJ3ARmqS\nCTzE72UQmCr4rbMp24C6aUontPl45pu+f1QGJ2osvOJkol0Fw3O8wq+HcN10\nxalDvCjd0Q+mv7lj4tzP3gQsZjMPEBkq3KJSyDTzAdIjeVCEC/QEMTyhd6Uo\nxeKk\r\n=y00s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfjso5brukUPuSpbsYMPQQ8q9eckfZXPs8D2Wji9hn3AIgKoWAhArPLf/X6RMqONrxPIVNUFMsuX/gHjxiqeYrZ3c="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.25-20210303013047_1614735079623_0.03337976836981826"},"_hasShrinkwrap":false},"0.21.25-20210303013108":{"name":"@accordproject/cicero-server","version":"0.21.25-20210303013108","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.25-20210303013108","@accordproject/cicero-engine":"0.21.25-20210303013108","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.25-20210303013108","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-T1a4MlBh68CIcTwgkU0+phzY9AMp6QQw4U4yv5NlTISwBuo1zleRyNzZqoaXlPHxQdsO+Z7d5lHHAAKAb3z1ZQ==","shasum":"43c8e03b39d58fd7c49edd7583c7e8372a1d2509","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.25-20210303013108.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPub9CRA9TVsSAnZWagAAKucP/im5G9/Qf2puQ9XDfbT5\nvTQi6qTlw+QqMLgkugUtiJ3eXonCTD4NQ/ibwPaYvmN8MN7auPqUatJmJ+1o\nwXZas9hew3lIAEctOBc/2DEAk0EfFKm9AtF+1YS3UBQFnByNfCvo8tVHqZRk\nd6m+n5Rzr+6MWyF25qt/5poyRAcyp4EP1yEZ0kMDnAR8J+FS0e307LSFxWi+\n3bHqIaw3Ka6Pl3imTIVwOj+2KJ2iroHDKh2AJjHnoaVhhf2v/mYRdE45b2fY\nBFLB8S7TbCh+FVb6t/UOop3renJX8RO5apLbPGxACAgkJnLvY9yCaJsZxAn+\nLInbJE8vNPh8tf+ylsRUTsX7hmSLHR9+zWwazT6QQWmW0Qv9HnG8FmfPO2qa\nGSCvrxtFfGBXQ/FZMWD69Kwo0theUo1uWncHrbBDGxnVQvK3wHlpN1eGDMsq\nf3O00enJ+5MYVQtheGiyHpDijQ6udsJZux8CzHKUS6MJ2BoGsllW5FOxN+vY\nPtfjacmXg2m/YADqz8QcxRoJaYsACv5df6BGprdpNPRmbz+Sz4KDjpdWkdLW\nwN3aNBEp+UfrZRgkQzrqsDT5UgI8rR/2YGOeYse2Gd5XbIhXcxom4C0oZvJZ\nlJ790Q09G7HkzbSePR4sGAQ0s5HWvHjcom3NZAXowXH/xUtTgMoCNDYLxKcO\nBTQx\r\n=LOGe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC66kgINARHcSWKh29+IoDWbXBxboSpIU04GNglvyZxlwIhAOfQxcmDz++nyt60ZJDLSo5jzGflBu7HiU0Oi+XLJNan"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.25-20210303013108_1614735100786_0.7413391332548045"},"_hasShrinkwrap":false},"0.21.25-20210303013224":{"name":"@accordproject/cicero-server","version":"0.21.25-20210303013224","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.25-20210303013224","@accordproject/cicero-engine":"0.21.25-20210303013224","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.25-20210303013224","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-I9J0veN0pZztpP6ZpIPVOmqoEJh/TBsyAEJpdfU88QNXWE9f2gsMrrVgx8yGtxrtwz/ygLfqIM/UPpGGJ9CUaA==","shasum":"fac2afe6445071be306778066c4f6b677967f932","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.25-20210303013224.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPudJCRA9TVsSAnZWagAAxNEP/2uddIMk9TtohbJgcFD6\noLCtm76yN/sQQVD1D4o9wz8MOBPbH6vxjuB947gpnsxM5RVyr84USSl++05v\n0HTW+XshSEkRTb4V1xhPneKvPBIqM9A3Lp2QDohOSxx3eZNUJvN2ycvbpbAn\nGkq5+c/ZfdPJ5BeT/SXCO/IwBKMjBFBHB8tKR6ySR7MnGfbknAmWW4i36IGg\nhYQg/hW3DGd1SI1X8XeK+6iVXNkIz64ABOE6HWHsgXvx5TrP0AHDBF3lGoRt\npxIEsVLWbcPLmeDLDm2t0DOIa3sTWrkDVNouL/ElkiwUh/Y9E4Eujf5lmpjV\nVIAc11skidtBzepUBJ1Jl9GGnd3370qu8tgoj8fGLJr2E7en/txsZwc333dJ\nJrVqCQ0ErNlFHqUim5VYdoZ1RBNxQo/lW4MectbHybc/T/epsU3fLwhbmY2T\n2ti1cZYikmMR837twWraVWs9T9rOK+Mfrxi2XgK2uToldLpaY67KpfZoyPxb\npv2tuJtHEd0ITSBlCfzWC9VXBr7Q80SLEA9Gg9IaPkShz8x1Q82GLp8u8eH3\nqTOg0MhzuzATfhsA8qWCxgEpm+h12e+2MPwRt7ZwaNMJtsRrJ85eZ95D28fk\nMQN8eH7PaAk3e3C1N5upLawFoMN82/WdP55UHX5cTKhPVC/zve+Ur8Ley122\nBNco\r\n=c3Hc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDJ4H6gJvc2tIkx0xic98cAbNAV9SXwKj+xpXg3lQOKxAiA6Qs7IIqgitP/bOdPSLvjTCEODkcwkrk62TPMgPzOW/A=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.25-20210303013224_1614735177474_0.7438707822864312"},"_hasShrinkwrap":false},"0.21.25-20210303013240":{"name":"@accordproject/cicero-server","version":"0.21.25-20210303013240","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.25-20210303013240","@accordproject/cicero-engine":"0.21.25-20210303013240","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.25-20210303013240","_nodeVersion":"12.20.2","_npmVersion":"6.14.11","dist":{"integrity":"sha512-Tmf9t238/XvyBselVBjgFRLxcQcxwSo448FPIIWOQnEWESKeoAeQimHRoNbKsr5DR5Gmye31dZwf7aDfXX4FgA==","shasum":"2a0d604dd16f45e0dd31d3e8944e471abe0fd50b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.25-20210303013240.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPudfCRA9TVsSAnZWagAAbiYP/2ls1NpdyuN7Nyz2S+BX\nEUsM7Mev3A/KCGb4iDWv8pNPfUFXC2JZh0ZJEwNByL+ECx9mkeElaez+2GJm\nJqvC7FHy2h6U0zLSk0welQUTuYR4zYDXCNPw2YOVvwKrvFE7BVPsAMjG5jAd\nhwyZCJv/08m7XkjacF9GMP3Y5CG/oE7uCruz4yTfhufnijcEUu5cFrBGSOsX\nS3Fjcy5i6rAP3u2BgF3DQjgHw89dRZtSgDbXotF0a1JLb1mGR3VkcYh1TJdv\ntoZbhJq3otJM/wS92gvlq5GMpvFH4v/URA+nCWXoS8mPwr/CgNFF9+ZjHUlt\nzBJvrS2LJOi84pXzpHzVgN48HpK5PdRMmUpSqw2A0JdgCBh/9hbpQyvB0jrq\nZYeNPqj7B3iQB3AFSucN7Xqo49NsxHpPlWhUp6Pi/gbrxqVl3R5OwQqUv6G6\nhQ0udBbwPNdtKgRQ072bHi65sUU3rjR3LVDyRDlbi1nP98eMx6XZ7aDvyaLD\nWwCFftJFKGGMRQnXv7HqDkD3PsN8yEmcKQYjvXOW9FA5oznhmDh1+yAX/tU6\nTus6QiAkvrF0leMdX1NjBZDt4XsYhmg0TRaOijRENu7AfvaSzwDd/qsrNk2v\nqLXBP4+IHIbb6N9d2MwHga7Q+/JtX8x53woSetSo75SHsKj8PKp3j7ORsdQ1\nqOFf\r\n=+b+M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE0kqwykav7SJsgOJLJ0BAf18irVMcxdX058p8syvJf3AiEApnWyXadBJ2b9y5URe5+vxNVoyuXuM1aBPZqsuzRfpAw="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.25-20210303013240_1614735199419_0.6600582419767875"},"_hasShrinkwrap":false},"0.21.25-20210303013436":{"name":"@accordproject/cicero-server","version":"0.21.25-20210303013436","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.25-20210303013436","@accordproject/cicero-engine":"0.21.25-20210303013436","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.25-20210303013436","_nodeVersion":"12.20.2","_npmVersion":"6.14.11","dist":{"integrity":"sha512-dbv9jD4rdey1rQyYVEUbJNXpp1hIe18W8V8yxUSxWHiCt4WgPyYw1grMmTHO848zjUYXOBtd119Gw1+i05bHFw==","shasum":"aa76233ae4d643f19f4297b1537c660348a5f530","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.25-20210303013436.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPufGCRA9TVsSAnZWagAApU4P/ia31DMIe4WR4sep+WWw\nPyex2na71uFe6UqWi6riceh6SGIrggZLnRST6EcrbSC0hN/ylVysORG0ghg/\nw+GoDBUEVmyYPGdPGYWYFYMq4+eHuHDpBglpwWoLvZ//sZk1vNQgL0vKthYk\nFr82tKTPOKd64OHfaKBf2hHSnb6s3gvkVXNdXeJ5SeH6ZeM9eL93dk7nmhuI\niqv3QAroCYCrBaKHSIRO4Tvqj3DlNa7ZhXZ2qR7hGeKvUwxdUrfuR0W9PeQk\ntvwenhzQuxjMGdbnYhs9SO77t7ihgLsy7bnSLyiKmIG2pvHu/8r1h6JC9jE6\nrZfUWlncnIz1JXuc7BXXTYIxJEw1ChjGQZmwSsazfIuWS3cu1XTz2zzFE+8S\n9rB+O4AmTnrjzjuXz8jSGNApqycKPoj9CrwUvsxw+u8dP5Qx92FVvSX3vpwq\nVUQ5KspBAYUmPR12+Q/dVYE1u1LH+hy5jFPIL4VVG0hryNGqI5knuRnjU/gi\nn+W5UOq4AshoG0Jngtq4Xy5h/N8INVCK+YlwcbC6CZ/5vUD1q+fqNE7bvI3Z\nNJfGHKGSwt/CcDg8bPMFOUShxAVfFn5Bb67MGl0IGfDvXkzJatiGmZpsPAzz\n0vZoCeZcvmJHUbxYz5nmWouvPAr/X2Cjj3y1Jkx2nN6moxlcK2idqEJGkMjZ\nrYVK\r\n=PgWR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiBjIiofwf6ogwTCpTgQi0Be8RSOkcABMseDqJdfyXwAIgbqRn/CETFUnMeN8S359D2j5SBWn2aQXuVvM+OCgLpXU="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.25-20210303013436_1614735302091_0.627735581604751"},"_hasShrinkwrap":false},"0.21.25-20210303013545":{"name":"@accordproject/cicero-server","version":"0.21.25-20210303013545","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.25-20210303013545","@accordproject/cicero-engine":"0.21.25-20210303013545","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.25-20210303013545","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-MEanUBvF+wneJLWq1NajX5BjpjyW7G/aI0EyflZMoiagtuDY0a5eaj5su87thr6iBx0bj0DbIHvXyM9XptMejQ==","shasum":"916d7819d30585680536d7038ff3e42d8f128e22","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.25-20210303013545.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPugSCRA9TVsSAnZWagAAaZUP/j9qzS6gzheT52KnnSQ1\nQDCkuvLFPO8XXzw9dxWJYBkrhWwSPyC5jobmXsJFaEzmDm0HMEGmanzvTWeM\n5c/SgEaGqsMAL+eaST0kkuzO+KWFjc6q6E5V9iUxe/TQdKtJW7sa/jQUL05I\nNtCQEK7j3YiU+CzeZbFQxrpU/xzsszheb2tq6ho0bpj0/ejqnzJWV9ENiH8P\naSmgXk/Qvg9O7zSMRhIOt0kI/NxwiI84xAcGAhc+LPKQMlBtuJzX1utal4Jo\nUSQOldRxxocqSemD7YbW2dOXA1P8eTEV/hPjmnlc10STA7D1qwyqUVMPOWAL\nlZa6IaSu52ZZ9eE19sEICOTsbeu1uAAH2u3YQvmPEsOxut/DrCfP5I9uAs2C\nWFtwF8ArxOQhlRnN8f/4kEPKc0ShmM8VEvbh37OPWeeWcNEF4dyk41M9DlHp\nmehmmyMui0eqSgh2pWf5mJa278MRl6afxxwpxKh1LVB1m14DylKkXkayUS5W\nkENFJ5/u88YiFn4cp5wVRsDu6NjNA3YilPhbdcjmfb8YR/1InDNe7UaWNaI+\n6uFOwBEX+w3RJGQm5gSRsYYo2ZVjFcUW6g6JdlHtSJoLCVDx4uK8+kiQjAq/\n6G3SivIfLwlMtimhCuRCtXMt9cszCfJigxvtFrH4ajkNOtv8rxkLDwm5BJac\ncTY+\r\n=IEkG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdF89uZh57lYIQFHo4PSw/azfJLANYcvGet/rwDEEQIQIhAPo2RkjRs8nzglYh/1WyIg7QmzFjIfeNdpTUosQeOyhI"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.25-20210303013545_1614735378065_0.31935898789022565"},"_hasShrinkwrap":false},"0.21.25-20210303013906":{"name":"@accordproject/cicero-server","version":"0.21.25-20210303013906","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.25-20210303013906","@accordproject/cicero-engine":"0.21.25-20210303013906","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.25-20210303013906","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-drIGqoUHSqKf/uN6/vlPDOhi7X+3RnNAzLF4GV2OQgKltXiCm6Jwnq+khGYY8v4wS7BrHVfmgElXjASJqIeLtw==","shasum":"d80d7802883697c4154f525c6142c9a0e9a37f46","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.25-20210303013906.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPujXCRA9TVsSAnZWagAAclgP/i/EETYnVyrzH2KtnLZO\n1CZq7XySOCbZFg0+GIFke1oI8YQQjaYvpTQDls/QDm2HmJSSVvP3DPrs/n2i\nwpPWxVKvLVi0i4ElvY5XFzBH/qFKGNFPo7QbnBV2J8bvhQVA9xaFxNF3MMtF\nG85XXvJ99O4ovisprGVKshCMeCJPVyvbinHDgDk7J5FX9a8k/v6MocNSbXHz\nf26/ndPMsmUJ6qk4PuQjBvKUSN6V+QpCPk72rjE4cI9qzzOAvDd9ggQXDX2A\n0KgE5B+sq/yPtmOgE0njDBs0Zue8ym0cpAey4Jg8F/SokR3x33zu/8FxO3uO\ngJj/kidBzQJSik64D0NxmRvmyd6rbLqXEMc15vn2BLluAeBvaR/iQ07+uUW5\nHGT14X0i6NG5qd4EzoqS7/o2pP44yWPHNPuSOZ1iuINcvkxPQCJYJlpNMBnF\nt74Ejxpk/jP+5zFDxefXXDDzgIUihSNlagpA8i/03BzXt+Q3wnd5Y4N3OtOh\nQStaI773KXmW1cnzWJpA9HpOX/73wdQdh3RveqsQ233rhyphKwRYFLC/WFLI\nCCrsjDT1ixYzbJxXEBVY4CvMRfNeWf4LeM7ZZcTCGzcHp4tTYRW4wTft0dpl\n0UOKGcFgzy/4si45bn/sSeU1XtZSNkOwh9nX+5xbBLiqxcwfvgMUxdiyWE7g\nPeQG\r\n=ucHR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAeyeYIOO16AuPY05k9D/O2bXpABigQP0mg4JYGEoMhZAiAn7gsmH9rNECad0AIb7/MWB6a2pYU5K0WS5k+SKA+QoQ=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.25-20210303013906_1614735574708_0.12336578399090636"},"_hasShrinkwrap":false},"0.21.25-20210303015920":{"name":"@accordproject/cicero-server","version":"0.21.25-20210303015920","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.25-20210303015920","@accordproject/cicero-engine":"0.21.25-20210303015920","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.25-20210303015920","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-gFOXlwGzFefiUNMSfyYJ2863rG4V9ar2pDS9/U5/q0FEhMgGi9NSxV60ADwF5iHYKkJz7MkD+t+Sj2kVzWs1Mw==","shasum":"472d3c1a28486891c573a7f743938caf3c848b65","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.25-20210303015920.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPu2TCRA9TVsSAnZWagAAzssP/jiis2aRucwRZtV66YkC\nB/RXjtYKsj8qI/TsKIgCRrbZX94cxhOjVKGMjxsC3clg9RY1E9buqce6b6FS\n05di6eYedMGAVxRzFhCHNPxZtHbikPwOJYJS+D9velI/ofQBbr6UJ9UT+U42\nR0M4eK7f4G09KQBrYpwNpW1xK+JgygWOjR4t3XkbKM0qg6jgpkyDo9hgi+Mu\n7ekbZ09ve0dtNGti/yqFGEUSBIY25srmwD3AMJxAFwuRVcT/ACpPhCkQFYSh\nJ0EUQq/ikcBXpIMfl0KcLRQqdfZ7UPCIuoUpzKaLni+xcweBEAfkrkJy/0na\nbJZhsbFyrgLNWWSUG8RxbUVJbll00NebT8arTTg5jg/CQS70D5VR1DX78155\nsTD5TKrslPc30f0mP/JBr5D9WMJ9bFkWGIGI4zEaQ9yRQCe2q4p87lerdJ7N\n5mdo1KQidnM6vqV1p4z/MV9S+EJ0a6Ibip43EaWb5tjBBSHNu/M8dlXpj5vN\ngHri1iaqWOREBbQdcsxUDELMdRFEdQjbW6OQYIrgF+hF52bt3gH87FNdQTej\nne/eUlfeFn6tbpYEsekh0D76GwLrmuXMRJsB2UnqyGQ3bHMCSxE2axOcum84\nsY061uOHrruu1dpzgcg3lSO0g/NS45xmPhAQlE2gSIL8LsfmKdNdh4/PiC00\nuWKM\r\n=JSRp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcutOjUV2CYASkSgIKEcuBOpHEAgbRtjGhtj6fZRWmiwIgbGhsWQV/W2ZSQwpVg55vz7UNNBaxmrOpM+xoudhyM4Q="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.25-20210303015920_1614736787239_0.40784265098093786"},"_hasShrinkwrap":false},"0.21.25":{"name":"@accordproject/cicero-server","version":"0.21.25","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.25","@accordproject/cicero-engine":"0.21.25","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.21.25","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-zKEDMM3Cpf/n4e2oka3pwYKfPKb/l6NifSZwRchKtQvG58z/rBRSUHQZWpwkV+SSOGly/HsB2V4Sy0Ymy92x0Q==","shasum":"0c552558085c71df681443db8e1e4a96dc58792f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.25.tgz","fileCount":49,"unpackedSize":179459,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPu58CRA9TVsSAnZWagAAXdIP+wYTVa1INCFt4SUBP+6Z\nu1fNFZ8pmn8ncQf9cdVS1Owx2bpqSiZt/xa52I+IIX+JIWpnRnVyn/lThTcg\n9TfCSTTI2yNFSogzYJab7GC/3yZa4nTB5zxjQzhwBDm4Mp7i4iWKzThK23r+\n4QXjBAzcq14Isz2NNF2Bil5s/8XvNyRhLDZbbR+MgcGZgEadfjondjcrgsrW\nsit23hvXh1YWCQdhYUY+tOgNZuZSb+vczAJs1zuHWGdeG4XDJtJtED/zdHEb\ns72C6Ix9T3iEhNV0Bt8+vE1Of7gDL5nC2+qoumvBhfYHu/RNz/Hwyn1rlVUc\nKbWdaK7eLDDnDHJr1iFRSfQa2FgLKgz+OPZAdcjSCWFpkXvbQR/9G5lz1l8N\nfv7faj1AalBWUQhbaS2tGy/f3ci58WEkuVmdX/VQaAQpEfbP9+cYYGlyTpvq\nBnFtpoIKO5aAI5IlcPWfIzfqg/pn/Rpctp3falrPySmfBdni0p2a8Prm9EUA\nh0dsqtTdklG3p9h8xSb4TjERMGm2UcWali8K/ekNVMYizQF5+l5DlC0/N4Sb\nBDIRTdyD7gyvA3q9WBZ2z7XCSbxdjFgYr7nWKV1V4Rx8S9/kVyACcDWKBbEm\n7pkzqpKuTSTU7GgKBT+kwZ+Y+c46zC2+rY4unTpIHJfMjwmRuK/USrbjGfG0\nQP6h\r\n=Ohyj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBPY5ylGinazo0QX6NOgPhADnzwqGUMOfCXcGwBWnrkDAiEA17fSdM6DidZqE+6oKHmKQ7eYChskuj6K9gKl7TRwec4="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.25_1614737019785_0.6443621140413482"},"_hasShrinkwrap":false},"0.21.25-20210303110736":{"name":"@accordproject/cicero-server","version":"0.21.25-20210303110736","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.25-20210303110736","@accordproject/cicero-engine":"0.21.25-20210303110736","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.25-20210303110736","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-MYumNI+7x7oqAROwGz6CZYdTdR2F4xI4X29QeCE7ug81bOITo6L3nPG9H5isbzUJ0KQl0NVQIDEL3Sv7EUrBxA==","shasum":"2a96ebfb8cdfc25d9d397c797b5fe01bc78fa207","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.25-20210303110736.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgP24aCRA9TVsSAnZWagAA0VQP/AjbJpdV1Q9RQ9/k83gB\nfBd1mYYF+qx3Am8UYPBdjbx7w9l34rSgMnN7iC1rgS2us80edvabU3IDFcCL\nRgXGmEm5JT0FhLpfdQaKY7mCLKVE6CJjtLBm45mDcgKKwvNAO6huh97/gqhq\nwqxVj/jolKL606q46MxYrrYh+9UYs2ZKhsXjZJ5fUkATIKTZAogLMGmYjXay\nK03FLR3Tem8Y1RZBbim6+tBtzv4K12nb+8nngVXyHoqEpk7MiQUSy7zV00qZ\nhGJRDojMvVGZc/6XeS7eQnf057wACkIxmjPVirF4P9kSykdAUBzIm5//4eNL\nXEBVz1d/NZ/el07h+bYjT/K6CFqnLICowjSLQ3N8+p93SP3rhgP/oHyam28T\nCc//mgZWULFsuyIRQaV7oykHZ8a1b6mX4U60p7bEwf4XkmGcsHluIyh5zmnI\nSw6mxm3kwY15Uq07b1L0I+/OREFuTfX033qKNq+/4+x/fwZmZvVzuDEJucXK\nKOg6DIkJXHs9cV3NFg0xIthjxDd5b+9XUPWaknXm4v81ycJ3IieV1DzJ7w3K\n2zdwk0YUm8LX9mb/EAqPdGCjJd0L55LjxTydEfQxAZrzz6IYVHMjChj1e7jN\ntwTLexDQ+ctDKv0XanUfpwe6HzRp6N9wkiX7ruZ3cNej1efb4Hh/K2KEijHo\nX1rb\r\n=fK8u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEps6snmThNwXA5cGXHFjqqsZt2oHrd2m/iT3G2YmcYdAiBYFZjU8l9r8W2v7puiSkPF1vmuJBe3hkkglOec8wWOgA=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.25-20210303110736_1614769690466_0.6984330655915634"},"_hasShrinkwrap":false},"0.21.26":{"name":"@accordproject/cicero-server","version":"0.21.26","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.26","@accordproject/cicero-engine":"0.21.26","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.21.26","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-2MplOJrhDplaEIrytFJdrVqgDDhGKWT2lxpPTCNROWH587XqR3S/xT7nd5ppszMNn5U5Qj0Mbt64fC+zfJFwGA==","shasum":"e8bf89da41cc680a5ad2d205dd8026e207fddd10","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.26.tgz","fileCount":49,"unpackedSize":179459,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgP3bkCRA9TVsSAnZWagAA1DAP/3k8vVTVJUQs3849or12\nTIuCD5FcuAAe4Fl8LJMYguR9dqRMMmnpOXOmoJLQinKhvBFeP0z5f1xbwKW2\nTjZNaSvDc2ljz//WxYkQ7ZLYkQZQl6n3R0fBuceC+Q1FPVTY/Og+Cb/Z+tjw\ngYmzmwFBKzpaHnU2CYuczNsV3jfqMqkiiYI/V3JZytFUPrF/5BhY4VLqf00d\njKcn/xvyTJS/hgVaBSWN5b/RyBem0bYResu4sXq0Ms9Craq0GtTWUSlfXrIh\n/8YX9fRtVDLp4iq2qJdZQX/KK7X3M0sg0olj2zrzk68hyDK5argu/IEh2ArO\nXRaQri1UR6Z3flzk21c3lQYcPYm8SO5nVASExK+jC4wo6VS0giUCTxAOL9US\ntG3z+3z0HiOPCIaozMSwFFpRoDGiOmTRMgYb4TgtXtxON3o81kexYK4UYCOg\nH+ltrgPZe94zldScGa5Jqc2CXXqfr778qsVGUfGVmYEQUeGwJvKykRiltQR6\nlrfCFrR1teN3ndZ1g1NACNU7sYjnM/4x8oEfoPEFFzdTWqwQoUcwcg9Kh+dt\nEZ6oe2mjWrmuAa1DetbMQezQcMGncJRv1u7FPEHRDRVZfef0rl3I81FtkKCf\nbByEAt+dcH96bhjOQKbG2wLEaRoc9EM+yFAYefBpUN+x6iPePsr7FRg8hwx6\n+hHg\r\n=vBTE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGUXwYCLy7AmsJr7d3alN3KkwgAS3YdX5dDfpCKgPyv7AiBXpYTZa5Q22QjNZ2V8oKGxDv/wAPKMyLqg1mgZvhJVzg=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.26_1614771940016_0.3264313569330999"},"_hasShrinkwrap":false},"0.21.26-20210303115032":{"name":"@accordproject/cicero-server","version":"0.21.26-20210303115032","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.26-20210303115032","@accordproject/cicero-engine":"0.21.26-20210303115032","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.26-20210303115032","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-WDgyir6XBUMIbr/gdQrYNFUHzKIDpPSOc2rgplY0O0wMJRSupSKp7n6n1YfQJuMnTmeS13p8CvOLNhETFJi1Cg==","shasum":"31124622d465ecf0ffca96b364d80a7e0c29a118","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.26-20210303115032.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgP3glCRA9TVsSAnZWagAAsUoQAJrvI9EhHPPwMYimEtC8\n+ppPyj9GpbbCEg6wmez9xmBYPrd8aVNPWrrT7c/X1yXsKd6RT3mJo6tcDDIO\n0D+R4lR3lbmxBi/NmR+olLq0cJfFBLl/1P7yWWRIzn0Z//O5BHQ6g0gcu7cT\n9GO8b2WUZ0+Q+snuyycvysrr57N+nm31NoPoLwxFmzcw8yf4hMQVrMLOFjvN\nmJYdmzvCPVoWENdK+6kL0xempJJyi2f2sBbQLHZ/b93CMjsJlPLIezWyPOd8\n5kLh1osHk8MLrhtZxFjN7sZWdRXxff/AePLYkqVdrJLDMbMRF8DpyPVQtrDC\nsmtKr8AH13v/60KVrE0INehIIlPugRn5MSe1o+/He1MDXYt5mkHKE1RmNrpa\nZ9481ihBiGZRRl5lro7Ead7Qf/2HkGLntNND0Np25twrpc81lPcZjejh/dpb\ntqxLvtmxZkmnt0GKOkkFJ8eMHPdZ7LNKVndNH7w0/iB4yFBB8pdKDvpcTZXJ\njX5RWn1Iv/875lhyEOMsCqexE4dRPnaEgHxo8zlWKpSGeFRc6+uapNW7KtTJ\nkZxhid2zjA8c+On1fYljueIGEzNyW3GINSLQzgDCbV12UVJ3gkiABibuo2k/\nj3Pg6Gb1jKjj9lnDHl8M1tdidx1GwLnqxwuPCkDFkyzpO0muTLJs0NLi1gnG\nAXFe\r\n=QjY5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEkcCXO5E91nyS/zwtreEe5QRgQqIuXMjYP4Puo2+qZhAiEA+fYP1szg8V0XrT7He8x4pw8dDpp0v/3Eh1/7fIeVVz8="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.26-20210303115032_1614772261065_0.687697599052465"},"_hasShrinkwrap":false},"0.21.27-20210303144020":{"name":"@accordproject/cicero-server","version":"0.21.27-20210303144020","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.27-20210303144020","@accordproject/cicero-engine":"0.21.27-20210303144020","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.27-20210303144020","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-khCil36OgQFry3J0mLCTjJaaY3UmLLqTlHD6VZVLlSNx3OOwKSVJy5FFf1Id/nlBwTIkVzirmbSDLCiy12+QOw==","shasum":"859f6521e855a3e9d0ad518192e955363100ad17","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.27-20210303144020.tgz","fileCount":49,"unpackedSize":179504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgP5/1CRA9TVsSAnZWagAAOmoP/2f7Fw/1p9KZw7zkSGbc\ne83snhgURw54P7cxXZDamzrV0AjwnJ5gVqSnQkclkRP5Wyd/Q863tLiV2KP8\nPhbFEz9j7et3qNZsge+alSeB9P2Xh1HvuP4cMlBlq24hUdRpDGoTjePY7bVW\n/2ghdfOXu1JnWH/OFLBHIN828kURutEPTqawpZ461jK399vf5Pz7ndGhf+S/\nzmbu624dg38q7k4V+giRBMVUmzfouZSRNV/zUtdRUAbPy2XeAU42y3Cwvovd\nqMlo3W55D3jrH7aeIEsnag5/P3mgIyL5NMHZ4wm0CeqER4dU28fyI6ExuI/Y\nanGF5xm+SRLXEtezfMuOVIleJNSKQZt2DRzqiGbLRkXBspz9G5ePUhvzrBq5\nKwOL8fPDdCA/V8h5kowlVQe8wRZVkTXWNXBTj/CfRyDKd1sQI663W8pK8ZD0\nzzi6ctHpI54j46ZK6iXAOooOzXxQucOVvFLH0TJKcqdTECd2HoSibk1Z+CSn\nBA0sC3GMx74cBkYqnnG+X+wdTrTevRBs6X6p0M8OuFICEhmZIgSxVTK0GfwS\nsp21ZWuyE7r1XYULu+ccjHD6etZScX50afWlNabd7u5EGGJhFER8wLqc/68M\nAKv8ITEUgHEHhaRxfuYKmZqLa1sG5N0jl2vNY9Fm+1cMwkosdmKBZSvyEBZ6\nHd6F\r\n=o4sQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG/aXdJ/1Fa7+dnlKYWdcOfIOEfTP04zOluG5QL9pf2MAiAoKxc7MpCv2kimRsS0yed+NjZxsdzUe/CtB3TOPGuSEw=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.27-20210303144020_1614782453339_0.2422800470326809"},"_hasShrinkwrap":false},"0.21.27-20210315184542":{"name":"@accordproject/cicero-server","version":"0.21.27-20210315184542","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.27-20210315184542","@accordproject/cicero-engine":"0.21.27-20210315184542","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.27-20210315184542","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-5u46lGsrkVBnMsTZorFqYrzZDkb0ihhknpD421xeh1u8q7MnDW9QdqaU7jjp4EYzND4kEvPxhAlmn6oTMmGqlg==","shasum":"746774d8e2bd4d0e831a383ed35957f47de6670a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.27-20210315184542.tgz","fileCount":49,"unpackedSize":179576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgT6t5CRA9TVsSAnZWagAAixUP/iYSh3429kjBz4lMOGoi\naU1Gv/g63PwKw3AJ/8vQZ1iaFcQnIbMu7vU/q8m3fYd3T4+2L9Vdi7EGL1w9\nfsCrkWYtEhj0WIyHcYpUPfDk4kVs7xlFxywX9y5Yih5QmYg32DDKEyyRn+0f\nAXNfiZDOZE4VzzO5OOfhgIDx8gTqcCgOY1zZ1gU6gccFjH7rodu8V6XcjiaU\nt/o8xIw+ymi+fz+UKtsfGYVkXLF0E6FHExFEqCyZqptNNhU2B7iaWyQ+/B78\nYO5MK9pGwdrv6iOIEXh3VzXPqRvBvMlH+obkmtx7izfF0OA2nghynVhGnMCr\n6Qqe5oAcGOjLltjxBHXvQdPQsIzKxwUADFf/2r1u7c2sttKdYHMLOuxTWv2D\nsdjhHHYiVwxffMIK5mXaD4Mbw9sVMgCzWhnfsuy0clh0VROIos4HxiJlG2km\nZCC/1A7oVFPIw1SsN6c/HpRw5V4PSVFBN95dFDjPzuJqRmI+Nca/VBDqcnAS\nAASpGukOpp2UyAgl4MwkAUj3hw17g/W8tOwL4nP2/z9WZtPEcLMweV2AIUlb\nyDLG2J9c/ruyR41HCYovAF4URhiVZX6uaBSxyEdEb6W9egc/FuAC2z6qVTIv\n876xgb7EXGUNGDb74Q8qKm1AonlYM45hXtP5aOSSz5SPTPp14jnGl3tGRJMY\n5+R/\r\n=8wka\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEluY5u7eYJQD1ovjRsYEhTHncPdCLUEAUUSTyTQ9CIWAiAWd3tZR8I7/OweMojO2cJvugwuCZVL+EwozImHAXN3bQ=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.27-20210315184542_1615833977210_0.20832591981831827"},"_hasShrinkwrap":false},"0.21.27-20210315191623":{"name":"@accordproject/cicero-server","version":"0.21.27-20210315191623","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.27-20210315191623","@accordproject/cicero-engine":"0.21.27-20210315191623","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.27-20210315191623","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-gxv47FsBVFjERkty8xUr6IEXTnrtrvjXMt9dz1rsLA7euwnonZhSTFKyLYg+na6kAYLuFb6jRoMdU9TAMlDLeA==","shasum":"67a6d02f4e8808727fb958db92be3635b108e5a7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.27-20210315191623.tgz","fileCount":49,"unpackedSize":179576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgT7KoCRA9TVsSAnZWagAAbjwP/jEVMLlKKIzrP/BHiz5y\nv7hN/dMm0jrdgx/I2Nv7r/DbPXrXrbioeX+BgvBeOtmjmlG50eBsKIfkNxWs\nCBYDUo+LvZAbbWPK3uPvH0WI/j4L2ZDrHw0TXJr+5cTSQn+X0KefzwXMh0Ei\nYIuNW7WZ8oH9cOGkuvV80ZNtgtvZ6gf6sEqcmHuuoJs5DC6HAvYSpgrWQf4J\ncrs2B68cbZVCbfMsCDsTSW8t1HQxPBfprWLkyDefRjfgEcYo0NGCL2G/P2yB\ntWgrQSBBsJddHGjzvHLbMoBtZc9SkukCQ4AZe6ELKLCtKofmEzK7HWNEG0fK\ntRjgIbBgxtCEMIilFBUL6FYKPquKNWERXN0JYd+y+sdaJ+84eLXfZzCc0t+7\njxOxXrD0KoUSvORzIjlx0x9oyiMwIUBvIVM187eJs/njXvjznAHvbNWIsCA4\nTU+sSAL/xrch45SlvkbI/TxphTFbB/tCQDDaIXRtgn6ukx2LZZOx0ON6VD6+\neINaXkNUe32BiLS8bt0MLdg/lZNEzCVWgdpAFxHoUrDev3U+WsEFEs7C5YlX\nqWlnNvSgUyL+IR5BudneqSyujPBwVJwBZwtVORXGCwjqncZvlW6qvnZKlPOv\nsKVH33WYWI05O8bQ81iaF+9Xf/ca1gR5Pm0YhVD+A40sOb2KKX+TTqLAfEJe\nSlDO\r\n=CVDo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8A5SFpHZV/Rl21N1/VAk2IUmqBp6jg/7kvuSYPWsJ4AIhAO6KgMnhKrZeM/w3eF2CyG7pxO1VweHFm4nNlUgV3Ts1"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.27-20210315191623_1615835815752_0.895858357044935"},"_hasShrinkwrap":false},"0.21.27-20210319042108":{"name":"@accordproject/cicero-server","version":"0.21.27-20210319042108","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.27-20210319042108","@accordproject/cicero-engine":"0.21.27-20210319042108","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.27-20210319042108","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-1z+jveX9Fx/DdTaI6ospjhDOpGInt2rwiXOMDfhKcyizg8NWgcywY5etJSqQb2GXemePaYDxiEW66485ou9aNg==","shasum":"26c46d6195e59ff09b4aa334a5e72810d01c57d8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.27-20210319042108.tgz","fileCount":49,"unpackedSize":179576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgVCbRCRA9TVsSAnZWagAAnJwQAIA6vlYxJHa0qKYP4f86\n40UsBEr1r9njeQ9t0RUDZxz+hmEG2J2a7Nt1Ncxh6vshIphWtJaEVNFLHjWh\nz3zRLdIZNTOiZPqUdmiYGhDKMQ8HJPtsbgaFSfA0S/qptA6htVUPPAqmzo5Q\nD5Is/AvhatIoNZ647tGAQ1l9VN+YpNIAYghz7FUDSlHcRZGLm1IYq0Pod2mK\nDVys/zZbw2Ujoxiqy4rc0OX3flRhdFkLHdy0mA8uVsfhqXdkbaXgbZ4s6mz+\nvtC+fGMLzCkF0JqdApcbLQ1wC6nW5+QVlxihg4kqqhruI4AzskzO6L0jj+1P\nt+ORIOoxlyRD6m0QKAkeVwRVm6Vuklnz1+0UjGS63zpaVsaSzj+z2pC0hgG5\n/gXkhCGMQFYEC9Sr0AoUG15WawHHKErfaKBmrBxSLsNZDIJ8ZyqGVRVg1eVg\n4SBrOEtJeqLWZ6S6diNw4jFEIzVCg6lTWfjv8DcLNsyCZnk6h9G/roKFgf90\n4236wmNIoPJsesQeA/oYfNBPTnVXFzra+xY8TLEabwQzVEmXW05OBg22Y6Hi\nSNGyb6k/5Bqkx+2WuOJ1V1Nz64arknA/GDmWitLvH12cb/iLA4PWVtwf63gN\nS0/pUuKM2M53TUF9mhaH9uUt8lD/TuVKNQIOIyfwX8qQEg1S8WdPJRE8N5h0\nmxTS\r\n=myIJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgRijuLJyi/AGX0VBrJGD7sD1vZsxlQkfKJ0mlrxtgFQIhAI6qfmOrRoI1Y9Q/dA2nOq5QN7cqisL37z6wBULouA8j"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.27-20210319042108_1616127697252_0.7827485236509975"},"_hasShrinkwrap":false},"0.21.27-20210326103032":{"name":"@accordproject/cicero-server","version":"0.21.27-20210326103032","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.27-20210326103032","@accordproject/cicero-engine":"0.21.27-20210326103032","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.27-20210326103032","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-7UxzlBXFPkA24xyBQIJZHDEIw2dyLCwkMp80OKNSDbN2DVwayDyIKE3aMkbW5vGA//oxj5o9DPvN8Qa4YcU/Ag==","shasum":"edfa7071575ab95b5f4ae5fd7dfcc43dfb24aca7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.27-20210326103032.tgz","fileCount":49,"unpackedSize":179577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXbfaCRA9TVsSAnZWagAAGcoQAItOjnSgEc/KapU+CsJl\nmHAH0oF3D16DD+I+KxA9ljMeFqDPu7ypNwYofvOWw7YXugRwjJbAGGAzNT9e\n8dJR7owpdfU2R1FVrBLL//vUbQAiEgAhjilbTbTIVArN6AtU5526uVJLfLhY\neBqCFF/vcHKbRRmGgoon/bRG8wA+iAxp1zNt1C+xVDdfLug53PHUgbs7WsyI\n1Vb/Ai3kBT/RWAqVgUdMgrMNpMyHrKp1gxK0XgNhPpMJZJTCkvcJE7wv5Lne\nyOiYyKhCHlUYcfKD4FtNfmZzcrSIMs4Nb4NVpiWNJYRDnyjtp9xq+7YDeAO8\nKqQQTzRYkGlenSiMdTkLQDP+WHPRuLFJj5ZB0doAGTT/p6fiKkbyS/dhsFJv\nsn5Zh2bGUrBw71uoKfqqX0EpEKSZmB/5vVrzEDs9dhEX573XwNQ8Kirh18zt\n2nSQVAOnqaH2vLWdpqbbvVbaj/XohbM8TS6KUgkFukv6s4ShZbeuKjyOxBMG\n2H+POK2p+kbivuRQXgVxOt5PkcK91BDl80jXxaG3gSTjxZ+UDymGt8TUQA2E\nTcbc8gPUZaiK6sOd7C9c+ta15SXp1zqjvLkdTyjXfIjtq50erFCulmXzX0fX\n2uywnS/e8dHbIuRBHG9fX4zjfTkECJSyaTjQN7pg7ehRWlNcECdqHCIfiaYI\ngoVp\r\n=HzCT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGbL2zuL5fh4s9LAXygNB2YvaNa1VHWg+fumtN2bPv0OAiACssJcCxp9wJkcdFBr6RBXRqrd9l8O1bvziJXZGzyRkQ=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.27-20210326103032_1616754649998_0.7775445384480835"},"_hasShrinkwrap":false},"0.21.27-20210326104245":{"name":"@accordproject/cicero-server","version":"0.21.27-20210326104245","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.27-20210326104245","@accordproject/cicero-engine":"0.21.27-20210326104245","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.27-20210326104245","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-l7s3ng7Bvnp3OjDj8F0CcyYzHUNIsCG92LUUqaWi0SmtJf5y6obxzGDPNyxPMa9xY4VQCEKGSzCz+Quif2YNpw==","shasum":"b3e8c0cb7a442a2c07cfdd1a91cf0478c768599e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.27-20210326104245.tgz","fileCount":49,"unpackedSize":179577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXbq3CRA9TVsSAnZWagAALDYP/i8ek42YYT0CuOzjxbR1\nyk1CF6BLRxOW6+dSdkZRGfw3vnVXpYUrSnjyMWr5v+M2xAa0jpGTUfqGR32R\nEYIEAJiHfkDl9ogvugYKwQDfjqIiWROEbuLvZLcYeaY1NQlnBEwY49gqBV1v\nFV5YmG1gPpbW6qguTNgJDFNTCHFuiMiTeX23TlLz4FzxxhUAAjAwIQbrpYAa\nmN/Ztxk5Hmjo5gsws+xnE1Dsw6fIzEmBqdRWjOhVzNV3iQr391M8E6Ppqem2\ns74jbg9r0sCcEUBPV/8rXpUhnpFxEi8w3KXkC7CgtqnPY3dTkrAzfT4/8k3p\n/ZD8pnIwb9zQRWDULrQTvt3R6eKqRJ6bcJDaW85rBBlm1xqLvxTyDdXP0ndd\ndt8zTf3MRh1pFnq4ewybA5iiM95zCctbn9ribK9cWkJWi2fShMvFqVfxVhew\nQmu/DGR1bE3PPSZ//okz+pZkCwd9B/sQrtfBoBbqTmRQYAh6P5PZTL0wOFP1\nuVWihxNEhzLmEulipHrQHvLHG7JeJHfe46Ioc54i9ePHVbeIURITvVcu9ltl\nGZKCOyEXchjAsq1erXfOHjjSDYyK/Fo3rol2anM9P7sLOuxwt6Zk2re59D+d\nxqbMGt87HYt1kBfMQt7GONyeA8iJvdDrFONA/gQe5tERGsgsz75EJoezpLQM\npjyP\r\n=ZHG/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGMcJwDVJ7hrmHdRB86E5Lx6EFykMdxlTdtbR6qEnmx3AiAz1YjWtk39gOuTFXRIGVmNv4CNTtisUrfxyKOKXNK+QA=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.27-20210326104245_1616755382555_0.8428593095574308"},"_hasShrinkwrap":false},"0.21.27-20210330104754":{"name":"@accordproject/cicero-server","version":"0.21.27-20210330104754","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.27-20210330104754","@accordproject/cicero-engine":"0.21.27-20210330104754","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.27-20210330104754","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-D/eiPF4Fe3EdNVnZ9EIwMjWmROn62YWvKY0HJNpwrSB3vBdkJmDsvlPHgKuUndkCmhOp6UiEiDTdNOy2QbClRA==","shasum":"ac7be7b2c66d814643120fe0866fdc2ac7588179","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.27-20210330104754.tgz","fileCount":49,"unpackedSize":179577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYwHsCRA9TVsSAnZWagAA8AcP+QFLE9GUqmgTxVOvk+X8\nZUvjJwynkNju513vCDGtsMCfuTmmxxsKURut+4t0OQo+wM9DKTgYQPy+8Oof\ngLYbzP9yCUwn7f15Ma5esOcx1EGQBaUYL+VTcpzY2gTXLjo5IGlMc4/z78ev\nrTw2OrGRCNc4Qa2KPigWexx9bYsLS1vXR6+aQ0tISuMUpzSsQhf2MnXBXSkN\nMpPJfbI8VVPIldJvJCNZvjhvEsiIOUfTHe3PdPdVMagLgce7pTq9H1f0zZXU\ngmdiB2MnmafbC1SyNM75UtzQFWPuhORwu/Ub4lTEP0XQRJuzcHZ+yx2dKz+j\nF5y/841NdvuCZQXFgtC95abVDHvMWLv8fAyq3DegapbJcGtLfMelPiUUokF3\nU1dgns3dLMQNlENdWfcVrMjzKLWVrKHjyZoT9ZmtgdltD5sW77Bpr8rSVUIZ\nyoHCQ6MT7hgEMJdU0WmP4W5pKySquEmhET/ojeMFda3uzGWM1YGlSBQJiTbf\nmXryflxHZvJLMxLR3TOvo9y48QJ592sx3i8VbxltgJx6lYdrMRPuJWlTeSHi\nGLPC2OEbZ7WeE8VwqMeB2MkLTjy/tQxUc0ex72KuugnlXdz8GVhJN3vx18pd\nDvBgaoUdJMTw+eW/RpgznnPz8BFE8hxL1tl+C0+Z6RGCn/pQEK9rFyp8DZpY\nxwgk\r\n=2h3F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNxrO2kXCx7NRlGrqAUXuRQAiuOAw47YPRCyuqsyWRYAIgJrXXbqZZPTpH74JLxm/Fj6e0IOrF2hz90roPgSGD0t4="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.27-20210330104754_1617101292513_0.1908769230830445"},"_hasShrinkwrap":false},"0.21.27-20210330145149":{"name":"@accordproject/cicero-server","version":"0.21.27-20210330145149","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.27-20210330145149","@accordproject/cicero-engine":"0.21.27-20210330145149","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.27-20210330145149","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-kc9I+DBXta6M7JcVlRYexqp4H8Ze4BD488Lq3oLLeCsc350Dqt/10XnnmAjkHMnrDjG6AQSSPp77ZG1zvj6ATw==","shasum":"2e9a4d418fd3d2aa219c887ac7a7c47bc135f5d5","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.27-20210330145149.tgz","fileCount":49,"unpackedSize":179577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYzsVCRA9TVsSAnZWagAAWcsQAIHrGkA88R8jGFu21CUQ\naqRT5yuMMSWVB+QBaur1wetcXaYK8ZAa7h2BBQjJ9J+1+GBaQI9Ufo7ckkYB\n4HYgyBsgz+gr4idPPmGCWn/p03mV0I32Xk90eOWE72ek3xzppp2tRRX8Buqi\nJVkVZos9NTSYZvArUFO4+HhMfzZCwOvuIM9R/LhHQcBerWy8tbmu2DHezgdz\nSZriW72xUM35BBe+fg4rphuvqhKfq++AoGI1RsOqkKKrKtu767/uXLrUJKGz\nnWKIofk+7w9ayuNN8nwRXy2qN4dmCuhKxbvZy5afScJmYu6+602SYhm2wro4\nGEy/T9Nia2mvsHFLPYgF9qL68nnWFm+wvUgWUQ1rqsUB6Cwlvle2XiDLW3dx\nhfivkLZKEx2iuIpu8XEFRg+xDcH7zTXXjmSSrCrX7ovTs1/wi2kbeXSNJNv4\niNYVvj1eU1Byq6NlJeZrNJ9477OeXFXa3lwyuqNspJ+hKtfhEu95zmomtCJu\nB+QfwS8A7gqV+XiomAKHZHsJ0udIVOQI+HZDrxIEDdNE1EwwHkorty2ZfLdN\ntiuvorrYCf8aUpwnz+UYa2p9l29WIln8gMnMR8IYJKyBHQFxr5dzCiNx53CN\n8lA6JoiZf6CNtN9VMrRmkZPjOsMVIzazr8ul8Ni1hmG0sFkgTX4MvOgujY0H\nAOR3\r\n=T2dp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFAKISHGTtRr514btxxGc0LFl4ENuj665fof20zu/yJwAiAhtVVs+UBhzlAmCWZxLTa+unU53Dru52qnNVi0IIDLZA=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.27-20210330145149_1617115924884_0.06413214780587206"},"_hasShrinkwrap":false},"0.21.27-20210409091004":{"name":"@accordproject/cicero-server","version":"0.21.27-20210409091004","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.27-20210409091004","@accordproject/cicero-engine":"0.21.27-20210409091004","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.27-20210409091004","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-VfYA2KwCGf6NricT9U9L7tWmQhv7iW3hDyuXDjEPfzd5aeJWf/cHqF0dG3kfQ4X5S3+1QrAvTBQ1iuAm9biBAA==","shasum":"d61f83523fab78a5eebe099faf09008a59c5c448","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.27-20210409091004.tgz","fileCount":49,"unpackedSize":179577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcBn+CRA9TVsSAnZWagAAk2sP/j9SsOlHR093Trgvewrt\noOu29c8yU9DI6w7r+6HbND0iXmTkZKVX0mi+dDBFzdyFZTMMPBFQVB+XyWzF\ncENKIVyxAkho7pPLdmG4ACUj/V591jS78fB10W8Z5aYDp2WIpPx1SHyvBajX\noxCjnqOk8kAtsoXadOpAhVsNqCcYNo7KNeTuBRMVXw0ed0jq738g5lgbV3Ed\nu6wnRJHOPZD8VrNtdebDNmdmV3eUiKgZacsWuTHPZHL5rFJghn/p4tB+3CU/\n0z8cMmG8ZSNM8vsYaqzk/vSnQSyNsKDWhT4cx880laXfGN/8YSU178905f22\nTWtM4AWkMk/mnag4w61AW836i3omg40v/RuxG0eXLoH4BAjMHSKusIYVfFwm\nHsxJ7EkPSLT850u765xexVNRxqPnD33JWz5+h8q1mVIDeh95/OOtsFxBxvox\nBkvgcWeBkfvVY9VRTS2lmmSCA5RgYRAcJxxxJADo3rwU75Yd6irAlOhik/lH\nnLF0NPf+bK5bykmyimSqRQDpWWwsXH1uBSZqoYGTVR0Sng9SF5qKhPZqCLhs\nBnOfIRH7mywUxUo8Stfmiv4/cCRCWllJK084fj5jEy8Rvkrs49nPWnJQvE6U\n5ZXgQWpE+MjuH43zoNcdQT7PWG1nCbXn/PRjcD2VeI8W29ItKcWJZniAPIDh\nDSfG\r\n=49UG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDL6linqeuy7ip6rLpCNShvJMu2Va0DWlt0yzSezqSRyQIhAJhHu574jsqssBQ0IXodHyv4L3PK7OC3OzV+80KCwsau"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.27-20210409091004_1617959422060_0.5019731628522084"},"_hasShrinkwrap":false},"0.21.27-20210411001026":{"name":"@accordproject/cicero-server","version":"0.21.27-20210411001026","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.27-20210411001026","@accordproject/cicero-engine":"0.21.27-20210411001026","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.27-20210411001026","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-LqX3VtS1KsdL0yh75VHDGWamlgCFxguF+B8PYqNm/J7AXqrE8RI5xuM2O5M5QYIpbLs5tdJEnPiaoIqIxaaYyw==","shasum":"4924a1b8fb9457e987e9a5d50c9701ef5a08048b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.27-20210411001026.tgz","fileCount":49,"unpackedSize":646288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcj6DCRA9TVsSAnZWagAAZuUP/jXmYdbAFgyuvP9rtvZ9\n0UJHA8GrS170PqXJ6OSK7Ba0iKyWdbET3+9Af5JGbC3aaYUK+FXskkWnSZZH\nLie0x32RcWjP4YYibXS3/4ipGrG+uv9RxzEkEQyWRWZ63/v6nnTNxs8++Ffi\nKXHxiJy6ZMjRTkhRK+bapEIujWsJv9EtdCD4Go06KZu5XGWDdWthqRPquSuv\n2IfDpRZEtqc1OpNmBx1wwHsTnzsQ4C7BsyYvm7t46f8q4i2fCaXZb5IMDyLC\n7Q1vAE9VRFDqStsciN/waon/OTA7z59NX3nfXvYv0na1V9RJgUBI1qj0PCKV\nxZrS9YhKwjypX454o1zDYWOamIOx5XmBzBSAiP7H9IoOYK00mLE/GTxe6p5L\nUJh2j5Xka1Q+pX7Of0QvZimTiDmrpNOl13jKO4IfDDNE8uV3XjBU3a6ef7v1\nKpawVUKdNCXnwtzmIUvWA0xiSf7TLOz+NE1VmMolmS5DQMgx3swrdx9k5T76\ntzVM2fOg+on9pOIRJn9z1pZNec2FTzhI5XxkhXQ6zQKZm69wRF2AzYnbDc/R\nXLaTSO02WL7JVQevmcBTsbxX1e0WOyU1udq6MoUk1PttJsRfphG4DEwgVvyO\n4Y2x4aDLKZE+TGaAiDUg63U9aV1gLrhLdbbWJB4nTR0GGJb/CtcIAtTv/AR5\nDSll\r\n=0NMh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHFU5W1URJPoT1ZdlNW+v6kNfIFU9I64hwyjqKW+BkIpAiAuCVsbT9thHbw9YbxgRvDNsNfFLfX5fI0dP+X2u98AHQ=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.27-20210411001026_1618099843403_0.8962470896146042"},"_hasShrinkwrap":false},"0.21.27-20210411213104":{"name":"@accordproject/cicero-server","version":"0.21.27-20210411213104","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.27-20210411213104","@accordproject/cicero-engine":"0.21.27-20210411213104","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.27-20210411213104","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-bcNkNRixtWWZw9kRBC57PWF8HlR2R74czuMK09mLj9Z+CIPQBEWAXuvPLNFaG5UyDEKVGW80AOjcpvk+jo7tCA==","shasum":"d375353ebc52439f39ab708018ca4a0313014085","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.27-20210411213104.tgz","fileCount":49,"unpackedSize":645104,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgc2qrCRA9TVsSAnZWagAAj2sP/0MoZFFpxkJik+oCjPAE\nJOpOs0rAUKgXcRJk7JYESVqQfsEvzWhhL0EkcW31NfBAXx4Djc1C7Be87xr/\nIdrp8br5maKcCCIrxM91pUFzwzNWnm47OgJQluCIGbxoJCsz975OY+T+yLWK\nydFyQZmjLK09TIyfHFY1GlfytIXtFNeh7aNoOF4uP0Ww3jcvLHcCcgyWxXJO\n0ymoNsVcYTnB78K688xCVxRIKUWSN6QIkoWS9SIO1b+yEud3I52aAo116jUs\nd3Qfl/qPBz7SCdIVXmFxW6Wv1JYS4ptEUQUVkP+OQkBxFOF1De9wXoQE84Qn\n8b2LnABQF8g/WfYLA5wz9ezCL/zpjlfz/mFgJtQd/9qote16Q0WieDyMtUYb\nHq3UYli+OSxd6LI/L7SoHmSvDEGxmk0gm4Fqw5U68JXUb8tz7RWfiVemRTH4\nZDrnjLVAsKLUqZVGxaaIjXYlwVnmwxpFE3Gql/3I4ntZMAnLcvwQ53rsVeav\nEkBhPE/nePa4LUTO+YcyppjqmuQimThJSVY/Ray0i96ntlqbl31djaqQmyqu\nw1vD1+kebUVbb07WP7u1FaM+A7Ev90wEuWIJGuBa5wkw/MgmHVh1ifw4R9IL\nTbYJxd2hoKga20Q6iUdh7oSJf2UHT7fTWh0rjC+cTcIRJf6XWQMTYDijdPsW\n1X4F\r\n=5piN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEXJI4uV24dDyktPXGvA7b6O09GYbmb4s+XO9tLiZq9UAiBWPdFZN4CRvHaJSE4rdNg3fybv2H2jhoPQXESaT5hz/g=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.27-20210411213104_1618176683147_0.5723707453992739"},"_hasShrinkwrap":false},"0.21.27-20210412180745":{"name":"@accordproject/cicero-server","version":"0.21.27-20210412180745","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.27-20210412180745","@accordproject/cicero-engine":"0.21.27-20210412180745","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.27-20210412180745","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-4e0UZlq8gbstPSo/XG2q0EM5GZuRZFqvA0Q4aDS4hSjmejwbJqP/hZvk/Cz/Cd+3gNVYao+u/Sn+bm0GaX1Sjg==","shasum":"224fffd38917eb734a2c56563c1ee8f663427e02","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.27-20210412180745.tgz","fileCount":49,"unpackedSize":645126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdIyACRA9TVsSAnZWagAAHtoQAKInE6g2wL8QB0h+xla1\nCov61lgEzgCS19OQL8r83uyScvYSBE9WvbnG7Wmn/Dr84eCH8eWSZhd9m2dF\nJG1KQbkqa7QzPREeAgC9ZcUWOVFGvuNtraGGKElaAqeTTyjb0vVP0D50jByn\nnWw7NOrJUcEmLj7M/ogANHMzLQzeSzftd6DZqjJi5I4g7X3dBvMhDlCcOX56\n1iO1E/gHABw90PKA53nXdZwml73m8dMM1o7/rwYd+Z8cdCzIS2KqJknWHC5Z\nXP0hqrz6GY9OzxEaXZ6MI6qv1xI9i+H2MFMvYO3AOdf8zrSGPJx2gLHmvJ/n\n6uaxYFZzusjgMYS5YL2eNs9oTH5VmH0rSxgzMM7kuYiSYGuNABokDPgr6KVD\nG7s3qf55FkMc9Ym8GsYRXJDwLKjXA+dhWmrigR0sTBailg7eLaRK0tlB3cIQ\n628cEK+7zhfiCTKM+6xT1GCnG0s2aunEK8zOgWiGGGDwKNacAfF+0WsQvOzc\nx/xaLgUpWuATNJfPXpNYsUiAOWiYdzkrFTVsMd5CH2QW1H5gYExdRw/rSjFJ\niYsFp4WSMSz6Yh401KiiSX7/XDu9JL6opN6HpUX6OLa9xtCMxYhszyE1kcd2\no89vnxDjuWkw/UMX2zZ/TFPjP0ubSDRk9tr64kf2qx+4s1MxWpp/6qDInpY8\nJCKP\r\n=go2p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGwKkQadIaRph1mzQLVmba/f7zZ2+2zivWyjVy0nnqk+AiBANOzWOWka7K7cRJaZqrUXMvQOGNTSgbm1xq0RD0EeHA=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.27-20210412180745_1618250880121_0.6337767606341442"},"_hasShrinkwrap":false},"0.21.27-20210412180948":{"name":"@accordproject/cicero-server","version":"0.21.27-20210412180948","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.27-20210412180948","@accordproject/cicero-engine":"0.21.27-20210412180948","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.27-20210412180948","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-VdmwQ2cw6C4p716F5FKSSmzTsOQ1VqiuzVMvOf5NCOwueJ9QhTNIj5GOwLtBwIRfCUDw0etIsh9hbyCFVfQ5vQ==","shasum":"701ede21e62f66f821bc76817e8093d77682bd17","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.27-20210412180948.tgz","fileCount":49,"unpackedSize":645126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdIz8CRA9TVsSAnZWagAAvGoP/23flQ0jGRTRkcBmUcL0\nHKbgNYRFRcCp8uUYizE5429hFX3+AbMHIwF08FuH+bZ89InQ2h0zvGOWw3ug\nZ0trrNK1MQ7gqvdlZfr2htFQF3MtKYo4hm94F8a1VetQNetTcNXNEqdxYUHV\ngbfZAaqf4VQjLkH6VMnO95cGIXvN2oqNA6pyi3rFgrpTq+pR+0zroQgoVDXk\nhUtPiEmWBCFbyej7mQtvGJ/A6Sf6YL8fRiGxbjxFn3QHWPOuH+xOrkKGF1dx\nnz8Zwb5/Nb8qjqm85rw6gCNfbXtieu1yOB4eEpy2AjoY9KDnhwXq6NdZk3RE\n36LIDIkT9RvUc6VI+gOF9SvQeQHTWkIofn+06I7G3SuTboPfnRl8bx2lHAV+\nxWg+PQdQPbkAobZGlexM2inzSAVW3avQR/krhvYiBFHbC3I3Kt40KJ4/MS2o\n40Dk3WtHmDEawD0+knIn1pAjq7rIITxxdgD4oLWJw0vUOoC+NWodrYfPHril\nFwNr+sK6+s+VKHv9buGmn1C4qd1jCVnLomWAgVKmshh5wxn0Y+nPZulgPsUz\nQ1WMGcL3fXCtYqvz9Qtl6+KKo5Ygt728Bg3AkDs6bddVVKvP5CHh44albWg9\niQeFerqIddr+oqs5yJN7FZavbdL7Kqp8dl9m8DNbHwGEg8CfSrXwhxASbNIi\n0HAf\r\n=ObrD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuftKBC5I4w6yns+iBa2aeyuze4QacMrOZa2A/X6ix8gIgVWK14RDFtch9Gdfds0s/XcssL5C1wM8QMw9+jYlwDlg="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.27-20210412180948_1618251004143_0.9910818619043518"},"_hasShrinkwrap":false},"0.21.27-20210412182337":{"name":"@accordproject/cicero-server","version":"0.21.27-20210412182337","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.27-20210412182337","@accordproject/cicero-engine":"0.21.27-20210412182337","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.27-20210412182337","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-W6oVvj2lHXTAWXWtW9Yfem6sE+fl7hBBwKWvEkA1el24Tl23tWIDKyCqFEPb1ytAKk/ORvtDchzxo9ppeO9W/g==","shasum":"c96509f4f05fc6af8f6f18ac53addf9f09f27806","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.27-20210412182337.tgz","fileCount":49,"unpackedSize":645126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdJA3CRA9TVsSAnZWagAAsGgP/2NrqeIf+AxiK+ngeDNc\nTKpA2HLgTdUQbtCYLgb7cZHHOdYi/xlzE8+3WMOcYRdOvPxTdIjE0u6RZGUC\npY7EGmWbeX4nE1o2hOnJAH7+HQ3RB3lsdlCA9k2oaY+15KXwG9tLAbQJo6EU\n0GSRAf/YwKs9SWvhlOsHIechhesinjpJH6dGRxE5euumQSEs81FZk4zEgbZd\nru8wZONOyo3EctsDlmMQ24n3G3ZpUFQaCNFDIPlzxn5ckDm+SuPPZ2s6uphl\nClJq6kPeGsFNw1a4pFeIDU6aWR1M93HaPXoC87gESU6oPeSu0bLntQlGIfH8\nYDzNthfTJXZy6wbH5hRZ/jnzO3sQ/Elum/IXwhWx6urKkp6HJw4CYrm6NpRU\nxpASN7tPPHVUtS6tEJRSfJg5eaMjyOqkMJgmIwkdKCXelYh7Nz548hHNMHT4\nVGnTOzmSj86lcE0kl3EXQiDmSpMqZ6vD/7WwG7Zp9JJfxALBWisy0BykaxYp\n//Q2GJ7qiMEu5TF+O7QnGDplgRt9P03N2O5Tf4s0QlI/fOeA+hMdcJWqvDC+\n2FlMQgDjrVdMHMjVob/+BlgjM+nR6Dl3pOCSfP9wdexvzs8dNdxTDouDKD36\nYLLdqbIjzV6IOBmCq3PGyEsNw70NeGW8krlmvTXXihIvSezNmzJjKj/gvkkB\n1MA9\r\n=WjsG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEZIUSzbwpZXHJZNY+YcXF6Mcf7Yk1YCHM9IPLLBL/hBAiEA4sAmjph44HJAEbznmS8UPHXioGq69v2UMSjmEAxPizY="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.27-20210412182337_1618251831419_0.012035201930224781"},"_hasShrinkwrap":false},"0.22.0-alpha.1":{"name":"@accordproject/cicero-server","version":"0.22.0-alpha.1","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-alpha.1","@accordproject/cicero-engine":"0.22.0-alpha.1","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-alpha.1","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-v9IZSCSjRXoCXjuSuVplDAm5YmsNQDyCzQP5HygxZ0udAHc9QXOJJ4Y3kqiwWew1HR4E+G/yyH0mnKg4IEiEHQ==","shasum":"9fe8ea86e5e0816dd3e005b62256227a933b44c1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-alpha.1.tgz","fileCount":49,"unpackedSize":645102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdJFwCRA9TVsSAnZWagAAqH0P/AlOaLsH9nKJEe/WZvy7\nAXfUSsccTecgkT13+mGMo1m7dDH5MEyOdb5O+zM+cBtWmM1sCKmpEfWvMQoH\nmucMowboo2qWShZAXYqOc7PByuWLcKN2X1GnxWj1Fh8VvjuI4Mr9P5ByyBUk\nzPhBHw/+vQaLVZ8AIFRwWmxzkpE4zdCNk56w9kAH2RhRxpsnxhC4ksmen3YT\nxqTBKyvLvvmugQnMk9OAStPSddScgCTrb+i0kc1SH4w/QoIGyC0J0mAFw18x\nC1xUUMlkRsyUBnyUMWsn5LRtm46c3gyr9D5P2m8wGSsn28V77/Fte7asNoHb\nXMzJL+fCC0DPdXktmI8sdDjl2q71AF6BZhUFQ0j7Eg9QoAj8qWEi0aOSWxeJ\nqEhJi8f8HUXbULOBEDNW5DdldxV9D5qGPIz/5Jj/tza7i8nrqT8rXm6o+pG3\n4c9Kax7xCBOn5VrljK0Vwz8sP1FAB+dzdYdefE58iXSokEzzdkjnWIEhOvlP\nzGUpSy+muTf9wGHB4floSYljuFQbBrrDf0BJPETOtGPfH4amuCT26TqwEK/y\nOMYDoVb4i2I970QXihzcnan954ONzNnNUROOdqKoNp5MTV8v7wyjU0jTTo2w\nuVS2XUGK5vp016uAJeVmD+2krsPNDKXluF3IlEXZ6Y1Hmfqaf5MfqDtSZDm/\nfNJm\r\n=NX+6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9awDB5nPQoP7TnkbXIr39fTenDRlRmlTqglK7LIm05AIgFQ9L6T/2VOXQ5neFQiEwOUurWLjOzKOZFTGzGdY0Hko="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-alpha.1_1618252144281_0.8954555955895886"},"_hasShrinkwrap":false},"0.21.27-20210412183409":{"name":"@accordproject/cicero-server","version":"0.21.27-20210412183409","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.27-20210412183409","@accordproject/cicero-engine":"0.21.27-20210412183409","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.27-20210412183409","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-a37qQYKZLpXomKLD3zjIGQFpusJsxRggN1OM5hS9L9msMzAMyCsYqpjf7i85aiDl8Yai3uNIIZuJggaOx/K2Dw==","shasum":"4c439c22a661696997c388d44e4b86b139f7c294","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.27-20210412183409.tgz","fileCount":49,"unpackedSize":645126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdJK3CRA9TVsSAnZWagAAEI0P/irgg0KRqM/mzNTvKvaJ\n3K4PvSnuH7FiVWUvFkglr7TrEOiQLvrSgch7tZOdhdEwgwuzSBUNnKBoznI2\nfDsZVDxnLQt8kegU2gXPd0iGWqx7Sc9S1g3kl7LsdzmFCn0boWI5ymWH2ycA\nlhNjnGww2o0xMTHhW3xjGMVOfp1YEs6ha5pK7a3x/rzffKwh2Ggt5X7Xrjes\nrcZattFtr5ptMNfil7JaZ4qHA4SFgWEd8l3r/VCgZ7QYMNfl3dnU+YrPrCUC\ndlg0dVpYmch/7VRIM735dNNrtAUHZlfdq07qxRXpM+tE4NhUhcWD9LiAthmR\nTSxHd4gT4tL6yxRlQ0wH2AAZBfIGDZ03JaP4mthWGMQtZs7Wpoy1ZQXQNwII\nbhG22mIEBSRCw2knqMFUF9Vy1NjN5Q5wuvyKl13SR0L4e5Sx8GxLY3egjVjD\nqPC/nEwR3Asrx/q9ZGG8cJn4uN3uc9ZGjq3fa7T4EoINVQUd5RKivy8Lt1o6\nOW0eop38ar/d3/sxDDXnBLrdjxmH63gPLayegfcY5a6Q0HWtTDnh+O8FJfnL\nhmhmPnAE/c3d4yk8rYSUIiuTg0m8c177ncXAz+1bMK6jBH4AiYa6RaEMen1j\nwnYa9rmct75lJv58EDNTVhbz7LFMowhX9tIb04B9Bjaq9is6xG9CuRT6+RtB\nz7jb\r\n=/U8v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXLZMRT8lI+HIRHoDJaY5/KLbpdBYQ4peYcradD5B/YAiBMMG1Pcbsd37ZBTysve+Psu8NTFokBGkwwPodyBlcsww=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.27-20210412183409_1618252471091_0.713112437645335"},"_hasShrinkwrap":false},"0.22.0-20210413112450":{"name":"@accordproject/cicero-server","version":"0.22.0-20210413112450","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210413112450","@accordproject/cicero-engine":"0.22.0-20210413112450","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210413112450","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-v8wQWYO4IZd7Ar1Ha1DhUf0OfV5e6q1gLw3BJHQtmasu69r2XcfrZEEQJ+1pLe9f0SozJBFSwlT4r9C/w9cGrA==","shasum":"66cac64a52cd8ade07b035af9e16e99b47645a25","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210413112450.tgz","fileCount":49,"unpackedSize":645123,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdX+SCRA9TVsSAnZWagAA1CYP/AkMs0dPK3I6kqLI3xTx\nUQvdZMyFJaj3y5lWGZyzdMioeJRkQABKehtdQz9mXPgPrJa8Tp+iXnC5Rz0n\n9LgsSRiCjxcBelGSliWFQrtgU2gw8td1o1Wp60p7HsreD/XkwFrVFTzRkB/l\n48q0SdgCmBjCEPY84nQy7c80o0fNFN7GPeSBuwLCJR+i01oeZLYPFDp1zt+V\nnBRGZ92DCog2DZ1USp51vy400kno6DP45ExWMyX8EvGMAbkvkhqNEEWYcU93\n6N2+5/tVCe17SOB46yllTO+okUS/FmID5mei/5p5zXk2fPtkY4PXQfj7qclJ\nhjwB4bI0O65AbsAMhBB/hjC3GcOUUT3R/EWwd5ij3NMqUNUa1yi0zsGeWkMu\nUiuTqge1OWhmSZkWt4Yz3G4pFBmncmtUGrYv8ojD88LxF+NXqXmHJJbELcCe\nGFXKchMhD3OyZZLIjbEA+i2x+0cS9Uyx9m28tg9/wk5n4qFj86yFIQK3pG4h\npQwe07LioJRMJtECSGkNpVGxUehVOJxZSWsgttMfVUvNPzslUfT2om9Hqfyg\nS2eslIGliS0s+MwsvygcEcZtKgQiBS6N8dy106hErOTZUKNNBkHo3dIxbF6b\nYJCQhQ4NOp4739q+NWDQ8XUZU5M77kdFCSTv/ZhZAC+167ZzFRemW7AFsHKm\nJPeo\r\n=qyI8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDukRzKE6iRpQh/1saU55Pezu/sAoF/onMnV/n0X20u3AIgUI6ncAQSP+TAhvZL21tx9BEOedAzPWoYYn4lO3h7OA4="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210413112450_1618313105776_0.1934790630131289"},"_hasShrinkwrap":false},"0.21.27-20210413112702":{"name":"@accordproject/cicero-server","version":"0.21.27-20210413112702","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.21.27-20210413112702","@accordproject/cicero-engine":"0.21.27-20210413112702","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.21.27-20210413112702","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-javpaxY8jffZ1aaJffBesO8su0j6BZhnUPTa7QP733Aa12GwT44CM9Wy3eWweEkuIZdeF2zNa116q2/+ObbR3Q==","shasum":"0330e0ab1550d629bbcd22b1864d3b82e33b61b7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.21.27-20210413112702.tgz","fileCount":49,"unpackedSize":645126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdYAWCRA9TVsSAnZWagAAX18QAKP5UEHTh+v07xwmMCqw\nRVtAYyM5wqmHgazkZTJDl8mBB17GhHBiiheX8PTA1GtozlkB1eWtdTRkwfOy\nHOA6rsqNeXvoRyAhF8snJSFtS9HsDxYBH/QjIq0dJ8vyfP0sc/Oj2+V1b7lU\nmVsY3CXlXVEuRInljeo+TbfYu3mNnSeaiQ2GNrgAEwqCXeFREqWhNtGQLqGy\nZVNOFvyziQQ43NumU9y5o+Aep02T55s+1eo+ans7b7iGdR+3ndPJ/QMrR1we\nWfe3wioBd4Q8uasnJTfqIVEPk1CDFS2WA3fqGvXofVoeVbtCidCWqOFXtbKB\ngqrABAaedpLKbYdoRnumK+dcV0VhqYw8Te/jnYVJq8kJxXqkVgYvkLDbqpng\nfcZlbcUHTC2aPeL6LDmQ1R9BjqkCdMykIYdZk4uYvUwV/BLqs0ifKZ7sP7o/\nWjQfHmz5JWZ8Z4yqlTfH86HyzHefzlzkl3VNitG5yrusRTv3O9Ne9ePv2wqx\nPSm+N/+x7nMFlFMCE97663fP4mtAdnP+GoB65VLVyNy7V4lGZPxVLC0zGBoR\ngz76s17zoqyNlqcE+npL31Ob/RjHO0oDrJhDZYeozwjAXocYtrv9CPdAiPWG\n/qleZ1DKhX6aGCuH9AdWEvRIf+WrdmvxEKxR+LKxHqriHKps+qQ+P51LEw2r\nyGwO\r\n=A318\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIUDdRPi2/4JiJ4O+rQ6/JnODE+vID8k1Zd8tj1qkHzQIhAMzDpCvy2NQbWqJcjvjbOQtq4w1YmfiOsuuqjYEOj90r"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.21.27-20210413112702_1618313237819_0.3426388844582273"},"_hasShrinkwrap":false},"0.22.0-20210413113149":{"name":"@accordproject/cicero-server","version":"0.22.0-20210413113149","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210413113149","@accordproject/cicero-engine":"0.22.0-20210413113149","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210413113149","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-X5G2Wf3gCE6VFSsLYd64i0MIHc11R9IITnuUqQUbxPe/1A1n6UOK0qC2jN7sEZhWoXMOxUES+lETL6LvUPKWhg==","shasum":"85995694217e8ec5081d79cf028e07f50294fab3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210413113149.tgz","fileCount":49,"unpackedSize":645123,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdYE0CRA9TVsSAnZWagAAryUQAJItKMTFm+VPfB91GtKB\nVVr6W7pMctsluQ8j8/4XmpXqS3OXOHt9SaQrAJkZ3RloIYtKsVbu9VdhHtZK\nE0b2Nrr9+3PDN1sLwQBkdJvaXTj3JmVwBs6Q3V4cHPWvFVzaqukuiBqPEtN4\nbiL20R9/562IEv1uXfExGSx5Mfluw34LbbJKUZgHn/+tuv0KeDCFCWqX/Cjx\nNhTX86e7q5GS9y/7ssMPY8uxy2fNaz/R4KVZL+RC3W7UUZJH9ALoGFVUhUWv\ntYNaeqDNOHNTkVp9OWsHKooBGnmuGRGTHdx9ujGJXG7qDagL9rJQPzgxZrqw\nKN1ELJ8400ViOOpZeqjM+Knx3Gg6QNf9rd1/9Zml79Nz+C0kRJZScPoeQA39\no0BkpduHhyrsA/qgUpsh0kVYdaZRFyolxL12kD30PEWSJilhPOVPZSsYc5qC\nXL0x1Wx/c5vVPypXLYD1c1yqYbVNUhFeF+Tr+4IUljgi/L/p0RTMaCvUtVHT\ngsuNtrvZ4jta7RY58gAutDpdCTWZHHK296TCF2yphYZY0qyFGnxFnHHlaKDN\ntxuhMAQC382Dy5TJAUmxwVX25OrDKZehLwe3xSLXPEdKatb5I4N5ASKH/2cu\n2ASQcfYCLNwi92eAlTEL+dKc6Rv9vxsm45wx5sqnQahJn/6z2DelnIlAdopy\n7GqI\r\n=QqLr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBH/TozD4el65bhePMaznYupgvPuWk+PFeD6M9ZaNJHyAiEA5mnrel2I4FvqaU0Kkg+ZMz42sJWxgmS0OiMxUS2U1HE="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210413113149_1618313524071_0.5068423551083348"},"_hasShrinkwrap":false},"0.22.0-alpha.2":{"name":"@accordproject/cicero-server","version":"0.22.0-alpha.2","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-alpha.2","@accordproject/cicero-engine":"0.22.0-alpha.2","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-alpha.2","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-NSalb4am0ihMd+CYa3Cd7g/2cdfk6/K+oJ2c2ZgshhbckB1ZfiAV+K5HkYf6kFzXcBQyVjKZIIg1mbHpJW5DWQ==","shasum":"dd47017888b8d11dc9ca2655870523c7e05a6b6b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-alpha.2.tgz","fileCount":49,"unpackedSize":645102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdYMZCRA9TVsSAnZWagAAn48P/06giP+N6JvKcNZ6/amj\nc3n49UfKkvYqIz2UrS8dDkEg7IZQkZYRXPUG5HG5/bkUlb4Zzdoi1O/qX+Zp\nrUMFETVxoR5rvXkOfpLzb7ouaxxo3VajGGfBztAIOqJdBfByI/HAlgIeZ/Hb\nAS1xMMVj0/YHuXqXgGxYgRYn7kbvyFoeV/B6Kk6TnuZioS7Qqq8wmSInW1dn\n50phZ7ZS00MKcgsojicV36d7hQ9tFc4QbXD7WInVZb28NqZa53dp6wJqZSXI\noxgsJtPhBK0mle5lh3ZdKuwpLUQTQgno5G6C13d6ObKKRMgmqjIQad6sPkCe\n8J7dtHQ56yybF7DaBruneLEKuiytZh85QC7JLM3qZEbLfH+qP7UzW4fHPXEl\nrqjLTzgqbI4E6KPNSAGVpzURh87e2uXmy1UTwc43mrT2hz5suNRUTagElq5j\n5AwheHfoYeuv7GKWm3o8FSrOMC63jMKW5ZRXgnLaOA8ts+wzs0sbaIbRimhg\nZ9RSG9RQOl836pWC44Hw4P697SlXkrd5SovId8qElfLbH7gXaGBdY1Kyj8ku\n+K1VDzpkcHh/4Tkr9USddnUW0LykCMm3AINXKh7oMbap3859n1Q8ONRgTmp5\nmcwybS7KfiJYbnmYo45E8txCvRvst4e7lbH4jsZJ4JOFjzGQiswPYTV5IHCv\nOMh0\r\n=MZX0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDzqsDFdeXuaegZTkh4jrKkCA0I96u39WdxxTTkS3xP8AiEApHvtBGI9hKSDbHlBdm+8/T2K7rd5IlBS+BTWWFJ8ZQI="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-alpha.2_1618314009258_0.14541508365779077"},"_hasShrinkwrap":false},"0.22.0-20210413114616":{"name":"@accordproject/cicero-server","version":"0.22.0-20210413114616","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210413114616","@accordproject/cicero-engine":"0.22.0-20210413114616","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210413114616","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-77Hnb9l3PHvjR454uVeAo8eexARNr94SKsJk1OoyTHtpdcgfMUWlUe1D/RJd+lvVejxgGEfW+bWkQ0OfjS2Vcg==","shasum":"784aeabdd1a7328173d0c562c0191f5119bedb60","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210413114616.tgz","fileCount":49,"unpackedSize":645123,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdYSeCRA9TVsSAnZWagAARI0P/1DE5953iHqviOpP2NuP\n1KICe9KYGESStC1DuOQtAkUyfUwSxLiqgHg6HmJm8CMn36+AKLTdhQno9BjR\nZRkcNII0G710Xau6ZMEIQjxiVzkIkbYwEVAdVirOwEO7LrtCIjx9jZ3IBu3r\nkuFBnAGSWMbcYFR5ZTX4KXgDnKhAEenlyt68qGPsa9o4A/CGGEXcMX5OWj1J\nFQLkTSi4dMyVhYGynqhlGWeAPtNp2PgK5NoSf1srdU5YFv65IVQROXdbOeJM\nkcugGp+xWgiOWCaEBDM6ndr7toElSDt3BSi+65YqOLRKz/J3xXGXRvbKYtz4\n/41SY5IzNWtqjPjLvCRFU4HXbz22iS6i12c9ipEJTDo1qpvHlHm/vEHz7WRx\nBqZis5XZ5HSYMgskd6Q3fjVhUte8LGjxXezRBSqKOWohL8hjn9uy/uC1q/xx\nnVNXvmjkwbJVpYMD4MJsrzQlYDZ7bLEB3jHkWwZBIcKsHA+c7Ue08oq00yQ9\nFWAqt6JewyRI+bven0wUxDlkoAdFKwfrDJX94a6Hu6a/PuRxV3KMZKfwvXsC\nsGqzCvX+HU/beAEBVjog0eMhL6SYxSdtL8Qmu0AWfjjbiMnLKWBfAu6tsDxZ\naCZDV05Ma3NuBnOoPHtcmvrZM8calvSvjdzVwefxLS6K0iLBdiwUIghxam6/\nDGWx\r\n=MVOO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh3QwVyEEnlEiqafCGkqflq7agQG4pfR1Lt/Vla5sLgQIhAMRjSVjYY5E12EglHkMLiUp/kJXc79n3PZ5mOvglLTgK"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210413114616_1618314397875_0.0705987003193218"},"_hasShrinkwrap":false},"0.22.0-20210413115255":{"name":"@accordproject/cicero-server","version":"0.22.0-20210413115255","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210413115255","@accordproject/cicero-engine":"0.22.0-20210413115255","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210413115255","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-GUSps8twk1jVjyw2I9gEgL5OAxcICVGy/0+vYhXlaIUHikeX6po3qWGnO2WDHvdxXjOaQjvBzTWtORhuA0P+5w==","shasum":"48f5d2508863de1166c9e3b5e4554bd2ff209610","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210413115255.tgz","fileCount":49,"unpackedSize":645123,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdYYmCRA9TVsSAnZWagAAeNMP/3J3H74DxcDQ+ES22Foj\nGkOdEPRFyLXmAO6BYQ2iaKuaOcS6NubNbA+BFmSGW8QIcenK0h8P9i82mGK9\nR7DHA7/JsiHX4SabPhwmnfP2NnQqd56zZ/77mvVJqdl9I9GGuEKOZQELzLOf\nolBvlM/bsCOJz/h/6q0TI1wE0bjcN/CVCUbKMzeefuGb6L0XE9yvWrQFpFiX\nO89njYk7W0l4GKedH16gvU4AWnzt27AkSgCyJSFdhIikCwyz2bubadspCoX4\nFYRea3M1auZjXonfZhpbnuPZJ8doamqSyO1O5Uu4mRKpXv7XEQ9Chu6vg9qm\nnSPQ6PwI7pyPkr/WbesMoSKYhWYMdPaEVp/Avv8iL5Wr9xOyfKQVNaqBuw5y\ndXN5APVPZR/avIRpok/Jf1YGM4mo/CB7FFIkriXRkeiRPxaCzfG6DiUtTXKQ\nbQb6yqwCiBCqV3CjQxePcGIAnCdR6PRR7dz+iczvWuFYHPQVO7PpelYfAu9f\nRZ3ldclbet1TL3fav4ppAK1Wbwwxs55HAWOiEZtVqkUSCDVut3QZ6Sttdpnh\ng8qjNGymdFtu8suE2+ROFrjEfXqptFwrkdovhL/uoKOxiW5I11ZlpMrymJZd\noirJESzRLakoWTMShrHSndhq4zkMJ69ifCjPDx4ypx/GilC3D4ags41kJD17\nq913\r\n=OEKg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUr9VTaK57nOxXkNq2t5ky+4IQymr2vKobwEoCiVnWzAIhALhuwm2bB0ZtMWtpIeUthet5Pn/qVgAdrfWnoLkYYa0/"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210413115255_1618314790262_0.22310456957769165"},"_hasShrinkwrap":false},"0.22.0-20210413122815":{"name":"@accordproject/cicero-server","version":"0.22.0-20210413122815","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210413122815","@accordproject/cicero-engine":"0.22.0-20210413122815","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210413122815","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-dg1atoApLJKK4s9Y++jWevOZPICGCUSvoa0pKq+DVCgA2QEtiVXALtShyuU8qbVOBexBv/vVcetFs1wXtOg64Q==","shasum":"3c9cbee9961693967c0efaaa170027ee006cf0dc","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210413122815.tgz","fileCount":49,"unpackedSize":645123,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdY5wCRA9TVsSAnZWagAApT4P/15QONoDvd+u/QP1Awt/\ny8yvbIxXP+BR799ZIwkhs5iTPpvNk04n9/S7pbFBVxJlg6/EbpoRGX9bmPYn\nQYWuJoFL0RF0UHooUl2wfYVPNgAkSs9mRqGsHj7iRY4rJe8GM/5lMF1BxpSl\n8K+k9LetgVrDZl1HFvedfeEV5ZMAx8sZa0NSpl7FRf0YGqjFRZZ1mBBD0Fu/\ntgxN/NlW1ZN24enI13/SRfhiS8Oaplq2cDttO09Halq/rkUvR3HfsNZqHlcE\nQRZHvXhiU0SEmoGJ5A+i6vp5Oy49l5PR8Xr+UVQg9y8Aba+nRlGV4qE7HeiQ\nEpjTLhjcp3JLw0H9kcWge43t5YwbsvWDJ77W3koqj/c5QnCPZck4XxgAHNx6\n+33gE99JTgZFihk9iAXvFVbRU9C1gnfyxUkW9sUlTnaNP3pyNgoQySCsp6Wm\nsNekadzzVq3fTtcaGsWqzy7dbCcxDtziOGmAVUvv7LYRf6PQ8Fvx+VgOyUJf\nZ5eM0Lqvd+/SFec6iNJWLDlQdRaBgz5xMs+RNIXQ4JsxSaN2TF/NsOrJ/EMW\ndRm9B30CIeEdgQ00oRFWXpqhrLh9CGh0HLuR8OW+Dv3HO6EpbEJoTw7Xk9KQ\neyjKvhe9UA8GI0q4NfO8mPlElJsel/cW9AC/F/WEd///s5R18qP+VmcHD7MR\nFhxz\r\n=58ZC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzK2uZZXaijwguMUBBsZpllfXVzNmHR7ij8Qr9xZCH/wIgDOt+x8J7pO7CsECRNagJFfDLMI8YHxF1N7e6T+lI1hU="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210413122815_1618316911759_0.09030862456754529"},"_hasShrinkwrap":false},"0.22.0-20210413170101":{"name":"@accordproject/cicero-server","version":"0.22.0-20210413170101","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210413170101","@accordproject/cicero-engine":"0.22.0-20210413170101","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210413170101","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-wAE42INdrchLFppFxF1b7hFAaU4Y3bf946ci3ETl5Qky2gEwCgVyOgmG/9Xs0cX7HeoNtKEtDAa2g32ryRQYHQ==","shasum":"35b72e2f00bde7c3c42bf7cb1dc8a633d572ffcc","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210413170101.tgz","fileCount":51,"unpackedSize":648962,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdc5eCRA9TVsSAnZWagAAEY4P/1fQQfKRgJC5Cx7ZC0fQ\nY/8o73rnJoRXKYsUGiv3+EeaW+BPCl29dQdkTrD/jmZRI0WACXrwcjkXfxzw\njip+JYrHL/ycbpnvQnSkEb4Kx9ab9jCoRt8oEGcwYTgENGCPDYhWbbWsJi1Y\ndG6U+QdkzEM+Db5MG+R2YOyw6mXkY4lgenaBf5DhQpDtOvn78886/C1WvTsd\nZuxq04pTwn/TBnXLyCKAtCotMlocJWshU0lJ+uKJxw4Kt2stZxm3OGk6n5Ft\ncQQ/OUPOZ9V4XKdFvR8npMB/iwgdV9UTG0oeq5oU339P7PMeI4/2je+w/RsV\nwpeFz1ezquk0P+ux1FCPHkba37f/iq7W0je/ON4Mle4Pz2J4cZrS9TfmWJiX\nibut8ruZLfuXPOBY7egTxk7riuuuTNkEjpO20awyatVrPrKtKMHG9geEUQqi\nHIUiM/PJSgzs7Uq137ZzAOYfc9ltNB7FEa7RIS7tUNu7U4kmDa8+3OSoB4tf\nShS8yRV32yZZa+R1mL7z9rPBBgKkteuvlSuDhAlhUpV0v79YNBbtLsGhWUoT\nqBaQnx0pwC1qx6kEgfvS3dHfyKWP8T76QqQKvftzLz7ln1KzZzSBOWKC6B7U\nSrXi8QKA+Irko2iuU3IAjwkxMCf35isekddnj8OgphBaYs1OzEbL0ZO7lqy+\nOzDX\r\n=+EDS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJ3RyycECC40M2xCMJN8lswFi/UGl57c1f2wO7zOBnxQIgYnC5OYax+GK9jXAlygrvaN733HK26agTt835g3mWfB0="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210413170101_1618333277537_0.2137191316238083"},"_hasShrinkwrap":false},"0.22.0-alpha.3":{"name":"@accordproject/cicero-server","version":"0.22.0-alpha.3","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-alpha.3","@accordproject/cicero-engine":"0.22.0-alpha.3","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-alpha.3","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-FSi3N7Wb2rOckLPKRKvxZWaGf7aLa1k0kzxc5cKJjPZoYUyM/7z3cP7zM3iLkumPL/5176NeZn8PMcU+c0aCZw==","shasum":"9f4cbd83cfcd1547d4a9b460e1ccfd9cce0ad0ad","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-alpha.3.tgz","fileCount":51,"unpackedSize":648941,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdc9ACRA9TVsSAnZWagAAwNQP/3A1K83hBHfRqTTUO9aP\nRGmIE9bAtHRc+qq0SSVhK1d3t8rAGap/7bwCNU88Qtrq9clr1PXABYNZKoDR\n1tIvqgnpm8JaIguzyljYdZ5Qsjhi//vHgcZBE0OjniMxknR7wFZgruCv0bsy\nhe0gGFhonLecGDGpWhmsdWfRb0rDTxNkvC+Nv+ospLl3WL08zeo0zUVsO+iP\nyijf1f2HjdUlPLMlc23OK4ma5WdszILrPN1cOo7bhGcycFzBb0PydYV4CwS+\ndOQhsJo2TETNLFMJgJjLRdRP+mArH5qFSzEKVnjXU+VTN2AEl5+XQndQx0Zm\ny6Q5aHv7Lcbvg/PQqlqwC/MSz32MhmK1zSoY1RRCMNzZZy2haLa8YvxRsYDp\noC+rpazUmuBic7uLwDvML01WoUSk1GMGxAdb4WjTPBlb1peBEdhLI+zAns0T\n1USu6IKbXHDYTNoS/5/PJG1Od+sOdqCbVOIDx9TKu0+u62HGb98m1NWmxQr3\nYfO6lFEhGLYSVntsiGFCGyn359XkmT+Yg5FJBS4iCAKiYMAmm+Tt/YtTRNmQ\n4hXxiFxhGk9HSwIwyGPpWWqI/IkY4eTSl4W3lqY41Cx1yeoiz+nRo/T/LnMt\n7LKeO219Du3C3xA925L0cPIdNOEmQkz9DCubcPjZUxdeGAdGYC9Rz4MrhDzM\nJtGl\r\n=oXkk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIUiMO0tyd3GgIUncnlrUUn6ny/c7YrzVWHsaJn/+hAAIgPtk4ARvnhZ6sAr68MaS7N30QoaOMLadFIr+ZrM+V4Wk="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-alpha.3_1618333504525_0.8222241419152234"},"_hasShrinkwrap":false},"0.22.0-20210413171113":{"name":"@accordproject/cicero-server","version":"0.22.0-20210413171113","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210413171113","@accordproject/cicero-engine":"0.22.0-20210413171113","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210413171113","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-LpJib7pgNqZX6IsAOIa7AR2Jm2cE955h1F+gmJBfrhvKXa6rrCDtWHu0hxCm8hMHoEvyaN4pAAXOrAkTlDE39g==","shasum":"4e47231001a18c651b10be2c3d8c67b08e14c476","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210413171113.tgz","fileCount":51,"unpackedSize":648962,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgddDACRA9TVsSAnZWagAAL00P+gNGs5H6RAwG0N/ydCsQ\nyBNqSZg8WFkLSaksnx7GuyGKIWsf9uPrQroQw+Xw0XEPjOAUSGGhfFcZm/L+\ndyzikZapGkqKMKrFX45GnupB6xY/U8TUsDniBjjAf5tOeD+D+xcrP6T/E84u\nix+CJpF624zLupMym5ua5pAtUj2nW+3WKVsmoKtYcK2h66jamzNVhpjgVF1g\nJa1nP6Sx68MLg6fLhW3TXXslAC2zgS+bcJErrXTn01fpTOZfzPqEDhFolcTn\nHcNhVJx3yrHAvWB2yzFifzNVdM+79sX2tKx7t/Q1/JzFwz3/dDKU/1VhEKXd\nwrU50VwVJMslkTh8QUFXlT0kw1Krwh7LlJkDflWxbqB255EQD1baAnWDsW1/\n/pEPjzDTix6TeK7lzgVRByB5+ymVsK81EeXQhOjCp8vYjKGjiK0pt+6+mLye\nBnxGEcgOw0NmFbH10dupuxecuv74LRvz1UDs7lKathF+5IMy1unUoKdCpls9\nUjb34lxlKBbBZrggfMiuwrNWVSRi0K0gJnmIfCOd35bN5MRu8K86xBn+2L6j\ntxivXrGySjd/Co+nZlS/J8pWwsK4yeHlZ3fJ7N2cMnw/a80+cGhJ5QyOT0YV\nnlfYUTUbwpjNhkgMl1VkR14bkb/2pjA5quRO1xsIY9tDOtzrXWeY+twYTx1v\nSI/r\r\n=/zjA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIci270Usrl5w23/9ObY+85Jywl6UEnpxMG9ifKAPwUQIhAJP7MMMSCuXdjzs+e9A5UQVKj8fAg7bdnf+J3uOKOrG/"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210413171113_1618333887993_0.19023373165234325"},"_hasShrinkwrap":false},"0.22.0-20210413171542":{"name":"@accordproject/cicero-server","version":"0.22.0-20210413171542","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210413171542","@accordproject/cicero-engine":"0.22.0-20210413171542","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210413171542","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-K4K1TsbNZJFsiJ8v9whMiGfzrT5lU0y5/IH9nATn200ufUsjyTGYAMSAg/+ohyKD64CcJAKS29Dll81+Caxlxg==","shasum":"82f2c8c61348ffc9b206a705f53f970a60bf81cc","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210413171542.tgz","fileCount":51,"unpackedSize":648962,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgddHPCRA9TVsSAnZWagAAh5YP/1sDLdYzcHueYUvUADB5\nwNaT16OXhRbDJYnUMeBh4AJzYZHefHegM7pkh1wjWsvneDWxpdjmSrjOZc5q\nyNOlAMapFjxw0RlEFTUEWGz7hu2SHdTl+eISjK6PUtmTBJXv1HqxkA00HKxx\nTG4CpfmAjySlnoubpvOLu5nuvT2fKxu5G7pu66ZliyduR8EJ6+UfMHIoPLrA\n8/RFxTve0jY8vkuhPBDXjEkTnZHYCIh8CDmXWupyxklp7FAUO6Xn6eA9NEIh\ndSzwICwBwTCkqCd4NVjsabzsk61NEFmMgVYkc1mKRBqz3fOIco7onMXsMFF+\nvnF4rDlQmQV3TdT0h0XNMQhECyCgY+AO9E7PvAxflO3+NW/1EvL+h2sMfRwJ\nxSQwFnIj9bzMgc4wEd90G1QqDZVjxxCseZ3pKaQvRDOTXlsuiiPlrzJUii/s\nj8YMSf7PNtuO143eq9HDS6Bew9RL3kylNzLhAEUSv7/35Pwh7hwKCWZDF/Tc\nmKWnRVbl3/CWpz7xR+lWbmJMeQtjnxzHpUKfzaYWT51cKiP3WR/DRGa+UkKg\nvBNIzyPJO/hokuzXCB7t+jGAJ20gp+epFnSmDfLVlNwRgR4KjXlxLBsWxy/m\ntIg0//X0i55YIIfALWgX1D7rAMGyxztoh5cxlrc+DwmJn7iRFczFU+/4Y+VM\nrwd9\r\n=pSAu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5Oye8TiRPumSeyI7Lz/dd+KHfFtfmTCDrsCX603nSXwIgXJzlLRb2+s2BxycDt1wV+r+yHSWTEZTS/Ew0+k/2zog="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210413171542_1618334158827_0.8513169264344727"},"_hasShrinkwrap":false},"0.22.0-20210413195641":{"name":"@accordproject/cicero-server","version":"0.22.0-20210413195641","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210413195641","@accordproject/cicero-engine":"0.22.0-20210413195641","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210413195641","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-u9tzWZ2H150oqWFltQPEvy6gVdY/ocU8nsmTj4HqWdhA2EfAY+vovMSkbrJPmhmavabMXrvMwQoF3uGq1SNJZA==","shasum":"340887a06b87ae7698d21ead079e242d039e5f3d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210413195641.tgz","fileCount":51,"unpackedSize":648962,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdfeICRA9TVsSAnZWagAAbu0QAJfpjqZJz0/UYrhCI/Ft\n4HYPKpFzShiOidCEqWwogNGofKKTVaVTbPYr13j/zQs5s9LtuQwc5L0BTPm3\nrpSpRwMIZ0zEwrHW+55U+b+ghwF11Si8X/beJjI+dtBgRYXRPUbkK7eIGadL\nEDrXEBMj0seruq7VjBi/uqKhLS9qaU9PDYJJY2HZkxISOHbVeMKPPwYD2w2n\nnrj8Q/JD0w4OS2/ZdIV+uaYEa1j5pTRLdW7DCrOBCfzAE3hQTfFjbadNO62V\nN/+Y0VjZE8qJGffOtkRX3xdhAbRll5WG+euYoo4Sac5FveVPzowBXedF8NEY\n9sUxT3qFP6pjUeTkI7lZ1k5MTIsWhVK0LybTnLUqe8iNRQ9WCY/ks7d+AMvh\nuc+1DZRx2qKPULBsq5/pylcdFeAkSpc0ipsPXkhg8wmhNrw9QLShUFzip0MN\nU9B5WHUtjyIZwA5Pr6/V9lFO94q8rdhJJnTnOEEjjP+ehzmBH0VxDmDwT4qe\nAqRAfkJea6yS+bKnkVhu78FbXHvAj/bsMotyki2YPqTk/TNXUO7blQ8dQ+es\n2TA14+GP+5ZufyxU5xJMLhK18HXtjYCZKyK4IE/6hMI6F7wpHpG5paNZ4PW+\nJVYf/CsFEdsM5g7Cq66t/JMULLcCSKpvsPmi0NCZO6hRsOTpmci+JGbIWpIs\n4M+f\r\n=zuLl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAyrHuOtn6u3qFrUu5ZrEPpS5olu0kUD7ZDIenCTIxqrAiEAuwttGaVH6YFmuwm58wRmtlXLQU5pngHHf++9KI2sJSU="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210413195641_1618343815819_0.3432402041062439"},"_hasShrinkwrap":false},"0.22.0-20210413200322":{"name":"@accordproject/cicero-server","version":"0.22.0-20210413200322","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210413200322","@accordproject/cicero-engine":"0.22.0-20210413200322","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210413200322","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-ft+kdnKzIiEoT5luDYhtbVd0E3p9LapbxRRpNeLb8Gxv01gsIZ9V7XjV6ynG3mZ/k8LBLcMQHJ2MmhO3R2Ryzg==","shasum":"b20c0502aed3a3bb8a5d12d486aec674b24fa9df","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210413200322.tgz","fileCount":51,"unpackedSize":648962,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdfkbCRA9TVsSAnZWagAAqycP/1/LKF/9hebLZBnOc2Ie\nGoLZUKqdW/zXwdIcM6XlbxfUZF257BM0ooLFJX3lDdpUAdLujt/0o5H+IUia\nUAYGU+G6w6ZqGJVPXl3Li1c/qUkv+CLP1tI3u6Qcuy1KmwvfgtH+xlif4pQ5\ndMPUz/qcEM06rv+hWwNwXYIpIsU42wsnKcUtENqoaYqYkT4liwmuJzjZX3lh\nQj7MCdak6BIpGXCPT4OhdsE/uNHhRv6OZX7xAUhg15fajc1EOG1mMUKGkx0q\nwUVYdpqgGfWpY4VY9jqAjt9uo6QqkWVrUKnTJOA0zqY3wPIEoJNZe9pivdiQ\n8Lvj58D/pEwMOiKLjSCu5EMs+0hPIrNR5qdYeb7NBntioUgHEglI91Tww0Ko\nVswCllLwdcmmbt6h8VRrG4Cgq2n/NwmMYlIVZXQKOa0xQ7hlDFYUfRd9YpB2\nvJDf6Eixu2yYHDAfxSIThnDEGaYTXmSFT0I3WKLI9XKEGSVQ6xoUn5nvpqr8\n3egcxHa6iiTgkLj4abrgtwaR0fr6NzIa1KBJ25iHwSpKCRC1I9bp6EKqrAFm\nGbx2sQ1I+GMDlHr2mUcWns+4fM45X3Y53G7WcvZYc4kd8liffbNuQthxFAXd\nt+tRObjHaHURa2LA3fmMA3yJ1Fr/ctg/PHxC7Yi939XyamiXrbXVg3rO4Gy7\nUPDT\r\n=qnM9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPVenVyAx34MDPv17LezKh8/Bsbo16rb7UgESiOzYHAwIhAIQ3CT1pHdBVOHZXPfE1/pRhIodoErbC4kEJhsY9T/mW"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210413200322_1618344219479_0.2539433633291581"},"_hasShrinkwrap":false},"0.22.0-alpha.4":{"name":"@accordproject/cicero-server","version":"0.22.0-alpha.4","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-alpha.4","@accordproject/cicero-engine":"0.22.0-alpha.4","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-alpha.4","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-EFPuBt+aKIW6ERrtIqWiGFqjnNkSDn+BwiwCQdgC1TnW7MZZvZbHoMcJVrKaqIN6nipqn/0qmdy9weOsXjLdLA==","shasum":"67a2dfcf3d539094da7daabff0d2a58c0ea660c8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-alpha.4.tgz","fileCount":51,"unpackedSize":648941,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdfpxCRA9TVsSAnZWagAAn9cP/iofd6e8hsX95xK0JZ+t\nj/lAYXHHYVYEwy63amYIRfvREj3lLgaqOji+vcjWje72e8CjXSJPiGHIor3a\nKt0ELifLkUt0VqeSgkuU0NBYUXBgGvLoC23aQDWyQf0BqtsLl9l8Ov0J912w\nXatFwRcs/uOCBnEogj/Pf3xKLqyu0Ycl70cT1pZbJwJsMGOfKQc3MRn8hNdA\nu9Li3VWAYICMhdCryN7vsyzvz9uEA/l+yYvhbnkqXxFmbjaXrfLgg1ox0YhX\nuMSeXqnvs8D3OmHBtWEOMNjd2sVI6tHUFcghOFzNd8LTu8L2UOirQmg9IdGg\niSVFdz5z07EblRa5iJM1I9OXDudMOGvMaSklGd0mypOQyH/T2ipNxWGXyYy3\nWgwzi6ii8/3Ro0ksIpsgs6+IfBsWbsIcr2opaaF87hwRPKt1Z9mHbDsZ7ZkI\nrs63hUnNHryBYViiQvIYQXaKTFKjAcIJnc9NtKRBmHTDBRlP7jpnAzfnP44C\nEYebgCcVW8TuhvFqAZidh79RO3SbSh+Oy/QaGs+qPRgKMntwN31nzJ//PDbN\nyVwIkNLe0VOXJpT7I7uYQNWcJ5geVLXpaReq6uW6L9rzMA0uf/PIvK8g2INz\ni5pfzW6k2KPArdTZE5812TCXxJc9U1UNIJE819H6SMci6AfpRkkH/AzUuEt2\nbPDr\r\n=vge/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEqCIfC6ClXYMnFQ6kvG6FRmvH2YXUBBSooourXvsnp3AiEA+3tjalsBvbtdikSHwPJ1SBn8FIEisuwnrOvT6rTKVXw="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-alpha.4_1618344560626_0.2586573967155914"},"_hasShrinkwrap":false},"0.22.0-20210413202026":{"name":"@accordproject/cicero-server","version":"0.22.0-20210413202026","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210413202026","@accordproject/cicero-engine":"0.22.0-20210413202026","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210413202026","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-dqDEyQLd+VQHEo6o0LOKiy31Vyvs5mhxa82qvMXI3SAuf4tY2yWVl8HAdI66LaOx4YmzIFjEL5HvWEKIi+fCqQ==","shasum":"a52408bea754b01e658047fd3acf29c1567084f3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210413202026.tgz","fileCount":51,"unpackedSize":648962,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdf0bCRA9TVsSAnZWagAA21AP/j23YZWHbXwKPF1FkQd5\n8zqGIE5qI++6530hiwewn6mbnc2LZVt19wRuBjSSX+Pm1HlMNGnJ5qbrcesI\nPgjz5sAcr12P5pp9xzbOZNDWXm6f7NaLY1BbBO3DI0w2mj2ZizBRPWNJ03nm\nIv7dAGfJE/6h/huGE5OSSGiIcIgwl9I5KVSCsOZG6UjNFWjwyNMeZVhe7CHx\nuOdm579jDszxNqXk7dA/i594QfKXQbjL4eR68YsYjYL6uwEEbnhsCmiBMdWB\nWuKhpm8rAXxH9SPYNj96xwl9WA6K1yrfv3CtBeNlqbPt0mtZPz25hD0Kxc3t\nAojvxZUZaAIyYVGPvVx3kyRa/7xlUWEeOYokyzOqYCdPFZ4NbdYPS9Df4etZ\nnkyaNBCHZRtf6d1ksCmiAJ3KM4qH72ETR5vqlBmBR18VQQB6FFbs3UajVa5q\nNpKy4yOU0X0uMX6URWxRkHWhQOOtHXCEUDjDqjepMgVTbH94iI+ObFcLTz8/\n1F/SU0HZpMThv3d7dxsW0XqQSAgE5pGZmtN83T5dSZyVkYkPh19zRCca3vhS\nvvt04v/S8xKhfMIdIswk7AliCwdjlL4s3f5sGxXtVu95y+bF7Of6RYwwwA7c\njihWZDlzsnObFya7ePvSrUx6IyMxgYujonBQVlm2zYHuns1CxWiNzZAwTZFu\nNBVY\r\n=kDk+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLEMdFU4I6YJLwJzce0HmFQps1nloJ85D+LueadMQl8QIgDsK+IeXuFvK2Ts5s+HDXzqoYcSauWEn661HaALrECq8="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210413202026_1618345243517_0.4534265718087591"},"_hasShrinkwrap":false},"0.22.0-20210413203401":{"name":"@accordproject/cicero-server","version":"0.22.0-20210413203401","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210413203401","@accordproject/cicero-engine":"0.22.0-20210413203401","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210413203401","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-fM1HSLf2o2YnhUV5QHPibRUyC94VbNaL3quXBH5xSNuvpXJV+QpDQa4lRBsWbEGiyhS8Vuwjhn4nR0mBJ8z0Qg==","shasum":"24f72df4bf1e7989d60d9bbb19d1991f708053d1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210413203401.tgz","fileCount":51,"unpackedSize":648962,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdgBJCRA9TVsSAnZWagAAIE8P/iLtdBRbwz8mk2MOfzw3\nRQlaAVTExlpJVsGryn/8rAHzQBBXJ9oo6oIM169mp66sxTOl90U63DpOQorg\nfVNIySGvKiPFP3O7/yLznoDWzvsS5HuM+HTEWm5vNAwkKiqPjDkmm1watAO4\nInv/5Czo4cTUNYyXckRUQHTRQvHt+McIRnBN5wvv5pC4WpBPWLlrFm6Url+q\nlUgHAYqrP2eyEYBgrMJ50zMHzv6DChrfWvpk/sFw1hcD4k3DY4+VQIxyaLF2\nwdc7yS+Av2ATAJ9X6rleTNak0hIo7bQJFa/pVT2zA5JhOtls8k5/N0Ww0IAo\nJlBqWc0sT8tVxHaKCMHSnNr1dMa7VbG9tZJRhq7/NeATKFU1b8nkdg/EXakN\nNx2QvVW82vARYq12CRwprHekQB6TYkJ2ugscDbNPGeacNlyUwOLotQD9v/lf\nWCbOSvgS9rHVKyjYeEPtHRpBUpY80IsdyoIPnDyr19Zwp+zzXuyWqlK/UeJ2\ncQXQBAnsyRlc9c+JcdBkP3q3TV2O0rXyKAH3sXGle6+0bM+gMgTHwqMsmDvF\n7r2A0gh7NODuouH2qgFV2kJokl7tMyX0RJ3rlTZdG+p4CT8/l3gi8AG7KTRO\nNSZNkUTVob5y67b5qkzFspAciYBPzc+hGMUgqAet/lslJM4knGO33CWKye1f\ncs8Y\r\n=dX+W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFZCcMIPcVKGQakYFpt3lJobOoNSqwCOEtWFut8Lnxc9AiB966vIv24+A+Ru4xoEQsKHw8rpewFDfnJ6I7/xt2r1Ng=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210413203401_1618346056876_0.2122070875670996"},"_hasShrinkwrap":false},"0.22.0-20210418153621":{"name":"@accordproject/cicero-server","version":"0.22.0-20210418153621","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210418153621","@accordproject/cicero-engine":"0.22.0-20210418153621","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210418153621","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-0UtKKXhsrK8VLgvxJnHYyf8ceKKGL8TUmOWeCxX288ARLjXOnkYZkWX1HEj+8ltmW/w5c+xm3NA1cAyjw39ieA==","shasum":"7cde42b0224b81214bbc3a64c05d262eaf28cead","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210418153621.tgz","fileCount":51,"unpackedSize":648962,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfFIFCRA9TVsSAnZWagAAumIP/2uVUdyhJFOzW846K0yU\nzAN3eBiqUQGmPgDyggrQ8wkoVy2KlK+ll7oNiCbhMstJ6v4dvrjypoIqQIBR\nsCr1QvYknfoUWoSfHIHTlTvzY7G2Ivln1eGEUlCslQaQHCeiZM68LsBDBBGq\n4ofTcDNOJIdw04kIFvsbK23IaKMNauXCQ+BjJiJsadSC9fGetkct0V7UJir0\ngvf+PleBG1C/D2wP26nBbG3ZkL5FX7NRl3PZ1HHGZ4/Ly7abajGBCL9RW8FO\nQ53A5tWyO4vEanC0XUhoyQS/gfLn0SilaLBAimdfenjRv+nHy+O5FhRzXm8E\nLARjH5hlasboh7y7ORrrDOtkKyoH9heAXwU1J60HiTOW7MH3aRbGWz/tFfWb\njqQAHbQxLHCnuGFtmZqBiOr8++zE8zFGujzk2sw8VXuCNZpqslzfRyTmcrvY\niANmBMPaqLqfgBOISoHlCsxEHz70f7j9eWfrziKkzjlsdmrny3/+5A2lY2Qd\nMSM5rdo+j8yZXrGcF8mwUy16VlVjO3socm4MGmC86UmmSB1s+wTqrulGFhqW\n6sZn4bO81M9TUmL4BrQFPJYwE2ol51mhIAl+1nSQZGq8DR4nbEWZSfLVWJi+\nVXgeK6HTeR9MqCpWoPl0uEHSXD7HxGzL0UzJQuPdaPSBuiwefQOtk6cozyto\nA091\r\n=D6aa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCN1DDr5ePnBQU/udUkiMFMt2fRPjj5cScC1pALoBdvFwIgcz6m9jXP7SzoyonhVxHTSZbMENs++RPgnbe6HymGf5Q="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210418153621_1618760196630_0.7106058144415106"},"_hasShrinkwrap":false},"0.22.0-alpha.6":{"name":"@accordproject/cicero-server","version":"0.22.0-alpha.6","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-alpha.6","@accordproject/cicero-engine":"0.22.0-alpha.6","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-alpha.6","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-5AEzgg/6PqR4qwaQZMm+/ElMV82ZD1raMqBGgGuCepE/USGS47+vD/oZ0TIpouqPIRGYJZ/wfZo8EsnbbWclAA==","shasum":"176a05ea4a6667d4935b16fde967d94fef7a2235","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-alpha.6.tgz","fileCount":53,"unpackedSize":650305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfZJJCRA9TVsSAnZWagAARlkP/0ioJcC8VjFqFRE3rrTb\n3EpbsTU4yBC7/AHrL/Fck8IehXJvNYo9MEkfIiQ1ixvzgggIlg0R1d37/pOa\nnXZ/R04bPWaPJOQ0HxThRXL1LL94ALfVtH6L/+jGwf0kQDrZ+UoYPGnF/s7w\ngUVj8qATcjA9THc+r8Aipaeg6AIgniCcMA5qB2JiP0ECSJ/ckbHD7xRfNLAO\nLDPSLmBs6oejyRxiw/LPPvpUPPwZU9QYV/kci49j8cgFio2u7D54hzcTSwhf\nueCgApOy/NJJK9cIR1yyo8gOEhzQ36d3ITZBeVHA0ET4FIQylNH5E201rylf\nrNyqEcQwEMm0YQ2x9UVe2OZN7UxTtcRL/QfFEXSix1ZQFkJ37UD/4IxzcFOw\nP4YgSEOYYwqqfkJPt1RRSzcfII6zH/zjL08RCzDvXn7u4I+7UUOTN6qQlmoI\n+nrg5IXY8TBde/weKF9Xa6DSC1DRjUuOrkNGNsuRCuvD205Jcnw2ARhdmzjw\nb3dW3CNU6frDzGUByMYVwD142+gGGdfs7KAuLz7C3VbXgtJd4xkdQnMUVZ8i\ncPt2qf2lu9nhRd6U/bmJwClsFyqOcxJ22oIP5VZcbVZkvcQccShZL3hle1cP\n27eBNPli23ljAdkSfBt3Gd+NkwrrBTePNnChm1ZtM705EzSfXPLOQMwpoIuE\nrlsy\r\n=YSnM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICVM/MbhII1jw/35C4yuiuwg0uwbFUVL27/06SuuFwFUAiEAvmjQ3G0Q9+hV1B46Bz16fOC9GLvp3GVCAfPpSuD3CvI="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-alpha.6_1618842185291_0.2104662949835292"},"_hasShrinkwrap":false},"0.22.0-20210419142643":{"name":"@accordproject/cicero-server","version":"0.22.0-20210419142643","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210419142643","@accordproject/cicero-engine":"0.22.0-20210419142643","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210419142643","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-S+xjOJM301nmSajNI5lsdwFwIl6Iomockuys8qp/vpqsmvnqETyRSMkRYF2caRuliF2Drf3mEIrP9/XlwlLTCA==","shasum":"304ea26d2db7ac5f105c4b7abdf83fe07bf7151e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210419142643.tgz","fileCount":53,"unpackedSize":650326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfZM0CRA9TVsSAnZWagAAeiYQAJpQ7Wymn7bAOAwn5u3m\n/8G/nIyLPOMVWQPRdsBcbImAhGXklFJ0npxwlE8w2KZWf8s2qXenqT5todRE\n4cf6ztf98QHrJGUpW6F9EjSWBo7BUAE3LFDBSamZt0fi8Hen4N3hQXUnbWcd\nyiON4xM8R9EnSlj+/lWkvqDk+FnmrE+kcI23fXq+OhGPiUSJ5Z+BHrWrg367\n8JBvb5hOd8UIYCs3W1YuYQEgbbVCfHWZflGICtgSPeNE0tFc4VXrAvusJS28\n0XzXXAhswM9zMlpbSXj1oJTiV1UUyr5YGoun6JFb+mmqhY+Q/WSR8CNDUzX/\nK8kNZnkGPGdvc/iBNpKhrCT/iZwak0uhCmkwvxP0ekiPpYqC4wApZkjEwwU1\nPuEW7DBEmYGYmqO3uAbArwN/ek6mGXWz01vXgBMnzFZlfCydnnnFAYPMWsW6\nmBREHuKYtjg5Oo+sZHNjjg/kCOzS1Tm/GViISzScFSwVX8RlUNOqc6WEHvCN\n0ZGTF/RARw1wSWA7E8kQZaxlsP2RcxECKHptUOIF05TJ1zh15Tq2sZmz0QTD\ne2o8yVt1N5gLlVfMBgRb2FNVoknprPWxHQaahc9bO/3Kek9rfWpHP3d2elgL\noOmwXj62V6lodM+etYGC2C05SG7msde3qaNAQmdecOS7WVpUahJEt+OpzzVI\nDMd7\r\n=9lSi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjDvCaUZTnHZyKSAR7Qy3D5Y0BEx3ZH7J0AbUNo9AGIwIhANSaPy4KF3ptGHBfgtpllEjoTSShBQ8xKXNONoiUUHGL"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210419142643_1618842420168_0.6685886734057522"},"_hasShrinkwrap":false},"0.22.0-20210419143917":{"name":"@accordproject/cicero-server","version":"0.22.0-20210419143917","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210419143917","@accordproject/cicero-engine":"0.22.0-20210419143917","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210419143917","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-AMBdeaX+M0CRfHODlqtXS3+DyFiO60RA7hKWNe0Us7JGowwkE5PI8mBzX5okDkh/e90TJwDYXs9XyKJM7FFeCA==","shasum":"d692054a24cc2bcae6d604883dfaad619691d99c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210419143917.tgz","fileCount":53,"unpackedSize":650326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfZYkCRA9TVsSAnZWagAAKRQP/2GCyhJYA2DdF6vNAwdk\n8qU+lwbu2kMelRihSLgETFXdwGgK/8r1J/9QaOik1X4IGpyi/BsHJkc1pB9q\nnpC2ZIK0iMBHs3UOQk/H1M2IBFil4QAoaudjeK7jTVUG4+aJNbkYZhRZUadj\n+3p8Qm/B3A3f01p0c9H67qVsOW7tb1YvjrcLN/Ga3pzqp0dyRtrq5meS3/8B\nr58D3zjNDYMs0DZtZ2PIDABFAWEMuBQAObfTS2mTHjIae3fFHHgz2gHAFmyn\n3IFi9W5K1H5NZAX9PtS9Jj6ipDq6C6Ff/y3r3wtmDUBfgQlYoaL6QRysBCbn\nbFl6MpxqDwRZQY8+BhtvBOWFEckhZK5y5/dRln2/98sY3J3D1mwNkGn/OPpP\n7D31romqejlZgTlWGyA227LWFB6E2zlUhgwye48L5+X0CsmAicLA1W3PsJX7\nsGJ6Yb3O10x0HTvyO/ATIv41392T8HEQ0zn/vWkl5F4tbv38U1LW4CPiJ0mU\nupMt1UbimPI5qeCV/e8cYDXf2HKOQ3IQF3gOS4FrkayvK52uRdSGqfQJzk7o\nbXuY/JoCBYuTg0fAowUtDn8M0BORQhM+MYWk3DNweISKkGM+SPWV+4Z9UXXX\npELwvGVbK+dkma7ajQTs3bZ3Dmv4VOp2IXS3xG7MszQWlEbkldhAcPpQg+ow\nZITc\r\n=W2UQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3RolpzlheMD/2OZXRSkPaXkhejfhgwIMl3rLOB5yqygIhAM2mZ7SFj+2rXxhENARuC5MA+72RcCJV+lJEHGulKzSw"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210419143917_1618843172160_0.30180928951829467"},"_hasShrinkwrap":false},"0.22.0-20210419145427":{"name":"@accordproject/cicero-server","version":"0.22.0-20210419145427","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210419145427","@accordproject/cicero-engine":"0.22.0-20210419145427","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210419145427","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-2GJ2KI3zF7f9ratyrB3pcX2Kffu1ve3qqXZI/W0/HAVSpm+jNjm8LuE0b7bc5SkegTNDb/dD4tv6epPmUDmXQg==","shasum":"d3afc70f114bf99f50bb24c92565ce46f4fb83b6","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210419145427.tgz","fileCount":53,"unpackedSize":650326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfZm1CRA9TVsSAnZWagAAatkP/RhATNIvSnTjuj4B3zjF\n28W9kObJC1MrVoRJ4GsNJDxx5Caj/9jRGcZpL/80YvoLGbl7OYvUGRH8ewPp\nciyb+2mJ8pYraAJYEGmuh8fkzfzqVxftPSXiMlJM79zk/2swU0Qj4RDxLsVi\nxX1mDfryBIxMMczrJGY+I/Ifwhr3moUumILNkchePsq51SHnlaoCkdwSNrbL\naD1+51dtsVNO53S2tIty3Vru1nmZFDvB/D2vGt7eW/F1rWxCAW/NCpBV1mWT\n5hyeHaKoI/rjUH3W6pTtmjq5v08SCtrI7W3GNF+r1pzBucukYzbp0i3Kdu77\nQhWkUNuUnQBXhI1CKxYWseo552DZtTyTdlA3v5hpanif1bop2FB3SgO3pQ6W\n0oc1fMueO42QscU0zP6zGn643Pf+PSt2DpHyUl+yWg9ZVVWunh1Uq/1XkRr5\nFAJPEKE48auXKxuWAlsGZfXEll1Fjru+myJhWv544vPwUFQQACmQK1J+OVk3\nKJAhP4cPyx2g1M4T2RQ9h7jCDdeQuwU92degjf2BYue4Fk/+s+lOhq69XtAH\n5iggdQLO4Bo5i/42scG2ZPkSIh6pNW29/NXQPj7pHei2niWjkGDTA3EC3jmY\npGrQONY84OFrcqciF3aIgPh9ukyXVu1xRc0o/QhCHFhysjrFAhTPWhIc3HI9\n9hjj\r\n=qSNi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF9bQYQcQEC3O4uwgzntttLI+nmLd5vjI7SkZDSFpCCoAiBrbf18p67KuP4aEjYXUai6gGHg51Bn/HhZawnSDoeGMg=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210419145427_1618844085209_0.5367733146213125"},"_hasShrinkwrap":false},"0.22.0-20210419202940":{"name":"@accordproject/cicero-server","version":"0.22.0-20210419202940","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210419202940","@accordproject/cicero-engine":"0.22.0-20210419202940","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210419202940","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-Kf55DXbrMNFN60t6/EoVy7USgpVn6QlsJZblCfziPdE13ynMZ4PgfCWpGOZLvV11Qbge4J4YWlui5+U4FMxspg==","shasum":"58f2eb2853b1443b27940d909603350b1455057d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210419202940.tgz","fileCount":53,"unpackedSize":650326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfehDCRA9TVsSAnZWagAAbYEP/1Hzhnllj70eol1y84mX\njUFLhjqsHCUcZFymjP8S7KhscEtFouEVzph/Jdvoaoa656kI39bKGp5npaHc\ngTodNx/+nwss7TrZ+r4ZLv9UQ1xcu2I4apG7dABsnO1h3l2beE0NoVMK1yR3\nqHDtXf48Hha4djr+CImsydygNz4gcJ5G705rsYcjHWxY1Tq929qGtcJ+cU5v\nOhgjsgcRIQrqBnIdvjhHW0+bzrNiaLVTmtVb9pEKpLedAM4wPkcVaE5PSwSO\nhCxqkTywUBSSw+mOk3gCWETG5TNHLFolRQixGQ9IMAJEVwMepz6wlsoZWsjl\nN1GVG2Cqsp8RYS4nyMQHteBFb2Bz2FnGwVniy3pYwruvkc243HBqd8g8DYUB\nez3i9AlxAFUk1ZSIQ8O3CBFtoXFJzRerxL4vzNlk7bsGKmlKIbMat87aBLj0\nK5GNAyjP8Q4prZQPquoFWoXl+E5QvPZNIIrdsRmQzA6fgjBhJOykdvvduapX\nMS3xzHND+0P03ToSFV6k6GrBHPOMd3tXZNNh3FLJIMsBbDZ5bPXlwF6IGTPq\n2uUM/jIg8QsigFP21QJANjfvKO1EMF1QWtIK5R5Npqw05b22Bfu7BFwDv2Ky\nlp+Tl1MpXO4Wq8YQSJfWji9F3IfuHjjHAPxtLYh7Btd54gZknDucwmSkWmNj\n+IzN\r\n=TrnN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9r62JETPDSMVHqkY8e4A+qrN6ED48fVXhlrZEzAVJKwIhANDlyAVJUVjj8rndLc2dfY+7jJcVlPBintliJJcAtCHr"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210419202940_1618864195321_0.8296936706661393"},"_hasShrinkwrap":false},"0.22.0-20210419205944":{"name":"@accordproject/cicero-server","version":"0.22.0-20210419205944","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210419205944","@accordproject/cicero-engine":"0.22.0-20210419205944","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210419205944","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-CHAZaRId/WsokIPdnvIf+tYUtrr6TsuO9AzzOXru1RKSaSKb4WApler2t9mcUDiHmVhWHl8otBrF8CunjJe6Rg==","shasum":"d2d10c983ea535baf5da8783c830f26e13b7de11","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210419205944.tgz","fileCount":49,"unpackedSize":645147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfe9QCRA9TVsSAnZWagAA+/kP/1Us60LkNjRwJtogDKb9\nkL6aVC8xCKqXdy7X+ka7HlPu3QjUnK3Erf7dmRMOwvaog+yEe9VwU5zq3f4i\nMxfORGxy+1wG42jMtThBoii8ImPmjUIjnXS6KM+ZF0ImzumrksTSjL+jBFh4\nHwgBS4uD7TsaqJmmw5ZWpBkLLPiHdV6y5EZTlXPAK5+3x21hxzr6ccUllalY\nMpy9IOZuAjqHFz4/qMT4IWh0j5e24EDqABLy7NfDKXMCuNjeMwa+ohisTZ/q\nVzVYMFjuivGxp96Hb2od5pzSxEmoad62aHZxScJ3eD++CXn9zRF085BFHOx5\nIcHPOqFc1hvq4IW4JBNuv4pooNWVG/wsCeTbU4eoOliQvwQGuKgwCZXrwTjE\nvR44hXvYvtCf6feLK139nqwf3AzTE2UCBJ3NhWWwudBBIE4Z+8SR65l8FcaL\nupPxsg1rwhDDK+/HwvxEUHpafp6HZHtHX+rzHwCfFtpIsyP1CK2cznCBwsOY\nqh650h6BeBJjRuX9bV6/DkGtbSGZEG8V5/SsZKN9TF89UZMXvW8nHhyP4TTe\nM9apILkPfWykghS9HpjmdQFqgof68HNh/pQ+DdoybJHfj3vFRGvCbZhbfyHw\nE/jiq92IHauxYie9mnoa+LQ47oWIKSTCgtafn6zSi9MA1/85+cDh+3AKc6NV\nFnhX\r\n=4rJa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAyO4CkdxokKTYVn28C+svP8Pga9LAwIQQJKPpKWFXgCAiAMNvcB6q+rY223CjiSfO7fsZdNZKT5vz08BaUTcdLcGw=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210419205944_1618866000215_0.987746131189899"},"_hasShrinkwrap":false},"0.22.0-alpha.7":{"name":"@accordproject/cicero-server","version":"0.22.0-alpha.7","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-alpha.7","@accordproject/cicero-engine":"0.22.0-alpha.7","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-alpha.7","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-N1GYszH2RimX/kRs6QZJ/Sy5iMIfeXF23H3FLLVHP6a6OZueI/vuo11dZ5NFXZ11a/zITkTkiLOmrHyFpmrmng==","shasum":"2bd14ed9eff4495c0ca9fc00ebd56afc3e90fd23","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-alpha.7.tgz","fileCount":49,"unpackedSize":645126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgffD8CRA9TVsSAnZWagAAtE4P/RDcLSwvwQA83g3x3N2w\ngsSXVLgA9Q2RA2LkNpaK7EJUcEZu0U87HiC4YQ3fRXAbXwzPxvbO8HR+Vu7C\nMesG3wxCpkrIbSyUJHMCY27einjrEfiIqOaGklCxnpmwugZ5aYl5+WMb3SyW\nOmK3pzVLoi+x31KUE7Btrb6pFwdQsQXb3cpZLB5BJRwGuiF57LQne4cYcchM\nrcfCy+QowC7XLkTxZ9rHc7zK9XW2opKQstoMp8oUaPPJvg5sIvA7dGoP/5qn\nnHiSt6izGZgGhQW+PMDG2sxX9BhgGgS0RUyIUAul7GOD83fv2mhyMJIQ4SQM\nM/WdquaFVRoQBjpMcaotY7SFQI9lVQdXYcrQw0jhwa43GvkRwhLwvb6EV/l2\nujUkVvORwzBXxBSQzDVwE4WY4l3t9a63jLhd1SkVpgUZweXdGpv5eNvtq3XV\nV1Ics/A7ka1aMpRKQUiizKD/grpfIh0cDYsP5zr2vjInYE2w7UTsjtWcclIP\n8y49QdzZ/3saEJSg0NgtpFsY4EZMImH4aD2TJ+wzaNrZuNnBY/BKUcv7sAHb\n+Fn9SzQpnMjZGwt8St3BOXaFvRQzzPGZva14coiod0nS2a04ZCXMkJ+mhPl8\nPwAoIryY/D3CW7s3Kdi+N7m4lf80E1JQ4EIIoHE6dyiuZpLLSiHfmVxHuDUX\naZcM\r\n=r6nj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7h33QjdjfMw6EV6bVa0F0by1NPXpHn1iXwGxFuNC8eAIhAL3jA8Lano1zvAjZFaoQ9JAyKiLvSmz31KfqFpcJZwxF"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-alpha.7_1618866428084_0.13262457065290878"},"_hasShrinkwrap":false},"0.22.0-20210419210659":{"name":"@accordproject/cicero-server","version":"0.22.0-20210419210659","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210419210659","@accordproject/cicero-engine":"0.22.0-20210419210659","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210419210659","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-mNqSxtGU99sGS/aVlcguvk36yXC4c0jzJhH8e8xm4DPD7lxDgD39+a06mBasj/JJEpIOBar4lS5MaFFeSCKQEA==","shasum":"e8bde3f808c2e5463f30932584697dfac4152773","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210419210659.tgz","fileCount":49,"unpackedSize":645147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgffEDCRA9TVsSAnZWagAA8OgP/0z0KLsjzXLXVHh/Wmv/\narHRxMAgSXJuwajFtJMpwH+iINmthmpWgUkqQturexAhQtzz6is+q9ASfdgC\n98+cl7s4EPHuWRXsmap/YgIzLNcCbWO3rGvxgzlEqERHly2wN/+7KD96+FbW\nfbA4mGpBP5RUo68g4vA9iQwawZ/B8h1pVgd+3lKa0QxNdf6yGnpnfdu153Gk\nRXF2eSqAT0vhCXyCQxSjdj50J0J4DmmCte0SMyM/fV/wq99Hx2wCQwsJSv8O\n0gbvCSIRRRHMfyuFeT7NzpBCZtRXQOzbR0TclIwfSR71bscwHVkPwJHHYvST\nVwzmNSs1Eb2nSzGmtU/Xq/0kUlPAraj5ZTQds4a74qxI/7a2m9uAFKBSzUpX\nbwN0IqwBVt60LZRgA9TDO9iKB6fep+A+a0R95ZpBS1+XemYogYzLDq0AZ2+q\nXqVOh5hHaO0LXewm6ch9VhqYJxqbb8tQWgDKVJZbgb7LV4qyEx7wEw5pYpQE\n071hmmwVmSnv8O0cC5v9Naa62cQQ51NYHpy4AvPgju2bMShkeQJM1HrJq+6r\ng+zfShbbCjzGtG9UZpJn3NU8uqPrPeR0/A9rdOxaVis11O++vvMCgYzVGrNa\nzGKc3QgxURHLTof9bBuhtYrEEkyG/dMF3VHDJYXwacHtwQPyLwJ4XigMS2qV\nJiXd\r\n=3/Pg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBGrF0FbggIbS3DBUgNmsa6DOMe5RwJyAFyS7aIu6TeCAiEAuuJGtJzy3iJsf6LZ65wxpkihFA8OU+cSvxoBeCw+JVQ="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210419210659_1618866434962_0.8963354319168502"},"_hasShrinkwrap":false},"0.22.0-20210419211220":{"name":"@accordproject/cicero-server","version":"0.22.0-20210419211220","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210419211220","@accordproject/cicero-engine":"0.22.0-20210419211220","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210419211220","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-w7NFAEheLCLR847LbIcDENVbin2zFirFzlB15w6xEm+F3oDQkJQa+IC0DARz2KkQF64ctdqBidBGkYs5lnjnYw==","shasum":"5f17751fa9ec8d7520dd09258b90d13f718bfbc7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210419211220.tgz","fileCount":49,"unpackedSize":645147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgffJDCRA9TVsSAnZWagAATQMP/2/I1iPjbP0e72TOHNw0\n40n4yEaKXAwJZPEshDqeBDu5krG8V9rEfp36mhIlkR5OBXqP4G8aTWMX0Wuw\n9JCSwIQfosgfx9rqPMQYnXb5mIHeV7DmBcCk/0X1EU04SNRNLtN+OI4XYPSu\nXV5qFZ9kJWm89gQe2PnoqFR9GiHTX1rAo8leBfleqIOUqVJfTvyW7tc4xlUJ\nuk+xaEbRWDeO3W9aKmMiUDQitVA9lcjNpp7S5xwI9w6gCrwkUdJTXqWfuGBw\nLMvY3+ZRqj1s0Q/RxcdRgy4iuuhUvWVC+7OyLB5yiFr/3DgLC/8nN7gAkDip\n5/LTILfWFFAOTTTxCkogEQMugbDVwQudVNugmFj3x78hatQKB8SAwBAC4YvL\nGmQrtCzZ+HPQRTP8HCQpjxVcDN9m3ny3s8s8EG48YtjHIPK+R1SoUrrZqAMP\n6IRtZnxKfhAfRE94yrw3/pW6vZulZ/x9F8hIJrdNF9BIumd1snftK7zbnF1c\n0rfevw8PK3BD1P/R8V9QDn6nZWEMBZdStWDjFFi7R6hIAk6CatMYQC3GXgQm\nljRUomKf40FHKYMmGIb2nXqxU2FqJe0I0DtHGzvV2t0pTQUEUBlq63pXXF7q\n8XyaWGTJsUjOGNmzueMwmq599crQ/MZvIGfXnWDPPDG6s/zWyHG6G9UFURDj\nF3FH\r\n=PQVh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGdNTNv6DGXH0+AQOoI56UZb2e+jSSnvl2QV1G2sEUx0AiBchP0uP6q2p4fFIcPkU3KrAeGjx8hgBMuqQbEaOU/3rg=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210419211220_1618866755183_0.8272634410765054"},"_hasShrinkwrap":false},"0.22.0-20210419213114":{"name":"@accordproject/cicero-server","version":"0.22.0-20210419213114","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210419213114","@accordproject/cicero-engine":"0.22.0-20210419213114","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210419213114","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-ok23+vh5TWtFKdqhMRms3NwFbSyEgPF89EDDZBrm70hQrKP+IIMN59BRhqghEUGr3E2mY64XR23uYWT0kFHwGQ==","shasum":"8d9b29968e75d08a995ee89e250eced09c06d76f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210419213114.tgz","fileCount":49,"unpackedSize":645147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgffazCRA9TVsSAnZWagAAhV4P/i4+4AAaj+JjHHzjZb+0\nZUnFtKs+0G/eaQdtFBdSuQzo5tEG7g/6Q/R89P/FKeCkKVdzypoTwocMgh5D\nOGPDdrk05bNeupcbJgsb2wcHvr07kG7VSEHxvNBPHDo4DB6JyIcUW/8okls3\nMPHwiv749JdQwDmtI/zb5eUy9nwAU+DHK5pA2QRRTbfIBEtrhpWqmRjOA3Dz\nU8wbLcuypNPCYZ/wSEzyWskb54w0WmW7S8ZPEOqzOi2aQsfKnGyDWk3NuLM3\nR5R4fA/BYAx8zaz3Ps/zYRsptnYNIudloufa483NOjZuYmrpfTWuNhOB0D5J\nrNwysHQ7Q+Nh1gdPGb4DKJVdaTw+gyX62uC1sZozgXxNM2Uw2g3h8THh3Yur\npLep+0aBh06mU1rgXsU24zm+wm7Hp4HvpTgrzSh/QD+BqIq0V5gDNHboVoLm\n4dtMLBKQA7FqG9R6w61nmbH/uGISAfQH4jkyPynHGeFYf6HOdFH3SBVbBBe+\ncJJREGabxGjDwkgKopeaxE9L2ZJSaOLdHeOTBRbrA7IOqDkAaWxHIVTTvmyW\n1PvUPn61ZDFP/hNJm9csU5UPsVQ1g4M9sj5Du1WDclQb9+OE/bqCidJGENEE\nVux//sK1BGOaaQhrb/wkLsrnxDrRg1Xdgr0ZqkHrmNZx7EPH8DShpqLo7zHi\nwICg\r\n=o2Px\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICMavh6dByV0CrTdURACwJYJN+Tpqbw9xI3b70in2is+AiEAkAerKrfIKpIu1TXxifWB0BPIzpaS0PzmHEuQ4rIFP40="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210419213114_1618867891350_0.5417612564683452"},"_hasShrinkwrap":false},"0.22.0-alpha.8":{"name":"@accordproject/cicero-server","version":"0.22.0-alpha.8","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-alpha.8","@accordproject/cicero-engine":"0.22.0-alpha.8","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-alpha.8","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-2/RJA6jfLe6ZPMZkEkV/KfA1jtNO3Cbs82cKve12Dl6pelIjEVKglUIMUoKMr2i3G9a8jTw/+tkeUDpdaL9Dog==","shasum":"fcd235b3a81bb182e6ea027d9cd66715aa59df3f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-alpha.8.tgz","fileCount":49,"unpackedSize":645126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghD2xCRA9TVsSAnZWagAA1OkP/1TkCc9uATPz791i0A4s\n0iVx/PfdNYft6apO7rkmpCfBYBAMTW4L9BgfTbaLRJxyqmTs4nIsX/OXsCDD\nbEdrBHWHJUzo8sjKfmO6+OATIo738cWsAaDi9LpSMwjnuEy+ZVE//k+kAiuT\n+ZfATNeuXVF0NMlKnGmb/G22YBhlWAQDMdcaJKuvFaPlylsU1t/1z5vaxct2\njTwxY30Nzexpu6yWtdr7qBFw3kwNZnY9CA76N6yIqXxZOOYCzb1rR2B4a8l6\nSOUweQRCmtJNcdaa+OaGK7USueFAJeL7hmJc0tRHrrCY/NHkdebwNcdLInyS\n9RWTJNDOBNXeT7fEOz3Uprk10Y5PoCaIJ5DHcdr520vSyvl0djqR+VtWc9cJ\nvDcTWY4HRlVhAxkJZqo1YCK07AV2OfgXTMp4PfkyGnleH44bq7PrIK2TRCt8\n4J8fLI87omNLC2EzJqrxbqkjBVJjQnXJGhVNUajDF1OnrNsMb+85liqFQfPm\nGwTd5A9rK7IshoW+z0pZNR2da5I/ArDHlvVCyCXNLqQU7NobBtvUH/UTpBz/\nqarlrd4u64+Jh35dAE3M5oylTyhfSAGaJqJhrUrv/bhpeD+UP+EGzTfP9qNQ\nUpkmEngkECqjbrZcUQ9uLJztf/+zPjXQIZBNq0iQraZHuF1sJMYUTvWKUhF/\nSXax\r\n=FBdn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5om0ST3jqo9pVncBV00BcMSC3QiT2Hn6UmVHexFVgCQIhALBqbaoi5ersnwbq+Pj6+LxneSbMHKDtCE4CJkqFpPht"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-alpha.8_1619279281174_0.2793741069622151"},"_hasShrinkwrap":false},"0.22.0-20210424155150":{"name":"@accordproject/cicero-server","version":"0.22.0-20210424155150","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210424155150","@accordproject/cicero-engine":"0.22.0-20210424155150","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210424155150","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-EIIVXfopUuyzTr/j8YigsT5+bizfVJoUHtinJjn/+ZnipihWnaDJ6JkppzGVx+xgNd4CStaXG6SbpLsmC/hMHQ==","shasum":"eaeab77567a1db8458a5c9022a68fe2801a57b0c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210424155150.tgz","fileCount":49,"unpackedSize":645147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghD6nCRA9TVsSAnZWagAAqIUP/AzU95wS6r6rHcG7RGtx\nn6wt7cV02gO3oYckTMizI0+cT9/TDnIQlhb/6JId4oSkqswTqrUykZkCybtx\nfWBrxcojGuuEgYZ+S2QQ9/CFyeu2aQGq6D8rH2YR4NqMnN8mIgFuTq2DYnTL\nofXG/z8msB9Bag52BLDXj2hPTptv+tA8epuVfhr9Qq4S0s5x8fTM8FlitIp1\nz5xYiQ3OqJjZHjA/VKM6WdYPnPdiWK2OJW3HYQ3C8IFm4qq1Z9/YOEz64nxZ\n2Lik/MdTRwTAWkBNo/ES9/ogn2DTjnTed+jnAJ16eqAMpsD+2VDjs4Jvf0zK\ngXPykXyGp+igJQiIZ5l2kl4ENHIxNZfzlt9IqaN0PmVnfbckN6Quo7nrbrWV\nPIrpaXtSKYZQhDJ5z6PAPY7HQAcIkQZQ06tyAOx+q0WC2YUPsjmHU0w9kAE9\nDVQX3WrDhpAg7OoDziitZaIXc18dJQpRoQQLwLlvNYvF2AciDBKP/h7lE9XY\nxR6Fn1u7/j5DbUg7Q2o8zby9ogrgmDMdzgzMSelxoZ+AAA5UFkiUmqjE60xR\n/17pM4/QuXzD5ARe3b6XTEIUIxFKknDgt3YG8HeTplObEGDEScXs0QiafbdI\naFjz8CjHB/bU6M116gObUO04mpSrIRP7L239m2QxFUPeQnyS6QkYfDgUQZ6r\nAq//\r\n=F+MR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIa7ta7u/DEpMJJZV2SbG+wgvNnx1IVFylTvdP5d8YTQIhAKZzMaAlQDdE07h9jOeqIL/fdW2LAloHmXl0dmToultK"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210424155150_1619279526838_0.7156164137885213"},"_hasShrinkwrap":false},"0.22.0-20210424155436":{"name":"@accordproject/cicero-server","version":"0.22.0-20210424155436","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210424155436","@accordproject/cicero-engine":"0.22.0-20210424155436","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210424155436","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-q+tmLB7xpHDfzH18ExDRoNjlO97ozXDFOWpzhKd/5oJSZPHrirh5WxZP0IsH8ZhlQUpsL8kyDlNvACvO/OhisA==","shasum":"e1a6805bc0a1f59f8c205d507a338a807c8dd7bd","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210424155436.tgz","fileCount":49,"unpackedSize":645147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghD9NCRA9TVsSAnZWagAAwT0P/j8oqOnb94mb0WO/VY3i\n90LNVFJrltFpPqFO1AQ9LU/q7ogNpVuN3I5QABj0GXugO/hrqC2/Zdk3LRiD\nv5ZhPZBwvER3m5AsBgvXev4hTQ9SP5k++LrUUUonepWMJRtzxQWfwTwUn1jk\nNGH8ehRb7D4SMZ3IZy2cGE/jaNr7b4+C3ky7qK0aFoA19zR8MAfI1Ngq5jj2\nuLaibd+JDhl/leLxKwR3Cm8ROUA434PUey6LYLMh88C7b6Xm/zTluTPetmhS\n0vp/PZzPzJuDKqdTjSOj4fe5abR/MseSB96IyF9ZtK4NXtHcDi9+Yiv5gY0I\ncTihKuaFQCOICBVpP9rfGPkOf08qiAaD2Zri8p5uyNGjMmy4H2vVB5CzboXG\nb4coKjT7R2GMkmRwZgiym9e0O3tRw0EAYsEz4dByozKXPf8nFXgJFgcugVvp\n6uLLbLsOFVONWUYEHsdVZaJ6uHw2frkda79kPR5kDIW0BdyguM6XaLDfa6k/\nvtQz/ALmmMCZQA7tdjb6hWWLPTrC64+aWsa4SWOeomYq7q8hePpsNqvwFsO1\ntCImcEunuPwNzUlweY0Yh0xKcy/lOkDXq4l8fssANolnfM6S6BPDGWmyPFpf\nQ1u4Iut+aFqEVnJ2ujU9orXvPos9BR6p7uYOTdwj6EtTJi4BtxVuQE2e35N9\nOeyi\r\n=XF8C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCy/oAVOPxYplXXthWVHjjmL5hmCyLTRk0K/nmJwTyeMwIgAm4sYjzaBHemdWcDoUAWdc+ujZ7Et9V4w/qwFLcWwY8="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210424155436_1619279692968_0.7253871550402857"},"_hasShrinkwrap":false},"0.22.0-20210426234010":{"name":"@accordproject/cicero-server","version":"0.22.0-20210426234010","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210426234010","@accordproject/cicero-engine":"0.22.0-20210426234010","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210426234010","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-ytIIE/Hjgt4UoA/N+alwE3K6F21HwTVMgJJ/LNRf4Qc++8J1QVvj4IZ2uxSieHNKYEPgqeXCh+13EYkYS/B6IQ==","shasum":"878f34541288ceaaafc4810e34965042eb9f95c2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210426234010.tgz","fileCount":49,"unpackedSize":645147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgh09qCRA9TVsSAnZWagAAyc8P+wcwRhuPnsQLesl6zGBK\nRfWynx6MH+zcYVJi0drePby+LjbJWkrlCf1kxDunWVex3JHqVRO4nMogWa72\nKc89+l+xUPMzcipf1LT8MbDxvF6/G+PgjXDrKeR3utu8J19GTJBk5HkKVHSq\n6o4gTZhbe7DhrqczcNGXLNBncrVRN6fNZerU0cVgREncGN72jvcQ7e6Li8Yx\nR/o3d5JKA3d9TWvt1fSmsHdHuaNZzHHHXSKA4oVeAVJWA9/MZJjz2yxwH5S3\n2DLqxVZYw172AgBd49vuFhvipLbdWK0XqfiP0HOGgTiyobg4nAmx5juLuMJD\nYD+37svYFd7YkZGQw2ecT7NVLZ36UX/fs7FlGJzJbyj86efY7e8ZyqHzN8hG\nAIFNhUW1Wl/5kfU+rZzCqPSiHLJuKOVr0/0A/dL2eVlJbNgur9EVtHIxWs7k\nPADt1jJGC4GfJMgYt3KD+p3mHD8oUC8MLGErUfQHCu8hdye/ynhcr0cTmAqw\nlr2akDPC78tN+0qyZ7IJrNWMuMVLIv3/89tlwF0QvWswVa0pVQ1CKtj3J+Eu\nlh6ekwIBqedyY4CuwhdIfK4feUMRtbzF8JTot6JjLdiYVLN4jiv282ytgwNm\n4dBXOmiUkuKyzGqjVjQQndhf6tryREkRLcbV4pMXIeUnvoF0AIAKDAsEigca\nwfgf\r\n=iFCP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDke0fkS4Ysrl9RUwGB5wAy9koKmoPNO8MvDelr5GL3LQIhANXRhl6JKgHQrUfG7l+iM03uXrHdHGqeYjT1ooTFKHuz"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210426234010_1619480426130_0.7192863412407402"},"_hasShrinkwrap":false},"0.22.0-alpha.9":{"name":"@accordproject/cicero-server","version":"0.22.0-alpha.9","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-alpha.9","@accordproject/cicero-engine":"0.22.0-alpha.9","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-alpha.9","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-L32rGgNt5kJszzJ5OZjxrQ22rWfN9ONjhNm7tLSzkqHjYg3hVzL0MO+i+RhVafFanK1XtkC7sBvdYbLlwOOngQ==","shasum":"0c51b8b81d1b0ab8c0d5ff0b5a2e952c457bad6f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-alpha.9.tgz","fileCount":49,"unpackedSize":645126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgh1HPCRA9TVsSAnZWagAAViMP/3qIhDmMfkKhrXrrl7e1\nVAjjgMeJICz+7/DntOlP6kwZWvYcvDwaH402Ei5HproFBi+zZFpKgVffw/vL\nmFxeUUvZkiMdGUyMq+RqzkjneiDctB2KXVK9yUdMk5LtazKvevnSwf5NzRzl\nT0ldIuanuHvIGBakCNrtQDcNtnOsCKSVAaTgUjQTK5//so4C7Ps8Chmd7FUG\nyCW5oa626awnc6g1+uzGbufgwlnC668VRhkdBjAI71FS6+ARW9UYbfRueaSg\nywWqv6SqMm1zmAiXisC6sUEakDB3A9rxBiOnP8VXv8MooUIMKu9x5ykTUUL6\nBWKB2s693r6USWL11cYtJqvHpks7wJY6OrBit1JrrFUAaXkzUsR40RKvIxoW\nsVWxO/5FD+muzX/S4TLVtBJhzIsU0nQq9uLtASNyrdHF0G41EhEA43zyrhQg\n+zvC7nvZYXoJPdeN3moLJpOSJzXeQa3YeYTYFsKTzTZNmvonBM40+ftd7/3n\nWTY8Jgzh7PoxQUY1vcm746OQFAaU67TRnB2fkHIJiwoEeEFlePPZJr7b+qbP\ndnp2RvGFTTXBGWIdJ5JEULf2GtoctC+YlhFFuT8MtlABWyAnLS4GqEFVBFEV\nyTZm4+WNscDD2kabmfiIRLgSo2OA8ob/MSjwfyAIlMXEFPtktk9D5di4Zl+A\nsY8V\r\n=6XSE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICk1V0mq/xhyN1EXopPe44lvoPMrimS8am3y70EFAYH6AiEAsHkiLoHfJ+vzYwaTUzloDtRxDVdvejS46oRpXPoDZK0="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-alpha.9_1619481038638_0.4795786678013061"},"_hasShrinkwrap":false},"0.22.0-20210426235624":{"name":"@accordproject/cicero-server","version":"0.22.0-20210426235624","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210426235624","@accordproject/cicero-engine":"0.22.0-20210426235624","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210426235624","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-2pMWRp7aR6FY/rut7uOZMfhFRKkG2DO9hJnGdsFre3PTWC1/Vxv55N6XArRcMTzQgvFrsT9XUwpb8EHLpAPojA==","shasum":"702e777c4797b9b0e0bad5ab0548b57b8f29e5c1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210426235624.tgz","fileCount":49,"unpackedSize":645147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgh1M5CRA9TVsSAnZWagAAho4QAKON0OAF6lSuvEI3eRoC\nWIEltLkTd8QoVPvEWiO4mqQ9C3qEuv5AZPZV/K1IYrqd09NF1ge59FYqfbK6\nKGl+/oaViSVQTUhJyZQndHJ8BYDttwy+VAns3sRDptshJWAJdizTr+fmwKqc\nLRX/r8vlnrXzWb83RWjTfI6BkEFpxKyW9C+yv6UQPTw2CyH2bufaDQwMWd5h\nGrESX/EWpGF0mgLftt5M9H+QB389TXccpkt5y9SwVSmiN19cXI+iBaisJ5bZ\nH/BqEzAoj0jSezP/aqyk55Zt0z9BhIFkTRqDsdo5Q0tV/5eP0fosnWankcIt\nNJkgHVigFufHYy7w4rtcj1OHVRO01WOK39+hYINkfNrHU1lRutpWcu8NvoJA\nTsvIhBCz9r8qV/4ElmcZohbzATVvSHtVtOTw5ZUmOJTd3tBbjyPzvJujk/9g\npVIwALOeaQOlXzAM5B3InRjf4Jl5UzCNyw8ZuNCul95irQFxz+wQa1rf2yZo\nRiyS63Td6j8uCeEhrdAXfXWGCQIDpdk0akp3AP5uJ0VO9motdm1+doieDrlK\nvfWGPb3HT+T8n7NLwqZ+AzyPm6LiYvmBmyg3bfd1KcTXYhfDbKJDeF5nhqpH\nf987rBzASXqVxC8bhPa5EVIJJ9YLo5qx4o1R3acy2TgyZSBIdz2bMqqje2CO\nDGBJ\r\n=XKTc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyFEUQdGoKY96gXey14cPBIPtwGILKgQJ7gK3+xG8NvwIhAIVa9v2y1+zvo3C/EcbkP/E4SzHVlkMK7fhyz/k40WRu"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210426235624_1619481400965_0.8401466981572951"},"_hasShrinkwrap":false},"0.22.0-20210427011308":{"name":"@accordproject/cicero-server","version":"0.22.0-20210427011308","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210427011308","@accordproject/cicero-engine":"0.22.0-20210427011308","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210427011308","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-ZUxP1IW4Jm3kBLVFp60JiM05vAVaTcwDIQrWDs80Gy7NqlX00AukOl9Rq4LNw7opLkb8pHjhd6Ji3D8H0p/prg==","shasum":"6cd04132b670261a6982fbcca3d8da0040d4e8e7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210427011308.tgz","fileCount":49,"unpackedSize":645147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgh2U1CRA9TVsSAnZWagAAlaIQAIhc32MSBWqqZ7LhUWXP\n32LTZVe1BjQBuwFDbgMJENKZgT+Axv1dmJWD56xbagRB0zW3rb3U9him6KHB\nTo7qDJI0H642LwZ6qRC8+pZYFldcvo4+Ozf8YOKQfEtes4oVyUwhglYa4qzi\ntAT0SVdZiUBDj86bdlMnQ06P7ShZQ41LQJKpRpEcIVSyC08xCjajnrrYWXZb\nY20A/34pbS9l3TQ4Fz1TL/ODf6qssgVQyZlYf7Jxbte9a7AD6c+ujM0RbCQF\nN8Ik4zxqF8NdnlsxLMIOpce40FE2nnOl9KuBskRIKRDBj8hH7D0D4QFDcnY9\nYUMqOtoL+F8RmxXHr02SHvFcmZ9MNcrPPpT3T6rJEpXTjAUanELlePVcLg1O\niEjLlgeiA9M6plk2KV77/pTPoSbQ50aBHBkS59l3xNR370V7I5wjGrZFPrGD\n1XsoSfKyhTNFSnTvKY7LNhqcmaIC81Gb47ebr+C49Cphy2yj1QBgh7vIh3X6\nwJINop07K2HuJXF8JCLmZbrCZatJe44QAZYBOauZnQhl9ef3O7cVWTg056PZ\neFZs5e9TLGuajXEPI/KYf3NCZ7kr3M6er7lgaMc6ekzBHYArco49T80UbcpW\nGaxSYXIpwARfU5303n7Hf4xrmTfjBLphreKv2uO52oidvMt0iSnYjnptDQag\neumR\r\n=r18c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCX9hoVnk3oek2p35v46VSSnXDfB1E6mot+knNfdDjj8QIgG7aZ/KPkpSJ0IJc1ujmj1o97N42TcOQ9ivqlyqIZFgs="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210427011308_1619486005207_0.2553304697351113"},"_hasShrinkwrap":false},"0.22.0":{"name":"@accordproject/cicero-server","version":"0.22.0","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0","@accordproject/cicero-engine":"0.22.0","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.22.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-MrYnmSIKMF7BYLV1mxEIP3Hn+C9gna5SqNoII5fw9GxvMyc15NDvjURw3XvJccgvsG1yj/AAN+oy7JmA71gU2g==","shasum":"370e09e48ab3aab481a53cf7b6493a6e30ffd05f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0.tgz","fileCount":50,"unpackedSize":645345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiDvxCRA9TVsSAnZWagAA23oP/02IWg0HrtOjIYzyUU/b\n0DxNS4gGBUJfv8u70Up1TwBS5je/VPaBPwjhenZcnjkSY6kTR1mNSmAwYrXo\ne7Jf2JyoGnXfbQAV7LZJaokd6k9GDQZcuDNqYcqtbBEfc22cI16pYhjs/d8a\nXKxGFjxUq8pFnA0gEuzCcLXkfuUUqbFOzeV1psebEdJX8kc5NpntwL+LH3xq\naX3K2CG1/fDOi/izOylMkoCgGlPu6KTsSwFtQSu3MwzYcsdVEHzhzlnJPgpm\nzoRWmLTqGCj1n/TndRkzkWAD7p/xri1JILe+EZXhHG3AXYHy+o3qBEMJbIqs\ngMTyeyEqz8GjLDB0/aOpUxL2b08FZw0HMw4xYvqU7CiEKqGh5syeMUJYkhzD\nm3ZjIawGT7+XxWWI4d7qIdKQ5Mk7WCKLY25lkQbJQR8QxnWFeRFX7G6gZ8X3\nI2HADmoglGwJpX5QkRrYjIOdRrWuR3fPPdm67Cwv59+SXR78akpwlXqRNeLi\npzZUOUrvXa74DLUYql7hWxhaOhM/cvhEXCvzgQTdHZibaVrsvAYizewIq3Hi\nTUdKmPyDWjKlkg7RwZmpCNNNaGU+t2uHu44qncAhyO7yvMAC3W/ILJKlNmCU\nXZ5gKFTvBqgvCQDYTF7OvEaPsU4WjDQFtVwMVOtA5mPjhK6nMkzC+mreXLTq\nOBQC\r\n=hU2G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHWjentrhNO0Z3nCW2GY77grI1M6g54WtTvqBlFgF07PAiEAtYHySsZVYdB6DdrWMvHESLJo+KKoi551oZOwIsqf3KU="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0_1619540976897_0.7029375256086985"},"_hasShrinkwrap":false},"0.22.0-20210427163410":{"name":"@accordproject/cicero-server","version":"0.22.0-20210427163410","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210427163410","@accordproject/cicero-engine":"0.22.0-20210427163410","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210427163410","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-rXZj0lZvpbPRzH6rjpsyEipJHQJ3Zj/cjOfHCz2Y/M3GBN+T/kO9Gr9ajxZScaYwzSPqKX/VjqC4NqR9dyieIw==","shasum":"4fe0e11d5401dc3798459a7b7eb9b9f78f3b0e2b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210427163410.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiD0TCRA9TVsSAnZWagAA1jcQAJFfu2zDUN+E6RjRzGNT\nocipXw4oF6kLsTwlOGLhWYwQMkP93R13U7A8aUSu6jo99vzdwinrf+R5r33+\nC/x+aHhM34KttTXubIVa1K53QTa/rp1YScYU+qnKY/1CH9U4vIcA0LCsu8tM\nS3CASFeIqI6F4Xi4Yx+8nIwrmRXo/LLW0uu3yrutJoCF0lwkB9ZtaxXE1VaA\nOj94vtfFe1ZH7cLIAikRHylC74TUaFKNmEVkNH2jxL0uIbYxUGxx+y6xH+Qm\n8g4CbAqsNJ3QAb1kS5S/uqK+a8ckCYltEktFQVoR8X+T42iC0zt60PmXcBNc\nV11FItRMEmU0eK3LWQII15S5bwz4XfXLxTlUTkkgLvz75PHd4gwcRuzaWI09\n3CHUChnPOrkCGhtKjHz5aaM9jXrRvIMODQI/H2CISN/A0PtHmOpLypgIDfxJ\nbT8/RWbGWqkOi16p3bKbzihNOalnXuUnV1i4LoivdrsidZw/1ztvEMIbzmth\n0i3bZWuW7FsTH8CLZQHdKnU5xR3dx3svXjTcBO1sWJhx23XYUwubTWnSVnXo\nOJYwjmyd58WMKPUjAeo3ttnI095Lla5oJCmIkC+HESWXfrX7GHdoyLkkf1Iy\nYU3+EjB2GFl/iNOBi9VzjQFMFUIrPMTBVUfNwjf8nb55SoZOIvnpRV+zldQh\nNkUz\r\n=D4sG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFyeHaQtgczoPHBXVzKyVjt4FKoBH6Wh6wpEojafFKzQIgFvOnU2TH/DtumcodvuxU0ePEQ3fimI/onJfgx3Kjv54="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210427163410_1619541267351_0.0031162128448234405"},"_hasShrinkwrap":false},"0.22.0-20210427163745":{"name":"@accordproject/cicero-server","version":"0.22.0-20210427163745","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.0-20210427163745","@accordproject/cicero-engine":"0.22.0-20210427163745","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.0-20210427163745","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-l/D6hS2NPFsUTQkez06t/ds+ZXjr4mqvOJZ1lScj8SRHhzZ3foZyF/njxW4h5NztTxZzwJRs3qAk0IVbHD0Nmg==","shasum":"bfe9bf5c4cbad574dd04d1f9229222d46b1cef88","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.0-20210427163745.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiD3qCRA9TVsSAnZWagAAxrkP/jf5emVCASDsq6W/DJBN\nvT+nA7CCfqdlWyBBeUK0YTxstFhlxIAJgjjRVwYeGVSVyUgvt2eE+OG8JdtO\n6Xo+jQthjbJQh+45LxmTHUKQam1wltSSXBX/J0hPXrbXpgPZMv9O5poX0rGO\n4eHECrQBRMV+78x+CQBvjPSD7maXmXlkreTHXrVZUsbxtNSdTmLCenkfLqvq\nZiLI1Z2Ga/O41lOkFQtTy7eTbXjyrpPz5eydQG/X90fPK3rr4S39LpR10Nn3\nDBqlctV77VajrIlC3uX/KbUdXYvmuknny1FyBNVRb3hT/txB2Ph5SXihYn70\nwiNuM1MxqVyTf7CHOeobEc4phi6RQwGtyaWh2kOB06cx3UFftwp5HIziYvDE\nUG8LShxwV2Y85Hq8AAAQlSRKxziYMRnUWxbUIZAmiuo+e2xYPvNM+xCV521R\n1RR2MM+Lx13UDlVN1UJUfmHoaxwKRB8v1bfMntWVUjL8/MvgeWGfFnlR0mBz\nfCbgyts3aS41Th6NOZsF9oo288JgwrLjCgeE2IjLArR+mQjZMuN1i4c3FJd6\np31qraJXmwcAluGW73nHNepMFEMFlvcwdQi4DGezRFlRw6u7xF1AOfTR6sts\n6qcBa0lpo0u7Edsh7/04j2Suz05EmjS+h8/hVhrCP5c7PyqvGw1KmnNU6p+S\nzta6\r\n=gQOA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnxDJnLDKEWVyl6DSMtoIcvv8j8/93WeRuNVNe9UdEagIhAItT/fZRHIjVuiO6wrXS4CrsI5OsaCDg/ugVQoG/Orth"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.0-20210427163745_1619541481977_0.008636474962868457"},"_hasShrinkwrap":false},"0.22.1-20210427172257":{"name":"@accordproject/cicero-server","version":"0.22.1-20210427172257","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.1-20210427172257","@accordproject/cicero-engine":"0.22.1-20210427172257","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.1-20210427172257","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-naE/lG3mm4XLmi9JppA7Hs1bBPAHdjFDjarY9fv+z5/9WB24srZuBzGwJ4s08BDJUQTNnGlUwn3GXWNEP+LTww==","shasum":"dc02803ffecd7c5c21de5811315a5fc060c5573e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.1-20210427172257.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiEiCCRA9TVsSAnZWagAA3vwP/Avgx7RfbYWnNwGxtbqO\ntkehq0FPdwFtT4YEvVA0BssF6QiYx5YQ3KSg3qDJVYAt4vC8jlB6VIO5MLNt\nBJcpiV00kRFDd8HSNRDpIKQZI47Z+FNoiDFINheeaLk57InMdfbI2R3j/TkP\nk3OGuSe9GiluLdUoGz04qtcue8fHFlFuRzOeEYnM6DlUytMWMLb6neW6kG+L\nM+T/aCMa9TmN8wYUmAVxIMw5LmZyVLFVMRrdvYy/VppspZI8VyEskqvavAyy\nKGMiTeQHKnWMStbIUmOqBp2Q9ldo110Eb7D3j46BAATwEWDaESJK306jMptJ\nKIf4fsBJBXheG/2gZRYi3p65smyhTOG5NtfSz2idKGJLCpbSdnrHFwLzKnP6\nORkb2AcKkIbWI3WQB0AB71FIf2FyH+jvMBsOgLxOAd58b10Pe2U9q8lyEYKU\nMmkGQGzYYJqBPxavs0MDF+7UWvSlt8nF8oh7g7/tv//nF6sh/EEahid9BSjr\ntK7bwJLAsYhjk/GlwNCTmZPrWsRE3kqHfuXrmGG390Ooih6oLCHj1DrpQZvi\nrxlfdEhL1oe8yBrJtCytUvqcB6GgHVjVlE9a7wDO9GQmpqJ4hVcN/Z5omDib\nNfhkzc6rzNdwFIz4sBDZk2LFYA1xMtxOOAfFidc8GM7qztk/wSj7Dcidu8hQ\npumR\r\n=9fi1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBDEcO5JCa+9cvORi5dy/D/OZdW5aiKB8EdUIoEbK2BdAiA2cos0w1uyFUOaqmwBZBdzX7kRoFCnO1j2/VWq09VSrA=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.1-20210427172257_1619544194536_0.4689440318951119"},"_hasShrinkwrap":false},"0.22.1-20210427173949":{"name":"@accordproject/cicero-server","version":"0.22.1-20210427173949","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.1-20210427173949","@accordproject/cicero-engine":"0.22.1-20210427173949","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.1-20210427173949","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-+N6H97BLWGyu3zxpHUJo8G0GwfS+Ela7rLogJWESJJv4btmn0X+S77pLU+yQGZAfruGWdr790tq1wcgWqmqTaA==","shasum":"eb57b0705722db47d4bd8c1bf1cd5b4224d14617","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.1-20210427173949.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiEx0CRA9TVsSAnZWagAAWDAQAIqjQENFKK5WYDMGMCco\nFwhqkINm4HwUE+13Fm2NESK7Cf01OhWAsJuKZJ0d3Yi1sbEVg3lbXAXxcsNj\nctmeI3H1TgjcDUe3S3nPFQ2Jtny2Fdpyve4HBpzHprx3lHQefUYqf6sgMhpO\nFyQ5msMBtZaTVPyqDZaUqt/fISl2TI9Y081lNrA0MfBt+nI9nabiohjRIWyr\ndKyUeUAWazsIZz3oY6ELAISOoixEpCuFE298IXh+fSdFghE8JPy1mAvZKZml\nynuG1iws8cIbyOrVs5cope5fKP1mZCg7+6Nm2nAXjCw4xr6HpLJ5+DcH+KdY\nC2KYrQPvYajRhzWp3HJXFUutepR68/dJsWwFlLWXrZB2vGr6Cm8eOv48cTnW\njUHJbbs5Z/jZY6iArC1mJijRshYrwNzstyyIqhoJDqDpGNS6QLj4SCpeHmnu\npf1uK9G2HTLGm8m8pqnRleI3Wla87ScADVy2QWqHOmG0FwDRtk/Zjue22RQb\n20FP+U6LllzHCGjL/gywK16t1E9P50KGIpfoTYW1jFFTxAk/5nLR0dTlTuqU\ncWm2flHP/rZUH3LWJVYEpbrCj4NpwYLuhrd3HGi1JUA4bjjSJUD5km/uzCX9\npGG9lvsVOrToxIdMcMA5Q8bNHYvsNO7tJXMe2N50SiPL70v+cUYrlgL3lfJl\ngyR8\r\n=g7Qm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJFPpatfci9BiYiLrsZd7rSv/x75RoMtN4BFedvnTMSAIgd3Ei2GPGA/IYaW/LyriCyNn8Ag3xMIOPi+JuKwEZeME="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.1-20210427173949_1619545204058_0.7324003514597872"},"_hasShrinkwrap":false},"0.22.1-20210427180142":{"name":"@accordproject/cicero-server","version":"0.22.1-20210427180142","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.1-20210427180142","@accordproject/cicero-engine":"0.22.1-20210427180142","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.1-20210427180142","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-mayCmiwR3a5jqxdjFEkSwzJsg/99DdWgevhILPG3sfGWA6C5olRzIAEVDA+cCJI4pwUJcyxlS01ZgO2aNih29A==","shasum":"82f2e7558117ffe7eea0b8cb553dc7b532a07601","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.1-20210427180142.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiFGXCRA9TVsSAnZWagAASMkP/iIEQTyufe5jFRLxwjEO\noWVOYLO6zaNqFW6dBwTkOO9IL8/F8FBx1Hp39Wdh1eFAuC0foXiPVHSzZqUI\nbVEXO5T0TZd8MzlJws4RrPrIdcI4zYLkYjhHlg2ILgDFqO8crFoaZXu8rp0Z\nsFX29uZ33NiuyGA2G6E4vOYHJ7KnFdlkQZSl1XP/oYQeh/griqfSDSBnELfa\nBtbsfTwRPA61h8Nhbt3uR/fpM/9d/TkmvPYmaxk0HmCxg3eTOvESS6VRUdxf\nFzR3wcCLSpgWFLcpNqaxf6p96f0imRIE7F1wM8fXRxWheBJjE1ajw/Khz/ye\noI5so/9IeCtyoNg2dlE/Fn2drJMGN80Xy5R1YJiWIuh4Hty7/ch4hhMAAdQc\npCUP4UjwRQXOjVi8hk40NwKtL3E8xDCfTi2sIlXTFXVraH+WOyNp/sQg69ZM\n4VXawCrdUxSJGxfE637MJUC3oTteDmeztKS9WmwWeFNFX8DFJQp1ikufZ/6f\n7QkJgiZkT+vXlOmIxKfrxGi2fn6ljHl4mOpU5l6fYXZKpMmN2LvyYBWVWNZb\nBw1oL8ThLCO4Ghm2dajZTYXgnRey5CcXvJJ6yXRVwusDH2sQUFi/ISxy0k73\nvdTo7rw5OYJcQ14AfQ8uH+Fuf7AyS2R0jk6AV0qzyWVyKLGB3XXnvleCUKBF\nSzkM\r\n=H0Lu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDL5tAmRM7rBJVp5yvqqAwo+sNXUFxttV5JQ4dw6fE8gQIgd0P1+gKBmlG4D29SRv0F77G7t/0kjdInRn3cNcorVFw="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.1-20210427180142_1619546518859_0.9678307273578797"},"_hasShrinkwrap":false},"0.22.1-20210527142656":{"name":"@accordproject/cicero-server","version":"0.22.1-20210527142656","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.1-20210527142656","@accordproject/cicero-engine":"0.22.1-20210527142656","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.1-20210527142656","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-9O6SL93PxfAxUMpKNH1b96P0LqJ3qoEPoNTvOeDegbPm5ri4RCcA3seB3MWPjv9enPMsunBnV4syhuVe6CeedA==","shasum":"94a84a1223566c78e32c480ee9bd59cac7fc10b8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.1-20210527142656.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr6w/CRA9TVsSAnZWagAAufgP/29EcKGJu7uVH0QuY5yy\nT5QTjicrgJldSphD8PbjFgtH+3yTyzqy0nRkeL9i260g4K3Eo4wNtfpVx+Yl\n59jWZqyocGh9mEooAXeQAkBQKGejDMucCkXZTXT0w60uPtOx6IeuDb4BTCa8\nAIoL47Ba05oydzLL8UnnMyauHBrr8QQDAu1B9XDsEqh39NsX17OQHUAivWiz\nyJw9DY/kIz0Hafxt+eTPuUdcsWXDj9QY4t4X3x8FcOwITbjap0hshEXlo0YI\nr8Dm3lEnKeS/50wMSzaU3QeWVvX6DZ2mq3EZPqDCkoD+2uZR5dgh+BCJgBEz\n4Bivn7N0pfwsvcP5IZ3f2K8HD9PDteISerEI5zw3dKynoMMLssehwuDtrKf5\nBPLjMO8BW6gRwMY9Vx3RdgWIV7K500cU2cSH758ymaWsOyr8ZCxo2s55gQqq\nTz5cHRS6lOmfy6pQ1i7BWT3feG3z0u0T1Zc+jplGUnQpN8DNBOMax7Sei7fL\nO9W5fGJFnWumiIjZv9ulkfbN/X0AC4g48kEUCBQ73Z1D6yAOHFb1GsZh4pTV\nU31Pf9AUAEr5L8wwelkTZdKfP9tNNqxzEu89zWukyci0tmFKbftXvy8TfLbt\nPcYM3lddL335F222YMfQejsQgAv73/7i7QPVHGaXxRVfkdz2paEQYgPDMeLl\n4Kts\r\n=MVb3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkAxM8fS2Jadt7pujdp4wYbnvrjrUae3grUvqBLcNHHwIhAIC8TUU+M2BWriTeS4Ox0F9neVMjq4oxzIkkqx4CPbYf"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.1-20210527142656_1622125631081_0.813275111364389"},"_hasShrinkwrap":false},"0.22.1-20210527144730":{"name":"@accordproject/cicero-server","version":"0.22.1-20210527144730","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.1-20210527144730","@accordproject/cicero-engine":"0.22.1-20210527144730","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.1-20210527144730","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-V9vVA7LIxAvTSS0wisdIDImBCEX9/K7JzNqJIzxubWdLzfUbpZWeZyLr+9ySRgRIN/wsIUU0tfeoq8EjOluW5w==","shasum":"21a63af80015099bb13585fb56c9d2443e0dcc72","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.1-20210527144730.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr7EXCRA9TVsSAnZWagAAp0gQAJw+Mq8+gNty7icp8dKM\n5uwMHPKfcnwkfq+43aBhNC/12nOpEdaS8UNBZJrzKkwuIncpDLmwBPRyWGea\nddmmQhZzhvdmso/NFYlj+kWMAJKXj/jqhLbo1waHjxatretpWE8rYpgXqNiB\nc5/hEavfkbmPKKoO3nd11TLuHP3cYlfZlAGVpfCDxT7pUb9DZWWXbfQudI+s\nhDGUdw/83+Y/2S0ynKgZ5WpoPRKDBaCOeMGV39vaHtD53JcOoPNiqL+TNbWO\npuqq7AfpEUoVxAcHDBhZnSubMvI48VG8tevMDuV3hiuGVpbjGRd+pp6W0rDy\nTGXnoqG1Lw2FxR/vZgVShZzUWp/O8mul2c/V5pRr93vKDamHgXQIYecQoLSF\nhp9yJpA7csAT1O+VEzjFqW9ARYu/bJH+YEuRwjF3CVCiOpJaEg4NupMHyRrC\nu1ewl/NfjTrV2YHvbdxIv2rMbRtkNh+QtiERcghsxdMLx2OGkJeGNyqoUaR1\nen8fT8eDlp+Tf+yg0XkWJ2+n6ynFLuGimLMVoziD9LtdmRUC2THK6sGU1AvW\nnc6K5XV4pO3coWZ7a4AjZFyvKem0rYNgZCLsuhUw/SoB/I0Z+JKtRV7HoFof\nNyByb8i36qHLiU9cb6XQeBgk16uj3WJIbgRlVCyHYSmA2837Z6o0jHMLQdtT\nBgTB\r\n=6WaU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQNqw+DHNW52cGyIadX0NKFx39wldDbeFGPHo89nMQhAiBJbjwTxR2iGovUQCChcvhh56lRVIUO3K+cQvUfGMLV/Q=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.1-20210527144730_1622126870931_0.522417842158047"},"_hasShrinkwrap":false},"0.22.1-20210527150216":{"name":"@accordproject/cicero-server","version":"0.22.1-20210527150216","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.1-20210527150216","@accordproject/cicero-engine":"0.22.1-20210527150216","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.1-20210527150216","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-0WRCxxh6H2sVoAZ/+6YYlitq7Unkj2eudr/o1TGwZOUBW4LLIy1/VpXdyqHVBM1YNL/fbJ53VDrTzD/gC+63Kw==","shasum":"db9c3652151c0672b2d8dc416da527c5cbe3cedc","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.1-20210527150216.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr7SICRA9TVsSAnZWagAAfscP/A48Etp/W/FdweKiFNfZ\nryx5LxTztSb+B8wO/ujHuJgTZrDPu6mj5EqjAZaYYUA/4UjcIUj5949wv5AE\n1twS7BGuKw+PcMC7pHmcIvtLGYHr9lIs00M/Q+DFLufz2/V8LNxEpT9gdqal\nMmHcUucpL5jof6pqbXs1r93QwdTzzv/J96ZywOuAom7ONwWBxaOEexOtl3MR\ndaNypLO8GEC/SIFaMvT+z77X3BEFTJ0sN7iUzyBhp7qQOZWyevYrbE+vAq5V\nHHHFElXsUxIOI/zah2w8xYb+9W+ofTUKY91GvcQrVRML+Ih7lwkUXN1yBIzU\nSrQ+uIyHpFfTGH2jWGl4z262024TcL6767fC50T2rnZE1WGdxuafKJ6pA3Ik\nJPOG+1v+RLva/xX+jEL48BcJGMabMm5JSenpgguHBA7nUWF8GAx8FfIpkq7X\njGGcqQMiA22u2QuTbcOpYQ737vSZfZXZe+x/YQARS9O6zBBQpBMvH25AZ8eh\nx5wIPJI9UKyIoxyQsAonIay2C3brtrjFotS7RJkOrTOEgOQdcZBSq7GGrLVT\ne+qCLhWJPeUv7ROf7j5HjbEbOU9FKz0lJZsT1emCEre8F5+sYzGUTELb4wic\n0mXg7Xd4oPbaUP6pieYaYju1zekWKGCKRxQ/Ni6XxulZVcARrnapNBX3pzfy\n5W/+\r\n=kr1n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC83O64plHatydOJgzLKT4QqOvaQGLJlWmyFf4E/ubUagIgV80pKEGUbxx6j29C4y70STiuprUjXmB3zl/vUlAfelo="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.1-20210527150216_1622127751947_0.08403303709939514"},"_hasShrinkwrap":false},"0.22.1":{"name":"@accordproject/cicero-server","version":"0.22.1","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.1","@accordproject/cicero-engine":"0.22.1","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.22.1","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-2yrJXOGDCz4U7WDmirqjGaO2DspKg0Iu+foB8RDdyhMlGhBKKXE+QFH5L2KYYAO825tAJoS5no1b8I/yOakvug==","shasum":"7c63067055ea39a911611a8174ced88d53902682","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.1.tgz","fileCount":50,"unpackedSize":645345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr7W0CRA9TVsSAnZWagAAQ8YP/2TRY2VtxPGOI419oppe\nhbmXxHPRAtXz3v8U22AQ/FZDxmLcFDD5mgjn/WdjVes2t7AJQfOTyxfdgL3V\nQgUX4v9e3ddAs6w6gRU+ONBRuH7kGX5koLRNlu7J+h4hL7vniidrekixcCyG\nikndvyuT1Qqgh/cOu6TVVmnicC5uZVNc9Z3dkChO6tDXRrubHqt8+gguElLo\n8ab3I5i3Cpp97t1w9Qsc5JuyyzPERkS1T9N84Xzi5UtyI92ijbIb77GdWM/1\nPdZffcw8VULyzDAu+C+2LEkpvHe/T+wSe4As7aakZyNA/azEQ9xlxuCxrQDK\nnWOnv838os3GEQllORFENeNGcZ2F9S78X0kuutPtUC9V3TSlxGttgIGCpo+b\n13i4x2DrMKq137AGv6DR44h0j3QP4Rf3RGqvzZTBuVcrZMfR6H3jPSfseeb+\n1sA3d7j9V1mFjNauwpgnWhT4g4O5thEPoViYgqZ5D+FoaDL4nhtupSFpB9Ap\n3GbHKoDOtEY0VsW4i/nbcUdWLYSs8LJCXqBTW7xFgaVzlj6S4ah3lAo1JLem\nIwXe0bFwrOXTw+DG3AUol8iEcju4xDEdTXrzHbnt3viqJpAeN6/ZqnFswc4C\n7neu5PeQO9PeMp8ZZ8+JLUVYqmh/8tX9RBXp3rNboyN15oh4qE6/soR2FBNS\nCxwg\r\n=36sc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAUkDyr7jfdP4ZQpHYl0FRgsRK8nl8ooXjZxzkZy7YJ6AiByx1jpb3bTt221a4+iCsUeuGttBXdqdrN2haILXpPOLQ=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.1_1622128052439_0.2546568328132972"},"_hasShrinkwrap":false},"0.22.1-20210527151559":{"name":"@accordproject/cicero-server","version":"0.22.1-20210527151559","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.1-20210527151559","@accordproject/cicero-engine":"0.22.1-20210527151559","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.1-20210527151559","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-MQgcC7bWYriUKujTprRHs3lr6p5MuWJMyx0kMhyQBM6QKXUg3tC511NUJqgfoCZJ96GGU/A3B8dK75frRKRmMA==","shasum":"707e42170347b29caa6669e31724d115a277d427","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.1-20210527151559.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr7e/CRA9TVsSAnZWagAAhSMP/0a9h+ra7AqfAF542QfR\nlpdH7ReUaLEn4ApIWpqIm57RxejFIUWmMSY41B9OW1wiqnTZ+tC8qy1yJ5yY\nz9qOIrQm6XukgGYg2h2FTWZ61h7OgzONi93YUc/5jJIrgxedRwz0jdpBSCZp\nbQkJkNyqNpTDVF3PRlEKr3EtujFojv8HX8An7LvVMqZNA2l255J4xl2zHtXr\nPUXVfeREadOHtzqJb6r6Z79Q9TlZJdZTmIPk6+KLvyVYvJAVWIbLTYEpBSYO\nX6ezFr6NgFHWDujlUaikpLm0sHs7eU/yIZGS0Ytb/eO4u9NhlWhqu5GAAJ2V\nR53vn3G08Nc3WW784b2tOZ2so6VN1EkjQM50jd1f+7K8DZbTLnNLVrFcffq1\n+axlG9bwaAOZZ077rA2+oZQqVYU4uusWanuQn/PWD2v05B9L7Fg2rg41hNNh\nmkEIm6uj2B02W5s+ajdh97sTIXzcE+5wgRhWEn4lBXlMmRZ0VSQT1yvnsQCM\n/5iqEZG0/49EJlHDxQoq7ATcVv7bDkY1oFltuX7PzhGvpBnJCU9DL/osaKlr\nX/S6SW0AtmKkpc3jMKED3GrddhsbpyTUXafKFo9Cyn4+yXIjdhPdufqBJ9Rv\n6mERPftqEzhz7LEyLVutnAh12nQ4bvn9pUSIaunkbQaB9s00Iax4W7NFwb8W\npf6x\r\n=jvIM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiZi8gli8TD6mJM9kjbZtFGXeYezzZFUEp4GIi8isXUQIhAIJ9HOvFa42t3HJ+vJxw+jqq9+CHvx+QUlxVpwWi2TwI"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.1-20210527151559_1622128575370_0.8860581820363207"},"_hasShrinkwrap":false},"0.22.2-20210527152045":{"name":"@accordproject/cicero-server","version":"0.22.2-20210527152045","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210527152045","@accordproject/cicero-engine":"0.22.2-20210527152045","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210527152045","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-wyomjyejxKgll+Kkq1iqryuCR8ZcRO9wh1NJ/Ugb4Um5FjPliZwWZoVJUIpA5vyao1Hx01oEhRyfmWxFOb+BSQ==","shasum":"3dd80505d25fb333ed704037175b6d3213feb3ae","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210527152045.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr7jbCRA9TVsSAnZWagAADKwP/2r9F1lTBiBQVTra2M+4\nZbcDGJ/ftnyCQUXLjrpCFEzL5/cBuxVGUrbSq8w7P0Jl1o470jN/FyG0s0UT\nrBwMqW3s7reaxCqwzRQacvW6/TRf/fBKUxIBN6QL78WgDKZBzHpm600OSzSy\nR0lu87vJaVOGKz0k15L/SZYKYiv3VLEI1WRSLZKz+P4JI1jknh87uEfyxYSa\nNyumO851vceq6MCMp8XKRm0V4wySgPCGB+uMcXvZ0y8FwmktS4FkHZKeevic\nr2Yhl2eVqwTfSsQ8qAcdZ4D5Y2jAGd7oDxVBHyOgKdUxxGpls5qe5wzuA+4L\nYYobBBJySjVW9dzQTKhnd4APYIyJwqqBCsRMosIZPsIOl1T2ISRk2QLashrL\nlVAp+DCC5DNu5d+L/H0OlZgWnzuBBswAnK05CosLMzrwN3kdFYQNmkMBguMz\nuem3WHM3avODIk3RhDTg5/FL5cnswjFNmQ0m43GeVyYjJQ6bzUCXzZgd8wqA\nzPrR5rzV5fNfe0AXlBbB3nKS8brn4/yq6/dNGqORfXiTsEcEpOIbmWJsWwq6\nDhWcLLFprmI8L/rM8kffQdVUdKUsINb+pG4wWxNAzM8uWMGv2jcILbOuys/F\nYIttZqsy/mOWmAAG/1C7lPJ7Bs0K0ydXXZGDxCbCvyln6+bGGB6l4UK6JLk+\nsD2O\r\n=SZ/y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3t4C0wrOOKGawQY6KpK0pw1kBfX2CqQoPbI8MR/GlJAIgWvJHBEhpyrk1+4JjX10Ul3RIBw5VAZIyZvxWpKMPVcs="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210527152045_1622128859161_0.7572352712532955"},"_hasShrinkwrap":false},"0.22.2-20210604005624":{"name":"@accordproject/cicero-server","version":"0.22.2-20210604005624","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210604005624","@accordproject/cicero-engine":"0.22.2-20210604005624","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210604005624","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-0RzCY9MZvxA4Nx10pvbCyOzIeWPTTRzftC5WRip8UWkkyQiwxz2j1crvRwlOqptHrW7PG+VILKlaB0Y7HmBx/A==","shasum":"b7bb3330c54f699f8372c32eba041ba487fbca88","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210604005624.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJguXpICRA9TVsSAnZWagAAe7MP/1/PjnSK2Oq0BrSnyGW4\n2dQ7EO6ifevRgIy5gsZQ2A8J79zvNL5W5nLBP9K9rhPb7upoOZIjkcgUeBw1\n7WxxWZ/EbMlbYG9jB8GenZyY86IIUBESp35i01DoeKmeCPP1Y7gj92zzqHr7\n29EJkwFnWp7Ccz8uibDDEt2skV1J3EYMu0AhyPN+nqcwF1hRwCoX1NRivPl2\n7DPdCuAkNa6rRU85qRl+CqzN1DaxAOVEbvBvmpsLOw19+FVFvu/hn57+tAyr\nxqIQrEZUqzASAYQr+9+rW9a1LKRDwd/YX0Qs0tJ44GueU1NCxFjr6mF9VyHF\n83ujDWlzuCqVhE+xoOQzntql94mBMmUoXr9C5WSAC5Ir1YMFKDzQ/6BW0EXm\nP3vbnHxwgeF49QQsJ+l6cXZiWjUqP2/abIBy3RErXJ1CuLFny5jlbE/+UEVx\nHwUcipD8WBGN7RruMK3Kl1gEoWG2OqHdDwqKKfc0ab2OYfN6hJer9tTyVpJz\nEskW4NvdDZWBhq71Bgc72yoNJ6ynxM7TgFaLqutINyuGwTcIOY9OKdhrR7L8\nUyVEz5HDpNl7tibmtXRqGTFm4+GYdDAIWezBl6cpiJ3aw54/bTMpXIdzebu/\n86vSrUpZd5qlRlBOPwcJeylhEPT/ets/63+3pca+DzxD+yMARaJLXQFqkc2b\noITh\r\n=v5pE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyJuFLf6joIngSs0Ez1pmA364Kjd1xPt6efEybVi9TSAIhALoyndB0qaLMk9gzrlkanbm4PrQzSDI4Q/OOybiaJbP+"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210604005624_1622768200772_0.7362145165321834"},"_hasShrinkwrap":false},"0.22.2-20210615154418":{"name":"@accordproject/cicero-server","version":"0.22.2-20210615154418","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210615154418","@accordproject/cicero-engine":"0.22.2-20210615154418","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210615154418","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-tNxjcSar+y7fncelx3YlZ8KUW+3RnIrBF/ByfvpZIocAv0xG0BlcJ6wA39Kzg5an9ea9kAeQM3xORVk0oghrJw==","shasum":"f10887410797b06bd985d7a5efcb3319b8a33c52","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210615154418.tgz","fileCount":50,"unpackedSize":645399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyMrkCRA9TVsSAnZWagAAtvIP/1VoHKk0okJ7B2PVqzr/\njYcPodcyDFwKoBDAdT5bPzu2Q3OHkdPi7x0ILFPn06y0ulJBBXRBtSEHjeeb\nPqgTPSIXFB10ip9N3yJDLs2oXazelsNzHsP5gwcIeER+k48oMKrL4SFFc3Ig\nhK224LyGuaXf5hc5M+of6OPaUAkclVHFI/SgUrTztY1A+W8V4EwXHz+o+ylA\nQ0zaZ8HVD5QVAaTl4YM8xWR1YaYZ/o04rEnx0jLxeqlX6HczbxZmvZdCieQu\nc9AvSiM7CaSN8Dh7hmYZBCljz8sVPnSqxORewSFR03lrTPMhi4wyI/u1hBQt\n5zLgHnhnXgqHvQrrNZsQvRfrViKR41U7jc/ltxALrNg9vQT07j2+5vZkD1QD\nH1UE86wEPkdE9r/usxOpTsNPcysqZaUtOMRGg9kBkr4AJsDNfhDnQyoXZ/Xy\nA7l0KlY8ccc2kTiBHR6Pwx8B/cOrpOwT+zKtqEi2LVJARrtKbhVkTSsgpf7J\nkmYwS4CQBulbGOmq+xrhRV5NlADfgmmoEmSKmkULNq9rLDLwKM7+8yuz5r3J\nc09SfRy6BK/o0pQkdwA8RfZYDDoqninLShnZJOPkqaPzaKTAlo/A68CKTY6T\nF+9gVmcksksJiv9vT/d39sXP3VrNlu0NPlTerJNXfjcj17hNs2/7Mab/IOGr\nAVmv\r\n=H0Sl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGwiwQQe5jQwQnGpgbAMzKaYwLGBFMGMqdUpnJV1gfz1AiB9euYXhM1a4bdS6ZmWPQa864xWhDcMVGJPotjYr9PMpA=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210615154418_1623771876719_0.3857210253210781"},"_hasShrinkwrap":false},"0.22.2-20210616065134":{"name":"@accordproject/cicero-server","version":"0.22.2-20210616065134","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210616065134","@accordproject/cicero-engine":"0.22.2-20210616065134","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210616065134","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-Tiz+NKR6WOHKrvSYMu6TvLYu8zNE9gASCtH/0sgYBWTUBc27VT2wzRS9fBKxlG9UxwP5HahysyiFaTEVW4+GKg==","shasum":"f806c2aba0ca7e585c9ea61f8b9c0d40cbdd28b3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210616065134.tgz","fileCount":50,"unpackedSize":645423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyZ+FCRA9TVsSAnZWagAAcqMQAIAotWeEGkmMWrqf028f\njH7QLyQPXTMBQ4u0nL9PqpyPzO7h5pLITLqLt0T28M8hWU8TTdPu/gx/a/ly\nCHP9aHMNhRgaZ2DLu4XLZK8zPlym7wAFvG3cAQ6Jzd/5vFXek1pDUUudX8RK\nd6bMVuV3jMlgq0F598l/JikgpIrg4R18eiNZ5H1skZcgh+KoTHx1BzvV6CCm\nKGOVJ2mEd2apJY75ZqzhV55kVgmb13LJo04oKVDbC8PWCj5FHkmbfnmFO9Z7\nh/8eygsklh8bEhykgNtteFE3WYcAcQtzFmcPyI07uXr39qdMkrdcuk2vjI26\n+MM4bISCUiN7k2JYVjGL+XTp6Mp+IF54/511fydfFuxOH7EAE5uE7UnPMBqi\nwXIOAXEc6QWESm1LHcj1G0QHcLA1v02Cspe+susIBGa+3A+elFsV3yOzx3kp\n9OpkQslSQpRRErfeivpipwPq/Yj8bYk0eTtym+igm5UG9ecasd9BGJvohSw1\n+ViLRpxubigiGVemVhFW85Uu6xvzuoHNTATFmR4qZ8RK6S3eur8yovJ8FPj7\nzRohBXh+d3lEUVh2peKKLsbPil723CDsxY+bUGwmISVTzn7qWn2R/NVKGuYB\nLcecVTRueCoQ8n5HOeA6CXFj4JKpfM1r6TBLujKN9tBgMpJzB5laUIqrAcXO\no5y0\r\n=lf7u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJ/NNMUyYMvffGPHghwVJ6InyLZOXz5+p5vLnTbs2yeQIhAIVQmfFpR7F1ZB5gv2BwPAr8SIG128d2zX7c2iipdq8/"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210616065134_1623826309064_0.4070336376977173"},"_hasShrinkwrap":false},"0.22.2-20210617100025":{"name":"@accordproject/cicero-server","version":"0.22.2-20210617100025","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210617100025","@accordproject/cicero-engine":"0.22.2-20210617100025","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210617100025","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-IDZ7IX35OmZ8rk7Io0semUP3y/1ZgIJOangSDsXxD+Zl4QE3H1MIc4dg4TfqT3eY1mb/g0ayHjKbIbNe96Nscg==","shasum":"9e8aded1bb8101405d4607b2345b1cca9e33327e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210617100025.tgz","fileCount":50,"unpackedSize":645423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyx1KCRA9TVsSAnZWagAAPKEQAIuMr0K292flnYO2Erg+\nzbIu3BvpRAuW1H8O6IOwDVsduBAmM9U4qwgSPkpVCEEf5DPppVMNj5lY8P/W\nRnFfA526IIgczXc6L6+HJcXIpodJC+RBLxAAzJEYANtDBQSV/vK9IqDbt0+E\nd8Ctj4Xbl8wFbvf9BkKGPteO/vlx5Or4EqyMR+tCSJgBE7bd0pJ7kt1ZXei+\nqlWitGIp7CVpAOFkgiFJkziYXKfB0irl2Qf0rEdVj3bBDFjTdW4RIB9KgNek\nzX1DcmwmEbgYm6PnBw64HA2S+MyCPFwagg3fJIGgP8IS2tcWPapcZ1Vo8cdE\nb7tJzS4QAKoYgc5zJgmAhc2/GHB+oxZyTS7sJh0M1PSbvtNRvTEdECg9aAZV\nCHDdSyz0gEwD4OJev6Wo4YfOEepHuYuIPw20FeLTRWjYdVWtOcpztvK2PNT5\nsX/NHwwBU+AMhQdpMEIJwLmsnucVqPRSUhoSOzUCiSgVSKohecTGXEx8ekcg\noNuuRGe9TWbh8efPQtZwZ8teELtZwvu5SCR9AVB3JRjjD0wFoJeCBezCdjz0\n8NyTaMavf0QURW5jVdK1igqBDaSzBqS2+oHsBxhJ5c+hiqSm9Z3y0RfRHjQu\nYeN2kN+FlPCe/cZvrgltxWHcDwQoDawAuqrLRbk6h+Rai7G+MRnaKKWa3/8c\n4o7P\r\n=ip6a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDaSohq/ne+L1EMRaDDEjuszy/gRnLXEl9wYFXYGoXykAiEA5zdZfu+6Ct9YW1v9byQmxHWEd462LaGgnnGwgXOZ7TA="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210617100025_1623924041833_0.7998816588632984"},"_hasShrinkwrap":false},"0.22.2-20210619101623":{"name":"@accordproject/cicero-server","version":"0.22.2-20210619101623","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210619101623","@accordproject/cicero-engine":"0.22.2-20210619101623","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210619101623","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-thnB31PH0OeiTiUbeJoLkXEN2u1cBqVeUzlhfiTOTt0D0ZUHaNOloiS3fREszqU2mRG01bywE59h/zCva8rPhg==","shasum":"05210f41d4e59a1484f0f1e86124506260cfc046","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210619101623.tgz","fileCount":50,"unpackedSize":645423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzcQHCRA9TVsSAnZWagAAr+4P/0ey2KK4Sy1OY83Ji4zq\nHR1sZz0b2Wf++dxsTncZZOHoh3S2dQTBcKM1S1VTeJx3D8DiWfCyGGpJunf3\nBGuFVZ17jEw9sC8MBE9sIZ57Uvb/x1UUVbQAXOyfZoiG+voFNIrglhA6IJ35\n+578Jl6xQMM5H2LPL7PNotVWuMkX9onjdUkGMsLJ2151qEM05D8q3ptrxGnl\nUImKOfWbmEP3xEcEbxOXGVVeXa48farCyEhO3nm0O57+5T/YxzDwapiWgGC1\ng7fglcEPJ68KRRMaX2slPJFn1I5HViW4AzKK7UQ8pyF4IN5PxXwKLK5bqMxO\npFRSA/nNytEdrtt5eke0H6Y7ShwAIAQeUg89wvo/weJiR0eECc7L/cb+eddW\nvJ5hdT7pNc/mzPAifIuq69NiIj8yYA5kxdFMZ06po9zk/lx2HpQVAMJzbjA8\nffrqMCOX6edWtWGLInuhdtLh5abQEBuae8B/hpxT14pO+Tdm5GzmZmzIfCnp\nGWSlyQD6d7qIPnCy1OmHXNJJLCLa74JSllyyX5zUwG5YpJVVUOx1Jc4zJcbj\nJvuMGZEL9bj3mHgzCy5N+iH8kWfwerfluuXAy/qrC7WMDQ1Gq5CXmOL9BhBY\nu+obCUSx7Jmmrgl3zjHa3BeM2F5jklD42+tvRi9b7fJr7D9tMR4y4OMx88kp\nd3BA\r\n=yM/1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDp/bBUFXNXhzyDKQRhhTmnLcVZGu1gJyP+qvxNW+3TzAiEA3HXoSy4vPfgyk2CCzgARyfiYVv8KavUiSHzoUxIbgGk="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210619101623_1624097798510_0.1821968200029731"},"_hasShrinkwrap":false},"0.22.2-20210619141607":{"name":"@accordproject/cicero-server","version":"0.22.2-20210619141607","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210619141607","@accordproject/cicero-engine":"0.22.2-20210619141607","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210619141607","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-2KwxEKKQQHCF8NKQP8rbaBdUSaoXd6/0KKUo6cXB6YPN9K9g+nfwlvkUmuzgWRpO7RAZ2R4T9EhTdMjxda2xzA==","shasum":"6c443318a2c26c646041518888779b4dffaadec7","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210619141607.tgz","fileCount":50,"unpackedSize":645423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzfw2CRA9TVsSAnZWagAAbp8P/isjipgoIj4dY7ox4Ftd\nF7RU4Uz417ppipRGSGRZ3/jxd+IUeynRsLZRfyKbRxZ5AZEFlNJVNAGrvzGM\n/4DgqbrnOf0dw6p2EKd/08HvtbOXSbI44XZQtQfyHoqN3SCdmW0m4eo1HAVk\nHzDCwGNo+a+rt9f39man0s/PtaTLJ9tZpZt2CaBcMTpqFw/AjEds4mHWRMBb\ngGvjizep+grx7qlLGJS10XBN1Fu0zY+SILDBlbO1lcQeWdaPhUenf+UhFwrZ\nDYli4mztlS+7Ic3Wn3mOqlhEE290vyY5ylTfdCfKme6fS/h9ZcCQM2dYXenf\nlEyp0fbkCny2sETrocvDbYQHYF1ztPRbEVG/m+DFASb+2o6kBq9dpXR5z4Yu\nzlDORdu9WNagTd0PfpBVQUw6w/wOOW0JXmvaZIsySAOcJ7NG2K/qYqY30T/F\nkafZysk6ZSNE10ZEYuICV+rIncng1nrKr7R4oZX4D3ZYBzR+g/1Y0F5FR0qG\nwWimhGdtvnZVhj1Axt2O/dJcpM65oN+/vSd/8FHwyABswB40M6POAfM3P/z8\n1YC2s9tGYBY5EEZz01yi76IstJUbc6gfkVSBP/TwfKaD1EkFNnHnM7FCh5T5\nmYf9n0JpTpvHfDq3frVLG+rIR1B5fDBzORFvsUaSLX6tRbqNggV7QoeaYNQl\nwsVs\r\n=N45J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAmGV5Y7UdtmfvsoZ3PGkoVmXtL/dvtE5k9cmd3WN5gUAiB8b7zU1XCRHdAEOHuK0J3+OJ7iciZAhv2iMGNw93xlwg=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210619141607_1624112181944_0.07612212123407702"},"_hasShrinkwrap":false},"0.22.2-20210620151425":{"name":"@accordproject/cicero-server","version":"0.22.2-20210620151425","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210620151425","@accordproject/cicero-engine":"0.22.2-20210620151425","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210620151425","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-BzM4Sir8eERnJm/bD/79S6Bjedqfg83Vur8TPFq+aGaQ0pxrrtN6hLe1o3fUVSKU8kOZcienIn9OJm2dxbSuBg==","shasum":"615cf1428fce790d661982fc490d5c1a79f5cb8d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210620151425.tgz","fileCount":50,"unpackedSize":645423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgz1tnCRA9TVsSAnZWagAALiwP+QFgyy5Keenc83bpeyWp\ngkcPNThTVdPeep5jz40ryOPHnAK9mPjP6ZVw8EMOxY1dukQhpSLZUHTl3xUw\nFF0Ud85mF3l+QsOf7/XLSm3Q3/STwSZE3JYmHwnNcmwTDZbyv7WmHCcHs1HN\nTi9iNfoxPKK4OU9wBVscILxOB136Ugfrop5h0d9D+wxs8GxgKJvxB6rtnKrA\nkHsD6jcI8yDGroi/6w6l89DOq2xSoQLBvUqu6YqxMcwWGhW6GFA7MGq6q6W7\nFNbK1xtMy7aUJk3MYQMTxHhCiEofPVcduL3ty1Q8w8137Qvu1WI5Zso+ycii\nyOD3xVMeCDup4R52B3/0hKIKiyOJoTblPbx+S3lFaBYlplkmDwbmWlSZ28v9\n+jKq4TFYyoJWWbb3v1U6befI+CjS6V8Xjw7AELBT8EF9VG6J4DsmOmTt9Beh\nA0LcW4WP4qC0twrZoNRDGkY9f5T62uBZn61XAZG7G+7tP8WDpr+k/KKVPPR4\naszsMAWOQqQ8NauFkE4rcj0CTvu+P0LZMEflJcqrWsnYipx3Ik7eiEl2WL8b\npLrgysPxCpBu9XYXHbpjugBEVWvGw23EgZZIZbpUAw6oskajOWe0MCBP04kX\nhKOYuGh8IOlIMGPEaK7y9XDSTSoBqOGT+9IiFVCIDARn6D84wDDfmKlugebX\nJChA\r\n=QOIe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAEjBDSisR+A6ZqOYpGvwKJfHMCeKyGUU1dGn8oa3c/OAiA+7EVgaF1UAaWzQs5/8uMQFrpjuUDG3p8pdazCCfysMw=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210620151425_1624202086808_0.8579152915711283"},"_hasShrinkwrap":false},"0.22.2-20210621131526":{"name":"@accordproject/cicero-server","version":"0.22.2-20210621131526","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210621131526","@accordproject/cicero-engine":"0.22.2-20210621131526","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210621131526","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-ky76DJRWY8zZHO3SkkrxeS9UR2m4x3Vh/+2h0Hex0CBqzXn3BxBOx+vKeBglM2krRIi5um8ukmiYutHx9lFViw==","shasum":"0c2b11f2e87e8735ee0faeeb9972ba4614656792","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210621131526.tgz","fileCount":50,"unpackedSize":645423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0JD8CRA9TVsSAnZWagAAwd4QAJsCbTk3KKUHyRO8PsuR\n1AaMUUiil4m/9RK328gm8X1OjyleWQLsHTKLTGPv4DFj5Xlfpzw8NaXAVoaV\nRonoKK11nHkNlv25ApaHqe5BTYCLp86FtefaEEa7rvFSl9hzAV9p0eRh7DHA\nttDUHv02SMKWUR2wUpW0n9kbzxDb2z5huqJ9fPLpQk3HFlKrqJTEqB07OZ2n\n422hQKUYYV5QXU5YJGYVpOt0rrBOO9Mrjg0iQc+zLYGnE0Hj4qAp5cXJrDE0\nP9FNgkNTMLyMa7e4jEAlyErFqJc7UMuxtyFCF6vCiPm7u//FLi9gPVMTXSou\n4h8D+8KZUo9sZH3qWSeNbuh8MYoh4wufg4+1Ej0VUd9Z1r8+SLS1lUk/2SK0\ncxjsZl7Wi1d/h+OQEMd8+qs+5nRpVXrDIPnYmWi2kLaGDDIhvmESxNM/PKx/\nSRgIvBhPpG+cXdMiqJGETDwivJDdmQxHbZp/ghPYwhVPfRj5pnymUh9lBdjY\nu+r+yKqF0+CQM26RZphNBmf14/4b9/J2Tb5ecW8WhCTbfzsn89Pc49lr4LFh\nJ9ozvObFWojtfnwPWdz4SwQzAIo8YLvQq3a2C1gPfoaUKNBl++FJyz5+qcL8\nCLe6R8VgsbS/ZNWC5rFq+Q/3J3qAJVp8tIR3qjGq3Qv56pmFwrL7lKXvNTGi\ncx9u\r\n=eR2p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH6kbb0HnizVuVVz04XUqlHp+J5yYsXAkjAKZLbE/BnrAiEAjGFbbybWrE+lEhtxik7Vc4Ip3ue2QDR8Cg/T/eM1BKc="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210621131526_1624281340227_0.17636884747857762"},"_hasShrinkwrap":false},"0.22.2-20210622100441":{"name":"@accordproject/cicero-server","version":"0.22.2-20210622100441","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210622100441","@accordproject/cicero-engine":"0.22.2-20210622100441","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210622100441","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-8NzT7uwtYqOg0TIwHB5AtcX8+Bl27IGDjw7J4yPwDfrSSV0H3xgaxY9vAMB2S2Z363ENg2obh5SxAbfulpjtEw==","shasum":"b370b256243d817748b154f952d721a2bdf3c206","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210622100441.tgz","fileCount":50,"unpackedSize":645423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0bXJCRA9TVsSAnZWagAA2BEP/iQxi9GVry5gdm9foNuX\nxAc/oL0zvvsGxneeoOmApcOnAf6brxoD4DTg97ByqcR8sQoboqBQ/58wOBQk\npIq5pHyWVXfzyYRZnRTEA5pERIQUPb69sv1utNnQQ+wSwg0qQgQKImlSbKqz\nW5JshnQFgXZ7WFPlfWGpTOxbxj1sTT1gzsIRXrr2gMQXC/8QUJ1lWCRmF8Ri\nfa7fIXRxrKzGGhvkHJMUonv57iuIYTnMdLp0/6is3SwwY2tw4yCnZho1FCe9\nv6doQ4DEysJ2bFh2u3tgUJpMvOgE0Po3PXbFnm4x2+AgA/7OSdgE1micQoVY\nn5QSsMCkaBzNWpvSusVwkZIpF59OZ0Os/wPwpCLYL+W1ikU54V7Tv+cCB99o\nBU2hCAtwLnelqjsKM0Jujr/9XT5o08Sea0qeqUfheutgsBQPAjltv5JRlxs8\nNtLKW1h4Z4Iw+1LhTu9AEAI6aHSGZ/7YJG0k7Vfd2IjshaU0vZKTkAksJ90H\nie0YQTU3xtt5WqM1j+ZAl+oJ2Tzl0m1TwQJg9ftEA57AZD69qmNe1zkBHtlz\ntatBZ/p8ulBpk1/pV+m0rCHOi842jvprlsinZ6FMryxz2xM97numq1ZyK+kZ\nN8PI8DX8zu1dLdvWnRkt9ry2GlPKShlhQBa2HR87F4h2LbvvzDSxLr9FWjwn\ncvOG\r\n=d3lM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClTKlzUCxedxsacDaFIquzUofzTcsm9k8XN9NQdjCJTwIhALMVJ4+N2aoC4/vvKCXZIbj+ReLWJiie8p33x/M2SYTb"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210622100441_1624356297006_0.09120088444398866"},"_hasShrinkwrap":false},"0.22.2-20210622154055":{"name":"@accordproject/cicero-server","version":"0.22.2-20210622154055","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210622154055","@accordproject/cicero-engine":"0.22.2-20210622154055","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210622154055","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-9b/y3fs5vuaeKVS0YhlbVHSP8rg+Yh74y3n5LAhL4nHeL1Qh8LDg+LseG+Ylnhm11zvbPsaFjzq4FAyVHf/rOw==","shasum":"e45278e5f193a8d0c03a186d2c7d44541d2444b3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210622154055.tgz","fileCount":50,"unpackedSize":645423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0gSXCRA9TVsSAnZWagAAYd4P/iQsQXeqp/YlwSLuhUx6\n5wRZbl3cEqaXRREy05IGWDd4CLnURTS9TVcWQ6Wxu5+XHuD9h71GG13/+m3g\nS6GonsKBasjgvm893UY3gfUhnkAyKa5wy5jMN92tZy7Cd/TGKzcJsyCX6/qM\nGOkueccVe+Nx2/uMRTml4KQQsx6HqkZ7YIKR1h+pH+7F2A6gNHp47uqtWbjz\nthW48AssaFt4IyVTQUeK+e96CdWhkveCXvqHKQoQ8JJb48g2jEARaDI5gcaV\nVVKdRllUskGfATaWKimebcjrxJZh8n6BKlWDm2CyHYQN9k/YcPYAifadHOA8\nM73vq8Q2SbRwwfm3zPKRGmv0RAd7VlbU6ls5/dDcN6PoHlf1gG10Je3SnyL+\nzaPc2d6pNrUwDUrwW+jNJDB8NhPRMrE5l5k9RpC1iOuR46H2NC4WpjelE+b1\nsXOtfTm7jvxQpaF4QhhhAiVKYK//MNaKj0cJGDw3MoaPlML2uC6rt7TOR7+m\n1OcN7mjXzPbAq07+6nn0qCo/sNEJiyMCAAI/bydvD5e8IqejR5TYzs7Lj51M\nO5iGCP1Gr47wmnulLUMaP2IDY67s70Br6jlwPb0d8/9Ls+K+UVaq9qex/E58\ngkPw3FnQXpowYXv2PURLBmq8qnQ3TQn7Gn664qCsmSUB/VTW9sV4zfCSCaRF\nOtyI\r\n=DKkp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAPVcQRngl364FoH/PHkF9lzDK3Yydv1+mjG84iM7j37AiBicOpoZetknvQ1gAv4Nya0fJvZF9a5NjjNFq6FWWnVnw=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210622154055_1624376471203_0.38073727480138775"},"_hasShrinkwrap":false},"0.22.2-20210622154733":{"name":"@accordproject/cicero-server","version":"0.22.2-20210622154733","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210622154733","@accordproject/cicero-engine":"0.22.2-20210622154733","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210622154733","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-FJDGIFQfHUl3bHG0RLJj1HDZZk4tJ6PtuwTMhwgBBFuqOXgxiW3OqbB8c1olebuGW4vLyGTz8mWBsCMQrehCzA==","shasum":"d8195bbce6f32ced3c1387a1b33e006f7eb94d05","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210622154733.tgz","fileCount":50,"unpackedSize":645423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0gYmCRA9TVsSAnZWagAAu2UP/Rjp3ML/VWxDMpGxmWlU\nb2lMcNxbBimG34eS5/e5wuKyk+Z7DErUK9y6hI6u/Ti8vw9urQ0tjvenRcGQ\nWeqT1KgqckRZUxJ2laDiEauwHafULIK0rUxfu4vWhn/JQOsvTwmg5Qfz4cIq\nRYJaKkDizwjkAggG7O+dv23x0LUgobeuQ6HeFXtiI2ofhlHOxOq+K2KRtB8b\nTvO87oVG+tXG3wKMesJrEh8Ic5SJDVzX+1SZhkPyGzj01J3CPjbrAKAJeQlK\npRPWinORzhExElZpOmKC/D8+aCPdGP90p7C3OOmczRhjUA8KjJD7f51YrWKE\nfDKttKge57CYsW/rfky7a2YDyoBkDezESUsZEwLVHPPbmIcx72uUyVRv4vJF\nNCRiAtOyHTJy2gq3fKy6Pa0exdJze9J6MTefK+313apux69TaGKjuUIaZzzp\nCmP5NQmd3qVnyNjFP9/axPbRCMDjsOfa4W5Miv3/d4Qd69LLAxXt6zmDsEj9\nUKAFxm7XDIf1Cty/u90JhyGyU/Y9MQNEIHPvXKLsbTQqDZ6x50J/KnClN1FJ\nrDE2R+JEqSxhN458GRFcHaSi4LfkR5oBJ9rVWxjf/MorHex87bzTK72VJgbh\ngVjEtSwBNJXe+zNn5FrQt4XEUdsSyU823UcpdxxnWdPLaoxHsbLlZKvcpWoV\nDyEg\r\n=HsZj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcOBHtbPskw3tlfRoVcMqA+QKi457C+oEyY6XxnqwgeAIhANSxU+/biWJxwgwwQ7Jfja4l/7Ij5VGjJPLKPGa0Nvdb"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210622154733_1624376870341_0.5607680928499092"},"_hasShrinkwrap":false},"0.22.2-20210622174003":{"name":"@accordproject/cicero-server","version":"0.22.2-20210622174003","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210622174003","@accordproject/cicero-engine":"0.22.2-20210622174003","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210622174003","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-j4dQ6SERtjGJm9zt5x/sZYIhb4M/UgC6wCEcmVjQaad9uSFzVC8xk7Jg/h2OMe/ZNRnBa6KoMuYKFeLJvz1XrA==","shasum":"dcc3f56d059f783aa3f7c526a682d9cbaefbaf1d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210622174003.tgz","fileCount":50,"unpackedSize":645423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0iCGCRA9TVsSAnZWagAA9g0QAInaOTZlxi/Q9rmH/U+D\ntJxM3dRJ0rf9GRNSOC3js0uchNltf1iBt1TJSrt3bunbF020dfxCvSLJ5TyN\nT/7fmRRJwbdfQ/W36xBvezVAvmjTrpVnvm9RQt79BhNRzR46FLdb16ZsZJzg\nwN5/3pD2wlWQXGxZrfe5ENQki6xYmM6pN3KLGE2kAJDQcn1brfEV1RdGN13+\nuanbiIIrn0owoh3Rn0NhF5mcyo9e0uM14QR4BSH7vOTLcU09lTDfVeVt1aFa\nlUMVqdbocbIOD4Q/HY9Z34LXjI/q8B/oHy3wqffO4QPpVsv5mzFBaCm+zNeT\nXMQDfXDwDok5cDyxwAR9NqGjbF5/I+ovYv86KabSqONq49Hsbsi81Kwtw+Cw\n9Q5q86JXbpmOxKyIgFuoeBZrRPKlfDH6f1b/BTapFoaIpzXFhPWeMeJz+wj5\nah7sc8h+oFUM93zKfeV7xdRvvl94mHYNmN/hiQEJhquP34rp30Lgjrs5mWvL\nWHXFrytgn0iwDR9QYvq4wMqLnj69g3o84PS2DWxdYl2c/DUlHVb4F+V1gBlf\nK3CjKkwVLS1oD0gIma8jdelkp7YAio57muJ5QxbhHJ/Z7jttwG/OEi+AHAwy\nEmCwgZ4mV9zlyuDyYLdd2cIsEm1SWYP3KmImN4ZbfPMDsQMiUGzD868LkK7q\nbPIL\r\n=qgdo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFJLNGJJnclOXbYTsXinyb+uoc69nRscROvle6iCbhutAiALhGbZ1ZR+eF+oxDa+lEmtxXygP9Y69pUblAt1PU2xzg=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210622174003_1624383622526_0.85361787180976"},"_hasShrinkwrap":false},"0.22.2-20210630195713":{"name":"@accordproject/cicero-server","version":"0.22.2-20210630195713","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210630195713","@accordproject/cicero-engine":"0.22.2-20210630195713","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210630195713","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-v6kHn3w0g5+GA7s7petF8NZW2ANaRZ9MqyB2mW/YvW8/CVOnfacVlhEFc+5dKxULuOsXoXSXkrQL1c6CXHtIgw==","shasum":"d36324db06c1bb969d73b4aa698fbe2354f3ce17","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210630195713.tgz","fileCount":50,"unpackedSize":645423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3MyrCRA9TVsSAnZWagAAUqcP/iS0bZkedfzwcGt8xLUk\nutUe87dN06+OgrSrED+Dh1wV0DdNhmyxsDuNzEvzkSTGmPud/EIKdedn9NBS\nx6iKrFEdq4Uwb2pPubkqX+cd5gzP4nhG307pwHN8XNr/ux7MNTj9mylmmlXf\nu2kUG3Wu+5P3R4hJHndfnRoGlzXgy+Btp3/ZVsRohSkZtObN7Fgx75Vvu/oZ\ne7gv5lcrFUZyt9F+oas+IoEuaNrVOqBbV/XrzLq5fzKeFQ7FIZdmD4gELM+x\nlgQCjG2XR0NeFmvh6Caw3t1MjSJYDj0UV2aGjY5QhAq+ABdWRtQSMqBWGnGK\nLbaEMxuf1AxH2aa/N2tDbctXwfDHJr/euv3JItV0j54qcKmG0kGe8kCvsvXL\n8skFgFO6acK9CLbZP6HCZqJVLxeTlWGyQvuNpO+6GRndNT0tjE9+42qbO9/g\nDNxbxk9WZkRz4iP9bSSN4FE2q1jyBmDUi/QGSDp2evEyp8r7dRDpyxoY3bij\ndg7I+wpIpvGQIa6PCDWqbYK4BA6cvFoo+/q3CHxbrUc0dV/ZGs4ka1ZWRI8j\ndzv8T130f8NKEzFo12aPOL5ullNgfjpVq59VLMsiyn2IaHdG/CGeRBbNxLN8\nbnkOesMkLatVJNlbIivkv+IzPbJtT7D5553MuC8kjgz9F67jQ3wbSn2WULOz\nOEV5\r\n=HCbT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFZwOSutTF21fhPKMFM1xB8+ZgK1vSgGBga1XbJtQ1CAIhAMFKYIlFzeZY/Jv5Ix0J19SSDA/R/OcexxmbcORb86kd"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210630195713_1625083050830_0.349648685729419"},"_hasShrinkwrap":false},"0.22.2-20210714131804":{"name":"@accordproject/cicero-server","version":"0.22.2-20210714131804","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210714131804","@accordproject/cicero-engine":"0.22.2-20210714131804","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210714131804","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-u4QBmp4cAXI2Kgf6K/fbxMuqo+hgbzOt9/MeMUf9pG5soxPkTQCH45D4lHCgCxuf9p/B6oeL3/ke51oJ0YWu1w==","shasum":"6b45ac478cc2e4a03676337ec86e328345f76604","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210714131804.tgz","fileCount":50,"unpackedSize":645423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7uQeCRA9TVsSAnZWagAAXFUQAJ+UZecmQrho3B9a5ayu\ndEmYwJ0BhgLpi6d3D37v0cxvQXPkwLnSc8qkIjQs/ALCguzNjlazLR8XLT+8\nCCcCNqSRu6fvetfjK6U5AvMFqVyfDKsj7ukHpJTYWvFft70NTgkwXrDfUlnE\n8iz1L1lBtVRvn3MgGZxI+JFmltumD8/nNDbls6acuLc6TN/rSazlQd73qmgR\nFyvsS4vsjJlwSo6xu5hxVp0RQ5R2P1iPoL7PdNbae4HAxEDB4PyHAfFDMmD0\nLiYE12t4rqdXkxs7v3cSh6fmRyaxvHkGHAL2gsrUPaewBWqKx8P7PvlQt/k8\nWqW1THrtO/hW3zh+Kp6IfI+f43raJ2dq14L8sA60VfeYY9npwGYxhuOukujl\nIucWar/ywulaKCZk/OjdpRt5gNlQNxNwu9P0nkPDruRGK5H5xCf/GIzrYmZ3\nGwmeiBXGxbGT6yvZQGj5mHWMuxJLXH8NuKKSYnDU5wB+RMWg3HVO2SnVynHb\n5o8nEiK6wAV4MMeCDQ2x68kc928St/OKW/3A+LRXAeEd1dDFLOEtz6I2vmlx\nb0xeLsx2eWiyO0hDN+IBpJSglfJct2ZCs+qbthhKtkqy6ySLfVoNdedzAvc4\nZ5JtzWiGRGCpT/mto19ci0UEzUmCX1deruGyKSHazqGKHPJCTs1T4tT+wyUd\nKwTW\r\n=atsA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaBbqHp7Kl3+msxx5s0lGoToqTxDVjBG9/5D4E6eqgAgIhAPQIY86wpfETQyIxB6NqTMAwqzrGioHRABZdUIoxbUSR"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210714131804_1626268701943_0.6176428669783942"},"_hasShrinkwrap":false},"0.22.2-20210805122547":{"name":"@accordproject/cicero-server","version":"0.22.2-20210805122547","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210805122547","@accordproject/cicero-engine":"0.22.2-20210805122547","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210805122547","_nodeVersion":"14.17.4","_npmVersion":"6.14.14","dist":{"integrity":"sha512-a0riJ6V4hwdLMhjR/AJ/JsGRCofu/Mf99wLtNNhwcwOPgmvYMGTS6MmWGTqa5bXJ2542ICsbjd6xvy+g3EftNA==","shasum":"2f415a5ef7966db356d564782f26c1d7cfa30ed9","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210805122547.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhC9jbCRA9TVsSAnZWagAAayoP/i6hSj1fz03MHZDzkSM7\nRcxvNd3vSuBURmWpy+cxoZXddtp3XQOVnTMJb3Uoe61pnqdgg9p1ylYezjVV\nBTZ69XUKtaXgOxLenkZ748aw1fXF2WNWeutKMfvhwi2+rZZ4/uUNoN2BeV37\nf0bhZ1F8MyJq7deUGFhAy7ZNM/Kn/h4MDOhJ05GA6/HYQFu83RDjNY3KPCLk\nvOwMKjgfRoWqayJVzEJuRtU2R/+A5WCfwnjnJf3GwDHgHSXp1fB+4pr/dz5U\niwp/zftZYpcUmlA/pTPxLYyCL9JyhFDEA3sKjavonKdzmoJ+HK7J1D50Kg6D\naddjttFE4t8mtUTlrr4KxfjyfijotbOG1uYI4bMv1ZDOoH+TpgaMw/Rr8LTW\nZ/CpAghQlahn4mfPA8RioqqAjhnyV/+zMENTapZNgEsIzaBKmWKXci3sgEGo\nFWiS9S0H5jHv8j/yy6wK+y2Dw8DUyZyrXOY4WS9UHAjBHd2+Zh8gsth6WFDL\nlCCzmiYjFTf1Wvn+u+I4YJGDipSWqtqopQA9jh2wnixL4rbdBaODVkRUBsWR\njPCMdrAbnx0M7FyN8wGCdCncdgIATbVu0idCQsTrvRqNS8ROFWU81mBrSTRd\nnKN+Ipuq7Gby3PKCgIw0OI3CeJxhTOrFCIVHJmeQ/44BaJ1t6LCt3K+7t3PB\ndDxr\r\n=ja/I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCt82WNTGJdSrSUedHu1VZtoXZDCvTyNs4tAIOzB83BigIhAIktoGhGlqxFeK5pxBP9g5wW0qJon3/+PzlsqaUzXOrP"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210805122547_1628166363399_0.8909019755082055"},"_hasShrinkwrap":false},"0.22.2-20210805122613":{"name":"@accordproject/cicero-server","version":"0.22.2-20210805122613","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210805122613","@accordproject/cicero-engine":"0.22.2-20210805122613","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210805122613","_nodeVersion":"14.17.4","_npmVersion":"6.14.14","dist":{"integrity":"sha512-I+mRJJTkbqRA4v/x7tre4bB5bAJIrz+mHOy2VRE8BdCwWAewHUgRrrEhAU3pRxzQdFAuis1pIjS0ofuVAwF55Q==","shasum":"ea1839428fe90c204100da0b5e5d16193c842ed1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210805122613.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhC9jzCRA9TVsSAnZWagAAQVgP/RW/1LbxOVhi2sca+zLn\n6veiutTMS9PR7xDt0/HnTVfUHUnBLsCKDl0rcF1NPfGyKCCxiAZc2L/YsXNN\n5d5tMqTyM7HVG2N8eCdRsCXUVtMX240JTP4kjVFESV2RgrUCREoyFXS7X8fD\nAE3UkRuSjeWEpyT654j7xcdEVww+/bRPFe+8bsNKQgIItrJwhqoNxoKrNYze\n2B2f/9dPaB2EqNa+VLbSgDGf6elRca5CQycT0b5NruyrR3XafRbdLw75MFFv\nim16zSrNnDAUV4nc/eP2EjRjt3I9vY2vWYz+zyrKxJSu7eklI4JYn+097Im+\nywDsDkXqybnNjS9FKyHBBp9qNrIpRgmMCIrQbVEBhrk4YDops/Z11V0y4XVj\n0Ag1jdM1vwQU+bHPL0J02vu0zjv1DX/HJXtyl9SggdekSWCCyK7oGE2TWK3U\nvD4z10QCDNU5x3KOQvuBzySSJ6KyI2REBML5K9G+oy2H+P92D0W0QBheB2Dy\nbVEz2icX/klmhHTuDm8id57tvXr27IPYrpCueH3CL0KVUCVMhgHOG8FcLbl4\nm4NtAtcqeMK6Ln/nubWAdVa0ATOCazrGOIv2y4Rod8+ciZUvZGB8BTAFTEtx\n40CZvnF29MkxctTNNhvLIYg06eGuVdkmqkj0JjWhL7IxJ1Cn/Avp77o49RF/\nUK7l\r\n=+5f7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDhO7HxIE+izay4BMQL1mkGq27H0a+Qkux7RGBL8/Pc1AiB5bm1n6t7p0ZwPusXyySpsT9I2QAYyqGDpxFOpgm1RpQ=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210805122613_1628166386927_0.7072767481834601"},"_hasShrinkwrap":false},"0.22.2-20210805171429":{"name":"@accordproject/cicero-server","version":"0.22.2-20210805171429","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210805171429","@accordproject/cicero-engine":"0.22.2-20210805171429","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210805171429","_nodeVersion":"14.17.4","_npmVersion":"6.14.14","dist":{"integrity":"sha512-Inh6OYvFCNBNerC4NV0mCojeqdNLVzFjf36od9iWwSphoE0iXPZosK9n8BO0Smu9XolejaxIfLzQzXo5ms0+Mw==","shasum":"abd37cda8b9e825d663c51fdc03b5ad12576e36b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210805171429.tgz","fileCount":50,"unpackedSize":645423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDByGCRA9TVsSAnZWagAAedgP+gPSFCw8IoTGEjy8sOgJ\n/n2m34iCJ3DxANRD34isTl/sDEYdoRx4sF2surDwmXh+fqqLHU7Tzi3Z8zc8\nXRMTpD4OjilgD2EkI6vxPBHP2q9P0LQ9jHUyrYc0DnvYaxYSP7qJuL/Mg9OX\nZNaZMZYmNdnfH6oDKzknXyLInTDgySd2uGYSUYmuHJPTRy/swoFt3jxzTA3B\nG8tHYCJqyXWJ8nNSXZgATAL1L9RNbOl68yHMj89bOM3iQpiVG8u029agfhWO\n8HpIuC4U63EGzhqiJN2LOU69fwP+/F4GymaYGaFOEKgU+2oDAPGgudQf0+20\ncWPDfHmZ/gYv1dew7kZROBHLugeB6Thr9GcxQ0dtIp4q22pZd9XXennHGopA\np9FStS2HZvciR9cjEfGkM3MT/13TPepLPAuO9hWYxty7N4axYvn1dMC4IvwK\n0WKp3KAFG+KA1AqSZ4eWcVoI4F5llQ+00TCkt58kdC84haTBT6t7WcwVyQIp\nahEN3/pF3el4JMJxn2Yiux+G8YTAOGIx5TX7xwr439WEJyW3NfZ6aCA/HvBb\nxPWBOkQlUL2/y3AHTIHb5WgCstfpnunBmpVBKx4kBjp1vPcZEHAjszxtyEBn\nKpoIoc4qAKzk9tqEtAMsk6UIClT/LcGShv2zjulsmbVbMLmqEryHf5v2RdKY\nmV76\r\n=Be1S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3PTq8fswPhYr1hfXAhES3kVdM1j6q8w94oeyOMLR5NAiEAjf9+wdweSuVsbO3deXPsXUE1aUCVNuqOvx5l9DGArv4="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210805171429_1628183686146_0.05322561448788132"},"_hasShrinkwrap":false},"0.22.2-20210819201024":{"name":"@accordproject/cicero-server","version":"0.22.2-20210819201024","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210819201024","@accordproject/cicero-engine":"0.22.2-20210819201024","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210819201024","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-e5S/Frhxex/Pd7f0OIRGjkugwSgOjqudYI3E1gd8AV3le7Xvp1K2bYq3hIKaChTf9dBoO4p1V1R8NKQRnMPlXA==","shasum":"2b6b5de9d134a2ab73022da7e1be7356e040a707","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210819201024.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHrrBCRA9TVsSAnZWagAAJ0wQAJYiMqoyLJXuFG7VoYFQ\nLpwFIipzMpJn4igFkW0BV+CyHi+zAmUXvMS+zSshqqlOdDHh1wpWhO7BQ+nm\n0z7w7pdneGb7IGJc4TG3seWD7vOOQKWfPIdJOkswntG4I31L8gOf2Xk9aFvi\najKtXLAwc7rpZjKRJNtgTC1vyD8EqOhkIr7CIeOTSrLUhSimkVDbG+ZmoXYu\nHXN+nKG6dx822vAvj97AVF13F/KxYCU4j7XM08ezRxeON0qhT432QXFE6V8q\nQt51eF7GjQnL5a55Ly+8tXR8dv3iK2qL2oCa0cHbMX7z67AxFy1fKHj8TrgF\nHAIgvLMEa7r/LH9FipVoBtYyR/nXndEvMl703gMxUkhrm1xbTvlimIlQkY1h\n+W1HxunRZEe+ptRhZhSOONKmD91T5kM0DeT4CkX5u9gRKSkiMvEuZTa3Omhi\nqzOvV8R6p0qBDzeESSkL4gM6qg5kZ11a/gqDUs/YTFn2j9b+357HFNIgADEF\nk5IhwIDWX2YWzmrYXVOr6AyOAuUKVDroIlN4SkjVCGdWTWaYrH19ee+qPxz6\nWwiEl6b82YFV0fabDihpJ44RsgBrURNIv1ohUJB8q3e+9RrTzOpYKEbPPefi\nfBoY4qbG2n9pKX4d7dmcTMxvYFI9lQfGzd2o0qupGNiUscnBAuP9GE/euRir\nLMhr\r\n=aiS/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHB1ErXqt8Fxi2ZwTvWjncU3svuunX9WOoQsRKVITxYAIhAPVW0EFxKH9PtJ1PlAWbfEHbgSmRBP4kg//mOIqDACeX"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210819201024_1629403841414_0.003207025981951439"},"_hasShrinkwrap":false},"0.22.2-20210819201239":{"name":"@accordproject/cicero-server","version":"0.22.2-20210819201239","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210819201239","@accordproject/cicero-engine":"0.22.2-20210819201239","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210819201239","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-lVCP/9XVRdp6m+Hrbm55199Q02afwUw/SyabKjbu+HBz27Gm2Vyl+bSjHT27Yu5smewklEWBJzUbd9ckhQccUg==","shasum":"8f8c835c3ec88f36ea3368d05549ff003b1c2e37","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210819201239.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHrtICRA9TVsSAnZWagAAAiAP/j3Mb4VngLcBfYrJNVZ2\nVkgS74E8/cRCTDugqSM2ViWrUOIRuvaEQpVJwv0LlsitxA7OlBwzvXsvJ2yu\nDOU6l06V6H5PeTkbSl01cTQ9QFJaQAVmQFYU8+QgGs/6vTRlWeAlvbbp5xA7\n+GflUrmUzkWNfta6fsV/X7zBWuXRYougGkzUiwqRQhJNVNJG9TAGP6m5Lgmj\nK4rpTvYGL3gGK91Cpf8D7CFoC2e88yrgICyLvtMEh9EcDUKcaqoo7o6JCUnj\nxFxo2QxsX9YO9JmMnTYgcsZOrZHHcYL6/aXPQoKDnGvCB1yoxKE+VBYVPLUr\nmUiq6bSz06k4Mb8XofVWmnjEE0qg0wbYj/ERzNddFS+jY+zXG8F5qsFThbfD\n0gUV/YrGaFbS0A5rXr+PvnHciTwsLtA4Aw0Y437dmLeffOLa6u3AK1nCN/Kr\nxxbM48Mbh/p7DWZVYMj+Lxu6kL7Ivz7uAT1fKAVqYqtkCfUA9nqIy08SAjbO\nf7rpZ/+g5r3Easn9cRjilaFgyrVqbzAAvI4I/0BUbyvLmgB65h5Qu62Wa3k4\ntAeV89DgXhx5sI19mnivLaIbgDl4yjUOn2538q73VBj15akpT0Os3DjqwOtj\nBcTE+b+WR+lRf0yU1avcMqmiO1qYMFfuCeM+btGoN92HfO8bg5qGcgC5pZHD\n9c+b\r\n=hO7W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGTcx34lLX0IuaURKCtyt+kV/3cp4QaGDzF3F4k+2Jp9AiAcURC8YZtqIyCsp7xtEOVaOlUJ/zGDs7DTJk9mvxkm5w=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210819201239_1629403976540_0.42850534852322686"},"_hasShrinkwrap":false},"0.22.2-20210824154311":{"name":"@accordproject/cicero-server","version":"0.22.2-20210824154311","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210824154311","@accordproject/cicero-engine":"0.22.2-20210824154311","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210824154311","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-hmS5RAohSLDepaXJWUXDuNkEuWgdfHYz/Su/6rXCE2+X9quA8f6O88FRmTwJ8ygv79F0TBxN7k8/t+b2uKZecg==","shasum":"ba670b20cdaea760b0f2b962e9a3d1b983e922cf","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210824154311.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJROhCRA9TVsSAnZWagAAvpEP/iHjBrF7jSXSnPpVnH1i\nUlyXAmGejQ29phkILPM5yNbFFA16eUilz0Klq424eJFI+4u6XHhxzKf14EJE\nmcHCG4I+X+82B+p14Cc+xFqGX7iqle+A0XLxOvmbRnz944rt5rXtx7BVJhL2\nwXhDmN5iv/AXHYbdUoAS+3+fBcc13j/68OB7M4jLaQTVYRxd1KtZTNfYffzZ\nS4l179QBqWCqBZwh3ySuu3bz0hQ84i8vCXQICnDxBBOqYEyFUZv1Ng+J1n0o\n/Z99L7czu6uBFV8lGimGjyY+7KF1gvb2LoNmr+7ebkReeSx0OIDqp+ciSdtB\nMyXsKfTESRK2pk3zWSIWUIquO27jnZZb3QSS9C8MHZMQo6Qb1ynpLzMk6u2r\nzvL3alOHqrpAyB8LFPySNdpu1HKp2v6hDwIfZrvhQdD+XIL1CMVsgnKmISi/\nqX3/z7UIq0VD+uYrU/NAV0L6EQ8B7I8sbz8Te97JZs8NJ2/cPld0DDEJ8Gr4\nSlieAKzBnAGX5WXhCT+DvYTVGTqQly+Ez9E7LdSxbiDyWuRk/KYGGN13rAmF\nN3L1hr3QAKWdi93VIJ5uFIzGqOFdi1QCsflXoN6cKO6RZI2bQZQxeAR/S+Br\n7cUqYZSJp1h1bwEBuXL56CUQkbbmcKj3JD2sxPPZACpRLoe/x4Pl1prwMsNj\nQiHk\r\n=4pvF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAWjVQo1kcwD1Gfsp53zAN9l6M89yAwylaaY5V+AaE2WAiEAnErszZfJVMxm11Ui/DcjYa6A/lk26PTB2N8xdejCdHE="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210824154311_1629819809357_0.9944636116582173"},"_hasShrinkwrap":false},"0.22.2-20210824161027":{"name":"@accordproject/cicero-server","version":"0.22.2-20210824161027","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210824161027","@accordproject/cicero-engine":"0.22.2-20210824161027","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210824161027","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-Kb1WD29Dgp9o+7V/j9s9aMxlvM8jO8PHRVbse4GpBN2aTHrg336GA68GT36kBpX5wLZtA+goVkhG+0lSe0LSvA==","shasum":"e21f2b7076e85886c97fd5a37e276123856574ff","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210824161027.tgz","fileCount":50,"unpackedSize":645390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJRoJCRA9TVsSAnZWagAAYNQP/iCusIx83jFhaRbSsVdH\nS5tOlw+6fh++oq1k1uXxnJ6eVdfKUP4oowSbkUVAxkkSGjBhzkYuXJyFWu6r\nn28QquG+a5H8UVAPS5EjFaWQKRx1aMUa5Z2VuYMTMZDmTPQ5h/etcNsmUnI1\ncj10cRKvJwAU7rEso/SxLMvAuKF+DF1GiXkH230u0nhVHMknD12J+8U7ZX0L\nxQQpfIRi1Fuae0CTWmEdWhFZP1icyTv5Y0/2JJKvyJ3Vp8n4UH4lPF5iEgGX\ns7MHjnmhwvPzpDlMFw3vc3KP7j2ecHIBLtJVoAGT+a1T4CLBPmHVuCGf6tNG\nhngpBvqMSl5daV/PId10xz7kJivsFV4jYZ0g9gcI80wzqyO2aWoprhwNyIVr\nF50kLCKxX+JVeVNBfv4UIDqd9ZD8Kgz7BjBLAfbQ/YUKzTvKqBKcHxbFwFmX\nbFfQDxTgRldzdQxIDHg+PAX6zu3xXfUsU9yJvva0+qTKttmcGYCESDaoBy0c\nsB3Wpt541KC82JeoQa+DErHpPftHTPfGTYSDvd1ZyQ2VOndIeqtYSkCmj+HX\nxWatU3kV7i2zUav60FDR+nzIofRSjX6kBGr3AXAIAWC0EdCFgGsmysRzwQQL\nBoQ/wu32EgHubWK2JlMpJSQea/W0tdlashs2y61mIQ2R/roYAfNS6bQl+X/k\nVwKZ\r\n=Et/4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFPbfPSvniKFk9XqFLRrOhlp+kN2+LQdHmeqkpqEncmRAiEA8phNONHP1L4JZ31k1hAX1HXXfDDIjSOyIcjXMSoehVY="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210824161027_1629821448865_0.8834929166322718"},"_hasShrinkwrap":false},"0.22.2-20210927151654":{"name":"@accordproject/cicero-server","version":"0.22.2-20210927151654","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210927151654","@accordproject/cicero-engine":"0.22.2-20210927151654","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210927151654","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-G8Ox+ETh4NujvIV62X8w7YTbDcmW6Omup8zJSdBuBF8sNjIsiF3qN6IR9LmL1AMA3+IJfNK9pCw0EPcBK7Fvjg==","shasum":"33f357f09008cfd9c50359d7737a27e6eb31ff51","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210927151654.tgz","fileCount":50,"unpackedSize":645423,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDD5uCDFIg8De4P+G//tRZIze/xl29avqE1Kto39vzilgIhAOAn4MPCbW8H6TuRli3ia8gDT6lGaYljg9AmiktYZGu6"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210927151654_1632755827535_0.5620011010044375"},"_hasShrinkwrap":false},"0.22.2-20210927152856":{"name":"@accordproject/cicero-server","version":"0.22.2-20210927152856","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210927152856","@accordproject/cicero-engine":"0.22.2-20210927152856","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210927152856","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-K3KMpgmPZ54XTedDDxwfkBS0FdjwB+YJlkn55ILPE3CFnJaQUEbyTmbHiYxeEYYrowwGaEFp6wJmyPTFoBYraA==","shasum":"c971d09c93901d4592fbbf28180e42c9f614c0d8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210927152856.tgz","fileCount":50,"unpackedSize":645423,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB8Nt9/J/+kTo8CXmw8j2cQmmQpaV1tId9ZaokgWUCHOAiEA3RUC1bNK1hvLm55MUJwDnGvbqdLyi6GIjSBtsEs7jp4="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210927152856_1632756552882_0.06268648934744481"},"_hasShrinkwrap":false},"0.22.2-20210927153850":{"name":"@accordproject/cicero-server","version":"0.22.2-20210927153850","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210927153850","@accordproject/cicero-engine":"0.22.2-20210927153850","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210927153850","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-1KEmFNdsyGxIT0j0UsppL0MgnKkqcV6Js/ZR9o+96DHGjYDPVmjwyMVllNPCdGMblmt58ZWyUUleCJ7tsX0NjA==","shasum":"570a4afb70e4938d3be8cc9d3e20579195b86a6e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210927153850.tgz","fileCount":50,"unpackedSize":645390,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9qfHgPCp7mgLu6Xauv8HbjHRpSdVj+p/7t4SkfIQVQQIgdNGVqPjyxoSCMTFgL7dFpyh0tR1RfvmAFMxAacmQ4YM="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210927153850_1632757141103_0.841352362615942"},"_hasShrinkwrap":false},"0.22.2-20210927164116":{"name":"@accordproject/cicero-server","version":"0.22.2-20210927164116","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210927164116","@accordproject/cicero-engine":"0.22.2-20210927164116","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210927164116","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-lhHXjwuB41YpJDHzqclKQhPbZOb3rExvpxcHCWHS2pQZxRBZRa82VMVOfentldWZ3tEKszB3vR/OMjOPclkSbw==","shasum":"e6d8b185ad7c6a3c7032d0b464fca7181c881ab4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210927164116.tgz","fileCount":50,"unpackedSize":645390,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6Z970m2zywJxGvWSLtxmB8zqQc0yOD1HJ91pkT8JPlwIhALjOn/58WdyAiMS276vF8iwByTTI/TUjMMq8trZmkpTl"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210927164116_1632760886564_0.7229874937534786"},"_hasShrinkwrap":false},"0.22.2-20210927165105":{"name":"@accordproject/cicero-server","version":"0.22.2-20210927165105","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210927165105","@accordproject/cicero-engine":"0.22.2-20210927165105","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210927165105","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-hGNALo4dBLTDQGn6OunCZO4TixyKDRHT4BniRgV3UBeaVFLoNqkd7ZgjxGhzwspG7uYjp/EglfxThahUiHXdDQ==","shasum":"841718b415d44e547800d69f0d0fd0ae90899047","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210927165105.tgz","fileCount":50,"unpackedSize":645390,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDNk0in2xNpGuY7c2xN/Ev/wlKAkDAFKu2OMWGSJyAVpAiAuUBzOSuQYf6NtT/HK+T0/plpOYKJKYbGS1cXicdvVbw=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210927165105_1632761475637_0.5899966799480576"},"_hasShrinkwrap":false},"0.22.2-20210927172340":{"name":"@accordproject/cicero-server","version":"0.22.2-20210927172340","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"6.0.1","jsdoc":"3.6.3","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20210927172340","@accordproject/cicero-engine":"0.22.2-20210927172340","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20210927172340","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-4Ccrij9M7WlMCWYQmTOSHnL0CRJEALfMmmrCWpQPneNzUjt/rCkktCaTH7gofbbqfH72TgTUALG4XW47TFmCRQ==","shasum":"d1105f9068866288e5c0b8c16e8946b8ea4fc473","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20210927172340.tgz","fileCount":50,"unpackedSize":645423,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG3VJkYGnyCycgsDPAf8Bch8Iz3jrq86wqD4WWEyOrrrAiEA1mUMKpRRSXSJEFev7BU9QNjRK5j1FvGB5ty17GZGiaM="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20210927172340_1632763430617_0.7219975323411216"},"_hasShrinkwrap":false},"0.22.2-20211026142231":{"name":"@accordproject/cicero-server","version":"0.22.2-20211026142231","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.1.0","jsdoc":"^3.6.7","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20211026142231","@accordproject/cicero-engine":"0.22.2-20211026142231","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20211026142231","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-hLWuaA3phlDtgSP+vT2LdiY1VK2dmHM1+Hzkx6s2l6M3pqQZY2O6BGodO9c0qzSCgiMInyP7MgSB0Xj26Pffyw==","shasum":"369663ad54654db455259c97184c461a5afe7732","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20211026142231.tgz","fileCount":50,"unpackedSize":645391,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGQ3ueBbQXAwyHsms932cbqqIYNtJr5miqYRur8nGAgTAiEAsZpah5O9xq3gnkM7zpS0sgenRAIV9F7Os5v/Vp34i8s="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20211026142231_1635258162367_0.632615970103038"},"_hasShrinkwrap":false},"0.22.2":{"name":"@accordproject/cicero-server","version":"0.22.2","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.1.0","jsdoc":"^3.6.7","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2","@accordproject/cicero-engine":"0.22.2","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.22.2","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-gJlMobJXnzHnTdlV0zscHVNlWZc9tWOJ/NioVDRphX9cvZ9+ABaKTCZutE9LuoXGs41fK7U/uWuk7Uyt4+MSsA==","shasum":"52fbbd05b7f75334fbd7d9d872d30907fc25d5d3","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2.tgz","fileCount":50,"unpackedSize":645346,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuzwECRA9TVsSAnZWagAASe0P/iGUf3OPnONjg7+PUcm+\n6O3UAD3mvwA8c6LHcjZ24AJK3N8Gc1QOh25AKhUDgU3lM/E2rCtjX3b7BjwK\nUu8Pr+pwYjjCsg1tT5yT9JGyVBXS+XpADn+AEFC4yVIpTF0RAldf4WZaxpR/\n2bRdVZpKLv5MlgIJLrw2EkeZ8CJz8U2a/MzeG1hKKtQLMC42UAKP2XMpAbvh\nGYuqxfp6WqhAx11mbMjdMef9V1GLm0AO+w9KF2ihoqP68Em0qbfr8qUtNMwi\nfbWD+afgR1KYt09pK1MLBwR3maHHJwrAyaKzcUBuniALenUobkXzdPe3vtGD\nCRMaVFDiORf2RRGK7Owdu+5nJr3l+inRwzSTOVJptKCbD5w+xiCixmVSICJr\nIHvkE32sYCpkX4inLyHghO/vuuRjwF1IZL3Tv8cdiu54wssQcx195Yj7jrBH\nYAydwLFB7AAgtd08jFKROvzZYoLiQvmtgEncW6X8nkI5hHfmmZAIre+NRITi\nP675vBIJ1ZaNq8OkZKuIVmdUE+KOEKsDq0TaXqHM/wkXH5N15w8TV5dbGkQo\n4JiBRGQQaetxd9G/htOxDJieC6oPsmFbnvkjCQj65ZKHjqESnt03HL9RvWKu\npma4pdXIS7srD5XZIgSztg3RoknQaA+OzxKEHy+aL6BLojKr03/zKq4wdtSs\nE9aJ\r\n=og7i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGr6XGoPUB2zyrtRVt6uA599s/5F4ELgnQIuB1723VJjAiEAqHxlS25/fLzdTenKdywrV5w3oQBGJ/gULbQbxqD/JpQ="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2_1635258694096_0.8160358637073912"},"_hasShrinkwrap":false},"0.22.2-20211026143653":{"name":"@accordproject/cicero-server","version":"0.22.2-20211026143653","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.1.0","jsdoc":"^3.6.7","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20211026143653","@accordproject/cicero-engine":"0.22.2-20211026143653","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20211026143653","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-pJgV4yTsPjiOkH2m3Kx/Wwe6mplTMS+JH09S/XCM5ZZxoHZiMnSOg+CJhVfAxVE2p6KfGjE2R6GRqAanZ9Y7FA==","shasum":"55d2887e7a4a6a95988ec9f75f48fe5e6a9c219d","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20211026143653.tgz","fileCount":50,"unpackedSize":645391,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDnUl18UPZD+/V4moJ4X14Y82KJdLtx2T6oVL7CKlxNWAiASYXSvk/IHXFVriJ18Vhv1LA9TnnskHqClqOQfbj1clQ=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20211026143653_1635259024310_0.5432512094705979"},"_hasShrinkwrap":false},"0.22.2-20211026144140":{"name":"@accordproject/cicero-server","version":"0.22.2-20211026144140","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.1.0","jsdoc":"^3.6.7","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.2-20211026144140","@accordproject/cicero-engine":"0.22.2-20211026144140","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.2-20211026144140","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-O3uDZJdOFZzQyH1SPmTuOpiW4frSYx3hozDJxzslcOZDtdYXXIK72iUSEl74V0EFWa41ikatrDvt4WQzG14EfQ==","shasum":"a46cadc5da2f3bc0e0b310a119a5a22a57108dfe","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.2-20211026144140.tgz","fileCount":50,"unpackedSize":645391,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG8JTa3wSY11z66R6KZkSzr08afoWBmlOkPAZixV05H4AiARbt78Bl0h3Opkh5YZKPWRk73V37rfaLDqOvgX/TKUPw=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.2-20211026144140_1635259313557_0.4625769203008261"},"_hasShrinkwrap":false},"0.22.3-20211026145059":{"name":"@accordproject/cicero-server","version":"0.22.3-20211026145059","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.1.0","jsdoc":"^3.6.7","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.3-20211026145059","@accordproject/cicero-engine":"0.22.3-20211026145059","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.3-20211026145059","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-hPJG2Rm2PF6veqWem0yyUKXi/Q5xQXiFE4B/0/9buUSF5maVrzZVgFRZtzsiF77HmzVTplbTtGG9QjqEdk1+pw==","shasum":"8f4060b787ac7a617fedcf869f311b5a1106b4c4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.3-20211026145059.tgz","fileCount":50,"unpackedSize":645391,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvB2E0ZNFumEFQeOo3zcwUsdqgmt6rhjQmeaBbseDdHAiBdUCGk98udR3YNIVNNRBILykMWWZAP4+K+KQBvgqnoRw=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.3-20211026145059_1635259870455_0.7806942458927251"},"_hasShrinkwrap":false},"0.22.3-20211027074636":{"name":"@accordproject/cicero-server","version":"0.22.3-20211027074636","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.1.0","jsdoc":"^3.6.7","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.3-20211027074636","@accordproject/cicero-engine":"0.22.3-20211027074636","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.3-20211027074636","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-75o/QSrKAhuNheBlPS+h03gK+Rev3arD7giM+yyO7YPGL9s5jcJCML7KuZ17cPfZnAqkXRWfYxHmh+wX+VPp/g==","shasum":"37009d8ef8db0a789c88ec4e2abf0cfeb5f9531c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.3-20211027074636.tgz","fileCount":50,"unpackedSize":645424,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDp2vNcPQPvOd2V1NjP/5OEB+HVK7xjXGgITtSkgSmx2QIhALWLFlwFBsuqqCppedPCnGLVnG6Wj/8JcwQfYw0reBPD"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.3-20211027074636_1635320807835_0.7726664319288015"},"_hasShrinkwrap":false},"0.22.3-20211027083708":{"name":"@accordproject/cicero-server","version":"0.22.3-20211027083708","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.1.0","jsdoc":"^3.6.7","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.3-20211027083708","@accordproject/cicero-engine":"0.22.3-20211027083708","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.3-20211027083708","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-rdXQzDkdqo/I6ZUh+XzAq7otv2BzpSEOHSGnC1pLTjqwd9iSpnMcIURVd5qcDyAwA1V8JqVviXQztep8ANpjfg==","shasum":"0f9c2d2fcce10bbc9b5fce23246e320186bfb38f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.3-20211027083708.tgz","fileCount":50,"unpackedSize":645424,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcnNwi5kAgJauAlqhfL/cghIXz8p4Q6NK1FO1v2FhFDwIhALsFxPqpM5YFoBHYQNQSylIpv/UCK44oAH6xmRlcjTyD"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.3-20211027083708_1635323837926_0.1082496797028778"},"_hasShrinkwrap":false},"0.22.3-20211027125152":{"name":"@accordproject/cicero-server","version":"0.22.3-20211027125152","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.1.0","jsdoc":"^3.6.7","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.3-20211027125152","@accordproject/cicero-engine":"0.22.3-20211027125152","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.3-20211027125152","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-3Z4T1PAUBFbRS8Dn3a6AhvaVoE+cBq2Uq+l14G7X9/MXgbt2kvz3pRZAwHD6D0EP/MxF78bGUYiBmJGt9OkrXg==","shasum":"6bffd3e659c5e637ac412e7722d0c09b177ba31c","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.3-20211027125152.tgz","fileCount":50,"unpackedSize":645391,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJDgoIYciw6Jbiuvyqi2qYe4RKhMr/r1AOG9kgefm0vwIgfXCuiN5eqNLa4cX6aUcFIadm8I7xemaZw6uzgzJtI3k="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.3-20211027125152_1635339124553_0.5117115002765871"},"_hasShrinkwrap":false},"0.22.3-20211027130006":{"name":"@accordproject/cicero-server","version":"0.22.3-20211027130006","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.1.0","jsdoc":"^3.6.7","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.3-20211027130006","@accordproject/cicero-engine":"0.22.3-20211027130006","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.3-20211027130006","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-S37aY+p5OZ9SDm0u/Gd4feHBpuRvM2BW+e4yjGJqmAzjqfxEtjAZjrn8Kuky3H2g53O/VKd1/ao7WAWogufPpg==","shasum":"3ddc2ad93787fa8e7a0c748a6f71aa651ec62c7f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.3-20211027130006.tgz","fileCount":50,"unpackedSize":645424,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBPajmfsSsQ9+zUQt1wRVjH4yhJfgZ60zScTbfu6tuLyAiEAyiCmC0yriT3zdron6D+Lxy06VQER3CzSnhbHAzNqM1k="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.3-20211027130006_1635339616294_0.4597379707082838"},"_hasShrinkwrap":false},"0.22.3-20211027130557":{"name":"@accordproject/cicero-server","version":"0.22.3-20211027130557","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.1.0","jsdoc":"^3.6.7","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.3-20211027130557","@accordproject/cicero-engine":"0.22.3-20211027130557","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.3-20211027130557","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-nYWuw0Ms5sCVAPMy5me/fqEiaZXOy/uaAtVRUwU8N8iPNueKA3Aif4r86Ji1T5+j3zJH0a1WEEWY/ekHhe4CNw==","shasum":"718837e5949f7cf8519ef46cbd68fbafb2917a02","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.3-20211027130557.tgz","fileCount":50,"unpackedSize":645424,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDaraLph8B2/0Le8MeCeMp/FKulK8JAYSUKQhoiPeFO1AiBddrNUkXNf2S3wRvvd0WP+VEVd69367dmHK+31KDtp9w=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.3-20211027130557_1635339966943_0.6511402674194626"},"_hasShrinkwrap":false},"0.22.3-20211028100342":{"name":"@accordproject/cicero-server","version":"0.22.3-20211028100342","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.1.0","jsdoc":"^3.6.7","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.3-20211028100342","@accordproject/cicero-engine":"0.22.3-20211028100342","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.3-20211028100342","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-HdDG+8zaww+E7jf90KXcJ5iQURtczrjmMH9ftjAX9vEe9stdxN51oTWszIto8kx33qeQSEbPrGsMAtswefLxzg==","shasum":"9d38a4a69a03ffad01fbc6718750b091183ac9ca","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.3-20211028100342.tgz","fileCount":50,"unpackedSize":645391,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDZC0iZJA9o3OxOOLTgcCp0U0YgAvbi7t4B97dd0beDgAiATzex2UCHzcUf7pIVifwIDWls33M80x7gAqtj+Z5C3HQ=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.3-20211028100342_1635415434508_0.2420467485233111"},"_hasShrinkwrap":false},"0.22.3-20211028101322":{"name":"@accordproject/cicero-server","version":"0.22.3-20211028101322","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.1.0","jsdoc":"^3.6.7","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.3-20211028101322","@accordproject/cicero-engine":"0.22.3-20211028101322","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.3-20211028101322","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-eVYGBXJmx1ZW5gcDjOg7vyTG2RiZFKdgqklAnJhZ0D9JK81Okx+Qyqk2Gz6vDfEuHsQ5Q4NmaWFRz1LfNit8/g==","shasum":"19b99815c84da82835029f9c10c60014000056a1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.3-20211028101322.tgz","fileCount":50,"unpackedSize":645424,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLAjMNF87jGCqCpdC9XWkdtMwbc5bHyQ7W+s1b0GzAygIhAO1XXrXcxzCPAd6XpNBQK1E6dHczBm22gfe+joiuu3xT"}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.3-20211028101322_1635416012654_0.5437225578863414"},"_hasShrinkwrap":false},"0.22.3-20220124175242":{"name":"@accordproject/cicero-server","version":"0.22.3-20220124175242","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.1.0","jsdoc":"^3.6.7","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.3-20220124175242","@accordproject/cicero-engine":"0.22.3-20220124175242","@accordproject/cicero-transform":"0.22.3-20220124175242","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.3-20220124175242","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-wAJpQCYMgIPbksVaZs3Z8owP+a8suervQPFu+jnzqn4UyzajTiqXj2MmAhAqUkhEyiPxrW7MClyeBMdEtZ6OYQ==","shasum":"b13ec45b8369116d6670b3655e3f172c184fc97a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.3-20220124175242.tgz","fileCount":68,"unpackedSize":684477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7ud7CRA9TVsSAnZWagAAEHwP/RKHC9s+BkrGM+je1YMV\nXyG1TyzN5Qz8ljWprTEojjXrM22f5janNIwY4zxcb53XdLy6zVOn0nUQmkAo\n3mZ+iLQ7n0Gjnn6YMYaq36vMTFZaPgggv59HXS0quRfMQiZ5Rdc3VyQv7kul\no+Gd/nDXMnZLTYw2I6qZmpxVMp7UqoykINz+fN4CMAv/7U52hxn8/mKW9e9k\n1vObCb5R/DJfAF+Yr3aYTGXFz8As5kvTWklECF+A2gW6h9laj5O6IA3j2cgu\n4GK3KumsatTnLpGeMh41XBeLMP6gakc+CC3ti61Bw+CEPGzmOjA1+9AZ2I+E\n1oBYjXpEwqQndpHfEzLzbHqqPlvFjQJKHwYUF9OhzFRIyYAgv1ekSIpdtzOg\nBPGBthGEUMTkpKFTk3+d62XREr6OfCY6pWHsynOYVoew3bIi1QjMKyUcrFjH\numJFWgxnnslYXn76vStWb+i9chu0BMMALHkadqfdAxfSawoemnSdllMaCWAC\n+Hypf9GgnW07ozbb5OQfzZpFTi2Tj21QCezIPbdpS2eX5cI+MFxpuGfb89rw\no3D6Uo/2M/hI5DbiU/uBVViaKAuJO2gUd3NTRd1yffbJhGq8PblGq2DHT0wu\nb5kdS0tSR5SL1OPBPxa4G6W7smMrv9AT1QoUVHlmPuSI5uxjqckaFLfvW1Wh\n5RqB\r\n=b8GQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEScDVzD26K3WQtRSC7mW92De3Fd9++kcF7nxYLqcANPAiEA7iH1xvSAiJZIgBf34pRA/EtfCdQgwAoKoyWXWsYROus="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.3-20220124175242_1643046778982_0.4403425360393012"},"_hasShrinkwrap":false},"0.22.3-20220223023655":{"name":"@accordproject/cicero-server","version":"0.22.3-20220223023655","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.1.0","jsdoc":"^3.6.7","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","sinon":"4.0.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.3-20220223023655","@accordproject/cicero-engine":"0.22.3-20220223023655","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.3-20220223023655","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-eKEfaFEI6xQHe12TKfmCwS9T/P4SSdGkt2B8A4r9OqisP5U2icE2peIQyz3iTsDArLAu+bSc6y2rA5Vfsc2HCA==","shasum":"8284852a9262d9b3c36378e306c0805a3dd2c6b2","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.3-20220223023655.tgz","fileCount":50,"unpackedSize":645391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFZ3RACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGrRAAg15fJGlM5mEtDcQ8ZL4rW6JTfQCxxzFSjq803FAFO3wlyZw2\r\nQWCN843ytvFouWEvfyqmsz4BvfKKGfhA9OcMbj1eKssQEI5Ad5L56ivn6kdR\r\nA9M7yC65v3rpWYgXIsw/ZeTwMQG2D33SIKnvV9rDJ1sjE4Zt5h29SwSrgD9D\r\nau9hu+GT4b3El7eCQ4/1a5CLs8s3vy8MgdCOCNBB2gZgd5vtdJLZnpsDhFEA\r\nH1B3rzlSjipW6Nb2XZSxnwWTk3BfRxVqkLdxBn6VAJGGGiNBPnYmdEHmk4z4\r\nTMBw4m9rS1A78A5n4cQtInsZKe4cll+NWYS6yYczw5o4sD3/yWPNmfZeFyoC\r\nKWTT4bw4TrgUYxa3zi8DnoqK8g6XvIG/FkhkmEHnOaZrAuOAZROi/t4MqSwr\r\nd3EregaCNDjby7vZIDeyLRxjuuim3rIW1hqz/OTs5tXLc4Ldg/WNp8fNRM36\r\nZhpa7QHtzxCP1S5k0akXErL442JRH//33tOwma36CAF+V2eqFdRETjBoRg5C\r\nFnTVbzAhKU5psJgZ3OtafTmYdNYjAtMbNyYa0fCb/ggJ8i7Cb9U1PoRB4WJe\r\nq9xokQaVl/58Y7KJQxO0qiWXP8QjT6ZS7nMUcWJlJ6ViPXi4hXr+4jrVnvOf\r\ng+tmY4aeHyjvY8UNkZlihzg7oc+jNzOr4NI=\r\n=u4m1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICpRcst6DLO2ksCoDb42mEIufQ22/FaBmdJ63y5ivrJuAiA8QKKw0SiiPqI+mEbiHvfp2IliH/GbNndvtGaI45FcBA=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.3-20220223023655_1645583824989_0.4100133744969663"},"_hasShrinkwrap":false},"0.22.3-20220309180534":{"name":"@accordproject/cicero-server","version":"0.22.3-20220309180534","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.1.0","jsdoc":"^3.6.7","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.3-20220309180534","@accordproject/cicero-engine":"0.22.3-20220309180534","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.3-20220309180534","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-pV6v2W60Hdq8uFef3ISfvMx8jQaiZVQrgradw7Rqa2sWZOg4QhZJeke3TFA0UmuKhlnApFVRjSG2oifsEH0rxw==","shasum":"02f865796964b5d418446f2f90ad9fc6c6439fd9","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.3-20220309180534.tgz","fileCount":50,"unpackedSize":645369,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKOx6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrN0w//QHi+5VREpNgSBAlb4s9D8jW/+OMoM+eghyNlWWKu2m7a5/6A\r\n9A4aMb7tgJ1PJxbu8qjin/f90Lk+JIwQe+3b/8E6FvvxrITgbo2PSAbovfZG\r\nDGCzBBTOpziDABYAN0yydIJ3WImEzK3dJgn4xMmyp5TWuXmUJuFEE4XyjjFj\r\nauWjOneni8bpXTwG+edGqeq7+Lk2fZxq6OENef6fYcAke3Huw4rWtk6X2Rnt\r\n6PWU6k0I8jwWaRGSitkeONPqiMeW2Z8OA6IyskRwBO9uVGV5jTznVz0aUSpc\r\ntpDJMJzxwx2Jow8jxUtnwbIPFrr/o5Y7t4Tv+nIVtarHe0rmOBE0vmrVJdpo\r\nTwuQMJR0W/wK+kWyTuxgK51BFOlRfKnaG0FCNimAuxAQ7/9bOfEpHwezr+VJ\r\nFZUQQjXQ3MLo/Bxo3lzuTXb/gErOCTlqcXY4nzDWKAqXzwc8dueoSa9FKAx+\r\nxSswq/t1B8h4o/GtmuNXZxc1ZWF36CWNcNdyVd984NkTCyxx1K4xlUADokx7\r\n14ghHx+SeB23p6ASKoxGbuESMjZek+j2MaAwyEh2MZY5nahqY4TfaT5EV8Lq\r\nPDOV7P3yS7tPadaAtOQcWjvkk5jlvoXvYgpSOQyrtVHOKfj2GGZ6vdginQvc\r\n5C+234Qg1KclKFGHoApq2/jM9sTmrIdo8oY=\r\n=VYQQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF81s12P7uJ0KcqaosUQWTiPCBeIx5IgSLnftve9M11RAiEAzjmpf8JSLMJauSDQ4lTyGteL1phdMK9A+KjJZSIdEeA="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.3-20220309180534_1646849145746_0.2253581237442881"},"_hasShrinkwrap":false},"0.22.3-20220309181854":{"name":"@accordproject/cicero-server","version":"0.22.3-20220309181854","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.2.0","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.1.0","jsdoc":"^3.6.7","license-check":"1.1.5","mocha":"6.1.4","mockery":"2.0.0","nyc":"14.1.1","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.3-20220309181854","@accordproject/cicero-engine":"0.22.3-20220309181854","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.3-20220309181854","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-Ukpqk/H5o5mloYkmtY8OjHU4EjlqD7t3VUdf8iHheHBRrZb/7O7uIyPqfJrN3sC0uv7MoARXw7HkzhQhgdXNDw==","shasum":"5fc0f0f75c91d794068a395adc52951ed411dd5e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.3-20220309181854.tgz","fileCount":50,"unpackedSize":645369,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKO+ZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmopjg/7Bjfbq/ygdcSYwDfO9W0kYQsEPGeBzsXPnuNgrXmyMof60cRh\r\nCAK4YbuHjVi+7oQ4uNH1JB3r/LrL40ZzjWEXBcsceN/RGIwybnn0p7OcBLJk\r\niMMeOkuwC3l2pNERJAnMzPUt8sXZtU9sijYYbnFLOq7c5G/CzWk5d8HgJSiY\r\n3anu8vAS9a0MjWxg8vgw7z2mx9JWRueAYwbyFum64FNsNhxpvL7/rGwVRHF3\r\nOZ3TjhGW9myjURk5EWwe15XUtHiQf19OFppUlQJMIHzRy/7ZlyvCeSbOCD2S\r\nYGMPpheCyJ/JAKVnqL3lJzVg/z5dvywS6SFF6LRwafWlr/maYdYfaDpgdF8F\r\nysjhi2ihLJCdPWJ33SYszO9MF7NCg6vopcCPS4J1YnibfUmTkapogbwSN9XB\r\nk9STzh27SbIiz+KNIq59RNCL5+ZtsFWc0hj68TQsNq70ltAnd+0RWfLDIkAG\r\nSkk/Gud3smcwGc++n0ngGhb6T/jA5AHSBmPDG5tAbKLeeiJXdd/Lti6JFRJ2\r\ntTMsX/GRTjjiXg7wsvDpAB8u30B664pKLMCyoDHEI1wRldXd7scc7bkToMpO\r\nUaXqpDO9vGgCpgnBmjC46HWRp/Oc7FhwHfWrsxkxuxhJsyl3LtImmyAHHjs8\r\nXRzhfxkghDLccrDkdf4AioApI4vfIgiSUu0=\r\n=+R7H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNJjmebwwK9Wlvg/hHW7UAE5MsEwCTTbLBQDcVuCgthwIgf6hS5INemcGcG02JXFT0JqEY0aFPwzSflZqOXz0u/Xk="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.3-20220309181854_1646849945073_0.09713662490493324"},"_hasShrinkwrap":false},"0.22.3-20220317161537":{"name":"@accordproject/cicero-server","version":"0.22.3-20220317161537","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.2.0","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"8.3.2","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.3-20220317161537","@accordproject/cicero-engine":"0.22.3-20220317161537","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.3-20220317161537","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-Y7YsWLDX2wGiqUyspLDte76lai1nvwj1zgLkGlNfT9GhgUozdQHDakmhzDDUL0kEta6YV0LjenuJXFB0Rl6m7w==","shasum":"335943540a65cc0665e42238efc2f0426a67e419","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.3-20220317161537.tgz","fileCount":49,"unpackedSize":645371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiM160ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3Wg/6Aq2y0x/P6JRtmODa3/EiVBjNqW4SDeorvgkWyRGZwNywYT2g\r\nM6LzZR1JnDAyVOQpCK9tAsp1ALPc3MkiElYEch+rcuikMeZNejnW8XoMHgun\r\new83NDfMllsl4bI0E37d+s6BZx2t/MYbcYWKhB4A4tANur0utA83np05RUlJ\r\n7/kHWZk2LBr36TIqdAF1EIoyuonb+XH/yrgBjTjXF0c3ExEC8Cvo9Dh9zbLp\r\n+XrJO3rpXpWZrO/YNfjTcMAuauy2MsD16U1enSZOl3EjqUXss5nh1pWkO03A\r\nRUdKe+fWpTKbWq7x1LkdBkygZxyK6jYAFRBM6xwCi5vGkBzNijA9z4lNG4MM\r\nHrW9LYMo7i7+iJEE+gmsowpmYFfwCj/C85oTpxk1Ibn8KxczGP8LInW2VQYX\r\nn5d20zv86S+zoFX4a9sRsW2y85rY4+Pzd5UGSNM7TlA2mVSU2z84qptonCmS\r\n2aTUNbowxEOSAGXiGphtYW5BdwVbFp0x2R219w3OXTIzQqAARn8/W/Le0GB+\r\n1W2VM/McMvBf5gt0iGtcj4gZ7YIdl/2GPmLSGVxgvCHwkJ7kBGf908ftqFWM\r\n8qhvW+B01qC8LKPg59/IMo7mC75iR1Hg671CQJ7MCH5Qdzoe/5TAE9DEj2ce\r\nNvUB1x70Kr8XfxaDbI21sp6JAAc4DQJT+uE=\r\n=ZaOp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAi5fYvURP0p5CKPktESgUR9LUsA8njvIEVfsBrYtkpqAiEAt9JecC2rOFfoFEr0ePqcBzdyxqyJQi6XSPaHd9j4Ub0="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.3-20220317161537_1647533748103_0.71334798533666"},"_hasShrinkwrap":false},"0.22.3-20220317165049":{"name":"@accordproject/cicero-server","version":"0.22.3-20220317165049","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.2.0","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"8.3.2","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.3-20220317165049","@accordproject/cicero-engine":"0.22.3-20220317165049","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.3-20220317165049","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-ahnSw2juP0Ib6PcC86Kkdv40WCz1/xyoTxMIy+Agi/DJ5qdpGKwhen+OP++ZeOGTBR4o5cxierN+tR7dGntnhQ==","shasum":"c206e6aa436d3f45ea827eb77c16f7c0079a2dec","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.3-20220317165049.tgz","fileCount":49,"unpackedSize":645371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiM2b3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqAIA//cR2IpWnGt029Eht5wpGE9CW9FQs9Omp/6nK5d8+gGHUuWS/x\r\n4CeRK2DU0F2xso2UjyPZdon/5t1LGciSE5w3rJyft9JpL/BAuuqEqjFBkccM\r\nziS36xNeO7vUWCZXLSKTO+RqtiPa+d46acTT0KuasKd/SIJ2Fc+PsDJlVtnk\r\nFOQnl8dtWEYSYfkL7MYipOHythb+0xGFhZ5l39wI1peZO4XgQ8uyc0q7O1F5\r\nmb66+rFpOwP9c4lDqTRqhjIBJ7w1XMEplh7JITP96iIeWXW7XW/0pcRCBZht\r\nsT99MWGnztKJnCEFmSkfAPdm9F0Ex+K0KEhruLBNlA81/s9e2FQto5sBcmes\r\n0Vro4q+IbWQJT16TZQMG1Y08xbA94po2JtifSxucH3FvBQNc8bRDx4LqzyYw\r\n/l7zPGiYHrv5K9niZfrEW5HDlKhbZ9DHF4+n/nNEbk4Zbd0J6c6gTqnwEu03\r\n+ZaALD9VcW+bOQiRARk25Oj6QXjBRkt9csmmhEDdWHjMukqhFS7+YE5E6Sb7\r\nZkp0+P17IcA25zxtMCmv4OpxhekqVJ9DO7aHB1epDJa7fU7NlycDUh1GwiNB\r\n8p6wdog/QlQrT4sFnm5+aiLggx/14xWiXiWzLnvU02hqQbuybBhaWNp+XCZY\r\nAqbakHehy1v2Lg8HCNB46D+EdTeRdK+WhT4=\r\n=1mwU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAcGDKBfckKsBThrAkiOSmC9i3in9mUf6GSs3b54+ZftAiB+5xtCj9YuXu5Kmf51TWTrGi+0yxhRR9MtP/eXoYu6Xw=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.3-20220317165049_1647535863665_0.8656088762593788"},"_hasShrinkwrap":false},"0.23.0-alpha.1":{"name":"@accordproject/cicero-server","version":"0.23.0-alpha.1","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.2.0","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"8.3.2","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.0-alpha.1","@accordproject/cicero-engine":"0.23.0-alpha.1","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.0-alpha.1","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-z8R7ORz36T3W8B3W1tWCDIzcSwFZSnBAMx8KGEh/yV+dsjFYPZJoGQ7QyUW2jcjgLGBQEyQ4FMCjM0/CtLMfhg==","shasum":"8176c8bd5dfd5c897f0046f4ba4d54d8ac3d64b6","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.0-alpha.1.tgz","fileCount":49,"unpackedSize":645350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiM2ckACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp65g/6A5kezfizuM6mN+l9FirO/HkvROApDUiMVqN1ZdI2cngiLmZd\r\nhu/4A1xxqiOHDDYqSn66Nwrb9/amXR3YDJATXqFh6cr8hZPAs1okmAcU1Ak7\r\njXXpLUexm0KGf0IFdXZhbmfoptQbQOuMmd9nfzHSC6lOPmt0SnYk4NGbAQie\r\npxz976o38xv0Gdnd9nC+Qet8vULbxwpuWkLHLjuwdfxLKpM1v7cjVfl6mVzi\r\nL46YM+xhpSSzjwYbifjw2OZvQrwxBlDCczS7xxj4zldds3mcwYPkCsA5AIEQ\r\nSlse7ar6ZKOEJN82PT8gqhkfaWQsLdW9mZMfhoF8F/Y/jP7J6CTRqcponCEC\r\nZ8rMrhCsS54k95nQtT5iHNwbIiu0kozOlK+WOJ+fKjyu+nAA/737h/VFaRPA\r\n7zO7FsZbpE7nSAmQ3G+zaP/pdQilpmW8XUPfzCmJSPrT7kjrdsUbLHrNzWC+\r\nQK9nMjG/WWD4ZyRQcl+bggfIwDhKPkkpNYhpOU0jABjYqQ1mTM3EbQtQkqh8\r\nBJz6UlaKaPd7Bh130QM0NAqi3ksf0nWHj8jpwWa7XjR4K+u1jZsOpy9/HhnD\r\nzWEOq/uDXK2hhVpsvFroRG96TDfSrrEmrLFkheQ+VfORLKOv+UxHSSJod78Z\r\nsQWnoYbW7l05+m2LAC/FKKWd+spOEOE7TCs=\r\n=nA1z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC4eQKGqcjZadHmWSgKuY6AB5X4FwxDaC+wBnvucFwfwAiBpW+Sx3vJUv/+g2gbqeRgFCe/8xYu4CZgWbJm2v7nR/Q=="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.0-alpha.1_1647535907871_0.8772857024528364"},"_hasShrinkwrap":false},"0.22.3-20220317171158":{"name":"@accordproject/cicero-server","version":"0.22.3-20220317171158","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.2.0","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"8.3.2","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.22.3-20220317171158","@accordproject/cicero-engine":"0.22.3-20220317171158","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.22.3-20220317171158","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-CK/HF2GcC5cpr1bb/lNOCn23ssivGPjp8m07usm5HJkmb8Sybb3a/DDbQmDjIXcusp1ne8xU7GgaPjPBwfKtmg==","shasum":"8c58ff4386399f435ed330202f9edb8cea9aa7df","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.22.3-20220317171158.tgz","fileCount":49,"unpackedSize":645371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiM2vuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrODw/+LCjRBwJVpcMH+Ubbhzi5zN0NANcxMBZK8TaXv2qFDH+TTpen\r\nYseapjymBcRG4mLM1D1KU3HRwnP1n6DrRYYI827yD2zKaxmE6hPAZVAYsDER\r\niXBBPDrgQemw59k8Dv7+xseEjij6BhdZHsaRGhPd47HxE1mmvKHEUZjMOKvS\r\nkZtRJkDoNOBwgVNHdx1+MB2usTs6EuQ/L1NWboHiMXx5j7RJoAsigXpQdTfg\r\nGiZ7GBj0dmub4A1Z/XRPCvs1a+RSLZUB3kRMdVdHwy+9qXFDYFXV+yokix5n\r\nLbY88Aspc5NLtzUJMvzMDs0lXU+rPrk31Fta0QX7SVVrdqdRVtpKcHVCirGU\r\nmBBSXajc19+OjANlakFQsL5+EOl1boILEYHLnss2iEsgxFuRoyngDr6ugW+F\r\n/UdSZEUwDZLAXseKKmA8iv0kNZSi4dXTOtAvE1888nDmAue08UwZm5csMVf1\r\ner1q5LevLksZtUipODUigvDskZpOq551VIksp0IQkVdQvIvRHRWE+VUH5Byl\r\nnQ5B77oaYrZWltBLAnM4dMC6VwEl9chWmlPRgsHGS0rWdjKlOrEetK8ypd83\r\nq4z82VzYhW9ZQrhO20x7/bEcAwPTlFQnbRfzVmZKW+AWU95rrxOneJU4ufAE\r\nSGsPNxyFy7rHMWxTtgUMUezf+A3Zwa0Z+dA=\r\n=IhDw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDbxVK8KOfqy2FepTC9uK13k2um9WCHOeMeEhq86nlIaAiEAz1FyrlNHqzjRv40EXxMzFU7izH+s/JlnErgom7dO+2E="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.22.3-20220317171158_1647537134555_0.5248034120192717"},"_hasShrinkwrap":false},"0.23.0-20220317201249":{"name":"@accordproject/cicero-server","version":"0.23.0-20220317201249","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.2.0","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"8.3.2","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.0-20220317201249","@accordproject/cicero-engine":"0.23.0-20220317201249","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.0-20220317201249","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-hT8RwbjZtiL1SJTt/52bZe6KGvY8N5CKTBWJBfW1RhOWHtFSPIDm8lU8McXqwJWw/9qLL2FhRMqwfouUYZdA6w==","shasum":"258295c0a12cf5c8a096eb1520accc1678ed6989","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.0-20220317201249.tgz","fileCount":49,"unpackedSize":645371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiM5ZNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpIBA//YxgL0ZKKxLsaYC/ab0iQ/Mpff4jeDRqkOXc2bl8nhXjaw4c9\r\nNGCZ8vdeiMAyevY0gRLWH5pJ8eMn//rg9biLB6cjSFvshuM/qeXrJEeQb4YL\r\n2/oJrzNM/3NRNxf/C0AIoAC2Z1jY0HKgphEhHmTPyc5Qq3u28aHIO7ZF2Wf2\r\nut/v/cUKZ4D/lrVoxASS+xl0ucCj3RAm26FgtgSEGeMn4xRkx6q9x4aYY6NH\r\nzMnhOAgpz3kCvtDcZZdWhBnVowXWe+lWxfzBWgp3kwcIEDao95/mxdv0ZFsP\r\n/c0cYH46PIQfM+YuRqQHhv2Z2FRo6rRa9tyc7n/2FdGZevwMgRHTT6iVYfUU\r\nN5bkqSOrZCKR3cRxhILumDJ0QRfSdaoe6Lh+k24r/3EP99JT1NmazfxABaWF\r\nt2Cr3mXg6GmCXJ+2QgnAPRHU7cJBOTbLPLUz+hqW1CGaKRnVBzVCHAu+sFoK\r\nsn7DbS9miChZZTS7LbQC6Pf3i7uNPpNUOX5/9SJbUWVULwkwGmhn2ulJtVi+\r\nuAa/BMwtW3N+EuRimsq6zmXkuSNKeBEi+ti1YDW8R8oxY/bseAFj26dcGIgK\r\nzfO7Ts1u5WVFBvY5TpUbHk9efPSKXVotGdL1D4MrUc8hSVoa071Ff5uXtGsM\r\nf1OOiQ2iNIYyiXjqoG7XrlI3swdZiLC/HhU=\r\n=oX2E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHumRZSi4Sv1CRiTHvXXlEjNwQYi9d0wALrW975KcHbgAiEAqe/t3R9YHe4tq0VZb8mYtIE3MGrKQz/QUIxWQMdHsR0="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.0-20220317201249_1647547981545_0.13715414214899035"},"_hasShrinkwrap":false},"0.23.0-20220318160043":{"name":"@accordproject/cicero-server","version":"0.23.0-20220318160043","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.2.0","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"8.3.2","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.0-20220318160043","@accordproject/cicero-engine":"0.23.0-20220318160043","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.0-20220318160043","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-CvDzHUHbkBIRh8ctGqGI+BM2DlP7FZXRA69KQKetE66MnWHKyMKd6IObIC8od379vNUvB6f7d0CsrSfNVBLfPQ==","shasum":"afdcb3c869a2c438d624006b894ba5ac30639fb4","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.0-20220318160043.tgz","fileCount":49,"unpackedSize":645371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNKy2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqsEw//YlyRPUaKG9kpUryGXUspXUGGnFqwZqxLOvyemZt3qtHMDfyB\r\nYTsm6OmWJ3OOmp14MLj50iJMuzVpkYOb0YwLeQdKn4XrTEXSsgrqTBKR06Rl\r\njANLDhFFSa9CjNSVvCZnjsd7Q4YLB66Ay06JtW1xhcuWIsIP57rzKlBdECqg\r\np5xC0wQLYitWX53movUVaZuiamKmKyilB0K+wcGvzogaUMsN5DFZ2AYhs8M+\r\n1bzUlHyI8sFTKK/RrTNszOW95y67rwYMFg41cmSUHIs/MD5bkcs3a+bLCGwd\r\nI1C2GTWg1nnm0bDPsKXeWLTTMl2VOyeqXadJ8wqisqQKTN1hphEimA24wImC\r\nXCzT/jBD3D9lbRHN9Wqife1ArW+vqkt6ZjHu3/8tKAcZ7AzqNGMgtYDrZCR6\r\nED+mUI1sRrFqrsTxCe75r57gt7TbGM0GhHoZQqaKRrZQxvitxLFr88P+rvUw\r\n8s2VtI4OjrCKxPsER7n4FCnBYQi/tVxFQ/4QLTCPMcRuBzH33BpOnPdyM0Qc\r\nTG/ytN9ngxxlwGhunlaqBEet7qbVZrA/zVVdceaYXnVegODBgiWLxd/S3aUw\r\nAqno9dlPIHXHHSElTEgnsUBUzfsB4sm0NxntfjvYw4eISR8RSW8j4BJ4jcPe\r\nqvgalpARSGfGqh27XBhrKCHZas8ibF1yQvg=\r\n=cRFx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvOnfViTs5dHSQ8oi01EplD8CPEx+pcd7xLxDMxG/hUAIgTZBp0j7AVVFRSc+Tow3i4vP23l9tB1AralU4YFhWETI="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.0-20220318160043_1647619254264_0.1750636061172568"},"_hasShrinkwrap":false},"0.23.0-20220318160930":{"name":"@accordproject/cicero-server","version":"0.23.0-20220318160930","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=12","npm":">=5"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.2.0","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"8.3.2","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.0-20220318160930","@accordproject/cicero-engine":"0.23.0-20220318160930","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.0-20220318160930","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-w1YkhU25KlkdBQJ1SPTDwk73SEOs9M+p2QkfSeM9HPGxLbSFEcD8fK7JNc1BbmJAAuWdciU4qXJVTXBJwxfVOw==","shasum":"60a1651d5d8841d016d5a0d0ebc102d4c75d0285","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.0-20220318160930.tgz","fileCount":49,"unpackedSize":645371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNK7JACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPtA//XnyHnbetXAeTaTJ1/LZ7ITEjWAYzMzC5DOd7i/YmmAlslAhV\r\nUgun6ZRKXZ4+Sd/6lqWpcV67u/Qy4cDalMFyfMvaJDJGQSwWLZqTBr0fwMYh\r\nrLsqcSXpgGxjHhJEWvRF565sg+9Bpl+17yICc8Ijf8tHYsUs6QbiZPONJgyi\r\n9FGff/UEF8fBHj6SwzaOzqN5Ufj7wpPiWaM7KMNDQYFCwjzXOfh4z94fkjA0\r\nDDXf5dyp0wfzjpbYOFY20kfZ5Q3WhJohWeHtMRkQWxpKP1MxjGVkdvE0PJAC\r\n0V3861urCCOfzvogXTsrcK66KUF0lqy4W19H2Jd2s8a+F6XLTXQVXZx11fa3\r\nn9E1BVXeU2OEDx5/4xK50y4rBDGhBXQWDKbhzB1uCbe5+k3xjeeKq+PSks80\r\n7SmNP+hUH1Xk5XfExv/m97Rq48HCM6lEFHGzIpWZ0LgFnTz8Yh+We+4bh0PV\r\n8k4rcSkEgXHW+u1WJfXP2fYko4nUShvh1YBiBaBT/OuukwkxqQtNw4HTeJMX\r\nVsgZRi+pazt/Dfjh1WVNIcw0tMKeNFqVmj3bOru2bJbKYDTqrZDUGtjQN9MX\r\nl3UxXFcNZr3vMaARduO29UDJlXp4wPv0b58fkUR70g/4WVMs/En4bY1vzmYF\r\nZU72a6pRdhTBGNdc4XEgFZk8NiSKHNWVSCE=\r\n=vFcJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyyUXCpf6rMc1Pll56Uo+4cX4gpVpMEKCePYQ0bFTtyQIgU33i/eDk1vqlXHCoRH8HXFmjBwEe4XRuMgyLD3C+6Js="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.0-20220318160930_1647619784847_0.17419028010461268"},"_hasShrinkwrap":false},"0.23.0-20220318211856":{"name":"@accordproject/cicero-server","version":"0.23.0-20220318211856","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.2.0","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"8.3.2","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.0-20220318211856","@accordproject/cicero-engine":"0.23.0-20220318211856","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.0-20220318211856","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-+2pNvA7ayUqbGrYYCgpNQetMF83owNuWo/KeY3WifMh27yq/rI5ieIqjMEeRGP942B5FEqCRKhBXurDTZIowWw==","shasum":"1fdd441a045a39b1413bc3da42825b700ad422f8","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.0-20220318211856.tgz","fileCount":49,"unpackedSize":645371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNPdMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqriQ/+K9HLrear42/OeaO0NfVu2V1G8hrt8badc7Byk8ZiRktctZKH\r\n40TKQN+fb6CSMKDDQY+9zeX7UWgr9DGe/Ykn4O1gdIwzRm+KvcfaTnp9SstS\r\nAvCqI/ybo2xfdYuwy6DruN1I50r2Z0p17fMmurQ2w8P8yWuTMIc5r0Py/AzD\r\npHZcDjFJRAfncp+zwAqlOQnbx8RjW61sZlq8U2IqKpWa1x+S4eBu6Oa6cS0o\r\nrotJYUfOGJPh0SsLVTFu46EpNuwzGMweywYtY+WJIq0s00BkP6GqmNSskztn\r\npSMDEfSxGPW10L4OLUNguElE3WrJgwg1uEaPh/P2qyzDDkU0BoK27/qL362w\r\ncQj2Z93Uw64R3KDWF3nUs68rUtT/h6OU0kBeJ/Mts3EfqRMPw/3moB/aSR8W\r\nxOcqeiTOtp4YdkMAgN8OnVLzWB4gUbXVMRu90JP8yM6d5U68BGXINfzNxirJ\r\nb84WzFM0brwfLdYFUUE3DB64yELiMjzorMsssN+O1xEh4NKni+xB5a5QRAoy\r\nXT3YXf457jWkvw5bJUvRB5Qdvxe+t5wOlH3vRchD8AE5dscIoi3PLEltBDhr\r\np3TVaLpPXoVWcicWOGrYN0FkQhY4a3E52HfJp3GSe7oR1dH1w1bl6brbb+eD\r\nOG4i3WQuxLfqCjLpXtaF7Kz5sX5DPZsLPzk=\r\n=Jna3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDD10YuIxwE9G9uwkpd/tI3K9tlUO9cr+PwkYqAGh4zQAiEA5YMVah4EBl7inKEjRA84MFV7ANEO5qnOiSsRB+jEsKE="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.0-20220318211856_1647638348160_0.9223977825166698"},"_hasShrinkwrap":false},"0.23.0-20220427150826":{"name":"@accordproject/cicero-server","version":"0.23.0-20220427150826","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.2.0","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"8.3.2","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.0-20220427150826","@accordproject/cicero-engine":"0.23.0-20220427150826","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.0-20220427150826","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-k2Fk86ZgtIKkH9XMw6nnDhw3rPqtkzVs9C2qKC0er+MUqPgXx789fH+1irH0igd4pgNfQD/rMPwm6yqBVMn6cw==","shasum":"51999f596e868ebcfb89b442fcc512d917163d41","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.0-20220427150826.tgz","fileCount":49,"unpackedSize":645371,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBLlGlr4U7mws1vVbmgdvjTYEap4fwQ+Tmb2l8ero9hpAiBVEbYPfsN+dDk8JME/YFOqOdm9r13scbQlgstzmcpofQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaVx1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgKg/+NCYtKEGfi4uJVzIHQQHfi9+K59EcoRGWehnuageLlvuiwW89\r\n86RrR9GHaQZFNyFHxHSGnDHkN3HDTnaZ0B1Z6QO1bKs9xVx44kcJOSwcSY8G\r\n1yIRJDmI+EEPhAbBvri5kYWzNgkYq541m2CyxqDITmC9yvXyDY3dMcKomgMX\r\nh5Sp4i7b/h4m3fy6UiHB0ed9hKGyzltMKnadCorraMppyEyNYKTISCS+mUML\r\nKKhoAHh5Zzk5OVWhxCgWAyiKMWVJTfJ5Kk0RpeH32H7hA+rdxYf72G3SvHHd\r\nS9FpAhOtuK2OmVAwXaMv0KkddSe9CYgQcz7MHRXLm+RIlpgfn2cbp+GU9y8B\r\nUP9tkXbHCNbN0bjrgtbSPI2eDcH4zSF5Y3bUR4ntiico/6mr1rQ2/SjDK6yj\r\nv33rNgjP/ysI15G65ASwzyCGouOEap06/sYkzklqxh5bQc01Hs4KaHk+5/x7\r\nAH9TZC1DEsC8YUY8PL2MyhHwgZyj7K3vCEqyVcIc2TmxIyE1CH8UcmESUQlp\r\n/YEQ069o5QAnF8ViJN54hyvvoFXM6plnQkoCldcIAoCMOV3kaOFXZcTFwqy0\r\nap03Uju88ykl3d7LfVtZ676JeWo45eEY+odfoAZb7kEXvKxbkPqc52Lv6XNX\r\npP1T1NjaqagUZADVA4xHAlVNgnh48bXxbnA=\r\n=fWy0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.0-20220427150826_1651072117312_0.336683739347835"},"_hasShrinkwrap":false},"0.23.0":{"name":"@accordproject/cicero-server","version":"0.23.0","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.2.0","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"8.3.2","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.0","@accordproject/cicero-engine":"0.23.0","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.23.0","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-SShrizUvpztARqqBkZZH3xEklPb6s6GNYDRzagCC493yd21HKKSKse0Nf2b3V+jHHVXNt1QQqsPSvidJUSn41Q==","shasum":"37cb25af25e6cca0892ac49b3e65f5c03626fd86","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.0.tgz","fileCount":49,"unpackedSize":645326,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAYjuLUJgiyMNn/3bUZKnBhrDEgfw/4eLw1JS92zs07gIhAOPOa7FVawQpcANujNBWpQYsQx6ui/TvhW9RnkvoRofp"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaWhaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqm0RAAg4BAXV89rX6wBzp078s2UyzQR99KTK2PEz+S9HHOZSpWFFeC\r\nW106eYANiB6YimbZntKUtrghqtBkakJDTtgwZU5ziDafp2HndrN/J/Wuufj3\r\nnCdwSvucgaOmgmcABBsRr/oy78Q/bb81JTcy/iAdnV8qEN9i04K2R1LVCv1s\r\nM2KqyRiO8MOE3p9CtX/cTKHEsUcuSvmhdQT91x4bOMcvJTO30f55KOzfhHd8\r\npbYZ2mxKiQty1m9ni8ET4NVvGJ05GjcA64If48xxfp8uS/KVO1bx7oOCdn23\r\nNIZ21Cda0XANFUpX+lfH1EZGV0hVGMLjbebWclN0vRIIFfNRjxP8MFcoNK5s\r\n7EJ7yPmsr0zoNE5Ve7JhQOyH/tku2mytx4m3uWbYpOVT8YTfeHOHqncSc8UH\r\nX/BWY5TrB0vxTICyCdHCF0st0pyc6DNzc7fFgzGKZdocyi8Nyi8k/uUkZwQL\r\n2MxrYF3APL4BQFsI0WRuKQohOxzQ41/u8XIEa00XgUe3aepnwHneLQ1CYJ7q\r\nDbWPSv5bugtNUsYKN8r66qA2emdScgNXCFBEsRkCT8jIBHP7/vm+QUHLdmHA\r\nxEas3N1UL3vv49m05KI91HZQWx+xE8DYlCT4rzsICp4KL5hF9d/YpfDCLmb5\r\ndP5TKyNdXOeOEVliAAjPhjDdpHRNfJZeSsE=\r\n=qwLP\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.0_1651075161872_0.7655642359690147"},"_hasShrinkwrap":false},"0.23.0-20220427160542":{"name":"@accordproject/cicero-server","version":"0.23.0-20220427160542","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.2.0","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"8.3.2","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.0-20220427160542","@accordproject/cicero-engine":"0.23.0-20220427160542","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.0-20220427160542","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-mnxDZlUFMXKTgUvZobzVJAgTbKdRNNdLtMzbqIxAvzCbc5D77eq+0T/F1bldS5/1jo5PeO5GMOgBc0yLZxSToA==","shasum":"5a609222ec6f725870d4d64f5ba8844e049612e6","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.0-20220427160542.tgz","fileCount":49,"unpackedSize":645371,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEVdz/zGhWNrJ5D+AqIllEcLzQRioTKGvt8peULGkbXqAiEA9RUoR5Dx0tazswkjC+buKc+UYcNACQApRbLpfc8BroU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaWniACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq14A//cqTzs0nSx3IWxq0a4AFm9auaNytqN9zZ6ObDbLmKEw/x6ig0\r\nZhl5i29x+bJhJy5I8qHni2cpnG8aHRQuoNngtO/PoZE70pXfmXgblhS8hHBp\r\nIqagZXll+nNmhS4SdcoMoRI+r6gM3dm0viiBbjo0O6voaKZYTQ2d2jlOhrJV\r\nvg29p/IWJkN43xyGnybEybHjJ3swvhquI02KB0l7PZXjRHSAeGk+fbQq2auS\r\nQW3KtVXjCEQg9hc3oTp1GZNd/OJXwg77mKRYY8KPklfZBYUYQOhJu1G/Vl0A\r\nzD9ANmX6G3WpqKIrJUnk7hZZai+gkKjJGsfeUb0HI6g4vb64b1X0EITLeCN1\r\n+ivZI5xpPSSmQYJSMjzwm3rzF0X56T0Ou63O4IIJNE8dnuf4N1VJyCp5+Qi6\r\n3T0Bc5Xf6gxAQdV4qd+dL0xzMHaaTw8C+doVRVlB8RmTWlfjtbzUGPNFQirE\r\njzY/16x9smD1mGLvlxaJpH4or/Z/K2mIvpdp1dDR8eqIU80O2rJYBNWYfTs6\r\ntyN8w6XAEJwaA7S587CYw9n7Kys7xu5L/vKH6l8CP2m9x1oAjUhdYdPlLTNn\r\nRsrSCJFULpT6nVDp+3fFXZbpQ4w0vJytEd/wvqwnY3dW5QIv96yb3D+my2dt\r\nRVy3w3d/6+eZzhA4jk9+um7CGxypqJOprcg=\r\n=rDmn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.0-20220427160542_1651075554198_0.46259811262426864"},"_hasShrinkwrap":false},"0.23.0-20220427162146":{"name":"@accordproject/cicero-server","version":"0.23.0-20220427162146","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.2.0","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"8.3.2","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.0-20220427162146","@accordproject/cicero-engine":"0.23.0-20220427162146","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.0-20220427162146","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-nBP0ehPC/cvV1eqKP/qbb42+3iipp+oN5aAdDRFFzz449l0VR8QPaLDoGOZifKNzWwwQ3ltAhQR04SK1mr0bUQ==","shasum":"8412bb96ef49358fb8a09e04555baedf0dfcc556","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.0-20220427162146.tgz","fileCount":49,"unpackedSize":645371,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHnwMbwySPcsJX4a1OAuwYxZdsrFecrT+BzcUEzb8Zx2AiBxddAgiGWV79p3n0drOIDkGAnytgpVBcTMTmbivdr1og=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaW2uACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpBPw/7BDIp5o0x8IVc8ViwAlW3KiAqX741hoKRIH0JBaNhm0Dxabat\r\n4rjg0qYnhSVEnVbTK0p/lFE8xHV+HCmDMJZCd44ZTvGN1X78ZRwJLJq8Vnks\r\nvdgD0mg2HCngJ15Vy/shV7g/IMk5zPJ9gwau7LoGM974YcpAyg6+ki9/gbwN\r\nIMWsdbe31pzq42mHa9pS8NrunL5qr7M/q52kINWkrMhNdXDvYbCqAGu+ATyS\r\n5r3cuV9pNMcl5OpazpLxtClVPPKf91bWXNdJX8N2GXffw/H2IGI3fA2BcuwN\r\nO3gnMjIkZYhkSyYWt7+3viGLV+zKnyBqj3hIZcrpG9ScQOTXIVT7nTfakjcx\r\npqlLTSI7448v14UT8Gheo8DoQ2WBxxaQe/McDgz5bS3ZPBkrueJN3OeykKoP\r\nAygETauGQGGrRamtdon8vmEGl2fY1dCsYM5BqVAqjV4X/lph8IbEbZnggVqI\r\nDVFE6L4wuSXL0f+dVREP3p+ttoOVqnlQfDsxS26Vc+2wpEms20p1fnunjPf2\r\nNWWviFpgYe3HSjcVqLS/wBuiQ04Dy3QufnyQMbkueVG3hGgaSe4zrh4/Ti11\r\nHkD2tUGmD6NcZNlKjZVkHLsMWgksF6zcaAXS3E28ZU78wmgAmOekHGaoHqlE\r\nVGGnABC5nZFGQb3VUIeZDEZ6uAOYtCD/DSY=\r\n=MeFG\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.0-20220427162146_1651076525838_0.9052490439011913"},"_hasShrinkwrap":false},"0.23.0-20220524131043":{"name":"@accordproject/cicero-server","version":"0.23.0-20220524131043","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.2.0","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"8.3.2","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.0-20220524131043","@accordproject/cicero-engine":"0.23.0-20220524131043","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 88,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 5,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    },\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.cicero.contract.AccordContractState\",\n        \"stateId\": \"org.accordproject.cicero.contract.AccordContractState#1\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"contractId\": \"ecd6257e-2ffe-4ef1-8a5c-38ca9084a829\",\n        \"buyer\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Dan\"\n        },\n        \"seller\": {\n            \"$class\": \"org.accordproject.cicero.contract.AccordParty\",\n            \"partyId\": \"Steve\"\n        },\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 9,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 1000.5,\n        \"capPercentage\": 99,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"weeks\"\n        },\n        \"fractionalPart\": \"days\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.0-20220524131043","_nodeVersion":"14.19.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-EFg1ItU3w6DNHRhSwQT1/OBNBk6N0QfriamFyyLu1N2tQcQglE5PkQrHRc/maaF1Qzobq0t+0eJiW/5YHJfU1w==","shasum":"e604399b90c994e7baf5e2173a25ac0fb23cba20","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.0-20220524131043.tgz","fileCount":49,"unpackedSize":645371,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQxbEBsBqQw2eJ/WU0/ZqLzlnMrpM5vW5yv95K0rOH7wIhANPooaJLKYRsMAP5cNtbW3nT6cT7s5J+nVLfSICcA7g+"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijNldACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpBRA/+PHUWXrFFy27oJRqvIOlLtYUFHn/EoVgscvPiyOJCqGLNpx1j\r\nWiLPd1d1JJOYZFP4R8ZuY4KudPgwGeihbFjLphZg3N+EryEonNrVUB9hoyFD\r\nSMNqezmb1uKs62G6VRI9rBUeRM5KSaEPsAqYOpU6lp4qNAkEBxARA7mnLnpG\r\nFz5D8OGnL7cYzll7VEqjxrvmIJ88DB5zL/oX3q3LQMLBEfBsGetiuHX66qRc\r\n/Eh14P+7ftlbL2+X68N02Iw7wHP4EoDfUtFe7/fd6F9jb4citLS216caHhJ6\r\nip5B5DB6YscPEyulIWI0mqVEw2R2XtADJJGlK51dbmPrSP4nnEUZtLShxRiM\r\nzotuSh3SEj4eTpdce8opc/mzkNX43meBfKws/HoWLQVxTPtUbzVMYwYT9wVl\r\n1UDGeMXZXxlAlhj/JbVJvrHj2dPjqpWQq0pFgRrN/9hH63Jk5F2Z2ROTZa6X\r\n2ZMHtXG3u80Ttlcus53oZWUf06ETEvQHK8VH6uGn1zxQ2lbgOm8CET5MZjBH\r\nU4VE5Cg6ULjNPWT3Cj0cQi+SQmh+6UKyT2Da0SQFzl8FAPDHci2rtiV6FTWs\r\nEm6PSnedZsSf7/TQ/zHwXxObKJQaEv9aIjxyjDjYpFN6/6GtEKk0kU9U66Tj\r\nnc9V7lh/rqAaLVfGDc90QQ+Zjz9P01RJQFI=\r\n=iszj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.0-20220524131043_1653397853610_0.10401755453272421"},"_hasShrinkwrap":false},"0.23.0-20220526145927":{"name":"@accordproject/cicero-server","version":"0.23.0-20220526145927","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.2.0","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"8.3.2","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.0-20220526145927","@accordproject/cicero-engine":"0.23.0-20220526145927","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.0-20220526145927","_nodeVersion":"14.19.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-IEZxjDGTZZHgglIsEiO7+YHDOujYD0d2Nn4ycl1Vlo3sHgDjMMWh1rqN8RiRApez2JpZqAUED72Oy/flGY5uNg==","shasum":"7ef4c985170c81fc9379ad8c17b4834b015e3192","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.0-20220526145927.tgz","fileCount":49,"unpackedSize":645034,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFV549Z4Lr/VRTCDNIvpt6L7TWSbkn7GEl10PKDrRZxsAiEArKwzJzxgupzP37JQJAjC1AvA0Ugwj+qeEtwOatK7Hu4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJij5XaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3cA//QZCySW/8qgDP0j8MHKzErjGTqbVY7GLoTjcx7Py6WBPDWY2t\r\nqgiJxR36ryIuEx3aJkiriglQnhAZnDZ0BEf6z1ziFgujYtArOFqK1Ctnr/EC\r\nNvG+OVo7tHhrOGspIwopDkS+vpfnvQX4qDa8xGGmBYZusrVh/nzpgb3MQsaS\r\nUA1eVqtsM9f7teSyuDSldiZS+8O0TSIzI94+gtmdMnHhRQvv1TEVjzC8d/OE\r\nDfI/248VfVTepAaU4OGfQB5eQlNIw76ZeI3/FoeZ+7pn4X7foyq11oCwUCLt\r\nDj3HzZvck5yC6Igzb9wUFZhtQ2VN6S7/DnHwco/uwELltT380GJKcWPS8zas\r\n2sClIZ4YF4FR7rGPOtmgDojGqa64RF4XNN0qircCGhT1dN/L2ASHw3WbMMDh\r\nZ6r3ao/wJaht6qXA0g3eTmTCY7LxI8j3QDanKBYSu++BBQMA1sUCPuLHL8yO\r\nxk+1hvvKnuDD4pAIij9x0MoqVfowIZWkdxSoB5JlQgopgZrNSkZVz0gRJqNI\r\nZJjdRl5NGJjwkv96Mhi8f2tWeGoeTy5FicCLsWeE2Wwh5xSBpvfQfOL6Hkb2\r\nxV4ipvdbxXBo4CgB/X311ZZZIN3vNr+7Y4a1iW4TXDGaBV8PVGtD6IYnflbB\r\n3lzWOW9jSX5w23V5RI6hNmcjwhX1hFdliHI=\r\n=BXo3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.0-20220526145927_1653577177904_0.3275826954696497"},"_hasShrinkwrap":false},"0.23.1-20220912141752":{"name":"@accordproject/cicero-server","version":"0.23.1-20220912141752","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"8.2.0","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"8.3.2","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.1-20220912141752","@accordproject/cicero-engine":"0.23.1-20220912141752","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.1-20220912141752","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-TycvJLAqCxwhXtm/RoTA/mlS9shrwA429tVtFy5BnI4WJBRT+Mqwmltb5Jal8Xy3NCJGICIlKrB06ToRXI4JrA==","shasum":"d15a157654177d31909af4bbc15a5723c25cfeec","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.1-20220912141752.tgz","fileCount":49,"unpackedSize":645034,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDg0kDVEdcUhtrv2EXW/xJGAMZIui30xrv7eJjBlj5DsAiBaRnWLWcjNtZpUPRBPqkG7m6wkyYT8nAWjxFvqpXdmkA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjHz+qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrcGg/7BDurZcR3TvST89qNB6M5ZayfdSBMNjuFlxWKY/O2ntaN4mcK\r\niURXjtaDuk82JLK4o+pN677lUzP2gZDVbWeXJ4NUVuBK3/gaMKwbpBotgmbU\r\neIiAfLg/TkH6T+GObsTDD3ahVuaOoLzYVbmbNGarX1xqpUhkV9rUcya9PL6f\r\nmYJjfi0rVh6QWbMkN7rlui7ZwETMZx5wgD7+uyRQwsqczJlLWIJVKT+qnnw7\r\n83AfWLXsg8FaLKp7hjrX/3m7QGKQj00WpO13GtCpe/SxVyhanEJGj4+pfA+9\r\nmBYf0roq6Okg6P1HwVoZjqNHj/9xmwluEvV5jDBXgFsY1BTeYkyikasHk0Mr\r\n9FGdZ9vwNAGXODyF9f+hVTsddi1cOzKtoTAJ1Yc7wlcojIuHrZacqCODsCSn\r\nUvNSySJrpUtxU8SCSFLbXSUYG3RkNaHrpoiDXAOWs3Trwb6QPTl4HyvTmgm5\r\n7Tpf+KhQWmPv67D0m7ZyFPrvU/BPJdFrwGscJ8VVcY0NFuz2bYfc5tw4slK+\r\nD1csGS4/WVzWrprRn+3btqEBdM6x9BQ/P5AlxJAG0h7Po2P75YARMjtMTy9Y\r\ngkePJAusngSUDIZdwd4CHxXu4xLBpKjBiJdvqgaFzGF+bSqsQ7X37Y3yvCgz\r\nNkq5ZAaSao5wg9XsngRQ5BkiouvmfNacSPg=\r\n=jyWp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.1-20220912141752_1662992298005_0.41836385647862073"},"_hasShrinkwrap":false},"0.23.1-20220919123711":{"name":"@accordproject/cicero-server","version":"0.23.1-20220919123711","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"^8.23.1","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"^8.4.0","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.1-20220919123711","@accordproject/cicero-engine":"0.23.1-20220919123711","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.1-20220919123711","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-9ayf6n2RDwlG/ApkfwivAr4BYij7fXJbXV4KqBnFhWWmKMhcw8fNPtCJ9hEmRTCZnlS+tprCDUJWn+i+s+WEVQ==","shasum":"59f6cabc1beac52baa43357a5cfe1ca33ec93714","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.1-20220919123711.tgz","fileCount":51,"unpackedSize":651864,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG5+COOa2+Jo7CeNc8FgBE2YGunHKCbS8cMdhlwRXrK3AiEAg9JqAUFWjVlxhUhuMQYHqNWaN7K7RB43Zej/i7yCOPA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKGKCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmriGg//Y1o3Wzo3HONDZxQdGNDnAtchSArBiAk2z7C7Tht10Jjz2kdv\r\nxFzVb5x3h0mDSD9GaW2UBOR0O12tsnCMhRg0Lt5sOxNAG+ZsWDPJrpORm3uH\r\nsAoRHXW+n/btkQ7e9jtsSaZ5B21C0euGl1sRmLWKPI1qRALuCTwmIay8dBGi\r\na4TzHzxqKD2ocVIaV5BzD2PkKITSAt8h8pFduLphD9kzBhBZEteejkvP+v6k\r\nEbqPRzGjqol/AB+7LjfStp+vcqBkLjYkC2UF0PE8AbvPSCbEVQc3nsikHc89\r\nzld9GsC/dfHxUvSFCi5klKx5KMfpEdReRPCxN6nHqjHxYV9oxNG8Cv0CwDDJ\r\n2qAzJjSGbiPwm+3KYBWp74vYfth7T/HdFDnYBdzuPqNsnbgvdUVT9FRbEh7Z\r\nYqY3gOVY9iqtGv+ncluUKq3/O4bWYuzdzDT2T/ii3rmRXyiW4Gt4wPrzcyio\r\noU3dMYQIAjXDUdDiIZxKaR6IcpWQ/I4HHaduDBpalbTvnQ5wI2rYPHG94UPZ\r\nYD4QiUfwC/DsxHpz9QtDa4IX+yB4IyHCElXcnANESK3VSNj/sKYwWjvZXoc5\r\noEkByOFZyDMgu66owZ8Z86dEvn4N/+YWhM495GHRxb4rLg2xfQeaKAQXz6z+\r\npDtqjv8XVx/yNCg4/JaH72rv12zkoAHbPR8=\r\n=7chY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.1-20220919123711_1663591042398_0.1406067905722974"},"_hasShrinkwrap":false},"0.23.1-20220927150108":{"name":"@accordproject/cicero-server","version":"0.23.1-20220927150108","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"^8.23.1","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"^8.4.0","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.1-20220927150108","@accordproject/cicero-engine":"0.23.1-20220927150108","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.1-20220927150108","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-rzwiTJwgKzMVMXP3xQWN31EuDgyCQkOiPMogsI5U8FVhJR9jvT8YjL5TdpQypbIum9krP78Xx7z1jjCE24xiSg==","shasum":"b52e6a0b1be08e96bf2b18a2021f2662d9588560","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.1-20220927150108.tgz","fileCount":51,"unpackedSize":656335,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHIXp1SpyOKL5rBQyBLzXk3xY+4gFUqHbRQTVePFJTwIAiBqXJrdXg0LQF+aHtDvgDKfCGKyGOv5gdQDJ++rpjRKBw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMxBCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp5Jw//adXWSdBO4D0gz6ZU6AYqba/Bdllagpqnxtfsr7VxeqY6Gw4l\r\nwJv5QmC9z/vjNz7TH5WWKcP6Gaq6YzWAsbiUpIbrEG5vKQUHRSN3UxH1I1bV\r\nmT6AKTSsrmll1V3efp3Kvl6hwXnyeIjmjvcYlhlzDqWavvUCNd2NzZLUhC9f\r\ncFgvjXVS/BNZSiWQzeDJ2uJJpurYClEXcPsxB8NQwZu1HdbEeGp2gW4VXula\r\n+nbSihkU2KyqRW35jFxQy/6bFCzyYApLS8/c0XUdKzLJmquPRynC/aBQ8VSm\r\nyugqYEldlc4yb6i+D3GBnG5a+gQ1tdHzJDE06SOoN6wE1C5edyo1oe6a0UAG\r\nPWkZkmScf8AVXA0cJlOgW6iyxJQ5BtOhxyL8iQaY3JXSDvMbrtIiDKG72IK+\r\n1ZvrEpveIGFdhLxHvQPdGp34fUH91+YwWIU3BRyCqScWmUGPutG9YYX+Vq3M\r\n9QERNJbMR3EqAvPBatNliyOYsAaqjbHs9jQ0oerJZ9m/dFR3/HNgAY4nN/bu\r\nFdTu5jwHIls8s2uHs5C1LAQJPj6un6VamaCddUI5edw2ga4WuwFhj7LcOqXj\r\n5lv1boA84c45W/itvay+hXfU0i6dk0INOoZjDvbj8UkzQ0L2aCX8uUddlftm\r\nX4WLgir7zojgYeNoY/OsFFogXCBTbPjBk0A=\r\n=6f62\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.1-20220927150108_1664290882471_0.9467437117797306"},"_hasShrinkwrap":false},"0.23.1-20220927150705":{"name":"@accordproject/cicero-server","version":"0.23.1-20220927150705","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"^8.23.1","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"^8.4.0","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.1-20220927150705","@accordproject/cicero-engine":"0.23.1-20220927150705","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.1-20220927150705","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-+KJuyG2KatGYhO6RqQNmUJRUdjHrkqsTMPMqBqL4wQnSpgkowThgLAfXDHx0G1vbu6AKC0XMsJxUubXr5Ot4Bw==","shasum":"6d579174fc16691713dbb8ec48af4018cfdcb25b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.1-20220927150705.tgz","fileCount":51,"unpackedSize":659177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFJxbCNfHNfW3IDSXUV4Y6TZ8QedCEbMqa38keEvulOwIgaObvlyc6uknMgT+kL7PNs5otznOLMVBp0t3xn6tixQE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMxG3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpTsxAAhORdUJsRjH4KcyIcuWKHmiuSZ7xFXsNWaDG1nSgtxtQuI+80\r\ndFPBuKK+lg1ZNdNC8eZWuD/OGMRokKJp5PhcMh8iJ/7/NaYNcHzL/15rue2Q\r\nBZ0apHZyFzbv+4KFeTIVPa3hJDAln4jdQKrMd9DHNLoxlnWK2aDEModTalH6\r\ntwXO2kbeDWn3GYz+mzFJv8va14sjalNjVilB3gXYytc5PcqG+gNBMnkiXFOW\r\nFuVSBKN1vguFZlvdKUQnBNWIliKSNgt2Qn0O1QmZe/HAgA3Wk1mgZddxE5Pn\r\nLLd48BrUcHED/ni4FL7DWsPlz6wPqYjBaCR6k6FAkuYmdTdgCW8Ki2kh1do+\r\nAYx8jHVEVMMJQw9Nws2V03Vcl40El3mY2WmQhSIZZb51HpRQNXSv/Cd2SWWg\r\nL2KzUoDWkEBjQc8kHdrNAPyNJBTYL2JU8OKKRxMaUbzp2UYMPGX5kLHN0iSd\r\nz2zbCBrjUCs2uGSMlF6EPgsYtDeSZ5AUaBXKnQbrihILQSesuo5d3c7XxkMj\r\nLo5NrZ57lODptLjdrpLkYixLB3rzlW31x214uM9sXkK2WiYp5XCYTqMu1gSz\r\nid8BPMb7Zhvmwj27gJWHeK1rMQ6km48ly3/a43Hx8bBs/45BAo1Gl8faeXxt\r\nj13ld+KmB9gEv0sU0kEqb9Kjkcey8gGsZ1A=\r\n=gpce\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.1-20220927150705_1664291254813_0.8496691986508995"},"_hasShrinkwrap":false},"0.23.1-20220927152358":{"name":"@accordproject/cicero-server","version":"0.23.1-20220927152358","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"^8.23.1","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"^8.4.0","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.1-20220927152358","@accordproject/cicero-engine":"0.23.1-20220927152358","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.1-20220927152358","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-SPsiXfyIWpSDSZmQA7nA3spMvxtJHjpkZh0gMqPRBQxmkqYafKJVHwoVjkCBAgSSlU/GjRTuhKYmONElRokw2Q==","shasum":"4e3d8d711643df90c760f1c9b88aee52a1020506","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.1-20220927152358.tgz","fileCount":51,"unpackedSize":656336,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJOt+QHfo3YusDKU3yKtYAS6HIXu0LwQ97G2iLtf1CkAiEA+g5sgedQa685QFkwAiiUFmDFKpCg4Azol53nnpRNMzM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMxWdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJMRAAijKAlDcY0iW0TKighj0aFKxebck5+VJjnMbs68957NZKxUmG\r\nspKL4LqqFbbj2B0zzUr2WlZ+HFlE4vYBF4Tum++ouAZwvWQtwCHUkE6bjSgq\r\nq5hUKzO+ZonybTEz1DyC36Optw2PtiadzLv7MqOlVzDYXHDtcRt8um1vRGnE\r\noe4x3B9UfCs3xPpvbTUmHdTDHTrpR5d7T6FcCxg/1UGRwyIDh7VJZ2jIcSVh\r\nK5rp26HrlRk31HIGSzhMn7K8j/sOv1mQUGPqNJywODD8HP3Vfs883rqpp/ed\r\nbV1I2J2BLCjtc+7WetCCVkQ6jEhOVC0KOEy2P8LSbY0bpxErinhyqTBG9zVR\r\n44iwwvKVbCr4VgrRjjyfCxwvRjH4JZ2Sh9VDXRbEYmBmXbPZMpx6wnBfItTY\r\nWYKvmlO7N4+PZ3beRj9NDGrw5xQAt6+BRaSExm6FVtlVDG831e3/+qJZAueY\r\n95eXzt25aXdbloEnIR4P2vZ3bgexyx8iO9lIozaTBIN+8mirABjAj9bxiHEr\r\n6macoj9JCoqXMNOc3sAwgk9Fzs3oNtyvq4sll8X4WwWelQIXU1aca2DEZOWW\r\nxxw2VYvsgXaZaaexLpToNe17YKD5huqDUirlsCtDB3kYbmB8lB/qChIhwku5\r\nile4OiCFAL0LqAODYoJmhbxqmSUAvU73A6g=\r\n=nYaI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.1-20220927152358_1664292253460_0.9807810888562543"},"_hasShrinkwrap":false},"0.23.1-20220927153448":{"name":"@accordproject/cicero-server","version":"0.23.1-20220927153448","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"^8.23.1","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"^8.4.0","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.1-20220927153448","@accordproject/cicero-engine":"0.23.1-20220927153448","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.1-20220927153448","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-8ireWM01HArcLTkAEzq3EHcC8vl69+4rL8zXw64UrFE0waQsfyRlwE+KpzquoPoG3WIiVUBtasOzdilCNZctag==","shasum":"3966dbf38fd36be57b0212d0beda3bd75e81598a","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.1-20220927153448.tgz","fileCount":51,"unpackedSize":663647,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUm4ZC1srVm1/0gvuRpHHYhaf6AU8ZnQITOQYHpwhRVAIgKrWGovEumJ9XUniarGrW/+9ENoktniS3as1UX9+v29M="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMxgoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrtPxAAolkI8S5S4WWpeOLlfGwDeDaToPLxDBNdWlzPdRjPWV35Ff6I\r\ngnZXOyVFz5dtc/jPTrHgeM+C7yNiwYeV7RUaBsWD3c96+HAnGdvtDlKCW72g\r\nZ9udaSaY+PaWFf8vtgPlAhbzFg6w8GYgxFYQlNJPoyWOh6OSZw+YeSzrUYZe\r\nuicPZF2MY/UYBpNVNHyShcHwuu9puNQg6PHINizTlRTUtIS9vNL2CQ320TJ2\r\nFTgb3LTxMgeR1PC3qrYzr02K7FK4PLbVzsCDWsrMnuOhu4IprRXpxWARCp3m\r\nIR3I02MxDuasX5Njv4oMqrufDv29/tJnGmQqSgHtU3BEg64OP45GyGzm4gir\r\nXdxpYE/MUDkWKXcl7fxQYrHKlhclSmtmYiSudWcgtYxi9APvNtzceY65RBtm\r\nSchvqscl0rHgUvIXwQ7uMYYMqEJu3Z/AyfiQhftcQh8q4eh9QvWDPv3sYq7G\r\nZJlZeRDlGBMLvUGjh29uRoafCYy7md02LBPz9OUuzWMa5qzbO7vBrtIvVrks\r\nHJo2WRd/5+MLF1Vc4kxPduz6+WUD7TiLh6QYrJFYEClX5oSqNVGACNxNGShI\r\nag0pXgQe8eQh2rZT60s4QYfb6pNwpSy+cW3Dp/hmKsFIwzIVvBjbkbwdOVWZ\r\nk7OgMTWJ7T5TNOUp5gjmOA/qwTC4ftw2Gio=\r\n=gYel\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.1-20220927153448_1664292904492_0.49263453269618496"},"_hasShrinkwrap":false},"0.23.1-20221007135119":{"name":"@accordproject/cicero-server","version":"0.23.1-20221007135119","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"^8.23.1","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"^8.4.0","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.1-20221007135119","@accordproject/cicero-engine":"0.23.1-20221007135119","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.1-20221007135119","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-c5FMySv9tfSDc/eoZb4D1e0XtFZLV9MIwyLm4UtdVJSLH4SsAPnXOYyDvUSbfWD+WJGE5WZrmw3eA138U5JpkQ==","shasum":"d2ead6ac5dc99ef70acbc5e1dfe910c71ce0f5bf","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.1-20221007135119.tgz","fileCount":51,"unpackedSize":663647,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHY6fn5C0WXo5eMfHhImIzp3G0nF1mZXWXOewjnyN7OMAiArzStTbpZA4PsDsUidCPJcqsIdsAHDFGyfGJRd4yuPSw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQC7jACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpvgw/9Fiv+6VBDUbpwZvRBJKu0hIEc3+igpFJ3y33yLETNJ7qjICgM\r\n7alFLBgEwKevl1nvwUn2D8r/28HfNH6N2Ogq5eF/qt4k8iScQDDWMUIvjYeA\r\n6pw1lmxmEYxptn3gvCqoL1cxXdheUmejebVuCZD41UiHmZ4fWNQW6ZR+V3+0\r\ny/CjK83c/3yXkMVE/VfXy4Jg1x+efklYTZsmwItEb14KRUycrBWwdBfffB4x\r\nfmSCfS68hGFYlcrq/IccZzkUKTawg6SBfNcD8JHGS2nXFyEOgDuSft+fL+sK\r\neLomn7AJwC5qfzxE9+unpKs9C5nKF61K4O4gk6U6lr/BcBpOTqOgUq2ubM5X\r\nGV6USMzRh7fIKQoAb/gdZbF5ZdKNmUCwSubG+sLpoaSEt0AiMhxKnbaKbLZj\r\nq7tMs9D6hG8RF+NyJ0IRy5W1hUpZkd5kU2VWHuUJ0gRVt3GbKsNNJc+Z7gB0\r\n5YOSuaI+f94fv9j5Mm0eSE3rDizi4PduipExciuFWy9c9ZTBxy4HcWdbKQiL\r\n5rnpWEpuis+9if/qrugb4UccO8F9vsA/LPFqlMkoDErXkhiutRijPFTFFCg4\r\nh69782NhgTs2fMXGqL4DHE+Kkf1Lwv/D+U2T+cPIMI7M1iMVVmxVVoy3i1X+\r\nhm4zlMjtkM1RMdRMEtr2h1Blm+VHJGkW7Gk=\r\n=gFB4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.1-20221007135119_1665150691434_0.21315699696013013"},"_hasShrinkwrap":false},"0.23.1-20221007135317":{"name":"@accordproject/cicero-server","version":"0.23.1-20221007135317","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"^8.23.1","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"^8.4.0","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.1-20221007135317","@accordproject/cicero-engine":"0.23.1-20221007135317","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.1-20221007135317","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-dSIC1S2ctuiaY6uR5g3u+WnNlMSLdCJ4KAcGYjL7a/5riNLUnbHAhAZSIqNFC1i0pLv+DJu4K8COTREk1RZeMg==","shasum":"67d118fc32873762e0dc8039680fd521f9fe6d7b","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.1-20221007135317.tgz","fileCount":51,"unpackedSize":663647,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOt515iIuDQpAt+twPD/atssGDgUsDkPlwnwWnIA6OWQIgSHV9tRLnz+w3Z+6e2i9q/URZ+z/+jXkn3u1gT4p8lZM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQC9ZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpM0hAAnVObvS9TCAO0HbvIwUb6JYE7cWHnwBkax6BY6ASIjNXkeT8P\r\ntmMWKr/jzCpLaTmTAbdaogqQrx5I8gcHlgRG8mGfuHKPxbfK1c80D1QLZofK\r\nDFs3MTsLXD5sJBhjsTy+ezGl6P2ckM2kFgNyHmdFa0nVz+c5BO8K+CkviTiw\r\nOHj7vmHM86sZybrIj5lCzJK7bHkIkbL5SmM5xg302YwuxOTv5MnfVzfisYiM\r\nkusOBikMU3dUehkDr5UhlsTm80wrCfzYMB75Fpq95ipRvGB/ffWneSm+Z3ZM\r\nSloXx0bJXU1bytNSkb2Ut04P2KcanQh1UFcGyhy147Ejg4sMN3kLPslION0d\r\nyI1//Jz0jS97fZlMgOkHSB1wgMM6YlcM4jtYUH4Q078+vummAWQXUaycN5+L\r\nQ6o9mSjXDDkudF1EGHex+sbdiJIk8zzpLrKI4yLnUWWYRI+gB3/3pvmHRKyo\r\nesPpRciIiJf0Ns0kliVRf+E4ryNWnUlQvd5dyuS2L9uHhDvbcbJ2E4gESgzy\r\nomibGiIBJfwjgJOLD5DRdtzEtGF3ejjEIKdrjFP9vgggaLrR8VjTb6HiJCeR\r\n8uQQGUNL6Oi2KtUtAx/3PGV2oQxjMfSnXb1u0n83/pSs9o9xdIF0gaI4UpaE\r\niv/zKMFLLfTLA0ixvlKhlgAOmvOJWba8tvY=\r\n=6Xf6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.1-20221007135317_1665150808859_0.832246630246043"},"_hasShrinkwrap":false},"0.23.1-20221008145236":{"name":"@accordproject/cicero-server","version":"0.23.1-20221008145236","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"^8.23.1","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"^8.4.0","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.1-20221008145236","@accordproject/cicero-engine":"0.23.1-20221008145236","@accordproject/cicero-tools":"0.23.1-20221008145236","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.1-20221008145236","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-1zrsRa1tgIf7puv/LdIs/sx/MmZb16GsFNrR4ALlZ5UtjYgHtLwqA3xV2TkAjZdP3lOPtclPqvEOmKiNHv4bVw==","shasum":"b8c819ac138d79b951c2ae460ba627b317121648","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.1-20221008145236.tgz","fileCount":51,"unpackedSize":669748,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEq6Nm7pdj5lbokcDcze/0+9J//sOt2NTv0YWa2TsULEAiEAy3x3X4lSrbdt+qs0Ik2oxRtVF21tKx/g0YF2rn2ZQSg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQY6/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKyA/+NVOqpTWo6nhqdJhBFAjTyq6qs8nyQJzQ0lE/aUT945VVfFzb\r\nJXTqedaC7xryGU5BedcZD4R+QHgxziFHjPhCMKDY5/gNkFLgcGxBa+BFXekZ\r\n1ft5SyFNujr91GWUApXe8Gtj8E0HehhvZzDVzYK8R6QbXzXB/LzvR/He3fAZ\r\nL6D06HnymEjiwpZ2Pm7ngN7w3+cNtILczMTm9CHWgGNoteb2jCNGKK34PLYG\r\nOpEw778RK7+4yBz76yQI7CN45NxnUPbKkN1LyXtXu6hVPRDUlsrYKun7oIFw\r\nuoaxlPKWH6Gk8MiTlEomxgbr5xX6mGrYF4X/5kPvtJKsegaL827UNNYJ7tux\r\nUD8htgtJ9qoJD3FVAgLh7mZzdUcrWN4y951/ZWvRHTw4lhwGT6ScFSTBCiTQ\r\nKcU3xeCzF9/noHry+I65JkIPkSBI5G0UsFvcbTFdk7bOMtwmxzovIO8rbkVC\r\nLX7s2jXPRNsE9KSz8z3MslR5YOzhNIBV9j7d4aCwRqbimgvOcNempuCA4sA5\r\ngD1Ww9cN/VMaGsNIpvTwEo67DCwCcotSF/T3EZL4VCt+qiL6L0ejpPSY3d3A\r\nipoVQ5UlnxenRDxLGCnD6EWgNrBWDsAXJvxlszRGQqvNMeZTYoUYjCWEj12z\r\nIq5WKPq6EKt1TXyf0uEE7IAEGtSLfg4+nGw=\r\n=rUkm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.1-20221008145236_1665240766908_0.09337807367820528"},"_hasShrinkwrap":false},"0.23.1-20221017150218":{"name":"@accordproject/cicero-server","version":"0.23.1-20221017150218","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"^8.23.1","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"^8.4.0","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.1-20221017150218","@accordproject/cicero-engine":"0.23.1-20221017150218","@accordproject/cicero-tools":"0.23.1-20221017150218","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.1-20221017150218","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-TRpV9RdzFD2cMsCKsnYVuF+i+2d/Cn8F38pfolvqx2K/pyigHWz37gCICgD3+PHdCiBHJoHj5+Lagwwyy2UV/A==","shasum":"2c81846c962dcbdb51e355d1a652b2df368e5b3f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.1-20221017150218.tgz","fileCount":51,"unpackedSize":669748,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEiU/4u7WH5zeimBuPRr3rf1VIsecGnPG7zt+ttH34rxAiBopLiYPNkOrT83/gnP/ppDjtukPXqZ1WTAP9eQg1lcvg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTW6EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8BA//eI0m0SoyBM2FFc9+FQpt5kih0otOaDFzvuHgOZCTv6iCCABO\r\nOJtOAcsfGaU7DQbkxcievI5mWuNEmNgK5Yzb4IKLxEsuz++7s/scuHB0NAsi\r\neNlHe+3k4BylPSMHzCez+EhXYhMRoMs3iXP4hlDBN0HDuLFtQRyOk/JLlixu\r\nMsYSm8fiwa5wVxsm6lI48Pgd9qDgDTkJwXvNrTSE45u/f28smIdxhJcQhjyV\r\nFIkdpqnkj8yN9wPnDqo5a+BGGUPKSf5xUEgus3fnpyMHXmZ7zbO1kG7UFSlc\r\nHdnoCIfAVqhoVaE/0nQ7fgiDaxLK45HIjf+orTJ8Uz1cNxZPCz0ZIfT3Sze7\r\nIe8IlRjDyx1T36UaIS38ow5hOOGeWELG0k2dQuxsvA2WU7wHQ3y1Opb1L7le\r\nCL0D/XJUa9HFFprAu2PwzdXtDwvRVQ2pbVvuZ8yzwfDj9HQ7LWllXMV/bvKo\r\niRK12BPN3Obrc8J3uaF5i55N+0f5p+wS57gXvcWm4jD9P3AQ5xdWVclftjLp\r\n4gRf12UGfWtYPt7QS5g0fitKg9gn7uJP06+c8NCpmjIVr9B2segMRRQZ1SO/\r\nNWxauTjelu16u3voWNi4PymkK0ufqSL5GH7gZqMFWRhILCNf1sT+bcQQlIWv\r\nwOAQrHRgtECJH8+F7ONXz9G1MMwgleVgRlc=\r\n=BZAv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.1-20221017150218_1666018948752_0.006342422616840482"},"_hasShrinkwrap":false},"0.24.0":{"name":"@accordproject/cicero-server","version":"0.24.0","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"^8.23.1","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"^8.4.0","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.24.0","@accordproject/cicero-engine":"0.24.0","@accordproject/cicero-tools":"0.24.0","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","_id":"@accordproject/cicero-server@0.24.0","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-1J/ZvxfWGsPXEFvRdhsEx9ZX4abrQ7XHP5rO3F8Y2fWGDur2NmbvFcrVsruV98CAtFa0EanRuv6KHRm2D16+WA==","shasum":"103469135bdfd734e7ccf0a1e2400cca7dc4c6fa","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.24.0.tgz","fileCount":51,"unpackedSize":669688,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICCgSZR9zQxPQFWFLeGuQrU/pnxRfGYSxwPFJnXFAj3IAiEAk1tNVDl9CgE4RXXy9C24LSitk2de89m5ZnqmNLZ9gug="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTXblACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpHkBAAjZHlSLNpv4JeU3ospzig/RJy4zzgqaQhxobfl6A5jpxgPwnE\r\nRxWn5wohSnBEvlowlXi2p3+o3GtCx66guPYOBGXmlMe3/7psQbnUQqORHUrx\r\n1owf/Q59+YKw+oa0a+iv7m5muUb4mlOlfD2Y09pfR0rtGbxmmKpipDKfcuQv\r\nb9cUpf+rwpHmdA8Rvg1oYuwL+V8kp4HtfLdxHkZUtTZIwLeWun2q4IcsC7DT\r\n53EcnDCZrjRaMeG600kkTx591yaE5p7Y8lxALSBIM2MXJ2e4fUWZC3BPHSx7\r\n+lTl1JesvBHrbFvPoyjxFA/alTCgk0Hf1V/R3mQ/resBCRSOuNsXXyagFdkx\r\n0pQ1bNVtpITCt8YVCGOlgMMhn334/uBSIdejJb2lQZqNM617YKDG7iWFDj+s\r\nfmDp3+0LvcmWP88PnQ3sDvWnxLSeLdQNAPrCdITU5r77zaOpYAf81wzJFfr9\r\nLtkw2d+xk7O8vQlby/lRbJO24sIv4hQvef9tfWmyK/4s0oPQd38Dt/KIg9MH\r\nZ6j1vGEHujBH87cZde7Y9VQ86seA0cn/D+jMngowCqAa/pH259tBBt/njK4J\r\nJs4Nvn98OeaUXzlny/sPuaY7udl6fmNdnv9HVgb+HKywv8I8kUaWfP/kEra5\r\n1c/5TUVJW4ddC+4m2yZGBKNZU8HyFX2uuqk=\r\n=k98M\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.24.0_1666021093407_0.0964243608731492"},"_hasShrinkwrap":false},"0.23.1-20221017154133":{"name":"@accordproject/cicero-server","version":"0.23.1-20221017154133","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"^8.23.1","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"^8.4.0","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.1-20221017154133","@accordproject/cicero-engine":"0.23.1-20221017154133","@accordproject/cicero-tools":"0.23.1-20221017154133","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.1-20221017154133","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-u2ShJ3V9M+/kGyFVzvC50FDXkUr+D4L8hiCWC/lEQh9Z7qyS8FvZbx9TqMyhqGrvQi0wMxvggqllNW/xXUEbgg==","shasum":"6520c7d4bb2e0dc46d819b7a8dcbdded1a521b38","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.1-20221017154133.tgz","fileCount":51,"unpackedSize":669748,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGvhsuhNyQGoi2SUC5x6vi1VTcK3UOA7CqiYTtfHUtXRAiEAq4aJiGXe8YLxyZ0wO21qBJXBNxqZ4DUbNSClzx+Th8s="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTXe5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoiBQ/5ANdIJ3RNmhBviywU8PTtoBStM5q0/Px4VicgAIqHSZnWR5GM\r\noI+N9V9FQezzvM1zCVdk+pP769btGGYoT0JbWy/asorqHqUVQlxIPTs4NZDw\r\nGp+91/6LlFIc2DUezxSIlMDaY6yxBX56jtEoFJpvLS/LYZc77S8UJaf4Fc+5\r\nflQQ/i30L01BW5/yiAWmIHvjf+O8XG71i8f0VqO8MnxxyQdKhhD+DDgCmGcP\r\nVasuDZXfOrJcUN2H8DaLaSLT0APhblR9jg+2+YD2gAIP9gaBVFV0DkAPGcgp\r\neMzL6ZsqWAkuN5VcNMk/8Lm5b0uAEC3OF1sCrSXVQQohj0M4WU2fV7y+9A4B\r\nWD1hOYuN1N13WS40SuH8bmwXB3dRK8FdWHV++OfQ9XotJRU9NnZIWSOE3Vcf\r\n7hdkCa0cTpDJV/YK9bwe0pkO40RbYpTV0yRoE/mn7rZ2LVUov55R57SySC0w\r\ne1xxY4oxIPcPGZ5BUZU6nfpXuh5YBKVJ8OI2BX2vsD4/X3tE5g/ZDQ3RAu7B\r\nmsE5dQUZ4V0m/KlLJoi7hf+27fpUgdnFhKktNjdVZZ5NVA4YrebhmPCb1bxK\r\npMTDLExbgQj4fPC5GeyrbH0ZMIS10JR/pYN/2YFbohpe8p2AGcTq5bwH6h7N\r\nde/ngeasotIy1Hi1fYDUyvUBr6M+E0AReeI=\r\n=AFiD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.1-20221017154133_1666021305500_0.5275855490610846"},"_hasShrinkwrap":false},"0.23.1-20221017154309":{"name":"@accordproject/cicero-server","version":"0.23.1-20221017154309","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"^8.23.1","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"^8.4.0","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.1-20221017154309","@accordproject/cicero-engine":"0.23.1-20221017154309","@accordproject/cicero-tools":"0.23.1-20221017154309","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.1-20221017154309","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-XtsdDfhXbcUYC8leY0TcARJzQNeSQU1b8P3hOjkiwwieRoz5aENr4KGwDN2VlP2C/LssG9sTdW4kcBhU73I7mw==","shasum":"aed2b6b5f42056f599589719f181586320bbdc52","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.1-20221017154309.tgz","fileCount":51,"unpackedSize":669748,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF1DLlhOSrP8RT5ugLNGm4yDa4GVdkSn5/iiw+S4dNOUAiAVPts5v+wxT6jUblKIECsoBcFcQszVp/o3DCsTM/42hA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTXgaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmofHBAAg0HuY8qGlzSfdMi7wdO+6w/eKTC7GIWNsQyYt2P+kTrc1uzg\r\nZrO7Jsru+5FvMblRjCkpV3JQpsB8XykIP4g/MTnuxznK1B5bEnWjFDqFwYp1\r\nCdtVHEmYsuRINSENcO3WEmyIcU3MaNx4vmgYh3ww8XUC2OTZxu/s5Rktr8YM\r\nUTe1qAR8h7rmv/2Rq51acBxRVqN3VE/d3AADT9hNzAZRs7nWQ7KtY1gOOGee\r\nfqRPK/Lv/93n6TtE1+j7VlNEFGJledtuq7n5+HWCrjjYmUSZw+G8KIdxv+mC\r\nmO6qFprbvdSZz1Z+YWmjqFIPVN3NULse2BES9Yn03QP7J6UDDdVLlAMpJUWI\r\nbhFVg2UfPKdpzRZYmkCMNgm6gelhT9rUn2uvfpEW3z9Xr09Vcml6u6aV9IBt\r\nRVpNRKW/sYwtlI5YHyISsf41G/oRtif6Bu2emU625RRmAC313D78F1gr18Cf\r\nQvnK7rq3ycQROvPZJ5hLVQoGza3XweehZTDNpOxeGTeb5/n1I6KAJDx6DS7H\r\nh1e7W2FGD7RQoYK2s09Htn6+Acq//N7n7zuQtBCtT/e5bgBx+KCbrdv+NJ0M\r\nnDXkGe7x5I0vTATmCStCro6XpZdU4zcC5+xJdmxANElzNNr1AhRI083aaHRQ\r\n2w/QRl0FarsaOLk29WUnoYmMwM4R5J4rDlE=\r\n=szsv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.1-20221017154309_1666021401813_0.008377974072432348"},"_hasShrinkwrap":false},"0.23.1-20221108115502":{"name":"@accordproject/cicero-server","version":"0.23.1-20221108115502","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"^8.23.1","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"^8.4.0","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.1-20221108115502","@accordproject/cicero-engine":"0.23.1-20221108115502","@accordproject/cicero-tools":"0.23.1-20221108115502","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.1-20221108115502","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-xL2TUgVw4ojRvCLdPlFUtCJZvMa2t7UnJcPVWIyUx8GOXft2LsyntfIcU8CqF7o8Ci8yQegOZGdYiM3+5iPH8g==","shasum":"030beeab7f78147ae1ed640a0814e5bf2feeeed1","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.1-20221108115502.tgz","fileCount":51,"unpackedSize":669748,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEoHQ7oaiD8VrLO0D/X1V1CswOena5EeBmTeFnxarAqCAiEAjamY2xqrSn289v9dQIYPIGWYwd2tj0E05Bib3ouerrA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjakOiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpmRxAAmKGvSaGfWIw15hB+zY+xfOC7ZR7CTrlHRquozGRsdE4aCUwj\r\ncx3BEDc3CcIDyo50D37GhUUba6pCuzW5117LXPO7yiHhTLnDl1/cFvHPAuoN\r\n+vbrI4ZefJG8gx4sio4HgQy45mQzJ3bQ+4V/U9Hrx0JjeEPGHvYBvO62WkZP\r\nY3RnyvwTqsWVPrRJa9RtLEPGcL8EBljHUMuKEsaP/YlpZVJlIHyhEKN+rzpn\r\nNrjmgCsbpg9CyxdfpULlVZdH1sfW6N9E/n7DEzRA6niIGuMbDZscxVWWUV90\r\nqAaDBC4SvHOolbdD/7H5fYxcIdVfJU9hGOhIB+aOvI45nAnQeICB3sxMCN4N\r\nEGHNreeZdwYU87HcZoaTdl7r0fpePge7P3qhcwwCe0MgixfvWJYFVmj0+oov\r\npGSDDJD4gz6JaCW6gtI38mK4RwzRgap2qRk+ijX11Byn+MS1zmMWE001Ypd2\r\nGm24rRtwnlG5SVDcUvapX/GMRttloRlMXvZamgOnDPUCL2djMEf/N45Vz/LN\r\nYZr3ozypiIgzXGFEGRoQHtcOlU2BJ5jFwInvvXIVvPnIP3F1jexSy1p6c1d7\r\nEJ0PeeFdhJEsf3CqOcliRwkF9ykK+20MDKVbIiMW+iUpWPDGBgD3Cccb6wEj\r\nnaWjkZhA4IzRI2ds48k8kqRt8cXUe3Yp2RE=\r\n=wdii\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.1-20221108115502_1667908513849_0.46749675994588813"},"_hasShrinkwrap":false},"0.23.1-20230106092906":{"name":"@accordproject/cicero-server","version":"0.23.1-20230106092906","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"^8.23.1","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"^8.4.0","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.1-20230106092906","@accordproject/cicero-engine":"0.23.1-20230106092906","@accordproject/cicero-tools":"0.23.1-20230106092906","express":"4.16.2"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.1-20230106092906","_nodeVersion":"14.21.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-MgG/TxAlaV0p74WKO83P+wUlJe+BoGj4VtJMKc4OsVW81D8OCy/8uJeP04ZfKz8gQ66J9U/YkHg42mLLbbFpOA==","shasum":"20ef661be8d15aa6a02bee30e229bb96e6c5a82f","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.1-20230106092906.tgz","fileCount":51,"unpackedSize":669748,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGydtd2MvzSuNk2mLe8E4eJcpbfq3225AM8lTBtkNPFuAiAqofxub10ff0X0lr3P4JWcOdeQir7wpoNkDsfB+dUDGA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjt+nuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEyw/+MaKPimNfLSUtx4tDhYaOBS2c5h4Am32hYlEnDwX8E1JA/p3R\r\nBI93wF94R7uQ5UZ1zxuFryu3i5AplYMk4F93/jfFF2dB22CqnfkpnOXecDG+\r\nVc9QEc4MlEU+leX2+pSMhxWYUHUiwlp6QX0dISjafYxpB5vPEFNuPPuorjQW\r\nUbcVKhsZLb87NohgdCrMEqrm2JJFvdms5W6YiwavnII8OFEtGZ3c6RZGeqNE\r\nt+o4SLHARyfpzY+U/GlKbStyQ8oVmmqnlnkY5ffRebU/dBDtjOu64X49SME7\r\n4Wdn4h6YX7izmwXbzrSAxAfdC17d5BA2XSAkH02oMKQVZXLp61b8/xwMTRcv\r\nSjQDr1Djw8gdZ3BTXnG8kLJQgZ8BxjTBEEB4xQgc0tTEEAPVsY6AgwifSu92\r\nRy/FHG1VOF2fk5xyXpnqrhfMrWpE97k9lEVfuC/a0Da7cD7zB8tafq4LmOt0\r\n0rYWka44X/2+giY+ZBVEAPy89CQA3UziKCw2v0FbqQ1HAUfgYl5hTJmaID+q\r\n5ekmUbt+f8Vw6dg0hWuvYohP8a1h9FRIF9suN1XFZlipuMGzi3ton/SV9Ve+\r\nLAhde6qn5lqQKDfu9IHmc0XAAOPn/XBxMm+OrN5t+HYhmQ2ZmvYfz6LGy3/z\r\nj841XYoz8StC/6yUhqDJYxhvK8mAQ5pLWes=\r\n=82lK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.1-20230106092906_1672997358208_0.6931702738752279"},"_hasShrinkwrap":false},"0.23.1-20230106094107":{"name":"@accordproject/cicero-server","version":"0.23.1-20230106094107","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=14","npm":">=6"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.6","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.4.0","eslint":"^8.23.1","jsdoc":"^3.6.10","license-check":"1.1.5","mocha":"^8.4.0","mockery":"2.0.0","nyc":"15.1.0","supertest":"3.0.0"},"dependencies":{"@accordproject/cicero-core":"0.23.1-20230106094107","@accordproject/cicero-engine":"0.23.1-20230106094107","@accordproject/cicero-tools":"0.23.1-20230106094107","express":"4.16.2","tmp-promise":"^3.0.3"},"license-check-config":{"src":["**/*.js","!./app.js","!./test/data/**/*","!./coverage/**/*","!./node_modules/**/*","!./out/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.23.1-20230106094107","_nodeVersion":"14.21.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-5snBtpKcHLwdZJ+l1buqlfdXTIWpOzPIWR76pxq+hLu82EhNQlYoTjQlbeIlbf7PyQAAc3YCwUQsgaPh85ZWLg==","shasum":"3b19f88ff81f5dad21da4696da547247d0b3be55","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.23.1-20230106094107.tgz","fileCount":51,"unpackedSize":669777,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrnOl0gUWJiF+/pb6+TfDK/pW1gvkjxdPq5eBFg1h3TAIgWvA6dkY0WPbIqVUITJRfp/oNzhXrLisiJeJpX3//9qc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjt+y+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpmFg/7Bo5fNDz/0xicw8MK7sAMdoSMq9lBX1hb6uA1lN9tgF17GyUn\r\nMIb87UK+3XPyaL/H2Rvayanokw9BmduVU6y4L2kjm27oodJP4X7tBPk44U5K\r\naY+X064L33WN0ZS/+Th/DuOYdh8fb+enbNpGmJQPD+sd5K1pw2RGgnZnf94q\r\nH+X3A/n5MiAfWFdnJOqs8m0kiDRSOasIeWpzsL3y0X70cS/p7bNzSxUm8usS\r\n8Wo0lZCPbcESmt0LzaM1LlPQHzlxXkpNGP8zaJ5iUMeG9iL/kN6lyUpt/mkk\r\nlvx+nZZ6hwNLqk1DN0yNIoz75D6pF2UeA92EZpar/HQS8KuvypNQ6YeGxOeP\r\nnNMiOaEmy8dDbfjC/mqs8lU9ob7OZoh0jL2HzxIeg9EVQf+jpZxHmi3H1GqH\r\nvMt93q5gKsn2iQahFtGqWJ0Yrfcklauw9IFWBCub50ziE5sEnJIR6hxd1jMH\r\nCCg6+25107HgVd29cPThaox9w2x4h1wAoyHguWpRukao6VZbEdAirNjX6enP\r\n7Tlk2CJHOd6n0ocaiHzgneJ/bPFypU5ohe3wfR37TT2H9cEVeYrQAbJaTTny\r\nT72VB+x3XYzqZ1QfwHKEaGM6enaobX3wDX1jQQnFsOCKl/oZFOE7tBiGDnOF\r\nQNVE4ijACYMG6i2L0HnPogNbmkIlxiK8y78=\r\n=zK0u\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.23.1-20230106094107_1672998078156_0.5496729791072765"},"_hasShrinkwrap":false},"0.24.1-20230627140514":{"name":"@accordproject/cicero-server","version":"0.24.1-20230627140514","description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","engines":{"node":">=16","npm":">=8"},"publishConfig":{"access":"public"},"bin":{"cicero-server":"app.js"},"main":"app.js","scripts":{"start":"node app.js","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check-and-add check -f ../../license.config.json","test":"mocha --timeout 40000","test:windows":"echo 'No Windows tests for this package'","test:cov":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"keywords":["accord","legal","tech","smart","contract"],"author":{"name":"clause.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/accordproject/cicero/issues"},"homepage":"https://github.com/accordproject/cicero#readme","devDependencies":{"chai":"4.3.7","chai-as-promised":"7.1.1","chai-things":"0.2.0","decache":"4.6.2","eslint":"^8.43.0","jsdoc":"^4.0.2","license-check-and-add":"4.0.5","mocha":"^10.2.0","mockery":"2.1.0","nyc":"15.1.0","supertest":"6.3.3"},"dependencies":{"@accordproject/cicero-core":"0.24.1-20230627140514","@accordproject/cicero-engine":"0.24.1-20230627140514","@accordproject/cicero-tools":"0.24.1-20230627140514","express":"4.18.2","tmp-promise":"^3.0.3"},"nyc":{"produce-source-map":"true","sourceMap":"inline","reporter":["lcov","text-summary","html","json"],"include":["app.js"],"exclude":[],"all":true,"check-coverage":true,"statements":93,"branches":70,"functions":92,"lines":93},"gitHead":"514fd02f46752e018aedb77e1716a212ef4a59e5","readme":"# Cicero Server\n\nExposes the Cicero Engine as a RESTful service.\n\nTemplates are loaded from a the root CICERO_DIR. \nClauses may be instantiated by passing the JSON or MD (i.e. TXT) via the payload Body as, either, `request`, `data`, `state`, `options` or `sample` objects. \n\nSee below CURL examples for details.\n\n## Documentation\n\nhttp://docs.accordproject.org\n\n## Installation\n\n```\nnpm install -g @accordproject/cicero-server --save\n```\n\n## Run\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`, you can start the server using:\n```\nexport CICERO_DIR=<cicero-template-library-dir>/src\ncicero-server\n```\n\nThe default port for the server is `6001`. You can set a different port as an environment variable `CICERO_PORT`.\n\nOnce the server is started, you can sent requests as follows:\n\n### Parse request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/parse/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t  \"sample\": \"## Late Delivery and Penalty.\\n\\n In case of delayed delivery except for Force Majeure cases,\\n\\\"Dan\\\" (the Seller) shall pay to \\\"Steve\\\" (the Buyer) for every 2 days\\nof delay penalty amounting to 10.5% of the total value of the Equipment\\nwhose delivery has been delayed. Any fractional part of a days is to be\\nconsidered a full days. The total amount of penalty shall not however,\\nexceed 55% of the total value of the Equipment involved in late delivery.\\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.\" }\n'\n```\n\n### Draft request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/draft/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"data\":{\n    \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n    \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n    \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n    \"forceMajeure\": true,\n    \"penaltyDuration\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 2,\n        \"unit\": \"days\"\n    },\n    \"penaltyPercentage\": 10.5,\n    \"capPercentage\": 55,\n    \"termination\": {\n        \"$class\": \"org.accordproject.time.Duration\",\n        \"amount\": 15,\n        \"unit\": \"days\"\n    },\n    \"fractionalPart\": \"days\",\n    \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n    \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n},\n    \"options\": {\n        \"unquoteVariables\": true\n    }\n}'\n```\n\n### Trigger request\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"state\": {\n        \"$class\": \"org.accordproject.runtime.State\",\n        \"$identifier\": \"81fc1750-a77b-11eb-9770-7ddd576a12c2\"\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n### Trigger request - Stateless (legacy)\n\nOnly supported for clauses or contracts without references to contract state\n\nIf the body contains an object with the properties 'state', then this is used as the contract state.  If no 'state' property exists then no contract state is used.\n\nAssuming you cloned the [Cicero template library](https://github.com/accordproject/cicero-template-library) in directory `<cicero-template-library-dir>`:\n\n```\ncurl --request POST \\\n  --url http://localhost:6001/trigger/latedeliveryandpenalty \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/json' \\\n  --data '{\n    \"request\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest\",\n        \"forceMajeure\": false,\n        \"agreedDelivery\": \"December 17, 2017 03:24:00\",\n        \"deliveredAt\": null,\n        \"goodsValue\": 200.00\n    },\n    \"data\": {\n        \"$class\": \"org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract\",\n        \"buyer\": \"resource:org.accordproject.party.Party#Steve\",\n        \"seller\": \"resource:org.accordproject.party.Party#Dan\",\n        \"forceMajeure\": true,\n        \"penaltyDuration\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 2,\n            \"unit\": \"days\"\n        },\n        \"penaltyPercentage\": 10.5,\n        \"capPercentage\": 55,\n        \"termination\": {\n            \"$class\": \"org.accordproject.time.Duration\",\n            \"amount\": 15,\n            \"unit\": \"days\"\n        },\n        \"fractionalPart\": \"days\",\n        \"contractId\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\",\n        \"$identifier\": \"c538755a-6c9e-43ff-8767-f8915d0336a0\"\n    }\n}'\n```\n\n## License <a name=\"license\"></a>\nAccord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n\n© 2017-2019 Clause, Inc.\n","readmeFilename":"README.md","_id":"@accordproject/cicero-server@0.24.1-20230627140514","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-mD5Jv7HqNs3zmRwlMvH7ZEGsnU5Sbq66UfuKHlazjEjIvMm84CG2bUkHJ3tM4HqYxVUt0KO0Kc70yMCY7yoA5g==","shasum":"9e930c7f5f57ba43f7b0fda0155dc54c9c94f41e","tarball":"https://registry.npmjs.org/@accordproject/cicero-server/-/cicero-server-0.24.1-20230627140514.tgz","fileCount":50,"unpackedSize":669017,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCs2eySLnYmh4F6RYc1S7N5v+gem38I0dW951psz2Y/3AIgeD61yt+KvPaqxN1fymQ3jhfH9+OrqdmfKXlO2UZVeoE="}]},"_npmUser":{"name":"jsimeon","email":"jerome@clause.io"},"directories":{},"maintainers":[{"name":"mttrbrts","email":"matt@clause.io"},{"name":"petrgazarov","email":"petrgazarov@gmail.com"},{"name":"dselman","email":"danscode@selman.org"},{"name":"jsimeon","email":"jerome@clause.io"},{"name":"irmerk","email":"jolenelanglinais@gmail.com"},{"name":"dianalease","email":"dianarlease@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cicero-server_0.24.1-20230627140514_1687874753098_0.9376537889860039"},"_hasShrinkwrap":false}},"time":{"created":"2018-04-10T14:25:46.402Z","0.2.46":"2018-04-10T14:25:46.552Z","modified":"2023-09-15T07:39:41.635Z","0.2.48":"2018-04-10T16:40:13.263Z","0.2.50":"2018-04-12T09:35:34.539Z","0.2.51":"2018-04-13T10:20:50.121Z","0.2.52":"2018-04-13T10:37:34.628Z","0.2.54":"2018-04-16T17:29:23.392Z","0.3.4":"2018-05-18T13:44:27.474Z","0.3.6":"2018-05-18T17:02:05.265Z","0.3.8":"2018-05-19T17:33:16.934Z","0.3.9":"2018-05-20T17:32:24.395Z","0.3.12":"2018-05-23T03:39:03.925Z","0.3.12-20180525105709":"2018-05-25T10:57:27.591Z","0.3.12-20180525134715":"2018-05-25T13:47:40.236Z","0.3.13":"2018-05-25T14:04:58.386Z","0.3.13-20180525180506":"2018-05-25T18:05:31.907Z","0.3.14":"2018-05-25T19:46:32.569Z","0.3.14-20180525194807":"2018-05-25T19:48:38.254Z","0.3.14-20180531154459":"2018-05-31T15:45:27.516Z","0.3.15":"2018-05-31T17:10:09.219Z","0.3.15-20180531171208":"2018-05-31T17:12:28.612Z","0.3.15-20180602231316":"2018-06-02T23:13:34.048Z","0.3.16":"2018-06-02T23:18:16.961Z","0.3.16-20180602232010":"2018-06-02T23:20:31.030Z","0.3.16-20180603200421":"2018-06-03T20:04:42.821Z","0.3.17":"2018-06-04T16:11:13.696Z","0.3.17-20180604161941":"2018-06-04T16:20:02.436Z","0.4.0-20180607032754":"2018-06-07T03:28:11.275Z","0.4.0-20180607154759":"2018-06-07T15:48:11.513Z","0.4.0-20180607160817":"2018-06-07T16:08:29.272Z","0.4.1":"2018-06-07T16:13:15.521Z","0.4.1-20180607170515":"2018-06-07T17:05:29.723Z","0.4.1-20180607193954":"2018-06-07T19:40:12.422Z","0.4.1-20180608210948":"2018-06-08T21:10:00.405Z","0.4.1-20180612001703":"2018-06-12T00:17:18.843Z","0.4.2":"2018-06-12T00:34:19.995Z","0.4.2-20180612003807":"2018-06-12T00:38:19.446Z","0.4.2-20180612064658":"2018-06-12T06:47:12.494Z","0.4.2-20180613192015":"2018-06-13T19:20:40.987Z","0.4.3":"2018-06-13T19:25:53.666Z","0.4.3-20180613192910":"2018-06-13T19:29:33.523Z","0.4.3-20180615051137":"2018-06-15T05:11:51.211Z","0.4.4":"2018-06-15T05:15:37.354Z","0.4.4-20180615051811":"2018-06-15T05:18:26.936Z","0.4.4-20180621082734":"2018-06-21T08:27:48.880Z","0.4.4-20180621082924":"2018-06-21T08:29:50.551Z","0.4.4-20180621083008":"2018-06-21T08:30:25.819Z","0.4.4-20180621122011":"2018-06-21T12:20:29.859Z","0.4.4-20180622124047":"2018-06-22T12:41:04.196Z","0.4.4-20180622124253":"2018-06-22T12:43:08.374Z","0.4.4-20180622173306":"2018-06-22T17:33:23.786Z","0.4.4-20180625220134":"2018-06-25T22:01:50.590Z","0.4.4-20180625220721":"2018-06-25T22:07:36.409Z","0.4.5":"2018-06-26T07:24:55.710Z","0.4.5-20180626072801":"2018-06-26T07:28:22.049Z","0.4.5-20180630162219":"2018-06-30T16:22:32.407Z","0.4.5-20180702114258":"2018-07-02T11:43:14.308Z","0.4.5-20180702142111":"2018-07-02T14:21:27.989Z","0.4.5-20180705184508":"2018-07-05T18:45:24.719Z","0.4.5-20180705190657":"2018-07-05T19:07:12.503Z","0.4.6":"2018-07-09T19:46:39.707Z","0.4.5-20180709194744":"2018-07-09T19:47:58.566Z","0.4.6-20180709195022":"2018-07-09T19:50:35.260Z","0.4.6-20180713084749":"2018-07-13T08:48:24.529Z","0.4.6-20180716161514":"2018-07-16T16:15:29.800Z","0.4.7":"2018-07-16T16:25:54.496Z","0.4.7-20180716162856":"2018-07-16T16:29:17.082Z","0.4.7-20180718194936":"2018-07-18T19:49:57.294Z","0.4.7-20180720175317":"2018-07-20T17:53:48.459Z","0.4.7-20180720175848":"2018-07-20T17:59:06.769Z","0.4.7-20180720193446":"2018-07-20T19:35:00.573Z","0.4.7-20180724073320":"2018-07-24T07:33:35.052Z","0.4.7-20180730170741":"2018-07-30T17:08:12.310Z","0.4.7-20180730172509":"2018-07-30T17:25:24.021Z","0.4.7-20180801100943":"2018-08-01T10:12:25.106Z","0.4.7-20180801102208":"2018-08-01T10:24:21.056Z","0.4.7-20180801140027":"2018-08-01T14:02:43.515Z","0.4.7-20180801140105":"2018-08-01T14:03:33.602Z","0.4.7-20180801201712":"2018-08-01T20:19:18.307Z","0.4.7-20180802065950":"2018-08-02T07:02:16.006Z","0.4.8":"2018-08-02T14:35:20.988Z","0.4.8-20180802143854":"2018-08-02T14:41:24.436Z","0.5.0":"2018-08-02T14:45:11.113Z","0.5.0-20180802185918":"2018-08-02T19:01:49.633Z","0.5.0-20180809162006":"2018-08-09T16:22:13.808Z","0.5.0-20180809164417":"2018-08-09T16:46:55.343Z","0.5.0-20180813191749":"2018-08-13T19:20:58.961Z","0.5.0-20180816094311":"2018-08-16T09:45:40.686Z","0.5.1":"2018-08-16T12:30:37.490Z","0.5.1-20180816123314":"2018-08-16T12:36:41.001Z","0.6.0":"2018-08-16T12:44:51.146Z","0.6.0-20180816234355":"2018-08-16T23:46:21.609Z","0.6.0-20180828202852":"2018-08-28T20:31:48.432Z","0.6.0-20180829192207":"2018-08-29T19:24:34.493Z","0.6.1":"2018-08-29T19:37:10.456Z","0.6.1-20180829193908":"2018-08-29T19:41:39.967Z","0.7.1":"2018-08-30T13:37:03.548Z","0.7.1-20180904135257":"2018-09-04T13:55:35.422Z","0.7.1-20180905192355":"2018-09-05T19:26:11.205Z","0.7.1-20180905193721":"2018-09-05T19:40:08.361Z","0.7.1-20180907025755":"2018-09-07T03:00:20.306Z","0.7.1-20180911163322":"2018-09-11T16:36:05.866Z","0.7.1-20180911173239":"2018-09-11T17:35:52.118Z","0.8.0":"2018-09-11T18:10:32.770Z","0.8.0-20180911214538":"2018-09-11T21:48:53.739Z","0.8.0-20180915163043":"2018-09-15T16:33:02.798Z","0.8.0-20180927130606":"2018-09-27T13:08:39.320Z","0.8.0-20180927132841":"2018-09-27T13:30:57.762Z","0.8.0-20181009153535":"2018-10-09T15:37:43.860Z","0.8.0-20181009181911":"2018-10-09T18:21:21.885Z","0.8.0-20181010061742":"2018-10-10T06:20:05.241Z","0.8.0-20181010122552":"2018-10-10T12:27:48.238Z","0.8.0-20181010135015":"2018-10-10T13:52:31.409Z","0.8.0-20181011152735":"2018-10-11T15:29:46.731Z","0.8.0-20181011163145":"2018-10-11T16:33:39.403Z","0.8.0-20181011170047":"2018-10-11T17:02:48.885Z","0.8.0-20181022073440":"2018-10-22T07:36:36.581Z","0.8.0-20181022192748":"2018-10-22T19:29:49.889Z","0.8.0-20181022192951":"2018-10-22T19:31:49.726Z","0.8.0-20181023160346":"2018-10-23T16:05:54.545Z","0.8.0-20181023162122":"2018-10-23T16:23:23.710Z","0.8.0-20181025052931":"2018-10-25T05:31:33.434Z","0.8.0-20181026183700":"2018-10-26T18:38:49.888Z","0.8.1":"2018-10-26T19:00:45.200Z","0.8.1-20181026190352":"2018-10-26T19:05:35.584Z","0.9.1":"2018-10-26T19:20:52.655Z","0.9.1-20181029104629":"2018-10-29T10:48:20.529Z","0.9.1-auto.2":"2018-10-29T10:55:44.891Z","0.9.2":"2018-10-29T11:22:08.052Z","0.9.2-20181029112455":"2018-10-29T11:26:39.146Z","0.9.2-20181030190708":"2018-10-30T19:08:53.614Z","0.9.3":"2018-10-30T20:03:36.673Z","0.9.3-20181030200650":"2018-10-30T20:08:36.585Z","0.9.3-20181109155130":"2018-11-09T15:53:21.343Z","0.9.3-20181109162034":"2018-11-09T16:22:29.488Z","0.9.3-20181109163808":"2018-11-09T16:39:54.849Z","0.9.4":"2018-11-09T16:43:23.770Z","0.9.4-20181109164630":"2018-11-09T16:48:21.679Z","0.9.4-20181109173121":"2018-11-09T17:33:17.253Z","0.9.5":"2018-11-09T17:44:17.023Z","0.9.5-20181109174716":"2018-11-09T17:49:15.453Z","0.9.5-20181111184425":"2018-11-11T18:46:15.402Z","0.9.5-20181112155152":"2018-11-12T15:53:42.375Z","0.9.5-20181114132043":"2018-11-14T13:22:32.380Z","0.9.5-20181114203504":"2018-11-14T20:36:58.960Z","0.9.6":"2018-11-14T20:47:13.190Z","0.9.6-20181114205007":"2018-11-14T20:51:57.143Z","0.9.6-20181116165829":"2018-11-16T17:00:19.454Z","0.9.6-20181116191753":"2018-11-16T19:19:40.778Z","0.9.7":"2018-11-16T19:26:38.901Z","0.9.7-20181116192926":"2018-11-16T19:31:17.713Z","0.9.7-20181119152855":"2018-11-19T15:30:47.911Z","0.9.8":"2018-11-21T21:00:48.095Z","0.9.8-20181121210328":"2018-11-21T21:05:21.628Z","0.9.8-20181129182117":"2018-11-29T18:22:45.823Z","0.9.8-20181130052804":"2018-11-30T05:29:39.211Z","0.9.9":"2018-11-30T16:21:15.092Z","0.9.9-20181130162421":"2018-11-30T16:25:48.325Z","0.9.9-20181203204957":"2018-12-03T20:51:26.854Z","0.9.9-20181206101606":"2018-12-06T10:17:40.335Z","0.9.10":"2018-12-06T10:18:01.599Z","0.9.10-20181206102109":"2018-12-06T10:22:41.423Z","0.9.10-20181207141834":"2018-12-07T14:20:07.136Z","0.9.10-20181213143029":"2018-12-13T14:32:06.402Z","0.9.10-20181213154454":"2018-12-13T15:46:24.399Z","0.9.10-20181213172407":"2018-12-13T17:25:31.623Z","0.9.10-20181213172630":"2018-12-13T17:28:03.566Z","0.9.10-20181213175517":"2018-12-13T17:56:48.891Z","0.9.10-20181214174013":"2018-12-14T17:41:44.688Z","0.9.11":"2018-12-14T17:49:17.713Z","0.9.11-20181214175457":"2018-12-14T17:56:25.970Z","0.9.11-20181222005712":"2018-12-22T00:58:41.995Z","0.9.12":"2018-12-22T01:06:10.749Z","0.9.12-20181222010948":"2018-12-22T01:11:14.544Z","0.9.12-20181224222011":"2018-12-24T22:21:48.751Z","0.9.12-20190110161737":"2019-01-10T16:19:02.285Z","0.9.12-20190110180549":"2019-01-10T18:07:16.955Z","0.10.0":"2019-01-10T18:49:23.058Z","0.10.0-20190114152041":"2019-01-14T15:22:09.764Z","0.10.0-20190114233635":"2019-01-14T23:37:58.999Z","0.10.1":"2019-01-14T23:46:49.268Z","0.10.1-20190114235042":"2019-01-14T23:52:13.159Z","0.10.1-20190122220137":"2019-01-22T22:03:00.940Z","0.10.1-20190123170026":"2019-01-23T17:01:55.344Z","0.10.1-20190128184409":"2019-01-28T18:45:44.741Z","0.10.2-20190129142217":"2019-01-29T14:23:57.738Z","0.10.2-20190130140838":"2019-01-30T14:10:23.245Z","0.10.2-20190130141505":"2019-01-30T14:16:56.169Z","0.10.2-20190130142335":"2019-01-30T14:25:23.182Z","0.10.2-20190204193806":"2019-02-04T19:39:39.547Z","0.10.2-20190204221744":"2019-02-04T22:19:10.510Z","0.10.2-20190205175030":"2019-02-05T17:51:57.894Z","0.10.2-20190205214705":"2019-02-05T21:48:35.987Z","0.10.2-20190210194341":"2019-02-10T19:45:12.295Z","0.10.2-20190211210618":"2019-02-11T21:07:54.732Z","0.10.2-20190213145246":"2019-02-13T14:54:30.245Z","0.10.2-20190213150249":"2019-02-13T15:04:18.159Z","0.10.2-20190217063804":"2019-02-17T06:39:32.201Z","0.10.2-20190218203417":"2019-02-18T20:35:53.340Z","0.10.2-20190219205513":"2019-02-19T20:56:44.200Z","0.10.2-20190219211815":"2019-02-19T21:19:45.109Z","0.10.2-20190221190619":"2019-02-21T19:07:48.976Z","0.10.2-20190222163636":"2019-02-22T16:38:13.649Z","0.10.2-20190223205405":"2019-02-23T20:55:35.094Z","0.10.2-20190226095238":"2019-02-26T09:54:11.451Z","0.10.2-20190226100945":"2019-02-26T10:11:12.726Z","0.10.2-20190308235550":"2019-03-08T23:57:18.560Z","0.10.2-20190309170151":"2019-03-09T17:03:21.827Z","0.10.2-20190311002229":"2019-03-11T00:24:02.255Z","0.10.2-20190311005110":"2019-03-11T00:52:42.254Z","0.10.2":"2019-03-11T00:59:09.604Z","0.10.3-20190311010311":"2019-03-11T01:04:40.693Z","0.10.3-20190312160659":"2019-03-12T16:08:32.470Z","0.10.3-20190312171854":"2019-03-12T17:20:23.665Z","0.10.3-20190313190507":"2019-03-13T19:06:47.756Z","0.10.3-20190315195233":"2019-03-15T19:54:06.460Z","0.10.3-20190319224540":"2019-03-19T22:47:12.480Z","0.10.3-20190319225603":"2019-03-19T22:57:33.983Z","0.10.3-20190320035629":"2019-03-20T03:57:58.014Z","0.10.3-20190320082908":"2019-03-20T08:30:43.888Z","0.11.0":"2019-03-20T08:40:58.540Z","0.11.1-20190321040745":"2019-03-21T04:09:19.617Z","0.11.1-20190321052516":"2019-03-21T05:26:48.535Z","0.11.1":"2019-03-21T05:27:29.426Z","0.11.2-20190321053306":"2019-03-21T05:34:36.227Z","0.11.2-20190324212505":"2019-03-24T21:26:39.565Z","0.11.2-20190326005634":"2019-03-26T00:58:07.666Z","0.11.2-20190326105923":"2019-03-26T11:00:57.670Z","0.11.2-20190326183124":"2019-03-26T18:32:52.665Z","0.11.2-20190326201007":"2019-03-26T20:11:38.080Z","0.11.2-20190326220202":"2019-03-26T22:03:28.462Z","0.11.2-20190326220542":"2019-03-26T22:07:14.048Z","0.11.2-20190329162535":"2019-03-29T16:27:08.339Z","0.11.2-20190329170012":"2019-03-29T17:01:44.302Z","0.11.2-20190329225235":"2019-03-29T22:54:05.276Z","0.11.2-20190401152138":"2019-04-01T15:23:12.190Z","0.11.2-20190401205913":"2019-04-01T21:00:47.782Z","0.11.2-20190402010943":"2019-04-02T01:11:18.772Z","0.11.2-20190402183920":"2019-04-02T18:41:00.318Z","0.11.2-20190403194611":"2019-04-03T19:47:42.215Z","0.11.2-20190403211448":"2019-04-03T21:16:21.954Z","0.11.2-20190404122741":"2019-04-04T12:29:17.351Z","0.11.2-20190404141539":"2019-04-04T14:17:10.154Z","0.11.2-20190404145208":"2019-04-04T14:53:42.730Z","0.11.2-20190404175612":"2019-04-04T17:57:47.944Z","0.11.2-20190405022109":"2019-04-05T02:22:40.408Z","0.11.2-20190405032444":"2019-04-05T03:26:16.809Z","0.12.0":"2019-04-05T03:48:30.895Z","0.12.1-20190405204028":"2019-04-05T20:42:04.734Z","0.12.1-20190407144638":"2019-04-07T14:48:31.834Z","0.12.1-20190416151303":"2019-04-16T15:14:35.335Z","0.12.1-20190422142809":"2019-04-22T14:30:04.922Z","0.12.1-20190430130939":"2019-04-30T13:11:12.860Z","0.12.1":"2019-04-30T15:52:03.065Z","0.12.2-20190430162434":"2019-04-30T16:26:09.862Z","0.12.2-20190502050514":"2019-05-02T05:06:49.019Z","0.12.2":"2019-05-02T05:16:55.078Z","0.12.3-20190502054938":"2019-05-02T05:51:07.039Z","0.12.3-20190510175035":"2019-05-10T17:52:08.135Z","0.12.3-20190513143234":"2019-05-13T14:34:06.358Z","0.12.3-20190515152902":"2019-05-15T15:30:34.932Z","0.12.3-20190515211313":"2019-05-15T21:14:49.488Z","0.12.3-20190515225306":"2019-05-15T22:54:53.704Z","0.12.3":"2019-05-15T23:16:20.185Z","0.12.4-20190515234019":"2019-05-15T23:41:49.719Z","0.12.3-20190605103628":"2019-06-05T10:38:54.750Z","0.12.3-20190605103856":"2019-06-05T10:41:54.224Z","0.12.3-20190605112347":"2019-06-05T11:25:20.271Z","0.12.4-20190605151254":"2019-06-05T15:14:34.044Z","0.12.4-20190605151933":"2019-06-05T15:21:03.801Z","0.12.4-20190605194452":"2019-06-05T19:46:30.854Z","0.12.4-20190607221454":"2019-06-07T22:16:26.100Z","0.12.4-20190607221638":"2019-06-07T22:18:20.827Z","0.12.4-20190608070307":"2019-06-08T07:04:44.053Z","0.12.4-20190608073713":"2019-06-08T07:38:47.308Z","0.12.4-20190608073815":"2019-06-08T07:39:52.452Z","0.12.4-20190608074827":"2019-06-08T07:49:59.110Z","0.12.4-20190609021349":"2019-06-09T02:15:19.284Z","0.12.4-20190609115219":"2019-06-09T11:53:48.744Z","0.12.4":"2019-06-09T11:56:58.909Z","0.12.5-20190610071532":"2019-06-10T07:16:59.660Z","0.12.5-20190619040852":"2019-06-19T04:10:58.563Z","0.12.5-20190621152905":"2019-06-21T15:31:58.813Z","0.12.5-20190621153744":"2019-06-21T15:39:34.334Z","0.12.5-20190621195942":"2019-06-21T20:01:18.043Z","0.12.5-20190627101942":"2019-06-27T10:21:15.146Z","0.12.5-20190701132937":"2019-07-01T13:31:20.693Z","0.12.5-20190701135106":"2019-07-01T13:52:43.759Z","0.12.5-20190701155029":"2019-07-01T15:52:13.618Z","0.12.5-20190701161023":"2019-07-01T16:12:08.607Z","0.12.5-20190701172633":"2019-07-01T17:28:07.041Z","0.12.5-20190701191438":"2019-07-01T19:16:18.126Z","0.12.5-20190701191610":"2019-07-01T19:17:42.995Z","0.12.5-20190701210257":"2019-07-01T21:04:30.296Z","0.13.0":"2019-07-01T21:27:28.914Z","0.13.1-20190702162137":"2019-07-02T16:23:08.188Z","0.13.1-20190703192622":"2019-07-03T19:27:52.345Z","0.13.1-20190706002451":"2019-07-06T00:26:39.768Z","0.13.1-20190706003246":"2019-07-06T00:34:37.715Z","0.13.1":"2019-07-06T00:42:41.350Z","0.13.2-20190706004611":"2019-07-06T00:47:43.735Z","0.13.2-20190706132407":"2019-07-06T13:25:40.227Z","0.13.2-20190709013101":"2019-07-09T01:32:36.263Z","0.13.2-20190709181907":"2019-07-09T18:21:00.650Z","0.13.2-20190709190411":"2019-07-09T19:05:42.710Z","0.13.2":"2019-07-09T19:21:22.541Z","0.13.3-20190709192453":"2019-07-09T19:26:27.339Z","0.13.3-20190709220414":"2019-07-09T22:05:53.879Z","0.13.3-20190711011645":"2019-07-11T01:18:17.873Z","0.13.3-20190711160708":"2019-07-11T16:08:45.392Z","0.13.3-20190712120947":"2019-07-12T12:13:53.477Z","0.13.3-20190712130531":"2019-07-12T13:07:09.036Z","0.13.3-20190712185029":"2019-07-12T18:52:05.049Z","0.13.3":"2019-07-12T18:59:26.861Z","0.13.4-20190712190250":"2019-07-12T19:04:16.892Z","0.13.4-20190717044503":"2019-07-17T04:46:57.579Z","0.13.4-20190717165720":"2019-07-17T16:59:02.122Z","0.13.4-20190717190436":"2019-07-17T19:06:09.662Z","0.13.4-20190717191853":"2019-07-17T19:20:35.899Z","0.13.4-20190725201143":"2019-07-25T20:13:20.528Z","0.13.4-20190726050117":"2019-07-26T05:02:50.188Z","0.13.4-20190730100707":"2019-07-30T10:08:42.823Z","0.13.4-20190730135540":"2019-07-30T13:57:17.889Z","0.13.4":"2019-07-30T13:59:19.515Z","0.13.5-20190730140300":"2019-07-30T14:04:37.286Z","0.13.5-20190730191834":"2019-07-30T19:20:06.911Z","0.13.5-20190731075819":"2019-07-31T07:59:54.584Z","0.13.5-20190731080052":"2019-07-31T08:02:32.662Z","0.13.5-20190731185436":"2019-07-31T18:56:18.097Z","0.13.5-20190801005403":"2019-08-01T00:55:40.286Z","0.13.5-20190801011735":"2019-08-01T01:19:10.733Z","0.13.5-20190803034616":"2019-08-03T03:49:13.879Z","0.13.5-20190807130647":"2019-08-07T13:08:18.505Z","0.13.5-20190807155532":"2019-08-07T15:56:46.008Z","0.13.5-20190808163923":"2019-08-08T16:41:17.477Z","0.13.5-20190821154927":"2019-08-21T15:51:21.339Z","0.13.5-20190823130237":"2019-08-23T13:04:08.959Z","0.13.5-20190826174644":"2019-08-26T17:48:22.660Z","0.13.5-20190903194104":"2019-09-03T19:42:21.617Z","0.13.5-20190905173843":"2019-09-05T17:40:23.022Z","0.13.5-20190906001332":"2019-09-06T00:15:07.438Z","0.13.5-20190906173523":"2019-09-06T17:36:56.484Z","0.13.5-20190914214832":"2019-09-14T21:50:06.192Z","0.13.5-20190918123149":"2019-09-18T12:33:30.932Z","0.13.5-20190918142838":"2019-09-18T14:30:15.275Z","0.13.5-20190920123630":"2019-09-20T12:37:54.758Z","0.13.5-20190920142824":"2019-09-20T14:30:24.046Z","0.13.5-20190920165257":"2019-09-20T16:54:45.785Z","0.13.5-20190920185903":"2019-09-20T19:00:45.648Z","0.13.5-20190920200036":"2019-09-20T20:02:02.173Z","0.13.5-20190923231816":"2019-09-23T23:19:42.867Z","0.13.5-20190924005130":"2019-09-24T00:53:03.165Z","0.13.5-20190924185435":"2019-09-24T18:56:03.834Z","0.13.5":"2019-09-24T19:04:30.411Z","0.13.6-20190924190931":"2019-09-24T19:11:01.091Z","0.13.6-20190926012258":"2019-09-26T01:24:40.620Z","0.13.6-20190926021916":"2019-09-26T02:20:50.262Z","0.13.6-20190926025012":"2019-09-26T02:51:46.754Z","0.13.6-20190926053858":"2019-09-26T05:40:47.729Z","0.13.6-20190926164521":"2019-09-26T16:47:07.895Z","0.13.6-20190926213818":"2019-09-26T21:39:49.658Z","0.13.6-20190930161058":"2019-09-30T16:12:36.746Z","0.20.0-alpha.2":"2019-10-01T05:36:50.510Z","0.13.6-20191002080312":"2019-10-02T08:04:47.922Z","0.20.0-20191002181306":"2019-10-02T18:15:10.424Z","0.13.6-20191003084545":"2019-10-03T08:47:20.981Z","0.20.0-20191004145338":"2019-10-04T14:55:29.774Z","0.13.6-20191005164616":"2019-10-05T16:47:56.744Z","0.20.0-20191006220451":"2019-10-06T22:06:14.863Z","0.20.0-20191008204954":"2019-10-08T20:51:27.544Z","0.13.6-20191009215152":"2019-10-09T21:53:22.982Z","0.13.6-20191011143634":"2019-10-11T14:38:08.436Z","0.13.6-20191014161412":"2019-10-14T16:15:58.403Z","0.20.0-20191014163038":"2019-10-14T16:32:00.928Z","0.20.0-20191014172915":"2019-10-14T17:30:39.531Z","0.20.0-20191014201956":"2019-10-14T20:21:24.208Z","0.20.0-20191015130920":"2019-10-15T13:10:48.420Z","0.20.0-20191015152559":"2019-10-15T15:27:29.209Z","0.20.0-20191015160121":"2019-10-15T16:03:28.443Z","0.20.0-20191015174724":"2019-10-15T17:50:10.110Z","0.20.0-20191016160515":"2019-10-16T16:06:41.739Z","0.13.6-20191016190721":"2019-10-16T19:08:55.944Z","0.20.0-20191016195251":"2019-10-16T19:54:20.353Z","0.20.0-20191017171014":"2019-10-17T17:12:01.471Z","0.20.0-20191017181429":"2019-10-17T18:16:14.459Z","0.20.0-20191017204754":"2019-10-17T20:50:49.798Z","0.20.0-20191017210202":"2019-10-17T21:03:34.650Z","0.20.0-20191017215240":"2019-10-17T21:54:13.797Z","0.20.0-20191017225759":"2019-10-17T22:59:40.545Z","0.20.0-20191017233119":"2019-10-17T23:33:08.729Z","0.20.0-20191017233523":"2019-10-17T23:37:00.347Z","0.20.0-20191017234942":"2019-10-17T23:51:23.933Z","0.20.0-20191018005146":"2019-10-18T00:53:21.036Z","0.20.0-20191018044630":"2019-10-18T04:48:14.287Z","0.20.0-20191018045743":"2019-10-18T04:59:28.592Z","0.20.0-20191018050825":"2019-10-18T05:10:15.576Z","0.20.0-20191018175817":"2019-10-18T17:59:57.490Z","0.20.0-20191018181932":"2019-10-18T18:21:04.551Z","0.20.0-beta.1":"2019-10-18T18:55:12.988Z","0.20.0-20191018190138":"2019-10-18T19:03:07.246Z","0.20.0-20191019120355":"2019-10-19T12:05:29.115Z","0.20.0-20191019132228":"2019-10-19T13:24:01.094Z","0.20.0-20191019203728":"2019-10-19T20:38:58.412Z","0.20.0-20191022173430":"2019-10-22T17:36:21.989Z","0.20.0-20191023200810":"2019-10-23T20:09:33.007Z","0.20.0-20191024132836":"2019-10-24T13:29:53.971Z","0.20.0-beta.2":"2019-10-24T14:29:51.003Z","0.20.0-20191024143837":"2019-10-24T14:40:09.110Z","0.20.0-20191029124228":"2019-10-29T12:44:04.040Z","0.20.0-20191029190951":"2019-10-29T19:11:08.626Z","0.20.0-beta.3":"2019-10-29T19:45:36.258Z","0.20.0-20191029195231":"2019-10-29T19:54:00.555Z","0.20.0-20191030200006":"2019-10-30T20:01:27.633Z","0.20.0-20191031015834":"2019-10-31T01:59:47.801Z","0.20.0-20191101003248":"2019-11-01T00:34:09.242Z","0.20.0-20191101004508":"2019-11-01T00:46:43.158Z","0.20.0-20191101010133":"2019-11-01T01:02:51.897Z","0.20.0-20191101013834":"2019-11-01T01:39:55.086Z","0.20.0":"2019-11-01T01:49:48.017Z","0.20.1-20191101015624":"2019-11-01T01:57:56.263Z","0.20.1-20191101191353":"2019-11-01T19:15:08.277Z","0.20.1-20191103205133":"2019-11-03T20:52:54.039Z","0.20.1-20191106133609":"2019-11-06T13:37:29.646Z","0.20.1-20191107191813":"2019-11-07T19:19:37.489Z","0.20.1-20191108155105":"2019-11-08T15:52:39.223Z","0.20.1":"2019-11-08T16:48:53.950Z","0.20.2-20191108165621":"2019-11-08T16:57:36.491Z","0.20.2-20191113165739":"2019-11-13T16:58:55.307Z","0.20.2-20191113220304":"2019-11-13T22:04:21.272Z","0.20.2":"2019-11-13T22:57:40.079Z","0.20.3-20191113230426":"2019-11-13T23:05:40.235Z","0.20.3-20191114023308":"2019-11-14T02:34:37.109Z","0.20.3-20191115134714":"2019-11-15T13:48:38.324Z","0.20.3-20191115205124":"2019-11-15T20:52:52.258Z","0.20.3":"2019-11-15T21:14:36.263Z","0.20.4-20191115212305":"2019-11-15T21:24:21.539Z","0.20.4-20191118165601":"2019-11-18T16:57:17.399Z","0.20.4-20191203095523":"2019-12-03T09:56:49.195Z","0.20.4-20191203212200":"2019-12-03T21:23:16.223Z","0.20.4-20191204171635":"2019-12-04T17:17:49.905Z","0.20.4-20191210161313":"2019-12-10T16:14:27.184Z","0.20.4-20191210173839":"2019-12-10T17:39:57.128Z","0.20.5":"2019-12-10T17:41:25.030Z","0.20.6-20191210174836":"2019-12-10T17:49:52.863Z","0.20.6-20191213003137":"2019-12-13T00:32:49.436Z","0.20.6-20191213003932":"2019-12-13T00:40:47.670Z","0.20.6-20191213014550":"2019-12-13T01:47:08.435Z","0.20.6-20191213030647":"2019-12-13T03:07:53.547Z","0.20.6-20191216212004":"2019-12-16T21:21:19.529Z","0.20.6":"2019-12-19T02:22:36.921Z","0.20.7-20191219022901":"2019-12-19T02:30:05.553Z","0.20.7-20191219053235":"2019-12-19T05:33:45.244Z","0.20.7-20191220160826":"2019-12-20T16:09:32.006Z","0.20.7":"2019-12-20T16:20:16.290Z","0.20.8-20191220162620":"2019-12-20T16:27:24.324Z","0.20.7-20200125220055":"2020-01-25T22:03:48.328Z","0.20.8-20200125224143":"2020-01-25T22:42:49.807Z","0.20.8-20200127164533":"2020-01-27T16:46:45.421Z","0.20.8-20200204033257":"2020-02-04T03:34:02.645Z","0.20.8-20200204033755":"2020-02-04T03:39:05.105Z","0.20.8":"2020-02-04T14:39:00.950Z","0.20.9-20200204144607":"2020-02-04T14:47:17.519Z","0.20.9-20200211152612":"2020-02-11T15:27:17.818Z","0.20.9-20200218175251":"2020-02-18T17:54:12.211Z","0.20.9-20200218191940":"2020-02-18T19:20:48.974Z","0.20.9-20200218192857":"2020-02-18T19:30:06.610Z","0.20.9":"2020-02-18T19:31:01.864Z","0.20.10-20200218193745":"2020-02-18T19:38:50.206Z","0.20.10-20200302212019":"2020-03-02T21:21:23.178Z","0.20.10-20200304155543":"2020-03-04T15:58:18.730Z","0.20.10-20200304222754":"2020-03-04T22:28:56.218Z","0.20.10-20200318195153":"2020-03-18T19:53:00.808Z","0.20.10-20200319170937":"2020-03-19T17:10:41.904Z","0.20.10-20200319172525":"2020-03-19T17:27:02.416Z","0.20.10-20200320142004":"2020-03-20T14:21:11.139Z","0.20.10-20200320153321":"2020-03-20T15:34:26.690Z","0.20.10-20200323193650":"2020-03-23T19:37:52.644Z","0.20.10-20200323210937":"2020-03-23T21:10:41.522Z","0.20.10-20200324160857":"2020-03-24T16:10:18.469Z","0.20.10-20200324163722":"2020-03-24T16:38:30.222Z","0.20.10-20200324234913":"2020-03-24T23:50:16.903Z","0.20.10-20200325000050":"2020-03-25T00:02:07.943Z","0.20.10-20200326171506":"2020-03-26T17:16:08.721Z","0.20.10-20200328161710":"2020-03-28T16:18:15.560Z","0.20.10-20200328162631":"2020-03-28T16:27:35.105Z","0.20.10-20200328170746":"2020-03-28T17:08:49.058Z","0.20.10-20200328175415":"2020-03-28T17:55:20.226Z","0.20.10-20200328180225":"2020-03-28T18:03:32.198Z","0.20.10-20200328190728":"2020-03-28T19:08:30.092Z","0.20.10-20200329142754":"2020-03-29T14:28:56.606Z","0.20.10-20200329143840":"2020-03-29T14:39:42.056Z","0.20.10-20200401150916":"2020-04-01T15:10:26.015Z","0.20.10-20200401150933":"2020-04-01T15:10:41.473Z","0.20.10-20200401183942":"2020-04-01T18:40:58.381Z","0.20.10-20200402172536":"2020-04-02T17:26:43.256Z","0.20.10-20200403135955":"2020-04-03T14:01:07.172Z","0.20.10-20200406211607":"2020-04-06T21:17:11.547Z","0.20.10-20200407053707":"2020-04-07T05:38:10.342Z","0.20.10-20200407194430":"2020-04-07T19:45:32.968Z","0.20.10-20200407230821":"2020-04-07T23:09:31.212Z","0.20.10-20200408172742":"2020-04-08T17:28:44.688Z","0.20.10-20200409194636":"2020-04-09T19:47:40.844Z","0.20.10-20200410141609":"2020-04-10T14:17:14.097Z","0.20.10-20200410165421":"2020-04-10T16:55:27.640Z","0.20.10-20200410172145":"2020-04-10T17:22:50.898Z","0.20.10-20200410181244":"2020-04-10T18:13:46.158Z","0.20.10-20200410182359":"2020-04-10T18:25:05.334Z","0.20.10":"2020-04-10T18:25:38.158Z","0.20.11-20200410183245":"2020-04-10T18:33:47.661Z","0.20.11-20200413151148":"2020-04-13T15:12:53.302Z","0.20.11-20200626053054":"2020-06-26T05:31:56.847Z","0.20.11-20200626165149":"2020-06-26T16:52:56.555Z","0.20.11-20200701050006":"2020-07-01T05:01:10.589Z","0.20.11-20200702202324":"2020-07-02T20:24:24.972Z","0.20.11-20200703171530":"2020-07-03T17:16:34.738Z","0.20.11-20200703203333":"2020-07-03T20:34:38.980Z","0.20.11-20200705004745":"2020-07-05T00:48:47.362Z","0.20.11-20200707010400":"2020-07-07T01:05:00.036Z","0.20.11-20200707140253":"2020-07-07T14:04:06.448Z","0.20.11-20200710202320":"2020-07-10T20:24:26.552Z","0.20.11-20200710234032":"2020-07-10T23:41:43.683Z","0.20.11-20200714144654":"2020-07-14T14:47:58.638Z","0.20.11-20200716162939":"2020-07-16T16:30:48.972Z","0.20.11-20200716171122":"2020-07-16T17:12:28.249Z","0.20.11-20200716171440":"2020-07-16T17:15:43.641Z","0.20.11-20200720144828":"2020-07-20T14:49:30.943Z","0.20.11-20200722133715":"2020-07-22T13:38:20.836Z","0.20.11-20200722211310":"2020-07-22T21:14:18.701Z","0.20.11-20200722220537":"2020-07-22T22:06:43.658Z","0.20.11-20200723014725":"2020-07-23T01:48:25.507Z","0.20.11-20200723020808":"2020-07-23T02:09:08.629Z","0.21.0":"2020-07-23T02:26:37.746Z","0.21.1-20200724012255":"2020-07-24T01:24:01.171Z","0.21.1-20200724153405":"2020-07-24T15:35:12.234Z","0.21.1-20200806204652":"2020-08-06T20:48:00.129Z","0.21.1":"2020-08-06T21:12:37.113Z","0.21.2-20200806211836":"2020-08-06T21:19:41.810Z","0.21.2-20200807173832":"2020-08-07T17:39:39.659Z","0.21.2-20200807191859":"2020-08-07T19:20:05.069Z","0.21.2-20200807210547":"2020-08-07T21:06:52.264Z","0.21.2-20200807214306":"2020-08-07T21:44:14.622Z","0.21.2":"2020-08-07T21:48:30.079Z","0.21.3-20200807215313":"2020-08-07T21:54:23.761Z","0.21.3-20200810225647":"2020-08-10T22:57:51.502Z","0.21.3-20200811201228":"2020-08-11T20:13:32.651Z","0.21.3":"2020-08-11T20:40:08.411Z","0.21.4-20200811204506":"2020-08-11T20:46:11.051Z","0.20.8-20200819140132":"2020-08-19T14:02:47.060Z","0.21.4-20200819150854":"2020-08-19T15:10:09.778Z","0.21.4-20200819193608":"2020-08-19T19:37:34.827Z","0.21.4-20200826140724":"2020-08-26T14:08:33.865Z","0.21.4":"2020-08-26T14:15:48.498Z","0.21.5-20200826142029":"2020-08-26T14:21:31.428Z","0.21.5-20200831132103":"2020-08-31T13:22:06.758Z","0.21.5":"2020-08-31T13:23:53.919Z","0.21.6-20200831132846":"2020-08-31T13:29:53.567Z","0.21.6-20200904223940":"2020-09-04T22:40:44.407Z","0.21.6":"2020-09-04T22:41:24.020Z","0.21.7-20200904224606":"2020-09-04T22:47:08.398Z","0.21.7-20200915183651":"2020-09-15T18:37:57.893Z","0.21.7":"2020-09-15T18:42:15.169Z","0.21.8-20200915184718":"2020-09-15T18:48:23.375Z","0.21.8-20200918205510":"2020-09-18T20:56:16.319Z","0.21.8":"2020-09-18T20:57:13.596Z","0.21.9-20200918210153":"2020-09-18T21:02:58.272Z","0.21.9-20200922164333":"2020-09-22T16:44:42.399Z","0.21.9-20201001204244":"2020-10-01T20:43:47.099Z","0.21.9":"2020-10-01T20:49:45.352Z","0.21.10-20201001205416":"2020-10-01T20:55:21.110Z","0.21.10-20201006171728":"2020-10-06T17:18:31.227Z","0.21.10-20201211011930":"2020-12-11T01:20:31.866Z","0.21.10-20210105032704":"2021-01-05T03:28:04.085Z","0.21.10-20210302192730":"2021-03-02T19:28:42.677Z","0.21.10-20210302200337":"2021-03-02T20:04:50.702Z","0.21.10-20210302212741":"2021-03-02T21:28:58.144Z","0.21.10-20210302214445":"2021-03-02T21:45:49.997Z","0.21.10-20210302220350":"2021-03-02T22:04:53.941Z","0.21.15":"2021-03-02T22:09:57.276Z","0.21.16-20210302222047":"2021-03-02T22:21:48.716Z","0.21.16":"2021-03-02T22:32:00.932Z","0.21.17-20210302224341":"2021-03-02T22:44:42.756Z","0.21.22":"2021-03-03T00:09:10.658Z","0.21.23":"2021-03-03T00:15:10.236Z","0.21.24":"2021-03-03T00:26:44.198Z","0.21.25-20210303013047":"2021-03-03T01:31:19.761Z","0.21.25-20210303013108":"2021-03-03T01:31:40.946Z","0.21.25-20210303013224":"2021-03-03T01:32:57.593Z","0.21.25-20210303013240":"2021-03-03T01:33:19.635Z","0.21.25-20210303013436":"2021-03-03T01:35:02.378Z","0.21.25-20210303013545":"2021-03-03T01:36:18.315Z","0.21.25-20210303013906":"2021-03-03T01:39:34.884Z","0.21.25-20210303015920":"2021-03-03T01:59:47.438Z","0.21.25":"2021-03-03T02:03:39.931Z","0.21.25-20210303110736":"2021-03-03T11:08:10.626Z","0.21.26":"2021-03-03T11:45:40.175Z","0.21.26-20210303115032":"2021-03-03T11:51:01.229Z","0.21.27-20210303144020":"2021-03-03T14:40:53.494Z","0.21.27-20210315184542":"2021-03-15T18:46:17.395Z","0.21.27-20210315191623":"2021-03-15T19:16:55.924Z","0.21.27-20210319042108":"2021-03-19T04:21:37.407Z","0.21.27-20210326103032":"2021-03-26T10:30:50.210Z","0.21.27-20210326104245":"2021-03-26T10:43:02.809Z","0.21.27-20210330104754":"2021-03-30T10:48:12.734Z","0.21.27-20210330145149":"2021-03-30T14:52:05.043Z","0.21.27-20210409091004":"2021-04-09T09:10:22.248Z","0.21.27-20210411001026":"2021-04-11T00:10:43.542Z","0.21.27-20210411213104":"2021-04-11T21:31:23.270Z","0.21.27-20210412180745":"2021-04-12T18:08:00.292Z","0.21.27-20210412180948":"2021-04-12T18:10:04.282Z","0.21.27-20210412182337":"2021-04-12T18:23:51.558Z","0.22.0-alpha.1":"2021-04-12T18:29:04.475Z","0.21.27-20210412183409":"2021-04-12T18:34:31.207Z","0.22.0-20210413112450":"2021-04-13T11:25:05.918Z","0.21.27-20210413112702":"2021-04-13T11:27:17.993Z","0.22.0-20210413113149":"2021-04-13T11:32:04.298Z","0.22.0-alpha.2":"2021-04-13T11:40:09.412Z","0.22.0-20210413114616":"2021-04-13T11:46:37.988Z","0.22.0-20210413115255":"2021-04-13T11:53:10.405Z","0.22.0-20210413122815":"2021-04-13T12:28:31.941Z","0.22.0-20210413170101":"2021-04-13T17:01:17.761Z","0.22.0-alpha.3":"2021-04-13T17:05:04.712Z","0.22.0-20210413171113":"2021-04-13T17:11:28.215Z","0.22.0-20210413171542":"2021-04-13T17:15:58.983Z","0.22.0-20210413195641":"2021-04-13T19:56:56.000Z","0.22.0-20210413200322":"2021-04-13T20:03:39.667Z","0.22.0-alpha.4":"2021-04-13T20:09:20.776Z","0.22.0-20210413202026":"2021-04-13T20:20:43.690Z","0.22.0-20210413203401":"2021-04-13T20:34:17.066Z","0.22.0-20210418153621":"2021-04-18T15:36:36.943Z","0.22.0-alpha.6":"2021-04-19T14:23:05.469Z","0.22.0-20210419142643":"2021-04-19T14:27:00.303Z","0.22.0-20210419143917":"2021-04-19T14:39:32.356Z","0.22.0-20210419145427":"2021-04-19T14:54:45.323Z","0.22.0-20210419202940":"2021-04-19T20:29:55.511Z","0.22.0-20210419205944":"2021-04-19T21:00:00.431Z","0.22.0-alpha.7":"2021-04-19T21:07:08.285Z","0.22.0-20210419210659":"2021-04-19T21:07:15.081Z","0.22.0-20210419211220":"2021-04-19T21:12:35.281Z","0.22.0-20210419213114":"2021-04-19T21:31:31.560Z","0.22.0-alpha.8":"2021-04-24T15:48:01.293Z","0.22.0-20210424155150":"2021-04-24T15:52:07.024Z","0.22.0-20210424155436":"2021-04-24T15:54:53.118Z","0.22.0-20210426234010":"2021-04-26T23:40:26.335Z","0.22.0-alpha.9":"2021-04-26T23:50:38.844Z","0.22.0-20210426235624":"2021-04-26T23:56:41.103Z","0.22.0-20210427011308":"2021-04-27T01:13:25.410Z","0.22.0":"2021-04-27T16:29:37.120Z","0.22.0-20210427163410":"2021-04-27T16:34:27.514Z","0.22.0-20210427163745":"2021-04-27T16:38:02.170Z","0.22.1-20210427172257":"2021-04-27T17:23:14.687Z","0.22.1-20210427173949":"2021-04-27T17:40:04.462Z","0.22.1-20210427180142":"2021-04-27T18:01:59.038Z","0.22.1-20210527142656":"2021-05-27T14:27:11.223Z","0.22.1-20210527144730":"2021-05-27T14:47:51.073Z","0.22.1-20210527150216":"2021-05-27T15:02:32.193Z","0.22.1":"2021-05-27T15:07:32.558Z","0.22.1-20210527151559":"2021-05-27T15:16:15.551Z","0.22.2-20210527152045":"2021-05-27T15:20:59.301Z","0.22.2-20210604005624":"2021-06-04T00:56:40.956Z","0.22.2-20210615154418":"2021-06-15T15:44:36.873Z","0.22.2-20210616065134":"2021-06-16T06:51:49.174Z","0.22.2-20210617100025":"2021-06-17T10:00:42.012Z","0.22.2-20210619101623":"2021-06-19T10:16:38.732Z","0.22.2-20210619141607":"2021-06-19T14:16:22.333Z","0.22.2-20210620151425":"2021-06-20T15:14:46.975Z","0.22.2-20210621131526":"2021-06-21T13:15:40.403Z","0.22.2-20210622100441":"2021-06-22T10:04:57.164Z","0.22.2-20210622154055":"2021-06-22T15:41:11.383Z","0.22.2-20210622154733":"2021-06-22T15:47:50.443Z","0.22.2-20210622174003":"2021-06-22T17:40:22.655Z","0.22.2-20210630195713":"2021-06-30T19:57:30.997Z","0.22.2-20210714131804":"2021-07-14T13:18:22.118Z","0.22.2-20210805122547":"2021-08-05T12:26:03.572Z","0.22.2-20210805122613":"2021-08-05T12:26:27.078Z","0.22.2-20210805171429":"2021-08-05T17:14:46.314Z","0.22.2-20210819201024":"2021-08-19T20:10:41.604Z","0.22.2-20210819201239":"2021-08-19T20:12:56.688Z","0.22.2-20210824154311":"2021-08-24T15:43:29.522Z","0.22.2-20210824161027":"2021-08-24T16:10:49.279Z","0.22.2-20210927151654":"2021-09-27T15:17:07.739Z","0.22.2-20210927152856":"2021-09-27T15:29:13.081Z","0.22.2-20210927153850":"2021-09-27T15:39:01.294Z","0.22.2-20210927164116":"2021-09-27T16:41:26.778Z","0.22.2-20210927165105":"2021-09-27T16:51:15.815Z","0.22.2-20210927172340":"2021-09-27T17:23:50.749Z","0.22.2-20211026142231":"2021-10-26T14:22:42.763Z","0.22.2":"2021-10-26T14:31:34.285Z","0.22.2-20211026143653":"2021-10-26T14:37:04.511Z","0.22.2-20211026144140":"2021-10-26T14:41:53.690Z","0.22.3-20211026145059":"2021-10-26T14:51:10.623Z","0.22.3-20211027074636":"2021-10-27T07:46:48.044Z","0.22.3-20211027083708":"2021-10-27T08:37:18.090Z","0.22.3-20211027125152":"2021-10-27T12:52:04.747Z","0.22.3-20211027130006":"2021-10-27T13:00:16.435Z","0.22.3-20211027130557":"2021-10-27T13:06:07.308Z","0.22.3-20211028100342":"2021-10-28T10:03:54.704Z","0.22.3-20211028101322":"2021-10-28T10:13:32.810Z","0.22.3-20220124175242":"2022-01-24T17:52:59.120Z","0.22.3-20220223023655":"2022-02-23T02:37:05.340Z","0.22.3-20220309180534":"2022-03-09T18:05:46.157Z","0.22.3-20220309181854":"2022-03-09T18:19:05.270Z","0.22.3-20220317161537":"2022-03-17T16:15:48.249Z","0.22.3-20220317165049":"2022-03-17T16:51:03.825Z","0.23.0-alpha.1":"2022-03-17T16:51:48.087Z","0.22.3-20220317171158":"2022-03-17T17:12:14.700Z","0.23.0-20220317201249":"2022-03-17T20:13:01.721Z","0.23.0-20220318160043":"2022-03-18T16:00:54.468Z","0.23.0-20220318160930":"2022-03-18T16:09:45.021Z","0.23.0-20220318211856":"2022-03-18T21:19:08.328Z","0.23.0-20220427150826":"2022-04-27T15:08:37.519Z","0.23.0":"2022-04-27T15:59:22.032Z","0.23.0-20220427160542":"2022-04-27T16:05:54.374Z","0.23.0-20220427162146":"2022-04-27T16:22:06.063Z","0.23.0-20220524131043":"2022-05-24T13:10:53.772Z","0.23.0-20220526145927":"2022-05-26T14:59:38.083Z","0.23.1-20220912141752":"2022-09-12T14:18:18.176Z","0.23.1-20220919123711":"2022-09-19T12:37:22.534Z","0.23.1-20220927150108":"2022-09-27T15:01:22.695Z","0.23.1-20220927150705":"2022-09-27T15:07:35.072Z","0.23.1-20220927152358":"2022-09-27T15:24:13.670Z","0.23.1-20220927153448":"2022-09-27T15:35:04.691Z","0.23.1-20221007135119":"2022-10-07T13:51:31.680Z","0.23.1-20221007135317":"2022-10-07T13:53:29.103Z","0.23.1-20221008145236":"2022-10-08T14:52:47.105Z","0.23.1-20221017150218":"2022-10-17T15:02:28.967Z","0.24.0":"2022-10-17T15:38:13.643Z","0.23.1-20221017154133":"2022-10-17T15:41:45.783Z","0.23.1-20221017154309":"2022-10-17T15:43:22.048Z","0.23.1-20221108115502":"2022-11-08T11:55:14.016Z","0.23.1-20230106092906":"2023-01-06T09:29:18.368Z","0.23.1-20230106094107":"2023-01-06T09:41:18.305Z","0.24.1-20230627140514":"2023-06-27T14:05:53.326Z"},"maintainers":[{"email":"matt@clause.io","name":"mttrbrts"},{"email":"danscode@selman.org","name":"dselman"},{"email":"dianarlease@gmail.com","name":"dianalease"}],"description":"Cicero Server - wraps the Cicero Engine and exposes it as a RESTful service","homepage":"https://github.com/accordproject/cicero#readme","keywords":["accord","legal","tech","smart","contract"],"repository":{"type":"git","url":"git+https://github.com/accordproject/cicero.git","directory":"packages/cicero-server"},"author":{"name":"clause.io"},"bugs":{"url":"https://github.com/accordproject/cicero/issues"},"license":"Apache-2.0","readme":"","readmeFilename":""}