Sha256: 75f930107492750ad1156f13ab90c888a7372dfb59c710b4f39f69b70b85a126
Contents?: true
Size: 1.21 KB
Versions: 3
Compression:
Stored size: 1.21 KB
Contents
vocabulary Address; /* * Value Types */ City is defined as VariableLengthText(64); CompanyName is defined as VariableLengthText(); FamilyName is defined as VariableLengthText(20); GivenNames is defined as VariableLengthText(20); Number is defined as VariableLengthText(12); Postcode is defined as VariableLengthText(); StreetLine is defined as VariableLengthText(64); /* * Entity Types */ Company is identified by its Name; Family is identified by its Name; Person is identified by Family and GivenNames where Person is of one Family, Family includes Person, Person has one GivenNames; Street is identified by first-StreetLine and second-StreetLine and third-StreetLine where Street includes one first-StreetLine, Street includes at most one second-StreetLine, Street includes at most one third-StreetLine; Address is identified by street-Number and Street and City and Postcode where Address is at at most one street-Number, Address is at one Street, Address is in one City, Address is in at most one Postcode, Postcode is of Address; Company has head office at at most one Address; Person lives at at most one Address; /* * Constraints: */ Street includes third-StreetLine only if Street includes second-StreetLine;
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
activefacts-0.7.0 | examples/CQL/Address.cql |
activefacts-0.7.1 | examples/CQL/Address.cql |
activefacts-0.7.2 | examples/CQL/Address.cql |