Docs / Schemas / regression / 0.5.0
Regression 0.5.0
Represent continuous numerical predictions. Supports point estimates, confidence intervals, and time-series forecasting.
This is an older version of regression.
The latest version is 0.8.0. Releases before 0.7.0 use the $id https:/ and are served by DorsalHub.
$idhttps:// dorsalhub.com/ schemas/ open/ regression - Latest
https:// oatschema.org/ regression - Versions
- Source
- v0.5.0 on GitHub
Schema
{ "x-license": { "id": "Apache-2.0", "notice": "Copyright 2025-2026 Dorsal Hub LTD", "url": "https://github.com/dorsalhub/open-validation-schemas/blob/main/LICENSE" }, "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://dorsalhub.com/schemas/open/regression", "title": "Regression", "version": "0.5.0", "description": "Represent continuous numerical predictions. Supports point estimates, confidence intervals, and time-series forecasting.", "type": "object", "properties": { "target": { "type": "string", "description": "The name of or a reference to the variable being predicted (e.g., 'temperature', 'stock_price').", "maxLength": 256 }, "unit": { "type": "string", "description": "The unit of measurement.", "maxLength": 32 }, "producer": { "type": "string", "description": "The creator (model, tool or author) of this regression.", "maxLength": 1024 }, "score_explanation": { "type": "string", "description": "Explanation of the quality score metric (e.g. 'R-squared' or 'Model Confidence').", "maxLength": 256 }, "points": { "type": "array", "description": "The regression data points. A single item represents a point estimate; multiple items represent a time series or distribution.", "maxItems": 10000, "items": { "type": "object", "properties": { "value": { "type": [ "number", "null" ], "description": "The predicted or sampled value." }, "statistic": { "type": "string", "description": "The statistical nature of this value.", "enum": [ "mean", "median", "mode", "min", "max", "quantile", "sample" ] }, "quantile_level": { "type": "number", "description": "If statistic='quantile', this defines the level (e.g., 0.95).", "minimum": 0, "maximum": 1 }, "timestamp": { "type": "string", "format": "date-time", "maxLength": 128, "description": "The specific time this prediction applies to." }, "interval_lower": { "type": "number", "description": "The lower bound of the confidence interval." }, "interval_upper": { "type": "number", "description": "The upper bound of the confidence interval." }, "score": { "type": "number", "description": "A quality score for this specific point.", "minimum": 0, "maximum": 1 }, "attributes": { "type": "object", "description": "Arbitrary metadata relevant to this point.", "maxProperties": 16, "additionalProperties": { "anyOf": [ { "type": "string", "maxLength": 1024 }, { "type": "number" }, { "type": "boolean" }, { "type": "null" } ] } } }, "required": [ "value" ], "additionalProperties": false } }, "attributes": { "type": "object", "description": "Arbitrary metadata relevant to this regression.", "maxProperties": 16, "additionalProperties": { "anyOf": [ { "type": "string", "maxLength": 1024 }, { "type": "number" }, { "type": "boolean" }, { "type": "null" } ] } } }, "required": [ "points" ], "allOf": [ { "if": { "properties": { "points": { "maxItems": 0 } } }, "then": { "required": [ "producer" ] } } ], "additionalProperties": false}
Fields
-
targetstringThe name of or a reference to the variable being predicted (e.g., 'temperature', 'stock_price').
- at most 256 characters
-
unitstringThe unit of measurement.
- at most 32 characters
-
producerstringThe creator (model, tool or author) of this regression.
- at most 1024 characters
-
score_explanationstringExplanation of the quality score metric (e.g. 'R-squared' or 'Model Confidence').
- at most 256 characters
-
pointsarray of object requiredThe regression data points. A single item represents a point estimate; multiple items represent a time series or distribution.
- at most 10000 items
-
value['number', 'null'] requiredThe predicted or sampled value.
-
statisticstringThe statistical nature of this value.
Allowed values:
"mean","median","mode","min","max","quantile","sample" -
quantile_levelnumberIf statistic='quantile', this defines the level (e.g., 0.95).
- 0 to 1
-
timestampstringThe specific time this prediction applies to.
- at most 128 characters
- format
date-time
-
interval_lowernumberThe lower bound of the confidence interval.
-
interval_uppernumberThe upper bound of the confidence interval.
-
scorenumberA quality score for this specific point.
- 0 to 1
-
attributesobjectArbitrary metadata relevant to this point.
- at most 16 properties
-
*string | number | boolean | nullAny other key.
- string: at most 1024 characters
-
attributesobjectArbitrary metadata relevant to this regression.
- at most 16 properties
-
*string | number | boolean | nullAny other key.
- string: at most 1024 characters
Rules:
-
When
pointsis empty,produceris required.Show the JSON Schema
{ "if": { "properties": { "points": { "maxItems": 0 } } }, "then": { "required": [ "producer" ] }}
Copyright 2025-2026 Dorsal Hub LTD. Licensed under Apache-2.0.