{
	"openapi": "3.1.0",
	"info": {
		"title": "LE TEEN College ROI API",
		"version": "1.0.0",
		"summary": "Free, keyless, CORS-open JSON over the LE TEEN college-ROI data spine.",
		"description": "Static, read-only JSON: National institution-count modeled-value coverage and named U.S. college projections (positive-NPV envelope), lifetime ROI for every bachelor's major category and subfield, and the standing rankings. No auth, no rate limit beyond CDN sanity. Free to use with attribution — cite LE TEEN, le-teen.com (and FREOPP/IPEDS/BEA as the upstream sources). Dataset DOI: https://doi.org/10.5281/zenodo.21351602. Methodology: https://le-teen.com/methodology.",
		"termsOfService": "https://le-teen.com/methodology",
		"contact": {
			"name": "LE TEEN",
			"url": "https://le-teen.com/press"
		},
		"license": {
			"name": "Creative Commons Attribution 4.0 International",
			"identifier": "CC-BY-4.0"
		}
	},
	"servers": [
		{
			"url": "https://le-teen.com"
		}
	],
	"externalDocs": {
		"description": "API documentation",
		"url": "https://le-teen.com/api"
	},
	"paths": {
		"/api/v1/index.json": {
			"get": {
				"operationId": "getApiRoot",
				"summary": "API root — name, version, license, DOI, endpoint list.",
				"responses": {
					"200": {
						"description": "The API root document.",
						"content": {
							"application/json": {
								"schema": {
									"type": "object"
								}
							}
						}
					}
				}
			}
		},
		"/api/v1/majors.json": {
			"get": {
				"operationId": "listMajors",
				"summary": "All 19 major categories + 115 CIP subfields, full lifetime-ROI stat set.",
				"responses": {
					"200": {
						"description": "Every major with statistics and page links.",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"properties": {
										"meta": {
											"$ref": "#/components/schemas/Meta"
										},
										"count": {
											"type": "integer"
										},
										"categories": {
											"type": "integer"
										},
										"subfields": {
											"type": "integer"
										},
										"notes": {
											"type": "array",
											"items": {
												"type": "string"
											}
										},
										"majors": {
											"type": "array",
											"items": {
												"$ref": "#/components/schemas/Major"
											}
										}
									}
								}
							}
						}
					}
				}
			}
		},
		"/api/v1/majors/{slug}.json": {
			"get": {
				"operationId": "getMajor",
				"summary": "One major category or subfield.",
				"parameters": [
					{
						"name": "slug",
						"in": "path",
						"required": true,
						"description": "Major slug, e.g. philosophy-and-religious-studies or registered-nursing.",
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"description": "The major with its meta block.",
						"content": {
							"application/json": {
								"schema": {
									"allOf": [
										{
											"type": "object",
											"properties": {
												"meta": {
													"$ref": "#/components/schemas/Meta"
												}
											}
										},
										{
											"$ref": "#/components/schemas/Major"
										}
									]
								}
							}
						}
					},
					"404": {
						"description": "Unknown slug (static file does not exist)."
					}
				}
			}
		},
		"/api/v1/colleges.json": {
			"get": {
				"operationId": "listColleges",
				"summary": "National institution-count coverage plus the unchanged 500 gated four-year colleges.",
				"responses": {
					"200": {
						"description": "National eligible sign/funnel/model coverage followed by the unchanged named positive/top-500 selection.",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"required": [
										"meta",
										"count",
										"notes",
										"coverage",
										"colleges"
									],
									"properties": {
										"meta": {
											"$ref": "#/components/schemas/Meta"
										},
										"count": {
											"type": "integer"
										},
										"notes": {
											"type": "array",
											"items": {
												"type": "string"
											}
										},
										"coverage": {
											"$ref": "#/components/schemas/CollegeCoverage"
										},
										"colleges": {
											"type": "array",
											"items": {
												"$ref": "#/components/schemas/College"
											}
										}
									}
								}
							}
						}
					}
				}
			}
		},
		"/api/v1/colleges/{slug}.json": {
			"get": {
				"operationId": "getCollege",
				"summary": "One gated college.",
				"parameters": [
					{
						"name": "slug",
						"in": "path",
						"required": true,
						"description": "College slug, e.g. university-of-michigan-ann-arbor.",
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"description": "The college with its meta block.",
						"content": {
							"application/json": {
								"schema": {
									"allOf": [
										{
											"type": "object",
											"properties": {
												"meta": {
													"$ref": "#/components/schemas/Meta"
												}
											}
										},
										{
											"$ref": "#/components/schemas/College"
										}
									]
								}
							}
						}
					},
					"404": {
						"description": "Unknown slug — the school is outside the gate or not covered."
					}
				}
			}
		},
		"/api/v1/rankings/out-of-state-penalty.json": {
			"get": {
				"operationId": "getOutOfStatePenaltyRanking",
				"summary": "Public four-years ranked by the out-of-state tuition penalty, worst-first.",
				"responses": {
					"200": {
						"description": "The full ranking. Every row NPV-positive both ways.",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"properties": {
										"meta": {
											"$ref": "#/components/schemas/Meta"
										},
										"title": {
											"type": "string"
										},
										"description": {
											"type": "string"
										},
										"page_url": {
											"type": "string",
											"format": "uri"
										},
										"count": {
											"type": "integer"
										},
										"rankings": {
											"type": "array",
											"items": {
												"type": "object",
												"properties": {
													"rank": {
														"type": "integer"
													},
													"institution": {
														"type": "string"
													},
													"unitid": {
														"type": "integer",
														"description": "IPEDS UnitID — universal join key to /api/v1/colleges/{slug}.json."
													},
													"state": {
														"type": "string"
													},
													"oos_penalty_30yr_npv_usd": {
														"type": "integer"
													},
													"npv_resident_usd": {
														"type": "integer"
													},
													"npv_nonresident_usd": {
														"type": "integer"
													},
													"tuition_in_state_usd": {
														"type": "integer"
													},
													"tuition_out_of_state_usd": {
														"type": "integer"
													},
													"url": {
														"type": [
															"string",
															"null"
														],
														"format": "uri",
														"description": "Canonical /colleges/{slug} page for this school, or null if it is outside the ~500-school gated page set."
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
		},
		"/api/v1/rankings/out-of-state-penalty/top-50.json": {
			"get": {
				"operationId": "getOutOfStatePenaltyTop50",
				"summary": "The 50 worst out-of-state tuition penalties — slim slice of the full ranking.",
				"responses": {
					"200": {
						"description": "Top 50, worst-first. Same rows and order as the full ranking.",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"properties": {
										"meta": {
											"$ref": "#/components/schemas/Meta"
										},
										"title": {
											"type": "string"
										},
										"description": {
											"type": "string"
										},
										"page_url": {
											"type": "string",
											"format": "uri"
										},
										"count": {
											"type": "integer"
										},
										"rankings": {
											"type": "array",
											"items": {
												"type": "object",
												"properties": {
													"rank": {
														"type": "integer"
													},
													"institution": {
														"type": "string"
													},
													"unitid": {
														"type": "integer",
														"description": "IPEDS UnitID — universal join key to /api/v1/colleges/{slug}.json."
													},
													"state": {
														"type": "string"
													},
													"oos_penalty_30yr_npv_usd": {
														"type": "integer"
													},
													"npv_resident_usd": {
														"type": "integer"
													},
													"npv_nonresident_usd": {
														"type": "integer"
													},
													"tuition_in_state_usd": {
														"type": "integer"
													},
													"tuition_out_of_state_usd": {
														"type": "integer"
													},
													"url": {
														"type": [
															"string",
															"null"
														],
														"format": "uri",
														"description": "Canonical /colleges/{slug} page for this school, or null if it is outside the ~500-school gated page set."
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
		},
		"/api/v1/rankings/worst-roi-majors.json": {
			"get": {
				"operationId": "getWorstRoiMajorsRanking",
				"summary": "The 19 major categories ranked by lifetime ROI, worst-first — slim slice.",
				"responses": {
					"200": {
						"description": "All 19 categories with median/mean ROI, never-break-even share and conditional program-estimated median age with cohort denominators. Per-major detail at /api/v1/majors/{slug}.json.",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"properties": {
										"meta": {
											"$ref": "#/components/schemas/Meta"
										},
										"title": {
											"type": "string"
										},
										"description": {
											"type": "string"
										},
										"page_url": {
											"type": "string",
											"format": "uri"
										},
										"count": {
											"type": "integer"
										},
										"rankings": {
											"type": "array",
											"items": {
												"type": "object",
												"required": [
													"median_breakeven_age",
													"breakeven_age_is_conditional",
													"breakeven_age_population",
													"breakeven_observed_graduate_cohort_weight",
													"breakeven_finite_graduate_cohort_weight",
													"breakeven_never_graduate_cohort_weight",
													"breakeven_missing_graduate_cohort_weight"
												],
												"properties": {
													"rank": {
														"type": "integer"
													},
													"slug": {
														"type": "string"
													},
													"name": {
														"type": "string"
													},
													"median_lifetime_roi_usd": {
														"type": "number"
													},
													"mean_lifetime_roi_usd": {
														"type": "number"
													},
													"pct_never_breakeven": {
														"type": [
															"number",
															"null"
														],
														"description": "Never-sentinel cohort weight divided by observed break-even cohort weight, percent; null when no observed denominator."
													},
													"median_breakeven_age": {
														"type": [
															"integer",
															"null"
														],
														"description": "Median of FREOPP program-estimated finite break-even ages, weighted by College Scorecard graduate cohort counts, among programs that break even. Never-break-even programs (999 sentinel) are excluded. This is not a tracked median payoff age of individual graduates. Null means no finite-age cohort weight; inspect observed and missing weights to distinguish all-never from unavailable data."
													},
													"breakeven_age_is_conditional": {
														"type": "boolean",
														"const": true,
														"description": "Always true, including when the displayed never-break-even percentage rounds to zero."
													},
													"breakeven_age_population": {
														"type": "string",
														"const": "program_estimated_finite_ages_graduate_cohort_weighted"
													},
													"breakeven_observed_graduate_cohort_weight": {
														"type": "integer",
														"minimum": 0,
														"description": "Sum of graduate cohort weights in programs with an observed break-even age, including never-break-even sentinels. Denominator of pct_never_breakeven."
													},
													"breakeven_finite_graduate_cohort_weight": {
														"type": "integer",
														"minimum": 0,
														"description": "Sum of graduate cohort weights in programs with finite break-even ages. Population used for median_breakeven_age."
													},
													"breakeven_never_graduate_cohort_weight": {
														"type": "integer",
														"minimum": 0,
														"description": "Sum of graduate cohort weights in programs with the never-break-even sentinel. Excluded from the median."
													},
													"breakeven_missing_graduate_cohort_weight": {
														"type": "integer",
														"minimum": 0,
														"description": "Sum of graduate cohort weights in otherwise included programs without a break-even-age observation. Excluded from both the median and never-share denominator."
													},
													"graduates": {
														"type": "integer"
													},
													"url": {
														"type": "string",
														"format": "uri"
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
		},
		"/api/v1/rankings/best-value.json": {
			"get": {
				"operationId": "getBestValueRanking",
				"summary": "Each state’s best-value colleges at resident pricing, top 15 per state.",
				"responses": {
					"200": {
						"description": "All 50 states + DC. NPV-positive rows only.",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"properties": {
										"meta": {
											"$ref": "#/components/schemas/Meta"
										},
										"title": {
											"type": "string"
										},
										"description": {
											"type": "string"
										},
										"page_url": {
											"type": "string",
											"format": "uri"
										},
										"count": {
											"type": "integer"
										},
										"states": {
											"type": "array",
											"items": {
												"type": "object",
												"properties": {
													"state": {
														"type": "string"
													},
													"state_name": {
														"type": "string"
													},
													"page_url": {
														"type": "string",
														"format": "uri"
													},
													"colleges": {
														"type": "array",
														"items": {
															"type": "object",
															"properties": {
																"rank_in_state": {
																	"type": "integer"
																},
																"institution": {
																	"type": "string"
																},
																"unitid": {
																	"type": "integer",
																	"description": "IPEDS UnitID — universal join key to /api/v1/colleges/{slug}.json."
																},
																"city": {
																	"type": "string"
																},
																"control": {
																	"type": "string"
																},
																"npv_30yr_resident_usd": {
																	"type": "integer"
																},
																"url": {
																	"type": [
																		"string",
																		"null"
																	],
																	"format": "uri",
																	"description": "Canonical /colleges/{slug} page for this school, or null if it is outside the ~500-school gated page set."
																}
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
		},
		"/api/v1/rankings/best-value/{state}.json": {
			"get": {
				"operationId": "getBestValueByState",
				"summary": "One state’s best-value colleges at resident pricing — slim per-state slice.",
				"parameters": [
					{
						"name": "state",
						"in": "path",
						"required": true,
						"description": "Lowercase USPS 2-letter state code (50 states + DC).",
						"schema": {
							"type": "string",
							"enum": [
								"al",
								"ak",
								"az",
								"ar",
								"ca",
								"co",
								"ct",
								"de",
								"dc",
								"fl",
								"ga",
								"hi",
								"id",
								"il",
								"in",
								"ia",
								"ks",
								"ky",
								"la",
								"me",
								"md",
								"ma",
								"mi",
								"mn",
								"ms",
								"mo",
								"mt",
								"ne",
								"nv",
								"nh",
								"nj",
								"nm",
								"ny",
								"nc",
								"nd",
								"oh",
								"ok",
								"or",
								"pa",
								"ri",
								"sc",
								"sd",
								"tn",
								"tx",
								"ut",
								"vt",
								"va",
								"wa",
								"wv",
								"wi",
								"wy"
							]
						}
					}
				],
				"responses": {
					"200": {
						"description": "Top 15 for the state, NPV-positive rows only.",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"properties": {
										"meta": {
											"$ref": "#/components/schemas/Meta"
										},
										"title": {
											"type": "string"
										},
										"description": {
											"type": "string"
										},
										"page_url": {
											"type": "string",
											"format": "uri"
										},
										"state": {
											"type": "string"
										},
										"state_name": {
											"type": "string"
										},
										"count": {
											"type": "integer"
										},
										"colleges": {
											"type": "array",
											"items": {
												"type": "object",
												"properties": {
													"rank_in_state": {
														"type": "integer"
													},
													"institution": {
														"type": "string"
													},
													"city": {
														"type": "string"
													},
													"control": {
														"type": "string"
													},
													"npv_30yr_resident_usd": {
														"type": "integer"
													}
												}
											}
										}
									}
								}
							}
						}
					},
					"404": {
						"description": "Not a USPS state code."
					}
				}
			}
		},
		"/api/v1/openapi.json": {
			"get": {
				"operationId": "getOpenApiSpec",
				"summary": "This document.",
				"responses": {
					"200": {
						"description": "The OpenAPI 3.1 spec.",
						"content": {
							"application/json": {
								"schema": {
									"type": "object"
								}
							}
						}
					}
				}
			}
		}
	},
	"components": {
		"schemas": {
			"Meta": {
				"type": "object",
				"description": "Provenance block carried by every payload. `generated` is the build-time page-review stamp (static files); `data_vintage` names the upstream survey years.",
				"required": [
					"source",
					"url",
					"license",
					"doi",
					"data_vintage",
					"generated"
				],
				"properties": {
					"source": {
						"type": "string",
						"const": "LE TEEN"
					},
					"url": {
						"type": "string",
						"format": "uri"
					},
					"license": {
						"type": "string",
						"const": "CC-BY-4.0"
					},
					"doi": {
						"type": "string",
						"format": "uri"
					},
					"data_vintage": {
						"type": "string"
					},
					"generated": {
						"type": "string",
						"format": "date"
					}
				}
			},
			"AiExposure": {
				"type": [
					"object",
					"null"
				],
				"description": "le-teen-derived AI applicability (exposure) — how much of the field’s occupations AI is already used for. NOT displacement. Category rows only; null for subfields and dropped categories.",
				"properties": {
					"score_0_to_1": {
						"type": "number"
					},
					"band": {
						"type": "string",
						"enum": [
							"High",
							"Elevated",
							"Lower"
						]
					},
					"acs_coverage": {
						"type": "number"
					},
					"top_occupations": {
						"type": "array",
						"items": {
							"type": "object",
							"properties": {
								"soc": {
									"type": "string",
									"description": "SOC occupation code."
								},
								"title": {
									"type": "string"
								},
								"score": {
									"type": "number",
									"description": "AI applicability, 0–1."
								},
								"share": {
									"type": "number",
									"description": "Share of the field’s graduates working here, 0–1."
								}
							}
						}
					}
				}
			},
			"Major": {
				"type": "object",
				"description": "One major category or CIP subfield with its full lifetime-ROI stat set (FREOPP 2021, cohort-weighted). Field averages may be negative — no institution is named.",
				"required": [
					"slug",
					"kind",
					"name",
					"rank_by_worst_roi",
					"url",
					"median_breakeven_age",
					"breakeven_age_is_conditional",
					"breakeven_age_population",
					"breakeven_observed_graduate_cohort_weight",
					"breakeven_finite_graduate_cohort_weight",
					"breakeven_never_graduate_cohort_weight",
					"breakeven_missing_graduate_cohort_weight"
				],
				"properties": {
					"slug": {
						"type": "string"
					},
					"kind": {
						"type": "string",
						"enum": [
							"category",
							"subfield"
						]
					},
					"name": {
						"type": "string"
					},
					"cip_program_name": {
						"type": [
							"string",
							"null"
						],
						"description": "CIP program-family name — subfields only."
					},
					"parent": {
						"type": [
							"object",
							"null"
						],
						"description": "Parent category — subfields only.",
						"properties": {
							"slug": {
								"type": "string"
							},
							"name": {
								"type": "string"
							}
						}
					},
					"rank_by_worst_roi": {
						"type": "integer",
						"description": "Rank within its own ring (1 = worst ROI of the 19 categories, or of the 115 subfields)."
					},
					"url": {
						"type": "string",
						"format": "uri",
						"description": "The human-readable page for this major."
					},
					"mean_lifetime_roi_usd": {
						"type": "number"
					},
					"median_lifetime_roi_usd": {
						"type": "number"
					},
					"p25_roi_usd": {
						"type": "number"
					},
					"p75_roi_usd": {
						"type": "number"
					},
					"pct_never_breakeven": {
						"type": [
							"number",
							"null"
						],
						"description": "Share of observed graduate cohort weight in programs FREOPP flags as never breaking even (999 sentinel), percent. Denominator is breakeven_observed_graduate_cohort_weight; null when it is zero. This does not track individual graduate outcomes."
					},
					"pct_negative_lifetime_roi": {
						"type": "number",
						"description": "Share of all graduates in programs whose 30-year lifetime ROI is below zero, percent. Strictly wider than pct_never_breakeven — it also counts programs that break even, but only in the graduate’s late fifties."
					},
					"median_breakeven_age": {
						"type": [
							"integer",
							"null"
						],
						"description": "Median of FREOPP program-estimated finite break-even ages, weighted by College Scorecard graduate cohort counts, among programs that break even. Never-break-even programs (999 sentinel) are excluded. This is not a tracked median payoff age of individual graduates. Null means no finite-age cohort weight; inspect observed and missing weights to distinguish all-never from unavailable data."
					},
					"breakeven_age_is_conditional": {
						"type": "boolean",
						"const": true,
						"description": "Always true, including when the displayed never-break-even percentage rounds to zero."
					},
					"breakeven_age_population": {
						"type": "string",
						"const": "program_estimated_finite_ages_graduate_cohort_weighted"
					},
					"breakeven_observed_graduate_cohort_weight": {
						"type": "integer",
						"minimum": 0,
						"description": "Sum of graduate cohort weights in programs with an observed break-even age, including never-break-even sentinels. Denominator of pct_never_breakeven."
					},
					"breakeven_finite_graduate_cohort_weight": {
						"type": "integer",
						"minimum": 0,
						"description": "Sum of graduate cohort weights in programs with finite break-even ages. Population used for median_breakeven_age."
					},
					"breakeven_never_graduate_cohort_weight": {
						"type": "integer",
						"minimum": 0,
						"description": "Sum of graduate cohort weights in programs with the never-break-even sentinel. Excluded from the median."
					},
					"breakeven_missing_graduate_cohort_weight": {
						"type": "integer",
						"minimum": 0,
						"description": "Sum of graduate cohort weights in otherwise included programs without a break-even-age observation. Excluded from both the median and never-share denominator."
					},
					"completion_adjusted_roi_usd": {
						"type": [
							"number",
							"null"
						]
					},
					"dropout_roi_usd": {
						"type": [
							"number",
							"null"
						]
					},
					"graduates": {
						"type": "integer"
					},
					"programs": {
						"type": "integer"
					},
					"ai_exposure": {
						"$ref": "#/components/schemas/AiExposure"
					}
				}
			},
			"College": {
				"type": "object",
				"description": "One gated four-year institution (IPEDS 2023 · FREOPP 2021 · BEA 2023). Gates: real FREOPP earnings, >= 3 reported programs, hand-verified exclusions, positive 30-year NPV at resident pricing — no school outside the gate appears, and no named school carries a negative number.",
				"required": [
					"slug",
					"unitid",
					"name",
					"city",
					"state",
					"control",
					"npv_30yr_resident_usd",
					"url"
				],
				"properties": {
					"slug": {
						"type": "string"
					},
					"unitid": {
						"type": "integer",
						"description": "IPEDS UnitID — the universal join key."
					},
					"name": {
						"type": "string"
					},
					"city": {
						"type": "string"
					},
					"state": {
						"type": "string",
						"description": "USPS 2-letter state code."
					},
					"state_name": {
						"type": "string"
					},
					"control": {
						"type": "string",
						"enum": [
							"public",
							"private-nonprofit",
							"private-forprofit"
						]
					},
					"npv_30yr_resident_usd": {
						"type": "integer",
						"description": "Legacy field name: canonical accumulated/terminal projected net value at year 34 (four study years plus thirty career years), at resident pricing. Positive by gate; not standard discounted present value or FREOPP published lifetime ROI."
					},
					"npv_30yr_nonresident_usd": {
						"type": [
							"integer",
							"null"
						],
						"description": "Non-resident 30-year NPV — public schools with a real out-of-state premium only, and only when ALSO positive; null otherwise by design."
					},
					"total_cost_of_attendance_usd": {
						"type": "integer"
					},
					"total_cost_of_attendance_nonresident_usd": {
						"type": [
							"integer",
							"null"
						]
					},
					"median_earnings_10yr_usd": {
						"type": "integer",
						"description": "Legacy field name: institution cohort-weighted FREOPP Estimated earnings, ages 29–31; an age-band proxy, not a measured ten-year-post-entry median."
					},
					"breakeven_age": {
						"type": [
							"integer",
							"null"
						]
					},
					"freopp_program_coverage": {
						"type": "integer",
						"description": "FREOPP-reported programs rolled into the earnings figure."
					},
					"url": {
						"type": "string",
						"format": "uri",
						"description": "The human-readable page for this school."
					}
				}
			},
			"CollegeCoverage": {
				"type": "object",
				"additionalProperties": false,
				"description": "National unweighted institution-count coverage before the positive/top-500 gate. Unknown values are separate from zero and negative; the negative share is not a graduate probability. No negative institution identifiers are emitted.",
				"required": [
					"schema",
					"population",
					"weighting",
					"funnel",
					"modeled_net_value_signs",
					"finite_modeled_denominator",
					"negative_share_of_finite_eligible",
					"assumptions",
					"metric",
					"earnings_proxy",
					"named_selection_unchanged",
					"source_vintages",
					"sources"
				],
				"properties": {
					"schema": {
						"type": "string",
						"const": "college-projected-value-coverage/v1"
					},
					"population": {
						"type": "string"
					},
					"weighting": {
						"type": "string"
					},
					"funnel": {
						"type": "object",
						"additionalProperties": false,
						"required": [
							"all_institutions",
							"institution_level_unknown",
							"not_four_year",
							"four_year",
							"earnings_unavailable",
							"earnings_invalid",
							"real_earnings",
							"program_coverage_invalid",
							"below_three_programs",
							"at_least_three_programs",
							"hand_excluded",
							"missing_state_rpp",
							"state_rpp_invalid",
							"quality_eligible"
						],
						"properties": {
							"all_institutions": {
								"type": "integer",
								"minimum": 0
							},
							"institution_level_unknown": {
								"type": "integer",
								"minimum": 0
							},
							"not_four_year": {
								"type": "integer",
								"minimum": 0
							},
							"four_year": {
								"type": "integer",
								"minimum": 0
							},
							"earnings_unavailable": {
								"type": "integer",
								"minimum": 0
							},
							"earnings_invalid": {
								"type": "integer",
								"minimum": 0
							},
							"real_earnings": {
								"type": "integer",
								"minimum": 0
							},
							"program_coverage_invalid": {
								"type": "integer",
								"minimum": 0
							},
							"below_three_programs": {
								"type": "integer",
								"minimum": 0
							},
							"at_least_three_programs": {
								"type": "integer",
								"minimum": 0
							},
							"hand_excluded": {
								"type": "integer",
								"minimum": 0
							},
							"missing_state_rpp": {
								"type": "integer",
								"minimum": 0
							},
							"state_rpp_invalid": {
								"type": "integer",
								"minimum": 0
							},
							"quality_eligible": {
								"type": "integer",
								"minimum": 0
							}
						}
					},
					"modeled_net_value_signs": {
						"type": "object",
						"additionalProperties": false,
						"required": [
							"positive",
							"zero",
							"negative",
							"unknown"
						],
						"properties": {
							"positive": {
								"type": "integer",
								"minimum": 0
							},
							"zero": {
								"type": "integer",
								"minimum": 0
							},
							"negative": {
								"type": "integer",
								"minimum": 0
							},
							"unknown": {
								"type": "integer",
								"minimum": 0
							}
						}
					},
					"finite_modeled_denominator": {
						"type": "integer",
						"minimum": 0
					},
					"negative_share_of_finite_eligible": {
						"type": [
							"number",
							"null"
						],
						"minimum": 0,
						"maximum": 1,
						"description": "Negative / (positive + zero + negative), a fraction of finite eligible institution rows; null with no finite denominator. Unknown models are excluded."
					},
					"assumptions": {
						"type": "object",
						"additionalProperties": false,
						"required": [
							"program_years",
							"career_horizon_years",
							"loan_pct",
							"loan_apr",
							"loan_term_years",
							"alt_investment_apr",
							"hs_grad_annual_wage",
							"pricing"
						],
						"properties": {
							"program_years": {
								"type": "integer"
							},
							"career_horizon_years": {
								"type": "integer"
							},
							"loan_pct": {
								"type": "number"
							},
							"loan_apr": {
								"type": "number"
							},
							"loan_term_years": {
								"type": "integer"
							},
							"alt_investment_apr": {
								"type": "number"
							},
							"hs_grad_annual_wage": {
								"type": "number"
							},
							"pricing": {
								"type": "string"
							}
						}
					},
					"metric": {
						"type": "object",
						"additionalProperties": false,
						"required": [
							"legacy_field",
							"calculation",
							"meaning",
							"career_horizon_years",
							"terminal_years_after_start"
						],
						"properties": {
							"legacy_field": {
								"type": "string",
								"const": "npv_30yr_resident_usd"
							},
							"calculation": {
								"type": "string"
							},
							"meaning": {
								"type": "string",
								"description": "Canonical rounded accumulated/terminal net value at year 34 with four study and thirty career years; not standard present value, realized loss or FREOPP published lifetime ROI."
							},
							"career_horizon_years": {
								"type": "integer"
							},
							"terminal_years_after_start": {
								"type": "integer"
							}
						}
					},
					"earnings_proxy": {
						"type": "object",
						"additionalProperties": false,
						"required": [
							"basis",
							"price_year",
							"horizon_applicability",
							"completion_probability"
						],
						"properties": {
							"basis": {
								"type": "string"
							},
							"price_year": {
								"type": "null"
							},
							"horizon_applicability": {
								"type": "string",
								"const": "unknown"
							},
							"completion_probability": {
								"type": "null"
							}
						}
					},
					"named_selection_unchanged": {
						"type": "object",
						"additionalProperties": false,
						"required": [
							"positive_only",
							"limit",
							"ordering"
						],
						"properties": {
							"positive_only": {
								"type": "boolean",
								"const": true
							},
							"limit": {
								"type": "integer",
								"const": 500
							},
							"ordering": {
								"type": "string"
							}
						}
					},
					"source_vintages": {
						"type": "object",
						"additionalProperties": false,
						"required": [
							"ipeds",
							"freopp_publication",
							"bea"
						],
						"properties": {
							"ipeds": {
								"type": "string",
								"const": "2023"
							},
							"freopp_publication": {
								"type": "string",
								"const": "2021"
							},
							"bea": {
								"type": "string",
								"const": "2023"
							}
						}
					},
					"sources": {
						"type": "object",
						"additionalProperties": false,
						"required": [
							"institutions",
							"bea_rpp",
							"methodology",
							"freshness"
						],
						"properties": {
							"institutions": {
								"type": "string"
							},
							"bea_rpp": {
								"type": "string"
							},
							"methodology": {
								"type": "string",
								"format": "uri"
							},
							"freshness": {
								"type": "string"
							}
						}
					}
				}
			}
		}
	}
}
