tim_manger
07/17/2023, 11:33 PM{
"Id": "psi119745",
"dob": "20230718",
"checks": [
{
"id": "8388609",
"printableId": "80001",
"marker": 638252212264995800,
"total": 6,
"netAmount": 5.22,
"isClosed": true,
"isEmpty": false,
"isTraining": false
}
]
}
in my streams.py I have started the schema
schema = th.PropertiesList(
th.Property("Id", th.StringType),
th.Property("dob", th.StringType),
th.Property("checks",th.ArrayType(th.StringType),),
).to_dict()
but I don't know how to complete the array checks nor could I find any examples in the documentation about Arrays.
thank you for any helpedgar_ramirez_mondragon
07/17/2023, 11:59 PMth.Property(
"checks",
th.ArrayType(
th.ObjectType(
th.Property("id", th.StringType),
th.Property("printableId", th.StringType),
...
),
),
),
tim_manger
07/18/2023, 12:05 AM