diff --git a/code/API_definitions/device-reachability-status-subscriptions.yaml b/code/API_definitions/device-reachability-status-subscriptions.yaml index 367ed24..cd90c59 100644 --- a/code/API_definitions/device-reachability-status-subscriptions.yaml +++ b/code/API_definitions/device-reachability-status-subscriptions.yaml @@ -400,21 +400,21 @@ components: $ref: "../common/CAMARA_event_common.yaml#/components/schemas/SubscriptionId" schemas: - CreateSubscriptionDetail: + CreateSubscriptionDetailLocal: description: The detail of the requested event subscription. type: object properties: device: $ref: "../common/CAMARA_common.yaml#/components/schemas/Device" - Config2: + 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/CreateSubscriptionDetail" + $ref: "#/components/schemas/CreateSubscriptionDetailLocal" ApiEventType: type: string @@ -484,7 +484,7 @@ components: items: $ref: "#/components/schemas/ApiEventType" config: - $ref: "#/components/schemas/Config2" + $ref: "#/components/schemas/ConfigLocal" id: $ref: "../common/CAMARA_event_common.yaml#/components/schemas/SubscriptionId" startsAt: @@ -561,7 +561,7 @@ components: items: $ref: "#/components/schemas/ApiEventType" config: - $ref: "#/components/schemas/Config2" + $ref: "#/components/schemas/ConfigLocal" discriminator: propertyName: protocol mapping: