dgbowl_schemas.yadg.dataschema_4_0 package

pydantic model dgbowl_schemas.yadg.dataschema_4_0.DataSchema

Bases: BaseModel

Show JSON schema
{
   "title": "DataSchema",
   "type": "object",
   "properties": {
      "metadata": {
         "$ref": "#/$defs/Metadata"
      },
      "steps": {
         "items": {
            "discriminator": {
               "mapping": {
                  "basiccsv": "#/$defs/BasicCSV",
                  "chromtrace": "#/$defs/ChromTrace",
                  "dummy": "#/$defs/Dummy",
                  "electrochem": "#/$defs/ElectroChem",
                  "flowdata": "#/$defs/FlowData",
                  "masstrace": "#/$defs/MassTrace",
                  "meascsv": "#/$defs/MeasCSV",
                  "qftrace": "#/$defs/QFTrace",
                  "xpstrace": "#/$defs/XPSTrace"
               },
               "propertyName": "parser"
            },
            "oneOf": [
               {
                  "$ref": "#/$defs/Dummy"
               },
               {
                  "$ref": "#/$defs/BasicCSV"
               },
               {
                  "$ref": "#/$defs/MeasCSV"
               },
               {
                  "$ref": "#/$defs/FlowData"
               },
               {
                  "$ref": "#/$defs/ElectroChem"
               },
               {
                  "$ref": "#/$defs/ChromTrace"
               },
               {
                  "$ref": "#/$defs/MassTrace"
               },
               {
                  "$ref": "#/$defs/QFTrace"
               },
               {
                  "$ref": "#/$defs/XPSTrace"
               }
            ]
         },
         "title": "Steps",
         "type": "array"
      }
   },
   "$defs": {
      "BasicCSV": {
         "additionalProperties": false,
         "properties": {
            "parser": {
               "const": "basiccsv",
               "title": "Parser",
               "type": "string"
            },
            "import": {
               "$ref": "#/$defs/Input"
            },
            "parameters": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__step__BasicCSV__Params"
            },
            "tag": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Tag"
            },
            "externaldate": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDate"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "export": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Export"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "title": "BasicCSV",
         "type": "object"
      },
      "ChromTrace": {
         "additionalProperties": false,
         "properties": {
            "parser": {
               "const": "chromtrace",
               "title": "Parser",
               "type": "string"
            },
            "import": {
               "$ref": "#/$defs/Input"
            },
            "parameters": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__step__ChromTrace__Params"
            },
            "tag": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Tag"
            },
            "externaldate": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDate"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "export": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Export"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "title": "ChromTrace",
         "type": "object"
      },
      "Dummy": {
         "additionalProperties": false,
         "properties": {
            "parser": {
               "const": "dummy",
               "title": "Parser",
               "type": "string"
            },
            "import": {
               "$ref": "#/$defs/Input"
            },
            "parameters": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__step__Dummy__Params"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "tag": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Tag"
            },
            "externaldate": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDate"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "export": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Export"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "title": "Dummy",
         "type": "object"
      },
      "ECInput": {
         "additionalProperties": false,
         "properties": {
            "files": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Files"
            },
            "folders": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Folders"
            },
            "prefix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Prefix"
            },
            "suffix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Suffix"
            },
            "contains": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Contains"
            },
            "exclude": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Exclude"
            },
            "encoding": {
               "default": "windows-1252",
               "title": "Encoding",
               "type": "string"
            }
         },
         "title": "ECInput",
         "type": "object"
      },
      "ElectroChem": {
         "additionalProperties": false,
         "properties": {
            "parser": {
               "const": "electrochem",
               "title": "Parser",
               "type": "string"
            },
            "import": {
               "$ref": "#/$defs/ECInput"
            },
            "parameters": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__step__ElectroChem__Params"
            },
            "tag": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Tag"
            },
            "externaldate": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDate"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "export": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Export"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "title": "ElectroChem",
         "type": "object"
      },
      "ExternalDate": {
         "additionalProperties": false,
         "properties": {
            "from": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDateFile"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateUTSOffset"
                  }
               ],
               "title": "From"
            },
            "mode": {
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "title": "Mode",
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "title": "ExternalDate",
         "type": "object"
      },
      "ExternalDateFile": {
         "additionalProperties": false,
         "properties": {
            "file": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "title": "ExternalDateFile",
         "type": "object"
      },
      "ExternalDateFilename": {
         "additionalProperties": false,
         "properties": {
            "filename": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "title": "ExternalDateFilename",
         "type": "object"
      },
      "ExternalDateISOString": {
         "additionalProperties": false,
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "title": "ExternalDateISOString",
         "type": "object"
      },
      "ExternalDateUTSOffset": {
         "additionalProperties": false,
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "title": "ExternalDateUTSOffset",
         "type": "object"
      },
      "FlowData": {
         "additionalProperties": false,
         "properties": {
            "parser": {
               "const": "flowdata",
               "title": "Parser",
               "type": "string"
            },
            "import": {
               "$ref": "#/$defs/Input"
            },
            "parameters": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__step__FlowData__Params"
            },
            "tag": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Tag"
            },
            "externaldate": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDate"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "export": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Export"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "title": "FlowData",
         "type": "object"
      },
      "Input": {
         "additionalProperties": false,
         "properties": {
            "files": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Files"
            },
            "folders": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Folders"
            },
            "prefix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Prefix"
            },
            "suffix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Suffix"
            },
            "contains": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Contains"
            },
            "exclude": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Exclude"
            },
            "encoding": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": "UTF-8",
               "title": "Encoding"
            }
         },
         "title": "Input",
         "type": "object"
      },
      "MassTrace": {
         "additionalProperties": false,
         "properties": {
            "parser": {
               "const": "masstrace",
               "title": "Parser",
               "type": "string"
            },
            "import": {
               "$ref": "#/$defs/Input"
            },
            "parameters": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__step__MassTrace__Params"
            },
            "tag": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Tag"
            },
            "externaldate": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDate"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "export": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Export"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "title": "MassTrace",
         "type": "object"
      },
      "MeasCSV": {
         "additionalProperties": false,
         "properties": {
            "parser": {
               "const": "meascsv",
               "title": "Parser",
               "type": "string"
            },
            "import": {
               "$ref": "#/$defs/Input"
            },
            "parameters": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__step__MeasCSV__Params"
            },
            "tag": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Tag"
            },
            "externaldate": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDate"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "export": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Export"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "title": "MeasCSV",
         "type": "object"
      },
      "Metadata": {
         "additionalProperties": false,
         "properties": {
            "schema_version": {
               "enum": [
                  "4.0",
                  "4.0.0",
                  "4.0.1"
               ],
               "title": "Schema Version",
               "type": "string"
            },
            "provenance": {
               "title": "Provenance",
               "type": "string"
            },
            "timezone": {
               "default": "localtime",
               "title": "Timezone",
               "type": "string"
            }
         },
         "required": [
            "schema_version",
            "provenance"
         ],
         "title": "Metadata",
         "type": "object"
      },
      "QFTrace": {
         "additionalProperties": false,
         "properties": {
            "parser": {
               "const": "qftrace",
               "title": "Parser",
               "type": "string"
            },
            "import": {
               "$ref": "#/$defs/Input"
            },
            "parameters": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__step__QFTrace__Params"
            },
            "tag": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Tag"
            },
            "externaldate": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDate"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "export": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Export"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "title": "QFTrace",
         "type": "object"
      },
      "TimeDate": {
         "additionalProperties": false,
         "properties": {
            "date": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/TimestampSpec"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "time": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/TimestampSpec"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            }
         },
         "title": "TimeDate",
         "type": "object"
      },
      "Timestamp": {
         "additionalProperties": false,
         "properties": {
            "timestamp": {
               "$ref": "#/$defs/TimestampSpec"
            }
         },
         "required": [
            "timestamp"
         ],
         "title": "Timestamp",
         "type": "object"
      },
      "TimestampSpec": {
         "additionalProperties": false,
         "properties": {
            "index": {
               "anyOf": [
                  {
                     "type": "integer"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Index"
            },
            "format": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Format"
            }
         },
         "title": "TimestampSpec",
         "type": "object"
      },
      "Tol": {
         "additionalProperties": false,
         "properties": {
            "atol": {
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Atol"
            },
            "rtol": {
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Rtol"
            }
         },
         "title": "Tol",
         "type": "object"
      },
      "UTS": {
         "additionalProperties": false,
         "properties": {
            "uts": {
               "$ref": "#/$defs/TimestampSpec"
            }
         },
         "required": [
            "uts"
         ],
         "title": "UTS",
         "type": "object"
      },
      "XPSTrace": {
         "additionalProperties": false,
         "properties": {
            "parser": {
               "const": "xpstrace",
               "title": "Parser",
               "type": "string"
            },
            "import": {
               "$ref": "#/$defs/Input"
            },
            "parameters": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__step__XPSTrace__Params"
            },
            "tag": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Tag"
            },
            "externaldate": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDate"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "export": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Export"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "title": "XPSTrace",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "additionalProperties": false,
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "title": "Match"
            }
         },
         "required": [
            "path",
            "type",
            "match"
         ],
         "title": "Content",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "additionalProperties": false,
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "title": "Content",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__BasicCSV__Params": {
         "additionalProperties": false,
         "properties": {
            "sep": {
               "default": ",",
               "title": "Sep",
               "type": "string"
            },
            "sigma": {
               "anyOf": [
                  {
                     "additionalProperties": {
                        "$ref": "#/$defs/Tol"
                     },
                     "type": "object"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Sigma"
            },
            "calfile": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Calfile"
            },
            "timestamp": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/Timestamp"
                  },
                  {
                     "$ref": "#/$defs/TimeDate"
                  },
                  {
                     "$ref": "#/$defs/UTS"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Timestamp"
            },
            "convert": {
               "anyOf": [
                  {},
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Convert"
            },
            "units": {
               "anyOf": [
                  {
                     "additionalProperties": {
                        "type": "string"
                     },
                     "type": "object"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Units"
            }
         },
         "title": "Params",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__ChromTrace__Params": {
         "additionalProperties": false,
         "properties": {
            "tracetype": {
               "default": "ezchrom.asc",
               "enum": [
                  "ezchrom.asc",
                  "fusion.json",
                  "fusion.zip",
                  "agilent.ch",
                  "agilent.dx",
                  "agilent.csv"
               ],
               "title": "Tracetype",
               "type": "string"
            },
            "calfile": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Calfile"
            },
            "species": {
               "anyOf": [
                  {},
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Species"
            },
            "detectors": {
               "anyOf": [
                  {},
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Detectors"
            }
         },
         "title": "Params",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__Dummy__Params": {
         "additionalProperties": true,
         "properties": {},
         "title": "Params",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__ElectroChem__Params": {
         "additionalProperties": false,
         "properties": {
            "filetype": {
               "default": "eclab.mpr",
               "enum": [
                  "eclab.mpt",
                  "eclab.mpr"
               ],
               "title": "Filetype",
               "type": "string"
            }
         },
         "title": "Params",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__FlowData__Params": {
         "additionalProperties": false,
         "properties": {
            "filetype": {
               "default": "drycal",
               "enum": [
                  "drycal",
                  "drycal.csv",
                  "drycal.rtf",
                  "drycal.txt"
               ],
               "title": "Filetype",
               "type": "string"
            },
            "convert": {
               "anyOf": [
                  {},
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Convert"
            },
            "calfile": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Calfile"
            }
         },
         "title": "Params",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__MassTrace__Params": {
         "additionalProperties": false,
         "properties": {
            "tracetype": {
               "const": "quadstar.sac",
               "default": "quadstar.sac",
               "title": "Tracetype",
               "type": "string"
            }
         },
         "title": "Params",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__MeasCSV__Params": {
         "additionalProperties": false,
         "properties": {
            "timestamp": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/Timestamp"
                  },
                  {
                     "$ref": "#/$defs/TimeDate"
                  },
                  {
                     "$ref": "#/$defs/UTS"
                  }
               ],
               "default": {
                  "timestamp": {
                     "format": "%Y-%m-%d-%H-%M-%S",
                     "index": 0
                  }
               },
               "title": "Timestamp"
            },
            "calfile": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Calfile"
            },
            "convert": {
               "anyOf": [
                  {},
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Convert"
            }
         },
         "title": "Params",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__QFTrace__Params": {
         "additionalProperties": false,
         "properties": {
            "tracetype": {
               "const": "labview.csv",
               "default": "labview.csv",
               "title": "Tracetype",
               "type": "string"
            },
            "method": {
               "default": "kajfez",
               "enum": [
                  "naive",
                  "lorentz",
                  "kajfez"
               ],
               "title": "Method",
               "type": "string"
            },
            "height": {
               "default": 1.0,
               "title": "Height",
               "type": "number"
            },
            "distance": {
               "default": 5000.0,
               "title": "Distance",
               "type": "number"
            },
            "cutoff": {
               "default": 0.4,
               "title": "Cutoff",
               "type": "number"
            },
            "threshold": {
               "default": 1e-06,
               "title": "Threshold",
               "type": "number"
            }
         },
         "title": "Params",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__XPSTrace__Params": {
         "additionalProperties": false,
         "properties": {
            "tracetype": {
               "const": "phi.spe",
               "default": "phi.spe",
               "title": "Tracetype",
               "type": "string"
            }
         },
         "title": "Params",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "metadata",
      "steps"
   ]
}

