future-ts / schemas /task.schema.json
jameswlepage's picture
Publish FUTURE-TS v0.1.0 public preview
3335f2b verified
Raw
History Blame Contribute Delete
3.82 kB
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://future-ts.dev/schemas/task.schema.json",
"title": "FUTURE-TS Task Card",
"type": "object",
"additionalProperties": false,
"required": [
"task_id",
"name",
"tier",
"track",
"domain",
"task_type",
"target",
"frequency",
"issue_times",
"horizon",
"metrics",
"primary_metric",
"adaptation_budgets",
"anchors",
"resource_budget",
"provenance_tier",
"source_dataset",
"source_update_cadence",
"source_release_lag"
],
"properties": {
"task_id": { "type": "string", "minLength": 1 },
"name": { "type": "string", "minLength": 1 },
"tier": {
"type": "string",
"enum": ["public_dev", "blind_archive", "live"]
},
"track": {
"type": "string",
"enum": [
"forecasting_core",
"covariate_aware",
"multivariate_relational",
"data_quality",
"event",
"transfer",
"multimodal_context"
]
},
"domain": { "type": "string", "minLength": 1 },
"task_type": { "type": "string", "minLength": 1 },
"target": { "type": "string", "minLength": 1 },
"frequency": { "type": "string", "minLength": 1 },
"issue_times": {
"type": "array",
"minItems": 1,
"items": { "type": "string", "format": "date-time" }
},
"cutoff_schedule": {
"type": "array",
"items": { "type": "string", "format": "date-time" }
},
"horizon": { "type": "integer", "minimum": 1 },
"known_covariates": {
"type": "array",
"items": { "type": "string" }
},
"delayed_sources": {
"type": "array",
"items": { "type": "string" }
},
"revision_aware": { "type": "boolean" },
"action_context": { "type": "string" },
"ood_tags": {
"type": "array",
"items": { "type": "string" }
},
"metrics": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["name", "kind"],
"properties": {
"name": { "type": "string" },
"kind": {
"type": "string",
"enum": ["point", "probabilistic", "event", "utility"]
},
"maximize": { "type": "boolean" },
"nominal_coverage": { "type": "number", "exclusiveMinimum": 0.0, "exclusiveMaximum": 1.0 },
"params": {
"type": "object",
"additionalProperties": true
}
}
}
},
"primary_metric": { "type": "string" },
"adaptation_budgets": {
"type": "array",
"minItems": 1,
"items": { "type": "string" }
},
"anchors": {
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "number" }
},
"resource_budget": {
"type": "object",
"additionalProperties": false,
"properties": {
"latency_ms": { "type": "number", "exclusiveMinimum": 0.0 },
"memory_mb": { "type": "number", "exclusiveMinimum": 0.0 }
}
},
"provenance_tier": {
"type": "string",
"enum": ["public"]
},
"source_dataset": { "type": "string", "minLength": 1 },
"source_update_cadence": { "type": "string", "minLength": 1 },
"source_release_lag": { "type": "string", "minLength": 1 },
"temporal_integrity": {
"type": "object",
"additionalProperties": false,
"properties": {
"actuals_first_published_after_issue_time": { "type": "boolean" },
"require_first_publication_after_issue": { "type": "boolean" },
"require_sealed_execution": { "type": "boolean" },
"enforce_platform_timestamps": { "type": "boolean" }
}
},
"notes": { "type": "string" }
}
}