Introduction
This is a template to gather high-level information about a company.
Gather company information
This is a template to gather high-level information about a company.
Name: "Example Corp."
Industry: "Healthcare"
Website: "https://example.org"
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"
}
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
}
Find the full logic for this template on on GitHub.
Type | Sample JSON |
---|
Type | Sample JSON |
---|
Type | Sample JSON |
---|
Type | Sample JSON |
---|
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.