Config:
  • extra: str = forbid

field metadata: Metadata [Required]
field steps: Sequence[Dummy | BasicCSV | MeasCSV | FlowData | ElectroChem | ChromTrace | MassTrace | QFTrace | XPSTrace] [Required]
update()

Submodules

dgbowl_schemas.yadg.dataschema_4_0.externaldate module

pydantic model dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDateFile

Bases: BaseModel

Show JSON schema
{
   "title": "ExternalDateFile",
   "type": "object",
   "properties": {
      "file": {
         "$ref": "#/$defs/Content"
      }
   },
   "$defs": {
      "Content": {
         "additionalProperties": false,
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "title": "Match"
            }
         },
         "required": [
            "path",
            "type",
            "match"
         ],
         "title": "Content",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "file"
   ]
}

Config:
  • extra: str = forbid

pydantic model Content

Bases: BaseModel

Show JSON schema
{
   "title": "Content",
   "type": "object",
   "properties": {
      "path": {
         "title": "Path",
         "type": "string"
      },
      "type": {
         "title": "Type",
         "type": "string"
      },
      "match": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "title": "Match"
      }
   },
   "additionalProperties": false,
   "required": [
      "path",
      "type",
      "match"
   ]
}

Config:
  • extra: str = forbid

field path: str [Required]
field type: str [Required]
field match: str | None [Required]
field file: Content [Required]
pydantic model dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDateFilename

Bases: BaseModel

