mpriyank | 87f0b00 | 2023-05-04 11:24:29 +0100 | [diff] [blame] | 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2019-09/schema", |
mpriyank | 3032261 | 2023-06-16 15:55:52 +0100 | [diff] [blame] | 3 | "$id": "urn:cps:org.onap.cps.ncmp.events:avc-event-schema:1.0.0", |
mpriyank | 87f0b00 | 2023-05-04 11:24:29 +0100 | [diff] [blame] | 4 | "$ref": "#/definitions/AvcEvent", |
| 5 | "definitions": { |
mpriyank | acae85f | 2023-05-18 14:56:07 +0100 | [diff] [blame] | 6 | "Edit": { |
mpriyank | acae85f | 2023-05-18 14:56:07 +0100 | [diff] [blame] | 7 | "additionalProperties": false, |
| 8 | "properties": { |
| 9 | "edit-id": { |
| 10 | "type": "string" |
| 11 | }, |
| 12 | "operation": { |
| 13 | "type": "string" |
| 14 | }, |
| 15 | "target": { |
| 16 | "type": "string" |
| 17 | }, |
| 18 | "value": { |
sourabh_sourabh | b0c7b0e | 2024-07-31 17:19:19 +0100 | [diff] [blame] | 19 | "type": "object", |
| 20 | "existingJavaType": "java.lang.Object" |
mpriyank | acae85f | 2023-05-18 14:56:07 +0100 | [diff] [blame] | 21 | } |
| 22 | }, |
| 23 | "required": [ |
| 24 | "edit-id", |
| 25 | "operation", |
| 26 | "target" |
| 27 | ] |
| 28 | }, |
mpriyank | 87f0b00 | 2023-05-04 11:24:29 +0100 | [diff] [blame] | 29 | "AvcEvent": { |
| 30 | "description": "The payload for AVC event.", |
| 31 | "type": "object", |
mpriyank | 3032261 | 2023-06-16 15:55:52 +0100 | [diff] [blame] | 32 | "javaType": "org.onap.cps.ncmp.events.avc1_0_0.AvcEvent", |
mpriyank | 87f0b00 | 2023-05-04 11:24:29 +0100 | [diff] [blame] | 33 | "properties": { |
mpriyank | 3032261 | 2023-06-16 15:55:52 +0100 | [diff] [blame] | 34 | "data": { |
mpriyank | acae85f | 2023-05-18 14:56:07 +0100 | [diff] [blame] | 35 | "description": "The AVC event content compliant with RFC8641 format", |
mpriyank | 87f0b00 | 2023-05-04 11:24:29 +0100 | [diff] [blame] | 36 | "type": "object", |
mpriyank | acae85f | 2023-05-18 14:56:07 +0100 | [diff] [blame] | 37 | "additionalProperties": false, |
| 38 | "properties": { |
| 39 | "push-change-update": { |
| 40 | "type": "object", |
| 41 | "additionalProperties": false, |
| 42 | "properties": { |
| 43 | "datastore-changes": { |
| 44 | "type": "object", |
| 45 | "additionalProperties": false, |
| 46 | "properties": { |
| 47 | "ietf-yang-patch:yang-patch": { |
| 48 | "type": "object", |
| 49 | "additionalProperties": false, |
| 50 | "properties": { |
| 51 | "patch-id": { |
| 52 | "type": "string" |
| 53 | }, |
| 54 | "edit": { |
| 55 | "type": "array", |
| 56 | "items": { |
| 57 | "$ref": "#/definitions/Edit" |
| 58 | } |
| 59 | } |
| 60 | }, |
| 61 | "required": [ |
| 62 | "patch-id", |
| 63 | "edit" |
| 64 | ] |
| 65 | } |
| 66 | }, |
| 67 | "required": [ |
| 68 | "ietf-yang-patch:yang-patch" |
| 69 | ] |
| 70 | } |
| 71 | }, |
| 72 | "required": [ |
| 73 | "datastore-changes" |
| 74 | ] |
| 75 | } |
| 76 | }, |
| 77 | "required": [ |
| 78 | "push-change-update" |
| 79 | ] |
mpriyank | 87f0b00 | 2023-05-04 11:24:29 +0100 | [diff] [blame] | 80 | } |
| 81 | }, |
| 82 | "required": [ |
mpriyank | 3032261 | 2023-06-16 15:55:52 +0100 | [diff] [blame] | 83 | "data" |
mpriyank | 87f0b00 | 2023-05-04 11:24:29 +0100 | [diff] [blame] | 84 | ], |
| 85 | "additionalProperties": false |
| 86 | } |
| 87 | } |
| 88 | } |