voiage.domain_templates.DomainTemplate
Represents a validated industry decision template.
Attributes
Section titled “Attributes”template_id : str Unique identifier for the domain template (snake_case). version : str Semantic version string. domain : str Business domain category. title : str Human-readable title. description : str Detailed description of decision context. decisions : list[str] List of candidate intervention strategies. information_actions : list[str] List of candidate data collection or experiment actions. required_fields : list[str] Required parameter or sample columns. capabilities : list[str] VOI capabilities supported (e.g., evpi, evppi, evsi, enbs). maturity : str Maturity disposition (“candidate”, “experimental”, “stable”). validation_level : str Executable registry-driven workflow or template-only disposition. rights : str Data rights and IP permissions statement. privacy : str Privacy classification. provenance : str Origin and methodological foundation. license : str Software license identifier. maintainers : list[str] Designated maintainers. compatibility : str voiage version constraint string. review_date : str ISO 8601 review date (YYYY-MM-DD). optional_dependencies : list[str] Optional package dependencies. examples : list[str] Paths to reference scripts or notebooks.
Methods
Section titled “Methods”from_dict
Section titled “from_dict”from_dict([positional or keyword] cls: None = None, [positional or keyword] data: dict[str, Any] = None) -> DomainTemplateInstantiate DomainTemplate from raw dictionary.
Parameters:
clsdatadict[str, Any]
Returns: DomainTemplate
to_dict
Section titled “to_dict”to_dict([positional or keyword] self: None = None) -> dict[str, Any]Serialize DomainTemplate to a dictionary.
Parameters:
self
Returns: dict[str, Any]