Skip to content

Commit

Permalink
Merge pull request #38 from BaseAdresseNationale/antoineludeau/modify…
Browse files Browse the repository at this point in the history
…-data-schemas

Modified data schema for optional fields
  • Loading branch information
antoineludeau authored Aug 29, 2023
2 parents 2802282 + c5e73ac commit 6ddd02c
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 99 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ exports[`balAddrToBanAddr > should return BanAddress with BanID and BanTopoID 1`
"districtID": undefined,
"id": "aaaaaaaa-0000-4aaa-9000-1234567890aa",
"mainCommonToponymID": "bbbbbbbb-0000-4aaa-9000-1234567890bb",
"meta": {},
"number": 1,
"positions": [
{
Expand All @@ -23,7 +22,6 @@ exports[`balAddrToBanAddr > should return BanAddress with BanID and BanTopoID 1`
},
],
"secondaryCommonToponymIDs": undefined,
"suffix": undefined,
"updateDate": 2021-01-01T00:00:00.000Z,
}
`;
Expand All @@ -34,7 +32,6 @@ exports[`balAddrToBanAddr > should return BanAddress with BanID without BanTopoI
"districtID": undefined,
"id": "aaaaaaaa-0000-4aaa-9000-1234567890aa",
"mainCommonToponymID": undefined,
"meta": {},
"number": 1,
"positions": [
{
Expand All @@ -49,7 +46,6 @@ exports[`balAddrToBanAddr > should return BanAddress with BanID without BanTopoI
},
],
"secondaryCommonToponymIDs": undefined,
"suffix": undefined,
"updateDate": 2021-01-01T00:00:00.000Z,
}
`;
Expand All @@ -60,7 +56,6 @@ exports[`balAddrToBanAddr > should return BanAddress with BanID, BanTopoID, othe
"districtID": "dddddddd-0000-4aaa-9000-1234567890ff",
"id": "aaaaaaaa-0000-4aaa-9000-1234567890aa",
"mainCommonToponymID": "bbbbbbbb-0000-4aaa-9000-1234567890bb",
"meta": {},
"number": 1,
"positions": [
{
Expand All @@ -79,7 +74,6 @@ exports[`balAddrToBanAddr > should return BanAddress with BanID, BanTopoID, othe
"cccccccc-1111-4aaa-9000-1234567890dd",
"cccccccc-2222-4aaa-9000-1234567890ee",
],
"suffix": undefined,
"updateDate": 2021-01-01T00:00:00.000Z,
}
`;
Expand All @@ -90,7 +84,6 @@ exports[`balAddrToBanAddr > should return BanAddress with BanTopoID 1`] = `
"districtID": undefined,
"id": undefined,
"mainCommonToponymID": "bbbbbbbb-0000-4aaa-9000-1234567890bb",
"meta": {},
"number": 1,
"positions": [
{
Expand All @@ -105,7 +98,6 @@ exports[`balAddrToBanAddr > should return BanAddress with BanTopoID 1`] = `
},
],
"secondaryCommonToponymIDs": undefined,
"suffix": undefined,
"updateDate": 2021-01-01T00:00:00.000Z,
}
`;
Expand All @@ -116,7 +108,6 @@ exports[`balAddrToBanAddr > should return BanAddress with multiple positions 1`]
"districtID": "dddddddd-0000-4aaa-9000-1234567890ff",
"id": "aaaaaaaa-0000-4aaa-9000-1234567890aa",
"mainCommonToponymID": "bbbbbbbb-0000-4aaa-9000-1234567890bb",
"meta": {},
"number": 1,
"positions": [
{
Expand Down Expand Up @@ -145,7 +136,6 @@ exports[`balAddrToBanAddr > should return BanAddress with multiple positions 1`]
"cccccccc-1111-4aaa-9000-1234567890dd",
"cccccccc-2222-4aaa-9000-1234567890ee",
],
"suffix": undefined,
"updateDate": 2021-01-01T00:00:00.000Z,
}
`;
Expand All @@ -156,7 +146,6 @@ exports[`balAddrToBanAddr > should return BanAddress without BanID & BanTopoID 1
"districtID": undefined,
"id": undefined,
"mainCommonToponymID": undefined,
"meta": {},
"number": 1,
"positions": [
{
Expand All @@ -171,7 +160,6 @@ exports[`balAddrToBanAddr > should return BanAddress without BanID & BanTopoID 1
},
],
"secondaryCommonToponymIDs": undefined,
"suffix": undefined,
"updateDate": 2021-01-01T00:00:00.000Z,
}
`;
Loading

0 comments on commit 6ddd02c

Please sign in to comment.