CommonFields#
- pydantic model lstcam_calib.io.database.CommonFields#
Pydantic schema with fields common to all calibration files.
Show JSON schema
{ "title": "CommonFields", "description": "Pydantic schema with fields common to all calibration files.", "type": "object", "properties": { "product_id": { "title": "Product Id", "type": "string" }, "status": { "title": "Status", "type": "string" }, "usage_start": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "default": null, "title": "Usage Start" }, "usage_stop": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "default": null, "title": "Usage Stop" }, "processing_time": { "format": "date-time", "title": "Processing Time", "type": "string" }, "path": { "format": "path", "title": "Path", "type": "string" }, "provenance_path": { "format": "path", "title": "Provenance Path", "type": "string" }, "lstcam_calib_version": { "title": "Lstcam Calib Version", "type": "string" }, "last_modified": { "format": "date-time", "title": "Last Modified", "type": "string" } }, "required": [ "product_id", "status", "processing_time", "path", "provenance_path", "lstcam_calib_version", "last_modified" ] }
- Fields:
- field path: Annotated[Path, PlainSerializer(func=str, return_type=str, when_used=always)] [Required]#
Path of the calibration file in the data-tree
- Constraints:
func = <class ‘str’>
return_type = <class ‘str’>
when_used = always
- field provenance_path: Annotated[Path, PlainSerializer(func=str, return_type=str, when_used=always)] [Required]#
Path of the proveance file in the data-tree
- Constraints:
func = <class ‘str’>
return_type = <class ‘str’>
when_used = always