Company Information

company-information@0.3.0 Clause ^0.22.0 6eca4a0f94cde8018bb016ee81ce3ac8836b8ca5cbe9c66eef081eb1fd98bcd8

Gather company information

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

Introduction

This is a template to gather high-level information about a company.

Template Text

Name: "Example Corp."

Industry: "Healthcare"

Website: "https://example.org"

Address

Street: "1 Main Street"
City: "Portland"
State: "ME"
Zip Code: "12345"
Country: "USA"

Number of Employees: 250

Name: "Example Corp."

Industry: "Healthcare"

Website: "https://example.org"

### Address
Street: "1 Main Street"\
City: "Portland"\
State: "ME"\
Zip Code: "12345"\
Country: "USA"

Number of Employees: 250
Name: {{name}}

Industry: {{industry}}

Website: {{website}}

### Address
{{#with address}}Street: {{streetAddress}}\
City: {{addressLocality}}\
State: {{addressRegion}}\
Zip Code: {{postalCode}}\
Country: {{addressCountry}}{{/with}}

Number of Employees: {{numberOfEmployees}}
{
    "$class": "org.accordproject.companyinformation.CompanyInformation",
    "name": "Example Corp.",
    "industry": "Healthcare",
    "website": "https://example.org",
    "address": {
        "$class": "org.accordproject.address.PostalAddress",
        "streetAddress": "1 Main Street",
        "postalCode": "12345",
        "addressRegion": "ME",
        "addressLocality": "Portland",
        "addressCountry": "USA"
    },
    "numberOfEmployees": 250,
    "clauseId": "67edb921-3a3e-4b76-a3cc-9f07e3a9b1b3",
    "$identifier": "67edb921-3a3e-4b76-a3cc-9f07e3a9b1b3"
}

Template Model

namespace org.accordproject.companyinformation

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

asset CompanyInformation extends Clause {
    o String name
    o String industry
    o String website
    o PostalAddress address
    o Integer numberOfEmployees
}

Model Dependencies

Template Logic

Find the full logic for this template on on GitHub.

State Types

Type Sample JSON

Request Types

Type Sample JSON

Response Types

Type Sample JSON

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.