ContractTermsRequest
Request model for contract terms generation
Properties
| Property | Type | Required | Description |
|---|---|---|---|
league_profile | object | β Yes | - |
aggressiveness_level | string | β No | - |
term_adjustments | object | β No | - |
Example
{
"league_profile": {},
"aggressiveness_level": "conservative",
"term_adjustments": {}
}Used In
Code Examples
TypeScript
interface ContractTermsRequest {
league_profile: Record<string, any>;
aggressiveness_level?: 'conservative' | 'standard' | 'aggressive';
term_adjustments?: any;
}
// Usage example
const data: ContractTermsRequest = {
"league_profile": {},
"aggressiveness_level": "conservative",
"term_adjustments": {}
};Python
from data_layer.schemas import ContractTermsRequest
# Create instance
data = ContractTermsRequest(
# Add your field values here
)cURL
curl -X POST "https://altsportsleagues-backend-2qcdjegnaa-uc.a.run.app/api/endpoint" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{ "league_profile": {}, "aggressiveness_level": "conservative", "term_adjustments": {} }'Validation Rules
Required Fields: league_profile
aggressiveness_level: Must be one of: conservative, standard, aggressive
Additional Information
- Type: object
- Source: Generated from Pydantic models in
data_layer/schemas/ - Auto-validated: All fields are validated by FastAPI
This documentation is auto-generated from the OpenAPI specification.