Loading ngsi-ld-api.yaml +22 −41 Original line number Diff line number Diff line Loading @@ -3147,7 +3147,6 @@ components: '@context': $ref: '#/components/schemas/LdContext' - required: - id - type - '@context' application/json: Loading @@ -3155,7 +3154,6 @@ components: allOf: - $ref: '#/components/schemas/Subscription' - required: - id - type SubscriptionFragment: required: true Loading Loading @@ -3856,26 +3854,18 @@ components: description: | Language filter to be applied to the query (clause 4.15). type: string Subscription.Periodic: allOf: - $ref: '#/components/schemas/Subscription.Common' - type: object properties: timeInterval: description: | Indicates that a notification shall be delivered periodically regardless of attribute changes. Actually, when the time interval (in seconds) specified in this value field is reached. type: number minimum: 1 # Clause 5.2.2 Common members. System-generated. # Clause 5.2.2 Common members. System-generated createdAt: $ref: '#/components/schemas/CreatedAt' allOf: - $ref: '#/components/schemas/CreatedAt' readOnly: true modifiedAt: $ref: '#/components/schemas/ModifiedAt' allOf: - $ref: '#/components/schemas/ModifiedAt' readOnly: true deletedAt: $ref: '#/components/schemas/DeletedAt' allOf: - $ref: '#/components/schemas/DeletedAt' readOnly: true status: description: | Loading @@ -3886,6 +3876,17 @@ components: - paused - expired readOnly: true Subscription.Periodic: allOf: - $ref: '#/components/schemas/Subscription.Common' - type: object properties: timeInterval: description: | Indicates that a notification shall be delivered periodically regardless of attribute changes. Actually, when the time interval (in seconds) specified in this value field is reached. type: number minimum: 1 - required: - entities - timeInterval Loading @@ -3906,26 +3907,6 @@ components: Minimal period of time in seconds which shall elapse between two consecutive notifications. type: number minimum: 1 # Clause 5.2.2 Common members. System-generated. createdAt: $ref: '#/components/schemas/CreatedAt' readOnly: true modifiedAt: $ref: '#/components/schemas/ModifiedAt' readOnly: true deletedAt: allOf: - $ref: '#/components/schemas/DeletedAt' readOnly: true status: description: | Read-only. Provided by the system when querying the details of a subscription. type: string enum: - active - paused - expired readOnly: true Subscription: oneOf: - $ref: '#/components/schemas/Subscription.OnChange' Loading Loading
ngsi-ld-api.yaml +22 −41 Original line number Diff line number Diff line Loading @@ -3147,7 +3147,6 @@ components: '@context': $ref: '#/components/schemas/LdContext' - required: - id - type - '@context' application/json: Loading @@ -3155,7 +3154,6 @@ components: allOf: - $ref: '#/components/schemas/Subscription' - required: - id - type SubscriptionFragment: required: true Loading Loading @@ -3856,26 +3854,18 @@ components: description: | Language filter to be applied to the query (clause 4.15). type: string Subscription.Periodic: allOf: - $ref: '#/components/schemas/Subscription.Common' - type: object properties: timeInterval: description: | Indicates that a notification shall be delivered periodically regardless of attribute changes. Actually, when the time interval (in seconds) specified in this value field is reached. type: number minimum: 1 # Clause 5.2.2 Common members. System-generated. # Clause 5.2.2 Common members. System-generated createdAt: $ref: '#/components/schemas/CreatedAt' allOf: - $ref: '#/components/schemas/CreatedAt' readOnly: true modifiedAt: $ref: '#/components/schemas/ModifiedAt' allOf: - $ref: '#/components/schemas/ModifiedAt' readOnly: true deletedAt: $ref: '#/components/schemas/DeletedAt' allOf: - $ref: '#/components/schemas/DeletedAt' readOnly: true status: description: | Loading @@ -3886,6 +3876,17 @@ components: - paused - expired readOnly: true Subscription.Periodic: allOf: - $ref: '#/components/schemas/Subscription.Common' - type: object properties: timeInterval: description: | Indicates that a notification shall be delivered periodically regardless of attribute changes. Actually, when the time interval (in seconds) specified in this value field is reached. type: number minimum: 1 - required: - entities - timeInterval Loading @@ -3906,26 +3907,6 @@ components: Minimal period of time in seconds which shall elapse between two consecutive notifications. type: number minimum: 1 # Clause 5.2.2 Common members. System-generated. createdAt: $ref: '#/components/schemas/CreatedAt' readOnly: true modifiedAt: $ref: '#/components/schemas/ModifiedAt' readOnly: true deletedAt: allOf: - $ref: '#/components/schemas/DeletedAt' readOnly: true status: description: | Read-only. Provided by the system when querying the details of a subscription. type: string enum: - active - paused - expired readOnly: true Subscription: oneOf: - $ref: '#/components/schemas/Subscription.OnChange' Loading