-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample-schemas.json
More file actions
79 lines (79 loc) · 2.73 KB
/
sample-schemas.json
File metadata and controls
79 lines (79 loc) · 2.73 KB
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
74
75
76
77
78
79
{
"sourceSchema": {
"name": "Schema",
"type": "root",
"children": [
{
"name": "Customer",
"type": "parent",
"children": [
{
"name": "PersonalInfo",
"type": "parent",
"children": [
{ "name": "FirstName", "type": "field", "dataType": "string" },
{ "name": "LastName", "type": "field", "dataType": "string" },
{ "name": "DateOfBirth", "type": "field", "dataType": "date" },
{ "name": "SSN", "type": "field", "dataType": "string" }
]
},
{
"name": "ContactInfo",
"type": "parent",
"children": [
{ "name": "Email", "type": "field", "dataType": "string" },
{ "name": "Phone", "type": "field", "dataType": "string" },
{ "name": "Address", "type": "field", "dataType": "string" },
{ "name": "City", "type": "field", "dataType": "string" },
{ "name": "State", "type": "field", "dataType": "string" },
{ "name": "ZipCode", "type": "field", "dataType": "string" }
]
},
{
"name": "AccountInfo",
"type": "parent",
"children": [
{ "name": "AccountNumber", "type": "field", "dataType": "string" },
{ "name": "AccountType", "type": "field", "dataType": "string" },
{ "name": "Balance", "type": "field", "dataType": "decimal" },
{ "name": "Status", "type": "field", "dataType": "string" }
]
}
]
}
]
},
"destinationSchema": {
"name": "Schema",
"type": "root",
"children": [
{
"name": "ContactRecord",
"type": "parent",
"children": [
{ "name": "FullName", "type": "field", "dataType": "string" },
{ "name": "EmailAddress", "type": "field", "dataType": "string" },
{ "name": "PhoneNumber", "type": "field", "dataType": "string" },
{
"name": "MailingAddress",
"type": "parent",
"children": [
{ "name": "Street", "type": "field", "dataType": "string" },
{ "name": "CityState", "type": "field", "dataType": "string" },
{ "name": "PostalCode", "type": "field", "dataType": "string" }
]
},
{
"name": "Account",
"type": "parent",
"children": [
{ "name": "ID", "type": "field", "dataType": "string" },
{ "name": "Type", "type": "field", "dataType": "string" },
{ "name": "CurrentBalance", "type": "field", "dataType": "decimal" }
]
}
]
}
]
}
}