GoogleApi.ContentWarehouse.V1.Model.LegalCitationLawLevel
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
Description
Law have tree-like sturcture (title, section, etc), but the levels and their names are not fixed. e.g., we could have: US Constitution -> Article 3 -> Section 4, OR, US Code -> Title 12 -> Chapter 6 -> Sub-chapter I -> Section 602, OR, US Code -> Title 10 -> Sub-title A -> Part 2 -> Chapter 32 -> Section 523. We use a repeated group to represent this structure. NOTE: Always insert higher levels before lower levels,
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
Depth
(type:integer()
, default:nil
)
- A counter that specifies the depth of the level in the parse -
LevelTypeNormalized
(type:String.t
, default:nil
)
- "SECTION, TITLE, PART, etc." -
LevelTypeSourceText
(type:String.t
, default:nil
)
- "Section, Sect., §, etc" -
LevelTypeString
(type:String.t
, default:nil
)
- deprecated -
Name
(type:String.t
, default:nil
)
- The name of the chapter/section/etc. -
Type
(type:integer()
, default:nil
)
- deprecated -
Value
(type:String.t
, default:nil
)
- "3", "42(a)", etc
Type
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.LegalCitationLawLevel