View Source GoogleApi.ContentWarehouse.V1.Model.LegalCitationLawLevel (google_api_content_warehouse v0.3.0)

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

  • 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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@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
}

Functions

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

Unwrap a decoded JSON object into its complex fields.