Class: Edoxen::MeetingExtension

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/edoxen/meeting_extension.rb,
sig/edoxen.rbs

Overview

MeetingExtension — the profile mechanism (ISO 8601-2 §15). Every core entity has an extensions: MeetingExtension[0..*] slot. Adopters register their own profile namespace (e.g. "legco", "us-congress", "ietf") and define kind values within it.

Field semantics (tightened v2.1, per TODO.refactor/47):

profile    — the profile namespace (lowercase, hyphen-separated).
kind       — discriminator within the profile.
ref        — URN of the profile document this extension references.
attributes — typed key/value pairs (ExtensionAttribute).

Recursion (extensions: MeetingExtension[0..*]) was removed in v2.1 — no documented use case. Profiles needing nesting can encode it via dotted keys ("vote.count", "vote.method") in attributes[].

Instance Attribute Summary collapse

Instance Attribute Details

#attributesArray[ExtensionAttribute]? (readonly)

Returns the value of attribute attributes.

Returns:



375
376
377
# File 'sig/edoxen.rbs', line 375

def attributes
  @attributes
end

#kindString? (readonly)

Returns the value of attribute kind.

Returns:

  • (String, nil)


373
374
375
# File 'sig/edoxen.rbs', line 373

def kind
  @kind
end

#profileString? (readonly)

Returns the value of attribute profile.

Returns:

  • (String, nil)


372
373
374
# File 'sig/edoxen.rbs', line 372

def profile
  @profile
end

#refString? (readonly)

Returns the value of attribute ref.

Returns:

  • (String, nil)


374
375
376
# File 'sig/edoxen.rbs', line 374

def ref
  @ref
end