Skip to content

Commit

Permalink
Merge pull request #80 from pagopa/IOPID-1917--service-preferences-sc…
Browse files Browse the repository at this point in the history
…hema

[#IOPID-1917] added service-preferences avro file
  • Loading branch information
arcogabbo authored Jul 10, 2024
2 parents d360d3a + ad0af9b commit b281d36
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions avro/service-preferences.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"name":"servicePreferences",
"type":"record",
"namespace": "dto",
"doc":"Schema for cosmos api container 'services-preferences'",
"fields":[
{
"name":"id",
"type":"string",
"default":"undefined"
},
{
"name": "timestamp",
"type": "long",
"logicalType": "timestamp-millis",
"default": 0
},
{
"name":"userPDVId",
"type":"string",
"default":"undefined"
},
{
"name":"serviceId",
"type":"string",
"default":"undefined"
},
{
"name":"isInboxEnabled",
"type":"boolean",
"default":false
},
{
"name":"isEmailEnabled",
"type":"boolean",
"default":false
},
{
"name":"isWebhookEnabled",
"type":"boolean",
"default":false
},
{
"name":"accessReadMessageStatus",
"type":{
"type":"enum",
"name":"AccessReadMessageStatusEnum",
"symbols":[
"ALLOW",
"DENY",
"UNKNOWN"
]
},
"default":"UNKNOWN"
},
{
"name":"settingsVersion",
"type":"int",
"default":0
}
]
}

0 comments on commit b281d36

Please sign in to comment.