diff --git a/code/API_definitions/device-data-volume-subscriptions.yaml b/code/API_definitions/device-data-volume-subscriptions.yaml index 02e33a0..3226aed 100644 --- a/code/API_definitions/device-data-volume-subscriptions.yaml +++ b/code/API_definitions/device-data-volume-subscriptions.yaml @@ -355,21 +355,21 @@ components: $ref: "../common/CAMARA_event_common.yaml#/components/schemas/SubscriptionId" schemas: - SubscriptionDetail: + SubscriptionDetailLocal: description: The details of the requested device data volume subscription. type: object properties: device: $ref: "../common/CAMARA_common.yaml#/components/schemas/Device" - Config: + ConfigLocal: description: Config schema allowing for device to be specified as part of subscription detail allOf: - $ref: "../common/CAMARA_event_common.yaml#/components/schemas/Config" - type: object properties: subscriptionDetail: - $ref: "#/components/schemas/SubscriptionDetail" + $ref: "#/components/schemas/SubscriptionDetailLocal" ApiEventType: type: string @@ -440,7 +440,7 @@ components: items: $ref: "#/components/schemas/ApiEventType" config: - $ref: "#/components/schemas/Config" + $ref: "#/components/schemas/ConfigLocal" id: $ref: "../common/CAMARA_event_common.yaml#/components/schemas/SubscriptionId" startsAt: @@ -498,7 +498,7 @@ components: items: $ref: "#/components/schemas/ApiEventType" config: - $ref: "#/components/schemas/Config" + $ref: "#/components/schemas/ConfigLocal" discriminator: propertyName: protocol mapping: