SubscriptionLinkList.schema.json 1.75 KB
Newer Older
{
  "type": "array",
  "objects": {
    "description": "This type represents a list of links related to currently existing subscriptions for a MEC application instance. This information is returned when sending a request to receive current subscriptions.",
    "type": "object",
    "required": [
      "_links"
    ],
    "properties": {
      "_links": {
        "description": "Self-referring URI.",
        "type": "object",
        "required": [
          "self"
        ],
        "properties": {
          "self": {
            "description": "This type represents a type of link and may be referenced from data structures",
            "type": "object",
            "properties": {
              "href": {
                "description": "URI referring to a resource",
                "type": "string",
                "format": "uri",
                "example": "/mecSerMgmtApi/example"
              }
            }
          },
          "subscriptions": {
            "description": "The MEC application instance's subscriptions",
            "type": "array",
            "items": {
              "description": "A link to a subscription.",
              "type": "object",
              "required": [
                "href",
                "rel"
              ],
              "properties": {
                "href": {
                  "description": "URI referring to a resource",
                  "type": "string",
                  "format": "uri",
                  "example": "/mecSerMgmtApi/example"
                },
                "rel": {
                  "description": "The value shall be se to SerAvailabilityNotificationSubscription.",
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}