Show JSON schema
{
   "title": "ExternalDateFilename",
   "type": "object",
   "properties": {
      "filename": {
         "$ref": "#/$defs/Content"
      }
   },
   "$defs": {
      "Content": {
         "additionalProperties": false,
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "title": "Content",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "filename"
   ]
}

Config:
  • extra: str = forbid

pydantic model Content

Bases: BaseModel

Show JSON schema
{
   "title": "Content",
   "type": "object",
   "properties": {
      "format": {
         "title": "Format",
         "type": "string"
      },
      "len": {
         "title": "Len",
         "type": "integer"
      }
   },
   "additionalProperties": false,
   "required": [
      "format",
      "len"
   ]
}

Config:
  • extra: str = forbid

field format: str [Required]
field len: int [Required]
field filename: Content [Required]
pydantic model dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDateISOString

Bases: BaseModel

Show JSON schema
{
   "title": "ExternalDateISOString",
   "type": "object",
   "properties": {
      "isostring": {
         "title": "Isostring",
         "type": "string"
      }
   },
   "additionalProperties": false,
   "required": [
      "isostring"
   ]
}

Config:
  • extra: str = forbid

field isostring: str [Required]
pydantic model dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDateUTSOffset

Bases: BaseModel

Show JSON schema
{
   "title": "ExternalDateUTSOffset",
   "type": "object",
   "properties": {
      "utsoffset": {
         "title": "Utsoffset",
         "type": "number"
      }
   },
   "additionalProperties": false,
   "required": [
      "utsoffset"
   ]
}

Config:
  • extra: str = forbid

field utsoffset: float [Required]
pydantic model dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDate

Bases: BaseModel

Show JSON schema
{
   "title": "ExternalDate",
   "type": "object",
   "properties": {
      "from": {
         "anyOf": [
            {
               "$ref": "#/$defs/ExternalDateFile"
            },
            {
               "$ref": "#/$defs/ExternalDateFilename"
            },
            {
               "$ref": "#/$defs/ExternalDateISOString"
            },
            {
               "$ref": "#/$defs/ExternalDateUTSOffset"
            }
         ],
         "title": "From"
      },
      "mode": {
         "default": "add",
         "enum": [
            "add",
            "replace"
         ],
         "title": "Mode",
         "type": "string"
      }
   },
   "$defs": {
      "ExternalDateFile": {
         "additionalProperties": false,
         "properties": {
            "file": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "title": "ExternalDateFile",
         "type": "object"
      },
      "ExternalDateFilename": {
         "additionalProperties": false,
         "properties": {
            "filename": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "title": "ExternalDateFilename",
         "type": "object"
      },
      "ExternalDateISOString": {
         "additionalProperties": false,
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "title": "ExternalDateISOString",
         "type": "object"
      },
      "ExternalDateUTSOffset": {
         "additionalProperties": false,
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "title": "ExternalDateUTSOffset",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "additionalProperties": false,
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "title": "Match"
            }
         },
         "required": [
            "path",
            "type",
            "match"
         ],
         "title": "Content",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "additionalProperties": false,
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "title": "Content",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "from"
   ]
}

Config:
  • extra: str = forbid

  • populate_by_name: bool = True

  • validate_by_alias: bool = True

  • validate_by_name: bool = True

field using: ExternalDateFile | ExternalDateFilename | ExternalDateISOString | ExternalDateUTSOffset [Required] (alias 'from')
field mode: Literal['add', 'replace'] = 'add'

dgbowl_schemas.yadg.dataschema_4_0.input module

pydantic model dgbowl_schemas.yadg.dataschema_4_0.input.Input

Bases: BaseModel

Show JSON schema
{
   "title": "Input",
   "type": "object",
   "properties": {
      "files": {
         "anyOf": [
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Files"
      },
      "folders": {
         "anyOf": [
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Folders"
      },
      "prefix": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Prefix"
      },
      "suffix": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Suffix"
      },
      "contains": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Contains"
      },
      "exclude": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Exclude"
      },
      "encoding": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": "UTF-8",
         "title": "Encoding"
      }
   },
   "additionalProperties": false
}

Config:
  • extra: str = forbid

Validators:
field files: Sequence[str] | None = None
Validated by:
field folders: Sequence[str] | None = None
Validated by:
field prefix: str | None = None
Validated by:
field suffix: str | None = None
Validated by:
field contains: str | None = None
Validated by:
field exclude: str | None = None
Validated by:
field encoding: str | None = 'UTF-8'
Validated by:
validator files_or_folders  »  all fields
paths() List[str]

dgbowl_schemas.yadg.dataschema_4_0.metadata module

pydantic model dgbowl_schemas.yadg.dataschema_4_0.metadata.Metadata

Bases: BaseModel

Show JSON schema
{
   "title": "Metadata",
   "type": "object",
   "properties": {
      "schema_version": {
         "enum": [
            "4.0",
            "4.0.0",
            "4.0.1"
         ],
         "title": "Schema Version",
         "type": "string"
      },
      "provenance": {
         "title": "Provenance",
         "type": "string"
      },
      "timezone": {
         "default": "localtime",
         "title": "Timezone",
         "type": "string"
      }
   },
   "additionalProperties": false,
   "required": [
      "schema_version",
      "provenance"
   ]
}

Config:
  • extra: str = forbid

  • populate_by_name: bool = True

  • validate_by_alias: bool = True

  • validate_by_name: bool = True

field version: Literal['4.0', '4.0.0', '4.0.1'] [Required] (alias 'schema_version')
field provenance: str [Required]
field timezone: str = 'localtime'

dgbowl_schemas.yadg.dataschema_4_0.parameters module

pydantic model dgbowl_schemas.yadg.dataschema_4_0.parameters.Tol

Bases: BaseModel

Show JSON schema
{
   "title": "Tol",
   "type": "object",
   "properties": {
      "atol": {
         "anyOf": [
            {
               "type": "number"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Atol"
      },
      "rtol": {
         "anyOf": [
            {
               "type": "number"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Rtol"
      }
   },
   "additionalProperties": false
}

Config:
  • extra: str = forbid

field atol: float | None = None
field rtol: float | None = None

dgbowl_schemas.yadg.dataschema_4_0.step module

pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.Dummy

Bases: BaseModel

Show JSON schema
{
   "title": "Dummy",
   "type": "object",
   "properties": {
      "parser": {
         "const": "dummy",
         "title": "Parser",
         "type": "string"
      },
      "import": {
         "$ref": "#/$defs/Input"
      },
      "parameters": {
         "anyOf": [
            {
               "$ref": "#/$defs/Params"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "tag": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Tag"
      },
      "externaldate": {
         "anyOf": [
            {
               "$ref": "#/$defs/ExternalDate"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "export": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Export"
      }
   },
   "$defs": {
      "ExternalDate": {
         "additionalProperties": false,
         "properties": {
            "from": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDateFile"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateUTSOffset"
                  }
               ],
               "title": "From"
            },
            "mode": {
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "title": "Mode",
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "title": "ExternalDate",
         "type": "object"
      },
      "ExternalDateFile": {
         "additionalProperties": false,
         "properties": {
            "file": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "title": "ExternalDateFile",
         "type": "object"
      },
      "ExternalDateFilename": {
         "additionalProperties": false,
         "properties": {
            "filename": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "title": "ExternalDateFilename",
         "type": "object"
      },
      "ExternalDateISOString": {
         "additionalProperties": false,
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "title": "ExternalDateISOString",
         "type": "object"
      },
      "ExternalDateUTSOffset": {
         "additionalProperties": false,
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "title": "ExternalDateUTSOffset",
         "type": "object"
      },
      "Input": {
         "additionalProperties": false,
         "properties": {
            "files": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Files"
            },
            "folders": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Folders"
            },
            "prefix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Prefix"
            },
            "suffix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Suffix"
            },
            "contains": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Contains"
            },
            "exclude": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Exclude"
            },
            "encoding": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": "UTF-8",
               "title": "Encoding"
            }
         },
         "title": "Input",
         "type": "object"
      },
      "Params": {
         "additionalProperties": true,
         "properties": {},
         "title": "Params",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "additionalProperties": false,
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "title": "Match"
            }
         },
         "required": [
            "path",
            "type",
            "match"
         ],
         "title": "Content",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "additionalProperties": false,
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "title": "Content",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "parser",
      "import"
   ]
}

Config:
  • extra: str = forbid

  • populate_by_name: bool = True

  • validate_by_alias: bool = True

  • validate_by_name: bool = True

pydantic model Params

Bases: BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {},
   "additionalProperties": true
}

