40 lines
1012 B
Python
40 lines
1012 B
Python
|
|
"""
|
||
|
|
Schemas package for API request/response models.
|
||
|
|
"""
|
||
|
|
|
||
|
|
from app.schemas.metadata import (
|
||
|
|
FieldRole,
|
||
|
|
ExtractStrategy,
|
||
|
|
SlotValueSource,
|
||
|
|
MetadataFieldDefinitionResponse,
|
||
|
|
MetadataFieldDefinitionCreateRequest,
|
||
|
|
MetadataFieldDefinitionUpdateRequest,
|
||
|
|
SlotDefinitionResponse,
|
||
|
|
SlotDefinitionCreateRequest,
|
||
|
|
SlotDefinitionUpdateRequest,
|
||
|
|
SlotValueResponse,
|
||
|
|
SlotWithFieldDefinitionResponse,
|
||
|
|
GetFieldsByRoleQuery,
|
||
|
|
GetSlotsByRoleQuery,
|
||
|
|
InvalidRoleErrorResponse,
|
||
|
|
VALID_FIELD_ROLES,
|
||
|
|
)
|
||
|
|
|
||
|
|
__all__ = [
|
||
|
|
"FieldRole",
|
||
|
|
"ExtractStrategy",
|
||
|
|
"SlotValueSource",
|
||
|
|
"MetadataFieldDefinitionResponse",
|
||
|
|
"MetadataFieldDefinitionCreateRequest",
|
||
|
|
"MetadataFieldDefinitionUpdateRequest",
|
||
|
|
"SlotDefinitionResponse",
|
||
|
|
"SlotDefinitionCreateRequest",
|
||
|
|
"SlotDefinitionUpdateRequest",
|
||
|
|
"SlotValueResponse",
|
||
|
|
"SlotWithFieldDefinitionResponse",
|
||
|
|
"GetFieldsByRoleQuery",
|
||
|
|
"GetSlotsByRoleQuery",
|
||
|
|
"InvalidRoleErrorResponse",
|
||
|
|
"VALID_FIELD_ROLES",
|
||
|
|
]
|