OpportunityInfo
Opportunity information model
Properties
| Property | Type | Required | Description |
|---|---|---|---|
id | string | β Yes | Opportunity ID |
league_name | string | β Yes | League name |
sport | string | β Yes | Sport type |
opportunity_score | integer | β Yes | Opportunity score 0-100 |
market_potential | string | β Yes | Market potential value |
current_sportsbook_coverage | string | β Yes | Current sportsbook coverage |
data_readiness | integer | β Yes | Data readiness score 0-100 |
growth_potential | string | β Yes | Growth potential description |
Example
{
"id": "example",
"league_name": "example",
"sport": "example",
"opportunity_score": 0,
"market_potential": "example",
"current_sportsbook_coverage": "example",
"data_readiness": 0,
"growth_potential": "example"
}Used In
Not used in any documented endpoints.
Code Examples
TypeScript
interface OpportunityInfo {
id: string;
league_name: string;
sport: string;
opportunity_score: number;
market_potential: string;
current_sportsbook_coverage: string;
data_readiness: number;
growth_potential: string;
}
// Usage example
const data: OpportunityInfo = {
"id": "example",
"league_name": "example",
"sport": "example",
"opportunity_score": 0,
"market_potential": "example",
"current_sportsbook_coverage": "example",
"data_readiness": 0,
"growth_potential": "example"
};Python
from data_layer.schemas import OpportunityInfo
# Create instance
data = OpportunityInfo(
# 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 '{ "id": "example", "league_name": "example", "sport": "example", "opportunity_score": 0, "market_potential": "example", "current_sportsbook_coverage": "example", "data_readiness": 0, "growth_potential": "example" }'Validation Rules
Required Fields: id, league_name, sport, opportunity_score, market_potential, current_sportsbook_coverage, data_readiness, growth_potential
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.