Config:
  • extra: str = allow

field parser: Literal['dummy'] [Required]
field input: Input [Required] (alias 'import')
field parameters: Params | None = None
field tag: str | None = None
field externaldate: ExternalDate | None = None
field export: str | None = None
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.BasicCSV

Bases: BaseModel

Show JSON schema
{
   "title": "BasicCSV",
   "type": "object",
   "properties": {
      "parser": {
         "const": "basiccsv",
         "title": "Parser",
         "type": "string"
      },
      "import": {
         "$ref": "#/$defs/Input"
      },
      "parameters": {
         "$ref": "#/$defs/Params"
      },
      "tag": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Tag"
      },
      "externaldate": {
         "anyOf": [
            {
               "$ref": "#/$defs/ExternalDate"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "export": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Export"
      }
   },
   "$defs": {
      "ExternalDate": {
         "additionalProperties": false,
         "properties": {
            "from": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDateFile"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateUTSOffset"
                  }
               ],
               "title": "From"
            },
            "mode": {
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "title": "Mode",
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "title": "ExternalDate",
         "type": "object"
      },
      "ExternalDateFile": {
         "additionalProperties": false,
         "properties": {
            "file": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "title": "ExternalDateFile",
         "type": "object"
      },
      "ExternalDateFilename": {
         "additionalProperties": false,
         "properties": {
            "filename": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "title": "ExternalDateFilename",
         "type": "object"
      },
      "ExternalDateISOString": {
         "additionalProperties": false,
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "title": "ExternalDateISOString",
         "type": "object"
      },
      "ExternalDateUTSOffset": {
         "additionalProperties": false,
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "title": "ExternalDateUTSOffset",
         "type": "object"
      },
      "Input": {
         "additionalProperties": false,
         "properties": {
            "files": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Files"
            },
            "folders": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Folders"
            },
            "prefix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Prefix"
            },
            "suffix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Suffix"
            },
            "contains": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Contains"
            },
            "exclude": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Exclude"
            },
            "encoding": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": "UTF-8",
               "title": "Encoding"
            }
         },
         "title": "Input",
         "type": "object"
      },
      "Params": {
         "additionalProperties": false,
         "properties": {
            "sep": {
               "default": ",",
               "title": "Sep",
               "type": "string"
            },
            "sigma": {
               "anyOf": [
                  {
                     "additionalProperties": {
                        "$ref": "#/$defs/Tol"
                     },
                     "type": "object"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Sigma"
            },
            "calfile": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Calfile"
            },
            "timestamp": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/Timestamp"
                  },
                  {
                     "$ref": "#/$defs/TimeDate"
                  },
                  {
                     "$ref": "#/$defs/UTS"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Timestamp"
            },
            "convert": {
               "anyOf": [
                  {},
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Convert"
            },
            "units": {
               "anyOf": [
                  {
                     "additionalProperties": {
                        "type": "string"
                     },
                     "type": "object"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Units"
            }
         },
         "title": "Params",
         "type": "object"
      },
      "TimeDate": {
         "additionalProperties": false,
         "properties": {
            "date": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/TimestampSpec"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "time": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/TimestampSpec"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            }
         },
         "title": "TimeDate",
         "type": "object"
      },
      "Timestamp": {
         "additionalProperties": false,
         "properties": {
            "timestamp": {
               "$ref": "#/$defs/TimestampSpec"
            }
         },
         "required": [
            "timestamp"
         ],
         "title": "Timestamp",
         "type": "object"
      },
      "TimestampSpec": {
         "additionalProperties": false,
         "properties": {
            "index": {
               "anyOf": [
                  {
                     "type": "integer"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Index"
            },
            "format": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Format"
            }
         },
         "title": "TimestampSpec",
         "type": "object"
      },
      "Tol": {
         "additionalProperties": false,
         "properties": {
            "atol": {
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Atol"
            },
            "rtol": {
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Rtol"
            }
         },
         "title": "Tol",
         "type": "object"
      },
      "UTS": {
         "additionalProperties": false,
         "properties": {
            "uts": {
               "$ref": "#/$defs/TimestampSpec"
            }
         },
         "required": [
            "uts"
         ],
         "title": "UTS",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "additionalProperties": false,
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "title": "Match"
            }
         },
         "required": [
            "path",
            "type",
            "match"
         ],
         "title": "Content",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "additionalProperties": false,
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "title": "Content",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "parser",
      "import"
   ]
}

Config:
  • extra: str = forbid

  • populate_by_name: bool = True

  • validate_by_alias: bool = True

  • validate_by_name: bool = True

pydantic model Params

