{
  "@context": {
    "@vocab": "https://stocktrends.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "stocktrends": "https://stocktrends.com/schema#",
    "AiContextFreshnessResponse": "stocktrends:AiContextFreshnessResponse",
    "last_update": {
      "@id": "stocktrends:last_update"
    },
    "update_frequency": {
      "@id": "stocktrends:update_frequency",
      "@type": "xsd:string"
    },
    "dataset_freshness": {
      "@id": "stocktrends:dataset_freshness",
      "@type": "@id"
    },
    "intelligence_publication": {
      "@id": "stocktrends:intelligence_publication",
      "@type": "@id"
    },
    "ComparePortfolioRequest": "stocktrends:ComparePortfolioRequest",
    "left": {
      "@id": "stocktrends:left",
      "@container": "@list"
    },
    "right": {
      "@id": "stocktrends:right",
      "@container": "@list"
    },
    "ConstructPortfolioRequest": "stocktrends:ConstructPortfolioRequest",
    "universe": {
      "@id": "stocktrends:universe",
      "@type": "xsd:string"
    },
    "count": {
      "@id": "stocktrends:count",
      "@type": "xsd:integer"
    },
    "bias": {
      "@id": "stocktrends:bias",
      "@type": "xsd:string"
    },
    "exchange": {
      "@id": "stocktrends:exchange"
    },
    "DatasetFreshness": "stocktrends:DatasetFreshness",
    "status": {
      "@id": "stocktrends:status",
      "@type": "xsd:string"
    },
    "latest_market_data_weekdate": {
      "@id": "stocktrends:latest_market_data_weekdate"
    },
    "historical_start_weekdate": {
      "@id": "stocktrends:historical_start_weekdate"
    },
    "historical_end_weekdate": {
      "@id": "stocktrends:historical_end_weekdate"
    },
    "coverage_scope": {
      "@id": "stocktrends:coverage_scope",
      "@type": "xsd:string"
    },
    "completeness_status": {
      "@id": "stocktrends:completeness_status",
      "@type": "xsd:string"
    },
    "latest_successful_refresh_at": {
      "@id": "stocktrends:latest_successful_refresh_at"
    },
    "EvaluatePortfolioPosition": "stocktrends:EvaluatePortfolioPosition",
    "symbol_exchange": {
      "@id": "stocktrends:symbol_exchange",
      "@type": "xsd:string"
    },
    "weight": {
      "@id": "stocktrends:weight",
      "@type": "xsd:decimal"
    },
    "EvaluatePortfolioRequest": "stocktrends:EvaluatePortfolioRequest",
    "positions": {
      "@id": "stocktrends:positions",
      "@container": "@list"
    },
    "EvaluateSymbolRequest": "stocktrends:EvaluateSymbolRequest",
    "symbol": {
      "@id": "stocktrends:symbol"
    },
    "HTTPValidationError": "stocktrends:HTTPValidationError",
    "detail": {
      "@id": "stocktrends:detail",
      "@container": "@list"
    },
    "IntelligenceArtifactAvailabilityStatus": "stocktrends:IntelligenceArtifactAvailabilityStatus",
    "IntelligencePublication": "stocktrends:IntelligencePublication",
    "research": {
      "@id": "stocktrends:research",
      "@type": "@id"
    },
    "editorial_preview": {
      "@id": "stocktrends:editorial_preview",
      "@type": "@id"
    },
    "research_available_for_latest_market_data_week": {
      "@id": "stocktrends:research_available_for_latest_market_data_week"
    },
    "research_endpoint_for_latest_market_data_week": {
      "@id": "stocktrends:research_endpoint_for_latest_market_data_week"
    },
    "PublicArtifactEnvelope": "stocktrends:PublicArtifactEnvelope",
    "schema_version": {
      "@id": "stocktrends:schema_version",
      "@type": "xsd:string"
    },
    "artifact_id": {
      "@id": "stocktrends:artifact_id",
      "@type": "xsd:string"
    },
    "artifact_type": {
      "@id": "stocktrends:artifact_type",
      "@type": "xsd:string"
    },
    "publication_status": {
      "@id": "stocktrends:publication_status",
      "@type": "xsd:string"
    },
    "validation_status": {
      "@id": "stocktrends:validation_status",
      "@type": "xsd:string"
    },
    "generated_at": {
      "@id": "stocktrends:generated_at",
      "@type": "xsd:string"
    },
    "published_at": {
      "@id": "stocktrends:published_at",
      "@type": "xsd:string"
    },
    "weekdate": {
      "@id": "stocktrends:weekdate",
      "@type": "xsd:string"
    },
    "provider": {
      "@id": "stocktrends:provider"
    },
    "lineage": {
      "@id": "stocktrends:lineage"
    },
    "payload": {
      "@id": "stocktrends:payload"
    },
    "revision": {
      "@id": "stocktrends:revision",
      "@type": "xsd:integer"
    },
    "content_hash": {
      "@id": "stocktrends:content_hash",
      "@type": "xsd:string"
    },
    "source_endpoints": {
      "@id": "stocktrends:source_endpoints"
    },
    "input_snapshot_id": {
      "@id": "stocktrends:input_snapshot_id"
    },
    "validation_summary": {
      "@id": "stocktrends:validation_summary"
    },
    "guardrail_summary": {
      "@id": "stocktrends:guardrail_summary"
    },
    "warnings": {
      "@id": "stocktrends:warnings"
    },
    "expires_at": {
      "@id": "stocktrends:expires_at"
    },
    "access_tier": {
      "@id": "stocktrends:access_tier"
    },
    "PublicationFreshness": "stocktrends:PublicationFreshness",
    "endpoint": {
      "@id": "stocktrends:endpoint",
      "@type": "xsd:string"
    },
    "payment_required_if_available": {
      "@id": "stocktrends:payment_required_if_available",
      "@type": "xsd:boolean"
    },
    "StimSelectOutcomeFilters": "stocktrends:StimSelectOutcomeFilters",
    "start_date": {
      "@id": "stocktrends:start_date"
    },
    "end_date": {
      "@id": "stocktrends:end_date"
    },
    "limit_rank": {
      "@id": "stocktrends:limit_rank"
    },
    "default_window_applied": {
      "@id": "stocktrends:default_window_applied",
      "@type": "xsd:boolean"
    },
    "StimSelectOutcomeHorizonMetrics": "stocktrends:StimSelectOutcomeHorizonMetrics",
    "horizon": {
      "@id": "stocktrends:horizon",
      "@type": "xsd:string"
    },
    "realized_return_field": {
      "@id": "stocktrends:realized_return_field",
      "@type": "xsd:string"
    },
    "first_weekdate": {
      "@id": "stocktrends:first_weekdate"
    },
    "latest_weekdate": {
      "@id": "stocktrends:latest_weekdate"
    },
    "average_fpr_chg": {
      "@id": "stocktrends:average_fpr_chg"
    },
    "median_fpr_chg": {
      "@id": "stocktrends:median_fpr_chg"
    },
    "positive_return_count": {
      "@id": "stocktrends:positive_return_count",
      "@type": "xsd:integer"
    },
    "positive_return_rate": {
      "@id": "stocktrends:positive_return_rate",
      "@type": "xsd:decimal"
    },
    "outperform_base_count": {
      "@id": "stocktrends:outperform_base_count",
      "@type": "xsd:integer"
    },
    "outperform_base_rate": {
      "@id": "stocktrends:outperform_base_rate",
      "@type": "xsd:decimal"
    },
    "base_period_mean": {
      "@id": "stocktrends:base_period_mean",
      "@type": "xsd:decimal"
    },
    "StimSelectOutcomeMetrics": "stocktrends:StimSelectOutcomeMetrics",
    "average_fpr_chg13": {
      "@id": "stocktrends:average_fpr_chg13"
    },
    "median_fpr_chg13": {
      "@id": "stocktrends:median_fpr_chg13"
    },
    "base_period_mean_13wk": {
      "@id": "stocktrends:base_period_mean_13wk",
      "@type": "xsd:decimal"
    },
    "StimSelectOutcomesSummaryResponse": "stocktrends:StimSelectOutcomesSummaryResponse",
    "request_id": {
      "@id": "stocktrends:request_id",
      "@type": "xsd:string"
    },
    "signal": {
      "@id": "stocktrends:signal"
    },
    "filters": {
      "@id": "stocktrends:filters",
      "@type": "@id"
    },
    "outcomes": {
      "@id": "stocktrends:outcomes",
      "@type": "@id"
    },
    "outcomes_by_horizon": {
      "@id": "stocktrends:outcomes_by_horizon"
    },
    "provenance": {
      "@id": "stocktrends:provenance"
    },
    "StockTrendsPortfolioClosedPosition": "stocktrends:StockTrendsPortfolioClosedPosition",
    "position_id": {
      "@id": "stocktrends:position_id",
      "@type": "xsd:integer"
    },
    "name": {
      "@id": "stocktrends:name"
    },
    "date_in": {
      "@id": "stocktrends:date_in"
    },
    "price_in": {
      "@id": "stocktrends:price_in"
    },
    "qty": {
      "@id": "stocktrends:qty"
    },
    "transaction_cost_in": {
      "@id": "stocktrends:transaction_cost_in"
    },
    "cost_adjustments": {
      "@id": "stocktrends:cost_adjustments"
    },
    "total_cost": {
      "@id": "stocktrends:total_cost"
    },
    "stop_loss": {
      "@id": "stocktrends:stop_loss"
    },
    "date_out": {
      "@id": "stocktrends:date_out"
    },
    "weeks_held": {
      "@id": "stocktrends:weeks_held"
    },
    "sell_trigger": {
      "@id": "stocktrends:sell_trigger",
      "@type": "xsd:string"
    },
    "price_out": {
      "@id": "stocktrends:price_out"
    },
    "transaction_cost_out": {
      "@id": "stocktrends:transaction_cost_out"
    },
    "sell_adjustments": {
      "@id": "stocktrends:sell_adjustments"
    },
    "total_proceeds": {
      "@id": "stocktrends:total_proceeds"
    },
    "gain_loss": {
      "@id": "stocktrends:gain_loss"
    },
    "gain_loss_percent": {
      "@id": "stocktrends:gain_loss_percent"
    },
    "StockTrendsPortfolioClosedPositionsResponse": "stocktrends:StockTrendsPortfolioClosedPositionsResponse",
    "port_id": {
      "@id": "stocktrends:port_id",
      "@type": "xsd:integer"
    },
    "portfolio": {
      "@id": "stocktrends:portfolio",
      "@type": "@id"
    },
    "StockTrendsPortfolioDetailResponse": "stocktrends:StockTrendsPortfolioDetailResponse",
    "data": {
      "@id": "stocktrends:data",
      "@type": "@id"
    },
    "StockTrendsPortfolioHistorySummary": "stocktrends:StockTrendsPortfolioHistorySummary",
    "returns": {
      "@id": "stocktrends:returns",
      "@type": "@id"
    },
    "closed_positions": {
      "@id": "stocktrends:closed_positions",
      "@type": "@id"
    },
    "roi": {
      "@id": "stocktrends:roi",
      "@type": "@id"
    },
    "verification": {
      "@id": "stocktrends:verification",
      "@type": "@id"
    },
    "StockTrendsPortfolioListResponse": "stocktrends:StockTrendsPortfolioListResponse",
    "StockTrendsPortfolioMetadata": "stocktrends:StockTrendsPortfolioMetadata",
    "strategy_id": {
      "@id": "stocktrends:strategy_id"
    },
    "exchanges": {
      "@id": "stocktrends:exchanges"
    },
    "selection_universe": {
      "@id": "stocktrends:selection_universe"
    },
    "description": {
      "@id": "stocktrends:description"
    },
    "StockTrendsPortfolioReturnPoint": "stocktrends:StockTrendsPortfolioReturnPoint",
    "buys": {
      "@id": "stocktrends:buys"
    },
    "sells": {
      "@id": "stocktrends:sells"
    },
    "held": {
      "@id": "stocktrends:held"
    },
    "net_proceeds": {
      "@id": "stocktrends:net_proceeds"
    },
    "realized_gain": {
      "@id": "stocktrends:realized_gain"
    },
    "cumulative_realized_gain": {
      "@id": "stocktrends:cumulative_realized_gain"
    },
    "total_valuation": {
      "@id": "stocktrends:total_valuation"
    },
    "unrealized_gain": {
      "@id": "stocktrends:unrealized_gain"
    },
    "cumulative_total_gain": {
      "@id": "stocktrends:cumulative_total_gain"
    },
    "tsx_index": {
      "@id": "stocktrends:tsx_index"
    },
    "sp_index": {
      "@id": "stocktrends:sp_index"
    },
    "StockTrendsPortfolioReturnsPortfolio": "stocktrends:StockTrendsPortfolioReturnsPortfolio",
    "StockTrendsPortfolioReturnsResponse": "stocktrends:StockTrendsPortfolioReturnsResponse",
    "StockTrendsPortfolioStrategyData": "stocktrends:StockTrendsPortfolioStrategyData",
    "investment_amount": {
      "@id": "stocktrends:investment_amount"
    },
    "transaction_cost_pct": {
      "@id": "stocktrends:transaction_cost_pct"
    },
    "round_trip_transaction_cost_pct": {
      "@id": "stocktrends:round_trip_transaction_cost_pct"
    },
    "stop_loss_pct": {
      "@id": "stocktrends:stop_loss_pct"
    },
    "stop_loss_minimum": {
      "@id": "stocktrends:stop_loss_minimum"
    },
    "conditions": {
      "@id": "stocktrends:conditions",
      "@type": "@id"
    },
    "StockTrendsPortfolioStrategyPortfolio": "stocktrends:StockTrendsPortfolioStrategyPortfolio",
    "StockTrendsPortfolioStrategyResponse": "stocktrends:StockTrendsPortfolioStrategyResponse",
    "strategy": {
      "@id": "stocktrends:strategy",
      "@type": "@id"
    },
    "StockTrendsPortfolioStrategyVerification": "stocktrends:StockTrendsPortfolioStrategyVerification",
    "portfolio_metadata_endpoint": {
      "@id": "stocktrends:portfolio_metadata_endpoint",
      "@type": "xsd:string"
    },
    "portfolio_returns_endpoint": {
      "@id": "stocktrends:portfolio_returns_endpoint",
      "@type": "xsd:string"
    },
    "historical_positions_endpoint": {
      "@id": "stocktrends:historical_positions_endpoint",
      "@type": "xsd:string"
    },
    "summary_endpoint": {
      "@id": "stocktrends:summary_endpoint",
      "@type": "xsd:string"
    },
    "current_live_holdings_excluded": {
      "@id": "stocktrends:current_live_holdings_excluded",
      "@type": "xsd:boolean"
    },
    "current_matching_candidates_excluded": {
      "@id": "stocktrends:current_matching_candidates_excluded",
      "@type": "xsd:boolean"
    },
    "conditions_are_metadata_not_executable_api": {
      "@id": "stocktrends:conditions_are_metadata_not_executable_api",
      "@type": "xsd:boolean"
    },
    "StockTrendsPortfolioSummaryClosedPositions": "stocktrends:StockTrendsPortfolioSummaryClosedPositions",
    "first_date_in": {
      "@id": "stocktrends:first_date_in"
    },
    "first_date_out": {
      "@id": "stocktrends:first_date_out"
    },
    "latest_date_out": {
      "@id": "stocktrends:latest_date_out"
    },
    "total_realized_gain_loss": {
      "@id": "stocktrends:total_realized_gain_loss",
      "@type": "xsd:decimal"
    },
    "average_gain_loss_percent": {
      "@id": "stocktrends:average_gain_loss_percent"
    },
    "winning_positions": {
      "@id": "stocktrends:winning_positions",
      "@type": "xsd:integer"
    },
    "losing_positions": {
      "@id": "stocktrends:losing_positions",
      "@type": "xsd:integer"
    },
    "StockTrendsPortfolioSummaryResponse": "stocktrends:StockTrendsPortfolioSummaryResponse",
    "summary": {
      "@id": "stocktrends:summary",
      "@type": "@id"
    },
    "StockTrendsPortfolioSummaryReturns": "stocktrends:StockTrendsPortfolioSummaryReturns",
    "latest_total_valuation": {
      "@id": "stocktrends:latest_total_valuation"
    },
    "latest_cumulative_total_gain": {
      "@id": "stocktrends:latest_cumulative_total_gain"
    },
    "latest_cumulative_realized_gain": {
      "@id": "stocktrends:latest_cumulative_realized_gain"
    },
    "StockTrendsPortfolioSummaryRoi": "stocktrends:StockTrendsPortfolioSummaryRoi",
    "method": {
      "@id": "stocktrends:method",
      "@type": "xsd:string"
    },
    "average_net_cost": {
      "@id": "stocktrends:average_net_cost"
    },
    "average_positions": {
      "@id": "stocktrends:average_positions"
    },
    "average_investment": {
      "@id": "stocktrends:average_investment"
    },
    "total_weeks": {
      "@id": "stocktrends:total_weeks"
    },
    "annualized_roi_percent": {
      "@id": "stocktrends:annualized_roi_percent"
    },
    "StockTrendsPortfolioSummaryVerification": "stocktrends:StockTrendsPortfolioSummaryVerification",
    "returns_endpoint": {
      "@id": "stocktrends:returns_endpoint",
      "@type": "xsd:string"
    },
    "StockTrendsStrategyCondition": "stocktrends:StockTrendsStrategyCondition",
    "sequence": {
      "@id": "stocktrends:sequence",
      "@type": "xsd:integer"
    },
    "left_side": {
      "@id": "stocktrends:left_side"
    },
    "operator": {
      "@id": "stocktrends:operator"
    },
    "right_side": {
      "@id": "stocktrends:right_side"
    },
    "legacy_expression": {
      "@id": "stocktrends:legacy_expression"
    },
    "StockTrendsStrategyConditionCounts": "stocktrends:StockTrendsStrategyConditionCounts",
    "buy": {
      "@id": "stocktrends:buy",
      "@type": "xsd:integer"
    },
    "sell": {
      "@id": "stocktrends:sell",
      "@type": "xsd:integer"
    },
    "total": {
      "@id": "stocktrends:total",
      "@type": "xsd:integer"
    },
    "StockTrendsStrategyConditions": "stocktrends:StockTrendsStrategyConditions",
    "StockTrendsStrategyDetailData": "stocktrends:StockTrendsStrategyDetailData",
    "public_verification": {
      "@id": "stocktrends:public_verification",
      "@type": "@id"
    },
    "StockTrendsStrategyDetailResponse": "stocktrends:StockTrendsStrategyDetailResponse",
    "StockTrendsStrategyListResponse": "stocktrends:StockTrendsStrategyListResponse",
    "StockTrendsStrategyPublicVerification": "stocktrends:StockTrendsStrategyPublicVerification",
    "related_portfolios_endpoint": {
      "@id": "stocktrends:related_portfolios_endpoint",
      "@type": "xsd:string"
    },
    "portfolio_strategy_endpoint_template": {
      "@id": "stocktrends:portfolio_strategy_endpoint_template",
      "@type": "xsd:string"
    },
    "StockTrendsStrategySummary": "stocktrends:StockTrendsStrategySummary",
    "condition_counts": {
      "@id": "stocktrends:condition_counts",
      "@type": "@id"
    },
    "ValidationError": "stocktrends:ValidationError",
    "loc": {
      "@id": "stocktrends:loc",
      "@container": "@list"
    },
    "msg": {
      "@id": "stocktrends:msg",
      "@type": "xsd:string"
    },
    "type": {
      "@id": "stocktrends:type",
      "@type": "xsd:string"
    },
    "input": {
      "@id": "stocktrends:input"
    },
    "ctx": {
      "@id": "stocktrends:ctx"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Stock Trends API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Stock Trends's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-26) from openapi/stocktrends-com-openapi.json.",
  "dcterms:created": "2026-11-26",
  "dcterms:source": [
    "openapi/stocktrends-com-openapi.json"
  ]
}