Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
{
  "group": "groupname",
  "subType": "subType",
}

JSON Exmaple

Code Block
{
  "name": "nginxconfig",
  "type": "config",
  "description" : "this is a sample description",
  "versions" : [
    {
      "version" : "1",
      "lastSync": {
        "branch": "feature/config",
        "ts": 123123123
      },
      "soa": "json stringified config/soa file",
      "documentation": {
        "readme" : "json stringified file",
        "release" : "json stringified file"
      },
      "branches": [
        "feature/config"
      ]
    }
  ],
   "metadata": {
    "tags": ["tag1", "tag2"],
    "attributes": {
      "att1": ["att1.1", "att1.2"],
      "att2": ["att2.1", "att2.2"]
    },
    "program": ["soajs"]
  },
  "ui": {
    "main": "",
    "sub": ""
  },
  "settings": {
    "acl": {
      "groups" :{
        "type": "blackList", //// "whitelist"
        "value": ["owner"],
        "config": {}
      }
    },
    "environments :{
      "type": "blackList", //// "whitelist"
      "value": ["dev"],
      "config": {}
    }
  },
  "src": {
    "provider": "github",
    "owner": "ragheb",
    "repo": "test"
  }
}