Repository navigation
mission_data_model
GitHub Action edited this page Oct 15, 2026
·
3 revisions
iso_doc_type: "Specification" iso_viewpoint: "ComponentView" type: "architecture" title: "Mission Data Model & Schema Contracts" description: "ISO 42010 ComponentView / ISO 15289 Specification documentation detailing Pandera schemas, Pydantic contracts, and serialization protocols." tags: ["iso42010", "okf", "component_view", "schemas", "data_contracts"] timestamp: "2026-10-01T17:50:00Z" generated: "agent:wiki-iso-documentation-standard" verified: "true" last_verified_commit: "073b5fd"
Purpose: Formal definition of tabular data contracts, feature schemas, prediction structures, and configuration schemas.
Every tabular dataset passing through a pipeline boundary is validated against strict Pandera DataFrameModel definitions:
classDiagram
direction TB
class Schema {
+check(data: DataFrame) DataFrame$
}
class InputsSchema {
+UInt32 instant (Index)
+DateTime dteday
+UInt8 season
+UInt8 yr
+UInt8 mnth
+UInt8 hr
+UInt8 holiday
+UInt8 weekday
+UInt8 workingday
+UInt8 weathersit
+float temp
+float atemp
+float hum
+float windspeed
}
InputsSchema --|> Schema : inherits
class TargetsSchema {
+UInt32 instant (Index)
+UInt32 cnt
}
TargetsSchema --|> Schema : inherits
class OutputsSchema {
+UInt32 instant (Index)
+UInt32 prediction
}
OutputsSchema --|> Schema : inherits
class FeatureImportancesSchema {
+str feature
+float importance
}
FeatureImportancesSchema --|> Schema : inherits
class SHAPValuesSchema {
+float base_values
+float values
}
SHAPValuesSchema --|> Schema : inherits
Encapsulates an incoming payload submitted via HTTP POST /predict or consumed from Kafka:
{
"input_data": {
"instant": [1],
"dteday": ["2011-01-01 00:00:00"],
"season": [1],
"yr": [0],
"mnth": [1],
"hr": [0],
"holiday": [0],
"weekday": [6],
"workingday": [0],
"weathersit": [1],
"temp": [0.24],
"atemp": [0.2879],
"hum": [0.81],
"windspeed": [0.0]
}
}Encapsulates the predicted target value returned to the client:
{
"result": {
"prediction": [16]
}
}The InferSigner generates a SHA-256 hash attesting to prediction inputs and outputs:
Signature: 8f9b3e1c2a4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f
Related: Security Architecture Β· Core Schemas Β· Master Index