Krzysztof Kuzmicki | 11e395a | 2021-10-05 14:10:35 +0200 | [diff] [blame] | 1 | openapi: 3.0.1 |
| 2 | info: |
| 3 | title: Common Type Definitions |
| 4 | version: 16.3.0 |
| 5 | description: >- |
| 6 | OAS 3.0.1 specification of common type definitions in the Generic NRM |
| 7 | © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). |
| 8 | All rights reserved. |
| 9 | externalDocs: |
| 10 | description: 3GPP TS 28.623 V16.3.0; Generic NRM, Common Type Definitions |
| 11 | url: http://www.3gpp.org/ftp/Specs/archive/28_series/28.623/ |
| 12 | paths: {} |
| 13 | components: |
| 14 | schemas: |
| 15 | Long: |
| 16 | type: string |
| 17 | format: long |
| 18 | Float: |
| 19 | type: string |
| 20 | format: float |
| 21 | DateTime: |
| 22 | type: string |
| 23 | format: date-Time |
| 24 | Dn: |
| 25 | type: string |
| 26 | Uri: |
| 27 | type: string |
| 28 | AttributeNameValuePairSet: |
| 29 | type: object |
| 30 | minProperties: 1 |
| 31 | AttributeValueChangeSet: |
| 32 | description: >- |
| 33 | The key in this map is the attribute name. The value of each key is an array. |
| 34 | When only one item is present in the array, it carries the new attribute |
| 35 | value. If two items are present, then the first item carries the old value |
| 36 | and the second item the new value. The items can be of any type including null. |
| 37 | type: object |
| 38 | additionalProperties: |
| 39 | type: array |
| 40 | minItems: 1 |
| 41 | maxItems: 2 |
| 42 | items: |
| 43 | nullable: true |
| 44 | Filter: |
| 45 | type: string |
| 46 | SystemDN: |
| 47 | type: string |
| 48 | NotificationId: |
| 49 | type: integer |
| 50 | NotificationHeader: |
| 51 | description: >- |
| 52 | Header used for all notifications types |
| 53 | type: object |
| 54 | required: |
| 55 | - uri |
| 56 | - notificationId |
| 57 | - notificationType |
| 58 | - eventTime |
| 59 | - systemDn |
| 60 | properties: |
| 61 | uri: |
| 62 | $ref: '#/components/schemas/Uri' |
| 63 | notificationId: |
| 64 | $ref: '#/components/schemas/NotificationId' |
| 65 | notificationType: |
| 66 | oneOf: |
| 67 | - $ref: 'faultMnS.yaml#/components/schemas/AlarmNotificationTypes' |
| 68 | #- $ref: 'provMnS.yaml#/components/schemas/CmNotificationTypes' |
| 69 | # more to be added |
| 70 | eventTime: |
| 71 | $ref: '#/components/schemas/DateTime' |
| 72 | systemDN: |
| 73 | $ref: '#/components/schemas/SystemDN' |
| 74 | ErrorResponse: |
| 75 | description: >- |
| 76 | Default schema for the response message body in case the request |
| 77 | is not successful. |
| 78 | type: object |
| 79 | properties: |
| 80 | error: |
| 81 | type: object |
| 82 | properties: |
| 83 | errorInfo: |
| 84 | type: string |