diff --git a/SRV/SRVSUB/schemas/SubscriptionLink.schema.json b/SRV/SRVSUB/schemas/SubscriptionLink.schema.json index e59a52dbced468240db0b52b3099a1898c84ebef..08c0b3dbef32044e4df5c7688d3ed11637573d2d 100644 --- a/SRV/SRVSUB/schemas/SubscriptionLink.schema.json +++ b/SRV/SRVSUB/schemas/SubscriptionLink.schema.json @@ -32,7 +32,7 @@ "type": "object", "required": [ "href", - "rel" + "subscriptionType" ], "properties": { "href": { @@ -41,7 +41,7 @@ "format": "uri", "example": "/mecSerMgmtApi/example" }, - "rel": { + "subscriptionType": { "description": "The value shall be se to SerAvailabilityNotificationSubscription.", "type": "string" } diff --git a/SRV/SRVSUB/schemas/SubscriptionLinkList.schema.json b/SRV/SRVSUB/schemas/SubscriptionLinkList.schema.json index 919c646ee7c90f3695c5e4d50cb4e839b8c9b31b..08c0b3dbef32044e4df5c7688d3ed11637573d2d 100644 --- a/SRV/SRVSUB/schemas/SubscriptionLinkList.schema.json +++ b/SRV/SRVSUB/schemas/SubscriptionLinkList.schema.json @@ -1,57 +1,54 @@ { - "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" - } - } - } - } - } - } - } - } + "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", + "subscriptionType" + ], + "properties": { + "href": { + "description": "URI referring to a resource", + "type": "string", + "format": "uri", + "example": "/mecSerMgmtApi/example" + }, + "subscriptionType": { + "description": "The value shall be se to SerAvailabilityNotificationSubscription.", + "type": "string" + } + } + } + } + } + } + } } \ No newline at end of file