-
-
Save parsnips/c4297765281f4c787d9c00dd8a610b57 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Table": { | |
"schema": { | |
"joins": { | |
"customerAccounts": { | |
"partition": [ | |
"document.customerID" | |
], | |
"index": "customerAccounts.indexes.primary" | |
} | |
}, | |
"indexes": { | |
"dynamic": { | |
"conditions": { | |
"hasContextID": "has(document.context) && has(document.context.id)" | |
}, | |
"properties": { | |
"unique": "true" | |
}, | |
"key": { | |
"partition": [ | |
"uint(document.context.id)" | |
] | |
} | |
}, | |
"primary": { | |
"properties": { | |
"unique": "true" | |
}, | |
"key": { | |
"partition": [ | |
"document.customerID" | |
] | |
} | |
} | |
}, | |
"document": { | |
"forename": "string", | |
"address": { | |
"zip": "string", | |
"country": "string('USA')", | |
"city": "string", | |
"state": "string", | |
"line2": "string", | |
"line1": "string" | |
}, | |
"phone": "string", | |
"surname": "string", | |
"customerID": "uint", | |
"context": "{}", | |
"email": "string", | |
"status": "string('ACTIVE')" | |
}, | |
"conditions": { | |
"emailContainsAt": "document.email.contains('@')" | |
} | |
}, | |
"name": "miketest2", | |
"version": "miketest__V0001" | |
}, | |
"Tenant": "2f097c53-c8ea-4787-8d03-e34da43a6ac8" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment