Three entity schema v2
Run this example using its test data from within FlightPath Data.
~
id: example two
description: 2 wildcards in address
test-data: examples/schemas/people.csv
~
$[1*][
line.person(
integer.id.notnone(#0),
string.notnone(#given_name),
string.notnone(#family_name),
wildcard()
)
line.address(
wildcard(3),
string(#city),
string(#state, 2),
string(#zipcode),
wildcard()
)
line.contact(
wildcard(6),
email(#email),
url(#linkedin),
string.cell(#phone)
)
last.nocontrib() -> print("See the Matches tab for valid lines")
]Last updated