Bases: BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {
      "sep": {
         "default": ",",
         "title": "Sep",
         "type": "string"
      },
      "sigma": {
         "anyOf": [
            {
               "additionalProperties": {
                  "$ref": "#/$defs/Tol"
               },
               "type": "object"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Sigma"
      },
      "calfile": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Calfile"
      },
      "timestamp": {
         "anyOf": [
            {
               "$ref": "#/$defs/Timestamp"
            },
            {
               "$ref": "#/$defs/TimeDate"
            },
            {
               "$ref": "#/$defs/UTS"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Timestamp"
      },
      "convert": {
         "anyOf": [
            {},
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Convert"
      },
      "units": {
         "anyOf": [
            {
               "additionalProperties": {
                  "type": "string"
               },
               "type": "object"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Units"
      }
   },
   "$defs": {
      "TimeDate": {
         "additionalProperties": false,
         "properties": {
            "date": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/TimestampSpec"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "time": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/TimestampSpec"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            }
         },
         "title": "TimeDate",
         "type": "object"
      },
      "Timestamp": {
         "additionalProperties": false,
         "properties": {
            "timestamp": {
               "$ref": "#/$defs/TimestampSpec"
            }
         },
         "required": [
            "timestamp"
         ],
         "title": "Timestamp",
         "type": "object"
      },
      "TimestampSpec": {
         "additionalProperties": false,
         "properties": {
            "index": {
               "anyOf": [
                  {
                     "type": "integer"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Index"
            },
            "format": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Format"
            }
         },
         "title": "TimestampSpec",
         "type": "object"
      },
      "Tol": {
         "additionalProperties": false,
         "properties": {
            "atol": {
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Atol"
            },
            "rtol": {
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Rtol"
            }
         },
         "title": "Tol",
         "type": "object"
      },
      "UTS": {
         "additionalProperties": false,
         "properties": {
            "uts": {
               "$ref": "#/$defs/TimestampSpec"
            }
         },
         "required": [
            "uts"
         ],
         "title": "UTS",
         "type": "object"
      }
   },
   "additionalProperties": false
}

Config:
  • extra: str = forbid

field sep: str = ','
field sigma: Mapping[str, Tol] | None = None
field calfile: str | None = None
field timestamp: Timestamp | TimeDate | UTS | None = None
field convert: Any | None = None
field units: Mapping[str, str] | None = None
field parser: Literal['basiccsv'] [Required]
field input: Input [Required] (alias 'import')
field parameters: Params [Optional]
field tag: str | None = None
field externaldate: ExternalDate | None = None
field export: str | None = None
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.MeasCSV

Bases: BaseModel

Show JSON schema
{
   "title": "MeasCSV",
   "type": "object",
   "properties": {
      "parser": {
         "const": "meascsv",
         "title": "Parser",
         "type": "string"
      },
      "import": {
         "$ref": "#/$defs/Input"
      },
      "parameters": {
         "$ref": "#/$defs/Params"
      },
      "tag": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Tag"
      },
      "externaldate": {
         "anyOf": [
            {
               "$ref": "#/$defs/ExternalDate"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "export": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Export"
      }
   },
   "$defs": {
      "ExternalDate": {
         "additionalProperties": false,
         "properties": {
            "from": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDateFile"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateUTSOffset"
                  }
               ],
               "title": "From"
            },
            "mode": {
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "title": "Mode",
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "title": "ExternalDate",
         "type": "object"
      },
      "ExternalDateFile": {
         "additionalProperties": false,
         "properties": {
            "file": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "title": "ExternalDateFile",
         "type": "object"
      },
      "ExternalDateFilename": {
         "additionalProperties": false,
         "properties": {
            "filename": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "title": "ExternalDateFilename",
         "type": "object"
      },
      "ExternalDateISOString": {
         "additionalProperties": false,
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "title": "ExternalDateISOString",
         "type": "object"
      },
      "ExternalDateUTSOffset": {
         "additionalProperties": false,
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "title": "ExternalDateUTSOffset",
         "type": "object"
      },
      "Input": {
         "additionalProperties": false,
         "properties": {
            "files": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Files"
            },
            "folders": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Folders"
            },
            "prefix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Prefix"
            },
            "suffix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Suffix"
            },
            "contains": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Contains"
            },
            "exclude": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Exclude"
            },
            "encoding": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": "UTF-8",
               "title": "Encoding"
            }
         },
         "title": "Input",
         "type": "object"
      },
      "Params": {
         "additionalProperties": false,
         "properties": {
            "timestamp": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/Timestamp"
                  },
                  {
                     "$ref": "#/$defs/TimeDate"
                  },
                  {
                     "$ref": "#/$defs/UTS"
                  }
               ],
               "default": {
                  "timestamp": {
                     "format": "%Y-%m-%d-%H-%M-%S",
                     "index": 0
                  }
               },
               "title": "Timestamp"
            },
            "calfile": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Calfile"
            },
            "convert": {
               "anyOf": [
                  {},
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Convert"
            }
         },
         "title": "Params",
         "type": "object"
      },
      "TimeDate": {
         "additionalProperties": false,
         "properties": {
            "date": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/TimestampSpec"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "time": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/TimestampSpec"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            }
         },
         "title": "TimeDate",
         "type": "object"
      },
      "Timestamp": {
         "additionalProperties": false,
         "properties": {
            "timestamp": {
               "$ref": "#/$defs/TimestampSpec"
            }
         },
         "required": [
            "timestamp"
         ],
         "title": "Timestamp",
         "type": "object"
      },
      "TimestampSpec": {
         "additionalProperties": false,
         "properties": {
            "index": {
               "anyOf": [
                  {
                     "type": "integer"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Index"
            },
            "format": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Format"
            }
         },
         "title": "TimestampSpec",
         "type": "object"
      },
      "UTS": {
         "additionalProperties": false,
         "properties": {
            "uts": {
               "$ref": "#/$defs/TimestampSpec"
            }
         },
         "required": [
            "uts"
         ],
         "title": "UTS",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "additionalProperties": false,
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "title": "Match"
            }
         },
         "required": [
            "path",
            "type",
            "match"
         ],
         "title": "Content",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "additionalProperties": false,
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "title": "Content",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "parser",
      "import"
   ]
}

Config:
  • extra: str = forbid

  • populate_by_name: bool = True

  • validate_by_alias: bool = True

  • validate_by_name: bool = True

pydantic model Params

Bases: BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {
      "timestamp": {
         "anyOf": [
            {
               "$ref": "#/$defs/Timestamp"
            },
            {
               "$ref": "#/$defs/TimeDate"
            },
            {
               "$ref": "#/$defs/UTS"
            }
         ],
         "default": {
            "timestamp": {
               "format": "%Y-%m-%d-%H-%M-%S",
               "index": 0
            }
         },
         "title": "Timestamp"
      },
      "calfile": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Calfile"
      },
      "convert": {
         "anyOf": [
            {},
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Convert"
      }
   },
   "$defs": {
      "TimeDate": {
         "additionalProperties": false,
         "properties": {
            "date": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/TimestampSpec"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "time": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/TimestampSpec"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            }
         },
         "title": "TimeDate",
         "type": "object"
      },
      "Timestamp": {
         "additionalProperties": false,
         "properties": {
            "timestamp": {
               "$ref": "#/$defs/TimestampSpec"
            }
         },
         "required": [
            "timestamp"
         ],
         "title": "Timestamp",
         "type": "object"
      },
      "TimestampSpec": {
         "additionalProperties": false,
         "properties": {
            "index": {
               "anyOf": [
                  {
                     "type": "integer"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Index"
            },
            "format": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Format"
            }
         },
         "title": "TimestampSpec",
         "type": "object"
      },
      "UTS": {
         "additionalProperties": false,
         "properties": {
            "uts": {
               "$ref": "#/$defs/TimestampSpec"
            }
         },
         "required": [
            "uts"
         ],
         "title": "UTS",
         "type": "object"
      }
   },
   "additionalProperties": false
}

Config:
  • extra: str = forbid

field timestamp: Timestamp | TimeDate | UTS = Timestamp(timestamp=TimestampSpec(index=0, format='%Y-%m-%d-%H-%M-%S'))
field calfile: str | None = None
field convert: Any | None = None
field parser: Literal['meascsv'] [Required]
field input: Input [Required] (alias 'import')
field parameters: Params [Optional]
field tag: str | None = None
field externaldate: ExternalDate | None = None
field export: str | None = None
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.FlowData

Bases: BaseModel

Show JSON schema
{
   "title": "FlowData",
   "type": "object",
   "properties": {
      "parser": {
         "const": "flowdata",
         "title": "Parser",
         "type": "string"
      },
      "import": {
         "$ref": "#/$defs/Input"
      },
      "parameters": {
         "$ref": "#/$defs/Params"
      },
      "tag": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Tag"
      },
      "externaldate": {
         "anyOf": [
            {
               "$ref": "#/$defs/ExternalDate"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "export": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Export"
      }
   },
   "$defs": {
      "ExternalDate": {
         "additionalProperties": false,
         "properties": {
            "from": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDateFile"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateUTSOffset"
                  }
               ],
               "title": "From"
            },
            "mode": {
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "title": "Mode",
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "title": "ExternalDate",
         "type": "object"
      },
      "ExternalDateFile": {
         "additionalProperties": false,
         "properties": {
            "file": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "title": "ExternalDateFile",
         "type": "object"
      },
      "ExternalDateFilename": {
         "additionalProperties": false,
         "properties": {
            "filename": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "title": "ExternalDateFilename",
         "type": "object"
      },
      "ExternalDateISOString": {
         "additionalProperties": false,
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "title": "ExternalDateISOString",
         "type": "object"
      },
      "ExternalDateUTSOffset": {
         "additionalProperties": false,
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "title": "ExternalDateUTSOffset",
         "type": "object"
      },
      "Input": {
         "additionalProperties": false,
         "properties": {
            "files": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Files"
            },
            "folders": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Folders"
            },
            "prefix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Prefix"
            },
            "suffix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Suffix"
            },
            "contains": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Contains"
            },
            "exclude": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Exclude"
            },
            "encoding": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": "UTF-8",
               "title": "Encoding"
            }
         },
         "title": "Input",
         "type": "object"
      },
      "Params": {
         "additionalProperties": false,
         "properties": {
            "filetype": {
               "default": "drycal",
               "enum": [
                  "drycal",
                  "drycal.csv",
                  "drycal.rtf",
                  "drycal.txt"
               ],
               "title": "Filetype",
               "type": "string"
            },
            "convert": {
               "anyOf": [
                  {},
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Convert"
            },
            "calfile": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Calfile"
            }
         },
         "title": "Params",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "additionalProperties": false,
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "title": "Match"
            }
         },
         "required": [
            "path",
            "type",
            "match"
         ],
         "title": "Content",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "additionalProperties": false,
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "title": "Content",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "parser",
      "import"
   ]
}

