Schema Registry
TermAdjustmentResponse

TermAdjustmentResponse

Response from term adjustment

Properties

PropertyTypeRequiredDescription
statusstringβœ… YesStatus: 'success' or 'error'
adjusted_termsobject❌ NoAdjusted contract terms
termsobject❌ NoFormatted terms (for backward compatibility)
tierobject❌ NoTier after adjustment
aggressiveness_levelobject❌ NoApplied aggressiveness level
valuationobject❌ NoUpdated valuation data
league_profileobject❌ NoLeague profile data
errorobject❌ NoError message if status is 'error'

Example

{
  "status": "example",
  "adjusted_terms": {},
  "terms": {},
  "tier": {},
  "aggressiveness_level": {},
  "valuation": {},
  "league_profile": {},
  "error": {}
}

Used In

Code Examples

TypeScript

interface TermAdjustmentResponse {
  status: string;
  adjusted_terms?: any;
  terms?: any;
  tier?: any;
  aggressiveness_level?: any;
  valuation?: any;
  league_profile?: any;
  error?: any;
}
 
// Usage example
const data: TermAdjustmentResponse = {
  "status": "example",
  "adjusted_terms": {},
  "terms": {},
  "tier": {},
  "aggressiveness_level": {},
  "valuation": {},
  "league_profile": {},
  "error": {}
};

Python

from data_layer.schemas import TermAdjustmentResponse
 
# Create instance
data = TermAdjustmentResponse(
    # 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 '{   "status": "example",   "adjusted_terms": {},   "terms": {},   "tier": {},   "aggressiveness_level": {},   "valuation": {},   "league_profile": {},   "error": {} }'

Validation Rules

Required Fields: status

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.

Platform

Documentation

Community

Support

partnership@altsportsdata.comdev@altsportsleagues.ai

2025 Β© AltSportsLeagues.ai. Powered by AI-driven sports business intelligence.

πŸ€– AI-Enhancedβ€’πŸ“Š Data-Drivenβ€’βš‘ Real-Time