"""Resource type schema loading, validation, and inheritance resolution."""

from cleveragents.resource.inheritance import (
    MAX_CHAIN_DEPTH,
    ResourceTypeCircularInheritanceError,
    ResourceTypeInheritanceDepthError,
    ResourceTypeParentNotFoundError,
    ResourceTypeParentRemovalError,
    TypeRegistryMap,
    find_subtypes,
    is_subtype_of,
    resolve_fields,
    resolve_inheritance_chain,
    validate_chain,
)

__all__ = [
    "MAX_CHAIN_DEPTH",
    "ResourceTypeCircularInheritanceError",
    "ResourceTypeInheritanceDepthError",
    "ResourceTypeParentNotFoundError",
    "ResourceTypeParentRemovalError",
    "TypeRegistryMap",
    "find_subtypes",
    "is_subtype_of",
    "resolve_fields",
    "resolve_inheritance_chain",
    "validate_chain",
]