Config:
  • extra: str = forbid

  • populate_by_name: bool = True

  • validate_by_alias: bool = True

  • validate_by_name: bool = True

pydantic model Params

Bases: BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {
      "filetype": {
         "default": "drycal",
         "enum": [
            "drycal",
            "drycal.csv",
            "drycal.rtf",
            "drycal.txt"
         ],
         "title": "Filetype",
         "type": "string"
      },
      "convert": {
         "anyOf": [
            {},
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Convert"
      },
      "calfile": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Calfile"
      }
   },
   "additionalProperties": false
}

Config:
  • extra: str = forbid

field filetype: Literal['drycal', 'drycal.csv', 'drycal.rtf', 'drycal.txt'] = 'drycal'
field convert: Any | None = None
field calfile: str | None = None
field parser: Literal['flowdata'] [Required]
field input: Input [Required] (alias 'import')
field parameters: Params [Optional]
field tag: str | None = None
field externaldate: ExternalDate | None = None
field export: str | None = None
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.ElectroChem

Bases: BaseModel

Show JSON schema
{
   "title": "ElectroChem",
   "type": "object",
   "properties": {
      "parser": {
         "const": "electrochem",
         "title": "Parser",
         "type": "string"
      },
      "import": {
         "$ref": "#/$defs/ECInput"
      },
      "parameters": {
         "$ref": "#/$defs/Params"
      },
      "tag": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Tag"
      },
      "externaldate": {
         "anyOf": [
            {
               "$ref": "#/$defs/ExternalDate"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "export": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Export"
      }
   },
   "$defs": {
      "ECInput": {
         "additionalProperties": false,
         "properties": {
            "files": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Files"
            },
            "folders": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Folders"
            },
            "prefix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Prefix"
            },
            "suffix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Suffix"
            },
            "contains": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Contains"
            },
            "exclude": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Exclude"
            },
            "encoding": {
               "default": "windows-1252",
               "title": "Encoding",
               "type": "string"
            }
         },
         "title": "ECInput",
         "type": "object"
      },
      "ExternalDate": {
         "additionalProperties": false,
         "properties": {
            "from": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDateFile"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateUTSOffset"
                  }
               ],
               "title": "From"
            },
            "mode": {
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "title": "Mode",
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "title": "ExternalDate",
         "type": "object"
      },
      "ExternalDateFile": {
         "additionalProperties": false,
         "properties": {
            "file": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "title": "ExternalDateFile",
         "type": "object"
      },
      "ExternalDateFilename": {
         "additionalProperties": false,
         "properties": {
            "filename": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "title": "ExternalDateFilename",
         "type": "object"
      },
      "ExternalDateISOString": {
         "additionalProperties": false,
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "title": "ExternalDateISOString",
         "type": "object"
      },
      "ExternalDateUTSOffset": {
         "additionalProperties": false,
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "title": "ExternalDateUTSOffset",
         "type": "object"
      },
      "Params": {
         "additionalProperties": false,
         "properties": {
            "filetype": {
               "default": "eclab.mpr",
               "enum": [
                  "eclab.mpt",
                  "eclab.mpr"
               ],
               "title": "Filetype",
               "type": "string"
            }
         },
         "title": "Params",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "additionalProperties": false,
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "title": "Match"
            }
         },
         "required": [
            "path",
            "type",
            "match"
         ],
         "title": "Content",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "additionalProperties": false,
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "title": "Content",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "parser",
      "import"
   ]
}

Config:
  • extra: str = forbid

  • populate_by_name: bool = True

  • validate_by_alias: bool = True

  • validate_by_name: bool = True

pydantic model Params

Bases: BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {
      "filetype": {
         "default": "eclab.mpr",
         "enum": [
            "eclab.mpt",
            "eclab.mpr"
         ],
         "title": "Filetype",
         "type": "string"
      }
   },
   "additionalProperties": false
}

Config:
  • extra: str = forbid

field filetype: Literal['eclab.mpt', 'eclab.mpr'] = 'eclab.mpr'
pydantic model ECInput

Bases: Input

Show JSON schema
{
   "title": "ECInput",
   "type": "object",
   "properties": {
      "files": {
         "anyOf": [
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Files"
      },
      "folders": {
         "anyOf": [
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Folders"
      },
      "prefix": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Prefix"
      },
      "suffix": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Suffix"
      },
      "contains": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Contains"
      },
      "exclude": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Exclude"
      },
      "encoding": {
         "default": "windows-1252",
         "title": "Encoding",
         "type": "string"
      }
   },
   "additionalProperties": false
}

Config:
  • extra: str = forbid

Validators:

field encoding: str = 'windows-1252'
Validated by:
field parser: Literal['electrochem'] [Required]
field input: ECInput [Required] (alias 'import')
field parameters: Params [Optional]
field tag: str | None = None
field externaldate: ExternalDate | None = None
field export: str | None = None
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.ChromTrace

Bases: BaseModel

Show JSON schema
{
   "title": "ChromTrace",
   "type": "object",
   "properties": {
      "parser": {
         "const": "chromtrace",
         "title": "Parser",
         "type": "string"
      },
      "import": {
         "$ref": "#/$defs/Input"
      },
      "parameters": {
         "$ref": "#/$defs/Params"
      },
      "tag": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Tag"
      },
      "externaldate": {
         "anyOf": [
            {
               "$ref": "#/$defs/ExternalDate"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "export": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Export"
      }
   },
   "$defs": {
      "ExternalDate": {
         "additionalProperties": false,
         "properties": {
            "from": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDateFile"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateUTSOffset"
                  }
               ],
               "title": "From"
            },
            "mode": {
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "title": "Mode",
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "title": "ExternalDate",
         "type": "object"
      },
      "ExternalDateFile": {
         "additionalProperties": false,
         "properties": {
            "file": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "title": "ExternalDateFile",
         "type": "object"
      },
      "ExternalDateFilename": {
         "additionalProperties": false,
         "properties": {
            "filename": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "title": "ExternalDateFilename",
         "type": "object"
      },
      "ExternalDateISOString": {
         "additionalProperties": false,
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "title": "ExternalDateISOString",
         "type": "object"
      },
      "ExternalDateUTSOffset": {
         "additionalProperties": false,
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "title": "ExternalDateUTSOffset",
         "type": "object"
      },
      "Input": {
         "additionalProperties": false,
         "properties": {
            "files": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Files"
            },
            "folders": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Folders"
            },
            "prefix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Prefix"
            },
            "suffix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Suffix"
            },
            "contains": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Contains"
            },
            "exclude": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Exclude"
            },
            "encoding": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": "UTF-8",
               "title": "Encoding"
            }
         },
         "title": "Input",
         "type": "object"
      },
      "Params": {
         "additionalProperties": false,
         "properties": {
            "tracetype": {
               "default": "ezchrom.asc",
               "enum": [
                  "ezchrom.asc",
                  "fusion.json",
                  "fusion.zip",
                  "agilent.ch",
                  "agilent.dx",
                  "agilent.csv"
               ],
               "title": "Tracetype",
               "type": "string"
            },
            "calfile": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Calfile"
            },
            "species": {
               "anyOf": [
                  {},
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Species"
            },
            "detectors": {
               "anyOf": [
                  {},
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Detectors"
            }
         },
         "title": "Params",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "additionalProperties": false,
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "title": "Match"
            }
         },
         "required": [
            "path",
            "type",
            "match"
         ],
         "title": "Content",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "additionalProperties": false,
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "title": "Content",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "parser",
      "import"
   ]
}

