Skip to content
OpenCOOS
Open in explorer
Core Strata Entitiessince 0.1.0-draftspec v0.1.0-draft

Unit

Experimental

The civic unit designation and address by which a strata lot is commonly known. Separated from StrataLot because the unit number people use often differs from the strata lot number.

Fields

FieldTypeDescription
id
required
Identifier

Stable identifier of this Unit record.

strataLotId
required
Identifier

The strata lot this unit corresponds to.

References StrataLot

unitNumber
optional
string

Unit number in common use (for example "305").

max length 32

address
required
Address

Civic address of the unit.

extensions
optional
Extensions

Implementation-specific data, namespaced by reverse domain.

Relationships

Referenced by

None

Unit

References

Validation rules

Cross-field rules beyond what JSON Schema expresses. Documented in the draft; not yet enforced by tooling.

  • address.unitDesignator should equal unitNumber when both are present.

Example payload

Illustrative only, with fictional data. Validated against the draft schema at build time.

{
  "id": "unit-0305",
  "strataLotId": "sl-0012",
  "unitNumber": "305",
  "address": {
    "unitDesignator": "305",
    "streetAddress": "100 Example Street",
    "locality": "Vancouver",
    "region": "BC",
    "postalCode": "V5K 0A1",
    "country": "CA"
  }
}