Skip to content
Hd Böhlau edited this page Feb 5, 2016 · 4 revisions

Welcome to the 'cubx-webpackage-document-api' wiki!

The cubx-webpackage-document-api provides the schema and schema-validation functions for the manifest.webpackage -file.

A manifest.webpackage my look like this:

{
  "name": "the-unique-name-of-my-webpackage",
  "version": "0.2.0",
  "modelVersion": "8.3.0",
  "docType": "webpackage",
  "author": {
    "name": "John Doe",
    "email": "john.doe@example.org"
  },
  "license": "MIT",
  "homepage": "http://project.home.com",
  "keywords": [
    "connectors",
    "energy"
  ],
  "runnables": [
      {
        "name": "readme",
        "path": "/doc/readme.html",
        "description": "Read this ..."
      }
  ],
  "artifacts": {
    "apps": [
       // 0..n apps
    ],
    "compoundComponents": [
       // 0..n compounds
    ],
    "elementaryComponents": [
       // 0..n elementaries
    ],
    "utilities": [
       // 0..n utilities
    ]
}

Clone this wiki locally