Config:
  • extra: str = forbid

  • populate_by_name: bool = True

  • validate_by_alias: bool = True

  • validate_by_name: bool = True

pydantic model Params

Bases: BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {
      "tracetype": {
         "default": "ezchrom.asc",
         "enum": [
            "ezchrom.asc",
            "fusion.json",
            "fusion.zip",
            "agilent.ch",
            "agilent.dx",
            "agilent.csv"
         ],
         "title": "Tracetype",
         "type": "string"
      },
      "calfile": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Calfile"
      },
      "species": {
         "anyOf": [
            {},
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Species"
      },
      "detectors": {
         "anyOf": [
            {},
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Detectors"
      }
   },
   "additionalProperties": false
}

Config:
  • extra: str = forbid

field filetype: Literal['ezchrom.asc', 'fusion.json', 'fusion.zip', 'agilent.ch', 'agilent.dx', 'agilent.csv'] = 'ezchrom.asc' (alias 'tracetype')
field calfile: str | None = None
field species: Any | None = None
field detectors: Any | None = None
field parser: Literal['chromtrace'] [Required]
field input: Input [Required] (alias 'import')
field parameters: Params [Optional]
field tag: str | None = None
field externaldate: ExternalDate | None = None
field export: str | None = None
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.MassTrace

Bases: BaseModel

Show JSON schema
{
   "title": "MassTrace",
   "type": "object",
   "properties": {
      "parser": {
         "const": "masstrace",
         "title": "Parser",
         "type": "string"
      },
      "import": {
         "$ref": "#/$defs/Input"
      },
      "parameters": {
         "$ref": "#/$defs/Params"
      },
      "tag": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Tag"
      },
      "externaldate": {
         "anyOf": [
            {
               "$ref": "#/$defs/ExternalDate"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "export": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Export"
      }
   },
   "$defs": {
      "ExternalDate": {
         "additionalProperties": false,
         "properties": {
            "from": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDateFile"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateUTSOffset"
                  }
               ],
               "title": "From"
            },
            "mode": {
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "title": "Mode",
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "title": "ExternalDate",
         "type": "object"
      },
      "ExternalDateFile": {
         "additionalProperties": false,
         "properties": {
            "file": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "title": "ExternalDateFile",
         "type": "object"
      },
      "ExternalDateFilename": {
         "additionalProperties": false,
         "properties": {
            "filename": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "title": "ExternalDateFilename",
         "type": "object"
      },
      "ExternalDateISOString": {
         "additionalProperties": false,
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "title": "ExternalDateISOString",
         "type": "object"
      },
      "ExternalDateUTSOffset": {
         "additionalProperties": false,
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "title": "ExternalDateUTSOffset",
         "type": "object"
      },
      "Input": {
         "additionalProperties": false,
         "properties": {
            "files": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Files"
            },
            "folders": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Folders"
            },
            "prefix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Prefix"
            },
            "suffix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Suffix"
            },
            "contains": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Contains"
            },
            "exclude": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Exclude"
            },
            "encoding": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": "UTF-8",
               "title": "Encoding"
            }
         },
         "title": "Input",
         "type": "object"
      },
      "Params": {
         "additionalProperties": false,
         "properties": {
            "tracetype": {
               "const": "quadstar.sac",
               "default": "quadstar.sac",
               "title": "Tracetype",
               "type": "string"
            }
         },
         "title": "Params",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "additionalProperties": false,
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "title": "Match"
            }
         },
         "required": [
            "path",
            "type",
            "match"
         ],
         "title": "Content",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "additionalProperties": false,
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "title": "Content",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "parser",
      "import"
   ]
}

Config:
  • extra: str = forbid

  • populate_by_name: bool = True

  • validate_by_alias: bool = True

  • validate_by_name: bool = True

pydantic model Params

Bases: BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {
      "tracetype": {
         "const": "quadstar.sac",
         "default": "quadstar.sac",
         "title": "Tracetype",
         "type": "string"
      }
   },
   "additionalProperties": false
}

Config:
  • extra: str = forbid

field filetype: Literal['quadstar.sac'] = 'quadstar.sac' (alias 'tracetype')
field parser: Literal['masstrace'] [Required]
field input: Input [Required] (alias 'import')
field parameters: Params [Optional]
field tag: str | None = None
field externaldate: ExternalDate | None = None
field export: str | None = None
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.QFTrace

Bases: BaseModel

Show JSON schema
{
   "title": "QFTrace",
   "type": "object",
   "properties": {
      "parser": {
         "const": "qftrace",
         "title": "Parser",
         "type": "string"
      },
      "import": {
         "$ref": "#/$defs/Input"
      },
      "parameters": {
         "$ref": "#/$defs/Params"
      },
      "tag": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Tag"
      },
      "externaldate": {
         "anyOf": [
            {
               "$ref": "#/$defs/ExternalDate"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "export": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Export"
      }
   },
   "$defs": {
      "ExternalDate": {
         "additionalProperties": false,
         "properties": {
            "from": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDateFile"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateUTSOffset"
                  }
               ],
               "title": "From"
            },
            "mode": {
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "title": "Mode",
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "title": "ExternalDate",
         "type": "object"
      },
      "ExternalDateFile": {
         "additionalProperties": false,
         "properties": {
            "file": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "title": "ExternalDateFile",
         "type": "object"
      },
      "ExternalDateFilename": {
         "additionalProperties": false,
         "properties": {
            "filename": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "title": "ExternalDateFilename",
         "type": "object"
      },
      "ExternalDateISOString": {
         "additionalProperties": false,
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "title": "ExternalDateISOString",
         "type": "object"
      },
      "ExternalDateUTSOffset": {
         "additionalProperties": false,
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "title": "ExternalDateUTSOffset",
         "type": "object"
      },
      "Input": {
         "additionalProperties": false,
         "properties": {
            "files": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Files"
            },
            "folders": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Folders"
            },
            "prefix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Prefix"
            },
            "suffix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Suffix"
            },
            "contains": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Contains"
            },
            "exclude": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Exclude"
            },
            "encoding": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": "UTF-8",
               "title": "Encoding"
            }
         },
         "title": "Input",
         "type": "object"
      },
      "Params": {
         "additionalProperties": false,
         "properties": {
            "tracetype": {
               "const": "labview.csv",
               "default": "labview.csv",
               "title": "Tracetype",
               "type": "string"
            },
            "method": {
               "default": "kajfez",
               "enum": [
                  "naive",
                  "lorentz",
                  "kajfez"
               ],
               "title": "Method",
               "type": "string"
            },
            "height": {
               "default": 1.0,
               "title": "Height",
               "type": "number"
            },
            "distance": {
               "default": 5000.0,
               "title": "Distance",
               "type": "number"
            },
            "cutoff": {
               "default": 0.4,
               "title": "Cutoff",
               "type": "number"
            },
            "threshold": {
               "default": 1e-06,
               "title": "Threshold",
               "type": "number"
            }
         },
         "title": "Params",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "additionalProperties": false,
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "title": "Match"
            }
         },
         "required": [
            "path",
            "type",
            "match"
         ],
         "title": "Content",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "additionalProperties": false,
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "title": "Content",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "parser",
      "import"
   ]
}

