Schema Registry
EmailCandidateRequest

EmailCandidateRequest

EmailCandidateRequest data model

Properties

PropertyTypeRequiredDescription
senderstringβœ… YesSender email address
subjectstringβœ… YesEmail subject
bodystringβœ… YesEmail body content
timestampobject❌ NoEmail timestamp

Example

{
  "sender": "example",
  "subject": "example",
  "body": "example",
  "timestamp": {}
}

Used In

Code Examples

TypeScript

interface EmailCandidateRequest {
  sender: string;
  subject: string;
  body: string;
  timestamp?: any;
}
 
// Usage example
const data: EmailCandidateRequest = {
  "sender": "example",
  "subject": "example",
  "body": "example",
  "timestamp": {}
};

Python

from data_layer.schemas import EmailCandidateRequest
 
# Create instance
data = EmailCandidateRequest(
    # 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 '{   "sender": "example",   "subject": "example",   "body": "example",   "timestamp": {} }'

Validation Rules

Required Fields: sender, subject, body

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