Applications.json 2.2 KB
{
  "type": "object",
  "title": "applications",
  "required": [
    "applications"
  ],
  "properties": {
    "applications": {
      "type": "array",
      "xml": {
        "name": "applications",
        "wrapped": true
      },
      "items": {
        "type": "object",
        "title": "application",
        "required": [
          "name",
          "id",
          "version",
          "description",
          "origin",
          "permissions",
          "featuresRepo",
          "features",
          "requiredApps",
          "state"
        ],
        "properties": {
          "name": {
            "type": "string",
            "example": "org.onosproject.distributedprimitives"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "example": 1
          },
          "version": {
            "type": "string",
            "example": "1.2.3"
          },
          "description": {
            "type": "string",
            "example": "ONOS app to test distributed primitives"
          },
          "origin": {
            "type": "string",
            "example": "ON.Lab"
          },
          "permissions": {
            "type": "array",
            "xml": {
              "name": "hosts",
              "wrapped": true
            },
            "items": {
              "type": "string",
              "example": ""
            }
          },
          "featuresRepo": {
            "type": "string",
            "example": "mvn:org.onosproject/onos-app-cip/1.2.3/xml/features"
          },
          "features": {
            "type": "array",
            "xml": {
              "name": "features",
              "wrapped": true
            },
            "items": {
              "type": "string",
              "example": "onos-app-distributed-primitives"
            }
          },
          "requiredApps": {
            "type": "array",
            "xml": {
              "name": "requiredApps",
              "wrapped": true
            },
            "items": {
              "type": "string",
              "example": ""
            }
          },
          "state": {
            "type": "string",
            "example": "ACTIVE"
          }
        }
      }
    }
  }
}