Skip to content

Entry

Entry represents a single entry in a list or table extracted from the drawing. The model stores the raw text value, the language it was detected in, and a reference identifier that keeps the entry traceable back to its origin in the document. By normalizing textual content into this consistent structure, the API lets you treat diverse entries as a unified stream of information that supports list rendering, filtering, and search operations across the dataset generated from a technical document.

Bases: Reference

Represents an entry in a list or table.

PARAMETER DESCRIPTION
reference_id

Reference ID to identify the object.

TYPE: int

language

The language of the identifier, if known.

TYPE: Language | None DEFAULT: None

value

The value of the identifier. Must be a non-empty string.

TYPE: str

Source code in werk24/models/v2/models.py
class Entry(Reference):
    """
    Represents an entry in a list or table.
    """

    language: Optional[Language] = Field(
        None,
        description="The language of the identifier, if known.",
        examples=[Language.ENG, Language.DEU],
    )

    value: str = Field(
        ...,
        description="The value of the identifier. Must be a non-empty string.",
        examples=["12345-ABC"],
    )