@iota/industry_4.0_language

1.0.6 • Public • Published

Industry 4.0 Language Library

Usage

Add the package name to your package.json dependencies list

Import functions and call it within your application

import { operations, submodel } from 'SeMarket/industry_4.0_language';

const eClassOperations = operations();
const eClassSubmodel = submodel(eClassOperations[0].id);

API Description:

operations

  1. For CfP message type returns list of operations (plain text)

submodel

  1. Performs lookup in the eCl@ss catalog, retrieves submodel
  2. Returns submodel

evaluate

  1. Evaluates values
  2. Returns success or failure notification

generate

  1. Generates conversationId, messageId,
  2. Fills placeholder JSON for selected message type with provided values, appends submodel
  3. Returns generated message of the selected type (CfP, Proposal, etc.)

Readme

Keywords

none

Package Sidebar

Install

npm i @iota/industry_4.0_language

Weekly Downloads

0

Version

1.0.6

License

Apache-2.0

Unpacked Size

25.7 kB

Total Files

12

Last publish

Collaborators

  • domschiener
  • iota_ci