LegalCitationLawLevel

GoogleApi.ContentWarehouse.V1.Model.LegalCitationLawLevel


Table of Contents ▼

Jump to a specific part of the page:

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):

View Attributes

Attributes

  1. Depth (type: integer(), default: nil)
    - A counter that specifies the depth of the level in the parse
  2. LevelTypeNormalized (type: String.t, default: nil)
    - "SECTION, TITLE, PART, etc."
  3. LevelTypeSourceText (type: String.t, default: nil)
    - "Section, Sect., §, etc"
  4. LevelTypeString (type: String.t, default: nil)
    - deprecated
  5. Name (type: String.t, default: nil)
    - The name of the chapter/section/etc.
  6. Type (type: integer(), default: nil)
    - deprecated
  7. Value (type: String.t, default: nil)
    - "3", "42(a)", etc

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.LegalCitationLawLevel{
Depth: integer() | nil,
LevelTypeNormalized: String.t() | nil,
LevelTypeSourceText: String.t() | nil,
LevelTypeString: String.t() | nil,
Name: String.t() | nil,
Type: integer() | nil,
Value: String.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.LegalCitationLawLevel