Creator#

pydantic model pyenzyme.enzymeml.core.creator.Creator[source]#

Bases: EnzymeMLBase

Show JSON schema
{
   "title": "Creator",
   "type": "object",
   "properties": {
      "given_name": {
         "title": "Given Name",
         "description": "Given name of the author or contributor.",
         "type": "string"
      },
      "family_name": {
         "title": "Family Name",
         "description": "Family name of the author or contributor.",
         "type": "string"
      },
      "mail": {
         "title": "Mail",
         "description": "Email address of the author or contributor.",
         "type": "string"
      },
      "id": {
         "title": "Id",
         "description": "Unique identifier of the protein.",
         "pattern": "a[\\d]+",
         "type": "string"
      }
   },
   "required": [
      "given_name",
      "family_name",
      "mail"
   ]
}

Config
  • validate_all: bool = True

  • validate_assignment: bool = True

Fields
Validators
field family_name: str [Required]#

Family name of the author or contributor.

Validated by
field given_name: str [Required]#

Given name of the author or contributor.

Validated by
field id: Optional[str] = None#

Unique identifier of the protein.

Constraints
  • pattern = a[d]+

field mail: str [Required]#

Email address of the author or contributor.

Validated by
validator check_empty_strings  »  family_name, given_name, mail[source]#
validator check_mail_consistency  »  mail[source]#
getFname() str[source]#

Deprecated since version Use: the attribute family_name instead.

getGname() str[source]#

Deprecated since version Use: the attribute given_name instead.

getMail() str[source]#

Deprecated since version Use: the attribute mail instead.