from dataclasses import dataclass, field

__NAMESPACE__ = "ElemDecl/typeDef"


@dataclass
class Root:
    class Meta:
        name = "root"
        namespace = "ElemDecl/typeDef"

    value: str = field(
        default="",
        metadata={
            "pattern": r"[01]+",
        }
    )

from dataclasses import dataclass, field

__NAMESPACE__ = "ElemDecl/typeDef"


@dataclass
class Root:
    class Meta:
        name = "root"
        namespace = "ElemDecl/typeDef"

    value: str = field(
        default="",
        metadata={
            "pattern": r"[01]+",
        }
    )
