Empty

Author: Accord Project

empty@0.9.0 Clause ^0.22.0 a10499b8bf3b0b1ec4c447f51e0bff56bc2f245f88f99ac9fc083dffab992eb4

This is an empty clause template to get you started.

Download Archive Download Compiled Archive Open in Template Studio Open in VSCode Web

Empty clause template

This is an empty clause template to get you started.

Template Text

Write your clause template here

# Write your clause template here
# Write your clause template here
{
    "$class": "org.accordproject.empty.EmptyClause",
    "clauseId": "bf85504f-fbe6-41f9-8c81-19d7edccba49",
    "$identifier": "bf85504f-fbe6-41f9-8c81-19d7edccba49"
}

Template Model

namespace org.accordproject.empty

import org.accordproject.contract.* from https://models.accordproject.org/accordproject/contract.cto
import org.accordproject.runtime.* from https://models.accordproject.org/accordproject/runtime.cto

// Template model
asset EmptyClause extends Clause {
}

// Request
transaction EmptyRequest extends Request {
}

// Response
transaction EmptyResponse extends Response {
}

Model Dependencies

Template Logic

Find the full logic for this template on on GitHub.

State Types

Type Sample JSON
org.accordproject.runtime.State
{
    "$class": "org.accordproject.runtime.State",
    "$identifier": "79730850-a77b-11eb-9770-7ddd576a12c2"
}

Request Types

Type Sample JSON
org.accordproject.empty.EmptyRequest
{
    "$class": "org.accordproject.empty.EmptyRequest",
    "$timestamp": "2021-04-27T13:10:32.533-04:00"
}

Response Types

Type Sample JSON
org.accordproject.empty.EmptyResponse
{
    "$class": "org.accordproject.empty.EmptyResponse",
    "$timestamp": "2021-04-27T13:10:32.533-04:00"
}

Events Types

Type Sample JSON
concerto.Event
{
    "abstract": "this is an abstract type"
}

Technical Integration

Please refer to the Accord Project documentation for how to use a template or integrate it within your application.

View the Latest code for this template on GitHub.