Config:
  • extra: str = forbid

  • populate_by_name: bool = True

  • validate_by_alias: bool = True

  • validate_by_name: bool = True

pydantic model Params

Bases: BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {
      "tracetype": {
         "const": "labview.csv",
         "default": "labview.csv",
         "title": "Tracetype",
         "type": "string"
      },
      "method": {
         "default": "kajfez",
         "enum": [
            "naive",
            "lorentz",
            "kajfez"
         ],
         "title": "Method",
         "type": "string"
      },
      "height": {
         "default": 1.0,
         "title": "Height",
         "type": "number"
      },
      "distance": {
         "default": 5000.0,
         "title": "Distance",
         "type": "number"
      },
      "cutoff": {
         "default": 0.4,
         "title": "Cutoff",
         "type": "number"
      },
      "threshold": {
         "default": 1e-06,
         "title": "Threshold",
         "type": "number"
      }
   },
   "additionalProperties": false
}

Config:
  • extra: str = forbid

field filetype: Literal['labview.csv'] = 'labview.csv' (alias 'tracetype')
field method: Literal['naive', 'lorentz', 'kajfez'] = 'kajfez'
field height: float = 1.0
field distance: float = 5000.0
field cutoff: float = 0.4
field threshold: float = 1e-06
field parser: Literal['qftrace'] [Required]
field input: Input [Required] (alias 'import')
field parameters: Params [Optional]
field tag: str | None = None
field externaldate: ExternalDate | None = None
field export: str | None = None
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.XPSTrace

Bases: BaseModel

Show JSON schema
{
   "title": "XPSTrace",
   "type": "object",
   "properties": {
      "parser": {
         "const": "xpstrace",
         "title": "Parser",
         "type": "string"
      },
      "import": {
         "$ref": "#/$defs/Input"
      },
      "parameters": {
         "$ref": "#/$defs/Params"
      },
      "tag": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Tag"
      },
      "externaldate": {
         "anyOf": [
            {
               "$ref": "#/$defs/ExternalDate"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "export": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Export"
      }
   },
   "$defs": {
      "ExternalDate": {
         "additionalProperties": false,
         "properties": {
            "from": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ExternalDateFile"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/$defs/ExternalDateUTSOffset"
                  }
               ],
               "title": "From"
            },
            "mode": {
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "title": "Mode",
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "title": "ExternalDate",
         "type": "object"
      },
      "ExternalDateFile": {
         "additionalProperties": false,
         "properties": {
            "file": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "title": "ExternalDateFile",
         "type": "object"
      },
      "ExternalDateFilename": {
         "additionalProperties": false,
         "properties": {
            "filename": {
               "$ref": "#/$defs/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "title": "ExternalDateFilename",
         "type": "object"
      },
      "ExternalDateISOString": {
         "additionalProperties": false,
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "title": "ExternalDateISOString",
         "type": "object"
      },
      "ExternalDateUTSOffset": {
         "additionalProperties": false,
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "title": "ExternalDateUTSOffset",
         "type": "object"
      },
      "Input": {
         "additionalProperties": false,
         "properties": {
            "files": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Files"
            },
            "folders": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Folders"
            },
            "prefix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Prefix"
            },
            "suffix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Suffix"
            },
            "contains": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Contains"
            },
            "exclude": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Exclude"
            },
            "encoding": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": "UTF-8",
               "title": "Encoding"
            }
         },
         "title": "Input",
         "type": "object"
      },
      "Params": {
         "additionalProperties": false,
         "properties": {
            "tracetype": {
               "const": "phi.spe",
               "default": "phi.spe",
               "title": "Tracetype",
               "type": "string"
            }
         },
         "title": "Params",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "additionalProperties": false,
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "title": "Match"
            }
         },
         "required": [
            "path",
            "type",
            "match"
         ],
         "title": "Content",
         "type": "object"
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "additionalProperties": false,
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "title": "Content",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "parser",
      "import"
   ]
}

Config:
  • extra: str = forbid

  • populate_by_name: bool = True

  • validate_by_alias: bool = True

  • validate_by_name: bool = True

pydantic model Params

Bases: BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {
      "tracetype": {
         "const": "phi.spe",
         "default": "phi.spe",
         "title": "Tracetype",
         "type": "string"
      }
   },
   "additionalProperties": false
}

Config:
  • extra: str = forbid

field filetype: Literal['phi.spe'] = 'phi.spe' (alias 'tracetype')
field parser: Literal['xpstrace'] [Required]
field input: Input [Required] (alias 'import')
field parameters: Params [Optional]
field tag: str | None = None
field externaldate: ExternalDate | None = None
field export: str | None = None

dgbowl_schemas.yadg.dataschema_4_0.timestamp module

pydantic model dgbowl_schemas.yadg.dataschema_4_0.timestamp.TimestampSpec

Bases: BaseModel

Show JSON schema
{
   "title": "TimestampSpec",
   "type": "object",
   "properties": {
      "index": {
         "anyOf": [
            {
               "type": "integer"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Index"
      },
      "format": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Format"
      }
   },
   "additionalProperties": false
}

Config:
  • extra: str = forbid

field index: int | None = None
field format: str | None = None
pydantic model dgbowl_schemas.yadg.dataschema_4_0.timestamp.Timestamp

Bases: BaseModel

Show JSON schema
{
   "title": "Timestamp",
   "type": "object",
   "properties": {
      "timestamp": {
         "$ref": "#/$defs/TimestampSpec"
      }
   },
   "$defs": {
      "TimestampSpec": {
         "additionalProperties": false,
         "properties": {
            "index": {
               "anyOf": [
                  {
                     "type": "integer"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Index"
            },
            "format": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Format"
            }
         },
         "title": "TimestampSpec",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "timestamp"
   ]
}

Config:
  • extra: str = forbid

field timestamp: TimestampSpec [Required]
pydantic model dgbowl_schemas.yadg.dataschema_4_0.timestamp.UTS

Bases: BaseModel

Show JSON schema
{
   "title": "UTS",
   "type": "object",
   "properties": {
      "uts": {
         "$ref": "#/$defs/TimestampSpec"
      }
   },
   "$defs": {
      "TimestampSpec": {
         "additionalProperties": false,
         "properties": {
            "index": {
               "anyOf": [
                  {
                     "type": "integer"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Index"
            },
            "format": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Format"
            }
         },
         "title": "TimestampSpec",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "uts"
   ]
}

Config:
  • extra: str = forbid

field uts: TimestampSpec [Required]
pydantic model dgbowl_schemas.yadg.dataschema_4_0.timestamp.TimeDate

Bases: BaseModel

Show JSON schema
{
   "title": "TimeDate",
   "type": "object",
   "properties": {
      "date": {
         "anyOf": [
            {
               "$ref": "#/$defs/TimestampSpec"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "time": {
         "anyOf": [
            {
               "$ref": "#/$defs/TimestampSpec"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      }
   },
   "$defs": {
      "TimestampSpec": {
         "additionalProperties": false,
         "properties": {
            "index": {
               "anyOf": [
                  {
                     "type": "integer"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Index"
            },
            "format": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Format"
            }
         },
         "title": "TimestampSpec",
         "type": "object"
      }
   },
   "additionalProperties": false
}

Config:
  • extra: str = forbid

field date: TimestampSpec | None = None
field time: TimestampSpec | None = None