julee.domain.models.assembly_specification.assembly_specification

AssemblySpecification domain models for the Capture, Extract, Assemble, Publish workflow.

This module contains the AssemblySpecification domain object that represents assembly configurations in the CEAP workflow system.

An AssemblySpecification defines a type of document output (like “meeting minutes”), includes information about its applicability and and specifies which extractors are needed to collect the data for that output.

All domain models use Pydantic BaseModel for validation, serialization, and type safety, following the patterns established in the sample project.

Classes

AssemblySpecification

Assembly specification configuration that defines how to assemble

AssemblySpecificationStatus

Status of an assembly specification configuration.

Module Contents

class julee.domain.models.assembly_specification.assembly_specification.AssemblySpecification(/, **data)[source]

Bases: pydantic.BaseModel

Assembly specification configuration that defines how to assemble documents of a specific type.

An AssemblySpecification represents a type of document output (like “meeting minutes”, “project report”, etc.) and defines which extractors should be used to collect the necessary data from source documents.

The AssemblySpecification does not contain the template itself - templates will be handled separately during the assembly rendering (or publishing?) phase. This separation allows the same AssemblySpecification definition to be used with different templates over time.

classmethod applicability_must_not_be_empty(v)[source]
classmethod assembly_specification_id_must_not_be_empty(v)[source]
classmethod jsonschema_must_be_valid(v)[source]
classmethod knowledge_service_queries_must_be_valid(v, info)[source]
classmethod name_must_not_be_empty(v)[source]
classmethod version_must_not_be_empty(v)[source]
applicability: str = None[source]
assembly_specification_id: str = None[source]
created_at: datetime.datetime | None = None[source]
jsonschema: dict[str, Any] = None[source]
knowledge_service_queries: dict[str, str] = None[source]
name: str = None[source]
status: AssemblySpecificationStatus[source]
updated_at: datetime.datetime | None = None[source]
version: str = None[source]
class julee.domain.models.assembly_specification.assembly_specification.AssemblySpecificationStatus[source]

Bases: str, enum.Enum

Status of an assembly specification configuration.

ACTIVE = 'active'[source]
DEPRECATED = 'deprecated'[source]
DRAFT = 'draft'[source]
INACTIVE = 'inactive'[source]