Skip to content

Commit

Permalink
using empty arrays as default value, all avro records are defined lik…
Browse files Browse the repository at this point in the history
…e that in other schemas

#1047
  • Loading branch information
fmendezh committed Mar 21, 2024
1 parent 8dc052d commit 928c369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdks/models/src/main/avro/core/metadata-record.avsc
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
{"name": "license","type":["null","string"],"default":null},
{"name": "datasetPublishingCountry","type":["null","string"],"default":null},
{"name": "hostingOrganizationKey","type":["null","string"],"default":null},
{"name": "networkKeys", "type" : ["null", {"type" : "array", "items" : "string"}], "default": null},
{"name": "machineTags", "type" : ["null", {"type" : "array", "items" : "MachineTag"}], "default": null},
{"name": "networkKeys", "type" : {"type" : "array", "items" : "string"}, "default": []},
{"name": "machineTags", "type" : {"type" : "array", "items" : "MachineTag"}, "default": []},
{"name": "issues", "type": "IssueRecord", "default":{}}
]
}
Expand Down

0 comments on commit 928c369

Please sign in to comment.