ts_ids_core.schema.user module

Model User[source]

Bases: IdsElement

Metadata of the user executing a run.

Show JSON schema
{
   "description": "Metadata of the user executing a run.",
   "type": "object",
   "properties": {
      "id": {
         "description": "Unique identifier assigned to a user.",
         "type": [
            "string",
            "null"
         ]
      },
      "name": {
         "description": "User name.",
         "type": [
            "string",
            "null"
         ]
      },
      "type": {
         "description": "User type like 'admin', 'manager', 'power user', 'standard user'. This information is usually from the instrument software",
         "type": [
            "string",
            "null"
         ]
      }
   },
   "additionalProperties": false
}

Validators:
  • all_abstract_fields_implemented » all fields

field id_: Nullable[str] (alias 'id')

Unique identifier assigned to a user.

field name: Nullable[str]

User name.

field type_: Nullable[str] (alias 'type')

User type like ‘admin’, ‘manager’, ‘power user’, ‘standard user’. This information is usually from the instrument software