diff options
Diffstat (limited to 'components/pm-subscription-handler/dpo/data-formats/pmsh-cl-input.json')
-rwxr-xr-x | components/pm-subscription-handler/dpo/data-formats/pmsh-cl-input.json | 82 |
1 files changed, 72 insertions, 10 deletions
diff --git a/components/pm-subscription-handler/dpo/data-formats/pmsh-cl-input.json b/components/pm-subscription-handler/dpo/data-formats/pmsh-cl-input.json index 9c1d252f..cda1a223 100755 --- a/components/pm-subscription-handler/dpo/data-formats/pmsh-cl-input.json +++ b/components/pm-subscription-handler/dpo/data-formats/pmsh-cl-input.json @@ -1,11 +1,73 @@ -{
- "self": {
- "name": "PMSH_CL_INPUT",
- "version": "1.0.0",
- "description": "Unstructured PMSH CL INPUT"
- },
- "dataformatversion": "1.0.0",
- "unstructured": {
- "encoding": "UTF-8"
- }
+{ + "self": { + "name": "PMSH_CL_INPUT", + "version": "1.0.0", + "description": "The input format of PM Subscription CL event." + }, + "dataformatversion": "1.0.0", + "jsonSchema": { + "name": "PM Subscription CL input", + "version": "1.0.0", + "properties": { + "name": { + "type": "string" + }, + "nameSpace": { + "type": "string" + }, + "source": { + "type": "string" + }, + "target": { + "type": "string" + }, + "version": { + "type": "string" + }, + "status": { + "type": "object", + "description": "The status response from the policy framework.", + "properties": { + "subscriptionName": { + "type": "string", + "description": "The unique name of the subscription object." + }, + "nfName": { + "type": "string", + "description": "The name of the nf in A&AI." + }, + "changeType": { + "type": "string", + "description": "This is the change type action that was undertaken to create/delete a PM subscription.", + "enum": [ + "CREATE", + "DELETE" + ] + }, + "message": { + "type": "string", + "description": "The return of the change type action status taken can be success or failure", + "enum": [ + "success", + "failure" + ] + } + }, + "required": [ + "subscriptionName", + "nfName", + "changeType", + "message" + ] + } + }, + "required": [ + "name", + "nameSpace", + "source", + "target", + "version", + "status" + ] + } }
\ No newline at end of file |