Contact Information

contact-information@0.3.1 Clause ^0.26.0 afbf94b6cfc1f93353fb30053eacf41b61abc8c0b7ba4d78bc142473715d2f02

Gather contact information

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

Introduction

This is a template to gather high-level information about a person (contact).

Template Text

Name: "Jane Doe"

Title: "CIO"

Email: "jane@example.com"

Phone: "123-456-789"

Time Zone: America_New_York

Communication preference: EMAIL

Name: "Jane Doe"

Title: "CIO"

Email: "jane@example.com"

Phone: "123-456-789"

Time Zone: America_New_York

Communication preference: EMAIL
Name: {{name}}

Title: {{title}}

Email: {{email}}

Phone: {{phone}}

Time Zone: {{timezone}}

Communication preference: {{communicationChannel}}
{
  "$class": "org.accordproject.contactinformation@0.1.0.TemplateModel",
  "name": "Jane Doe",
  "title": "CIO",
  "email": "jane@example.com",
  "phone": "123-456-789",
  "timezone": "America_New_York",
  "communicationChannel": "EMAIL",
  "clauseId": "889c0110-e081-4ceb-854e-0c162a77925d",
  "$identifier": "889c0110-e081-4ceb-854e-0c162a77925d"
}

Template Model

namespace org.accordproject.contactinformation@0.1.0

import org.accordproject.contract@0.2.0.Clause from https://models.accordproject.org/accordproject/contract@0.2.0.cto

enum TimeZone {
  o America_New_York
  o America_Chicago
  o America_Denver
  o America_Los_Angeles
  o America_Anchorage
  o Pacific_Honolulu
  o Europe_London
  o Europe_Paris
  o Europe_Berlin
  o Asia_Tokyo
  o Asia_Shanghai
  o Asia_Kolkata
  o Australia_Sydney
  o UTC
}

enum CommunicationChannel {
    o EMAIL
    o PHONE
}

@template
asset TemplateModel extends Clause {
    o String name
    o String title
    o String email
    o String phone
    o TimeZone timezone
    o CommunicationChannel communicationChannel
}

Model Dependencies

Template Logic

Find the full logic for this template on on GitHub.

State Types

Type Sample JSON
org.accordproject.runtime@0.2.0.State
{
    "$class": "org.accordproject.runtime@0.2.0.State",
    "$identifier": "78153370-50a4-11f1-a498-6b6dff021a96"
}

Request Types

Type Sample JSON
org.accordproject.runtime@0.2.0.Request
{
    "$class": "org.accordproject.runtime@0.2.0.Request",
    "$timestamp": "2026-05-15T21:24:34.471Z"
}

Response Types

Type Sample JSON
org.accordproject.runtime@0.2.0.Response
{
    "$class": "org.accordproject.runtime@0.2.0.Response",
    "$timestamp": "2026-05-15T21:24:34.471Z"
}

Events Types

Type Sample JSON

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.