LawsGetResponse
Discriminated by status — found / ambiguous (404 for not_found).
- childrenType: array object[] · LawChild[]
Present for container nodes — current children in authored order, capped at 250 (see children_total). Navigation only; fetch a child by id for its text. Empty for leaves.
- citationType: string nullable
- effectiveType: string Format: datenullable
_date full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- idType: string Format: uuid
- nodeType: string
_type - numberType: string nullable
- pathType: string
- sortType: integer nullable
_order Integer numbers.
- titleType: string nullable
- childrenType: integer
_total True number of current children (children[] holds at most 250)
- documentType: object · LawDocument
- citationType: string nullable
- collectionType: string
_id - collectionType: string
_name - collectionType: string
_type - countryType: string
- effectiveType: string Format: datenullable
_date full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- htmlType: string nullable
Verbatim document text as HTML (null for most containers)
- idType: string Format: uuid
- isType: boolean
_current Derived — the law in force today
- isType: boolean
_historical Source/pipeline marked this version superseded
- nodeType: string enum
_type values- L
E A F - P
A R E N T - T
O M B S T O N E
- numberType: string nullable
- parentType: string Format: uuidnullable
_id Parent node — fetch it to zoom out to surrounding context
- pathType: string
- publicationType: string Format: datenullable
_date full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- registerType: string nullable
_citation - sortType: integer nullable
_order Integer numbers.
- sourceType: string Format: datenullable
_as _of The source's own "current as of" date, when stated
- sourceType: string nullable
_url The official source page
- stateType: string
- titleType: string nullable
- urlType: string Format: uri
Midpage page for this exact version
- matchesType: array object[] · LawMatch[]
Only for status=ambiguous — candidate documents; retry by id
- citationType: string nullable
- collectionType: string
_id - collectionType: string
_type - idType: string Format: uuid
- isType: boolean
_current - pathType: string
- stateType: string nullable
- titleType: string nullable
- messageType: string
Only for status=not_found
- statusType: string enumvalues
- found
- ambiguous
- not
_found
- versionsType: array object[] · LawVersion[]
The document's version chain (empty when it has no version history). Every version with dates and currency; is_requested marks the returned one.
- effectiveType: string Format: datenullable
_date full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- idType: string Format: uuid
- isType: boolean
_current - isType: boolean
_historical - isType: boolean
_requested True for the version returned as
document - publicationType: string Format: datenullable
_date full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- sourceType: string Format: datenullable
_as _of full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21