summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler/dpo/data-formats/pmsh-cl-input.json
blob: cda1a22323895c2b692b7ec97f2b46fdc43533fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
  "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"
    ]
  }
}