voiage.contracts.normalized_input.BindingProfile
Independently versioned VOI semantics for a normalized dataset.
Methods
Section titled “Methods”validate_unique_roles
Section titled “validate_unique_roles”validate_unique_roles([positional or keyword] self: None = None) -> BindingProfileReject duplicate definitions of the same semantic role.
Parameters:
self
Returns: BindingProfile
binding_for
Section titled “binding_for”binding_for([positional or keyword] self: None = None, [positional or keyword] role: str = None, [keyword-only] method_family: str = None) -> VOIBindingResolve one role only when the profile explicitly allows the method.
Parameters:
selfrolestrmethod_familystr
Returns: VOIBinding
canonical_json
Section titled “canonical_json”canonical_json([positional or keyword] self: None = None) -> strReturn canonical profile JSON for reproducible semantic identity.
Parameters:
self
Returns: str