Code Review
/
cps.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
DMI Data AVC to cloud events
[cps.git]
/
cps-ncmp-events
/
src
/
main
/
resources
/
schemas
/
dmidataavc
/
avc-event-schema-1.0.0.json
diff --git
a/cps-ncmp-events/src/main/resources/schemas/dmidataavc/avc-event-schema-v1.json
b/cps-ncmp-events/src/main/resources/schemas/dmidataavc/avc-event-schema-1.0.0.json
similarity index 92%
rename from
cps-ncmp-events/src/main/resources/schemas/dmidataavc/avc-event-schema-v1.json
rename to
cps-ncmp-events/src/main/resources/schemas/dmidataavc/avc-event-schema-1.0.0.json
index
7e975c9
..
a5bed93
100644
(file)
--- a/
cps-ncmp-events/src/main/resources/schemas/dmidataavc/avc-event-schema-v1.json
+++ b/
cps-ncmp-events/src/main/resources/schemas/dmidataavc/avc-event-schema-1.0.0.json
@@
-1,10
+1,9
@@
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
- "$id": "urn:cps:org.onap.cps.ncmp.events:avc-event-schema:
v1
",
+ "$id": "urn:cps:org.onap.cps.ncmp.events:avc-event-schema:
1.0.0
",
"$ref": "#/definitions/AvcEvent",
"definitions": {
"Edit": {
"$ref": "#/definitions/AvcEvent",
"definitions": {
"Edit": {
- "javaType": "org.onap.cps.ncmp.events.avc.v1.Edit",
"additionalProperties": false,
"properties": {
"edit-id": {
"additionalProperties": false,
"properties": {
"edit-id": {
@@
-48,9
+47,9
@@
"AvcEvent": {
"description": "The payload for AVC event.",
"type": "object",
"AvcEvent": {
"description": "The payload for AVC event.",
"type": "object",
- "javaType": "org.onap.cps.ncmp.events.avc
.v1
.AvcEvent",
+ "javaType": "org.onap.cps.ncmp.events.avc
1_0_0
.AvcEvent",
"properties": {
"properties": {
- "
event
": {
+ "
data
": {
"description": "The AVC event content compliant with RFC8641 format",
"type": "object",
"additionalProperties": false,
"description": "The AVC event content compliant with RFC8641 format",
"type": "object",
"additionalProperties": false,
@@
-99,7
+98,7
@@
}
},
"required": [
}
},
"required": [
- "
event
"
+ "
data
"
],
"additionalProperties": false
}
],
"additionalProperties": false
}