Fake.REST logo
Fake.REST
Topics
Getting started
Dynamic templating
Scripting

Company

Company namespace contains methods that generate strings related to the company entity.

Template definitions

{{company.bs()}} - Generates randomly Business Slogan, e.g. "web-enabled exploit applications".


{{company.bsAdjective()}} - Generates randomly the Business Slogan Adjective, e.g. "visionary".


{{company.bsBuzz()}} - Generates randomly the Business Slogan Buzz Word, e.g. "generate".


{{company.bsNoun()}} - Generates randomly the Business Slogan Noun, e.g. "platforms".


{{company.catchPhrase()}} - Generates randomly the Catch Phrase, e.g. "Organic 6th generation middleware".


{{company.catchPhraseAdjective()}} - Generates randomly the Catch Phrase Adjective, e.g. "Balanced".


{{company.catchPhraseDescriptor()}} - Generates randomly the Catch Phrase Descriptor, e.g. "grid-enabled".


{{company.companyName()}} - Generates randomly the Company Name, e.g. "Halvorson, Jacobi and Emard".


{{company.companySuffix()}} - Generates randomly the Company Suffix, e.g. "Group".


The example of template usage:

{
  "someCompany": {
    "bs": "{{company.bs()}}",
    "bsAdjective": "{{company.bsAdjective()}}",
    "bsBuzz": "{{company.bsBuzz()}}",
    "bsNoun": "{{company.bsNoun()}}",
    "catchPhrase": "{{company.catchPhrase()}}",
    "catchPhraseAdjective": "{{company.catchPhraseAdjective()}}",
    "catchPhraseDescriptor": "{{company.catchPhraseDescriptor()}}",
    "companyName": "{{company.companyName()}}",
    "companySuffix": "{{company.companySuffix()}}",
  }
}