|
1 | 1 | ## This is a generated file. Do not modify it manually!
|
2 | 2 |
|
3 | 3 | from __future__ import annotations
|
4 |
| - |
5 | 4 | from dataclasses import dataclass, field
|
6 |
| -from datetime import date, datetime |
7 |
| -from enum import Enum |
| 5 | +from dataclasses_json import config, dataclass_json |
8 | 6 | from typing import List, Optional
|
| 7 | +from enum import Enum |
9 | 8 | from uuid import uuid4
|
10 |
| - |
11 |
| -from dataclasses_json import config, dataclass_json |
| 9 | +from datetime import date, datetime |
12 | 10 |
|
13 | 11 |
|
14 | 12 | @dataclass_json
|
@@ -47,8 +45,8 @@ class EnzymeMLDocument:
|
47 | 45 | metadata=config(field_name="@context"),
|
48 | 46 | default_factory=lambda: {
|
49 | 47 | "enzml": "http://www.enzymeml.org/v2/",
|
50 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
51 | 48 | "schema": "https://schema.org/",
|
| 49 | + "OBO": "http://purl.obolibrary.org/obo/", |
52 | 50 | "name": "schema:title",
|
53 | 51 | "references": {
|
54 | 52 | "@id": "schema:citation",
|
@@ -308,8 +306,8 @@ class Creator:
|
308 | 306 | metadata=config(field_name="@context"),
|
309 | 307 | default_factory=lambda: {
|
310 | 308 | "enzml": "http://www.enzymeml.org/v2/",
|
311 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
312 | 309 | "schema": "https://schema.org/",
|
| 310 | + "OBO": "http://purl.obolibrary.org/obo/", |
313 | 311 | "given_name": "schema:givenName",
|
314 | 312 | "family_name": "schema:familyName",
|
315 | 313 | "mail": "schema:email",
|
@@ -338,8 +336,8 @@ class Vessel:
|
338 | 336 | metadata=config(field_name="@context"),
|
339 | 337 | default_factory=lambda: {
|
340 | 338 | "enzml": "http://www.enzymeml.org/v2/",
|
341 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
342 | 339 | "schema": "https://schema.org/",
|
| 340 | + "OBO": "http://purl.obolibrary.org/obo/", |
343 | 341 | "id": {
|
344 | 342 | "@id": "schema:identifier",
|
345 | 343 | "@type": "@id",
|
@@ -385,8 +383,8 @@ class Protein:
|
385 | 383 | metadata=config(field_name="@context"),
|
386 | 384 | default_factory=lambda: {
|
387 | 385 | "enzml": "http://www.enzymeml.org/v2/",
|
388 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
389 | 386 | "schema": "https://schema.org/",
|
| 387 | + "OBO": "http://purl.obolibrary.org/obo/", |
390 | 388 | "id": {
|
391 | 389 | "@type": "@id",
|
392 | 390 | },
|
@@ -428,8 +426,8 @@ class Complex:
|
428 | 426 | metadata=config(field_name="@context"),
|
429 | 427 | default_factory=lambda: {
|
430 | 428 | "enzml": "http://www.enzymeml.org/v2/",
|
431 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
432 | 429 | "schema": "https://schema.org/",
|
| 430 | + "OBO": "http://purl.obolibrary.org/obo/", |
433 | 431 | "id": {
|
434 | 432 | "@id": "schema:identifier",
|
435 | 433 | "@type": "@id",
|
@@ -472,8 +470,8 @@ class SmallMolecule:
|
472 | 470 | metadata=config(field_name="@context"),
|
473 | 471 | default_factory=lambda: {
|
474 | 472 | "enzml": "http://www.enzymeml.org/v2/",
|
475 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
476 | 473 | "schema": "https://schema.org/",
|
| 474 | + "OBO": "http://purl.obolibrary.org/obo/", |
477 | 475 | "id": {
|
478 | 476 | "@id": "schema:identifier",
|
479 | 477 | "@type": "@id",
|
@@ -517,8 +515,8 @@ class Reaction:
|
517 | 515 | metadata=config(field_name="@context"),
|
518 | 516 | default_factory=lambda: {
|
519 | 517 | "enzml": "http://www.enzymeml.org/v2/",
|
520 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
521 | 518 | "schema": "https://schema.org/",
|
| 519 | + "OBO": "http://purl.obolibrary.org/obo/", |
522 | 520 | "id": {
|
523 | 521 | "@id": "schema:identifier",
|
524 | 522 | "@type": "@id",
|
@@ -566,8 +564,8 @@ class ReactionElement:
|
566 | 564 | metadata=config(field_name="@context"),
|
567 | 565 | default_factory=lambda: {
|
568 | 566 | "enzml": "http://www.enzymeml.org/v2/",
|
569 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
570 | 567 | "schema": "https://schema.org/",
|
| 568 | + "OBO": "http://purl.obolibrary.org/obo/", |
571 | 569 | "species_id": {
|
572 | 570 | "@type": "@id",
|
573 | 571 | },
|
@@ -602,8 +600,8 @@ class Equation:
|
602 | 600 | metadata=config(field_name="@context"),
|
603 | 601 | default_factory=lambda: {
|
604 | 602 | "enzml": "http://www.enzymeml.org/v2/",
|
605 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
606 | 603 | "schema": "https://schema.org/",
|
| 604 | + "OBO": "http://purl.obolibrary.org/obo/", |
607 | 605 | "species_id": {
|
608 | 606 | "@type": "@id",
|
609 | 607 | },
|
@@ -683,8 +681,8 @@ class Parameter:
|
683 | 681 | metadata=config(field_name="@context"),
|
684 | 682 | default_factory=lambda: {
|
685 | 683 | "enzml": "http://www.enzymeml.org/v2/",
|
686 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
687 | 684 | "schema": "https://schema.org/",
|
| 685 | + "OBO": "http://purl.obolibrary.org/obo/", |
688 | 686 | "id": {
|
689 | 687 | "@id": "schema:identifier",
|
690 | 688 | "@type": "@id",
|
@@ -726,8 +724,8 @@ class Measurement:
|
726 | 724 | metadata=config(field_name="@context"),
|
727 | 725 | default_factory=lambda: {
|
728 | 726 | "enzml": "http://www.enzymeml.org/v2/",
|
729 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
730 | 727 | "schema": "https://schema.org/",
|
| 728 | + "OBO": "http://purl.obolibrary.org/obo/", |
731 | 729 | "id": {
|
732 | 730 | "@id": "schema:identifier",
|
733 | 731 | "@type": "@id",
|
@@ -796,8 +794,8 @@ class MeasurementData:
|
796 | 794 | metadata=config(field_name="@context"),
|
797 | 795 | default_factory=lambda: {
|
798 | 796 | "enzml": "http://www.enzymeml.org/v2/",
|
799 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
800 | 797 | "schema": "https://schema.org/",
|
| 798 | + "OBO": "http://purl.obolibrary.org/obo/", |
801 | 799 | "species_id": {
|
802 | 800 | "@type": "@id",
|
803 | 801 | },
|
@@ -828,8 +826,8 @@ class UnitDefinition:
|
828 | 826 | metadata=config(field_name="@context"),
|
829 | 827 | default_factory=lambda: {
|
830 | 828 | "enzml": "http://www.enzymeml.org/v2/",
|
831 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
832 | 829 | "schema": "https://schema.org/",
|
| 830 | + "OBO": "http://purl.obolibrary.org/obo/", |
833 | 831 | },
|
834 | 832 | )
|
835 | 833 |
|
@@ -883,8 +881,8 @@ class BaseUnit:
|
883 | 881 | metadata=config(field_name="@context"),
|
884 | 882 | default_factory=lambda: {
|
885 | 883 | "enzml": "http://www.enzymeml.org/v2/",
|
886 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
887 | 884 | "schema": "https://schema.org/",
|
| 885 | + "OBO": "http://purl.obolibrary.org/obo/", |
888 | 886 | },
|
889 | 887 | )
|
890 | 888 |
|
@@ -912,8 +910,8 @@ class EqVariable:
|
912 | 910 | metadata=config(field_name="@context"),
|
913 | 911 | default_factory=lambda: {
|
914 | 912 | "enzml": "http://www.enzymeml.org/v2/",
|
915 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
916 | 913 | "schema": "https://schema.org/",
|
| 914 | + "OBO": "http://purl.obolibrary.org/obo/", |
917 | 915 | "id": {
|
918 | 916 | "@type": "@id",
|
919 | 917 | },
|
@@ -947,8 +945,8 @@ class EqParameter:
|
947 | 945 | metadata=config(field_name="@context"),
|
948 | 946 | default_factory=lambda: {
|
949 | 947 | "enzml": "http://www.enzymeml.org/v2/",
|
950 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
951 | 948 | "schema": "https://schema.org/",
|
| 949 | + "OBO": "http://purl.obolibrary.org/obo/", |
952 | 950 | "id": {
|
953 | 951 | "@type": "@id",
|
954 | 952 | },
|
@@ -977,7 +975,6 @@ class UnitType(Enum):
|
977 | 975 | AVOGADRO = "avogadro"
|
978 | 976 | BECQUEREL = "becquerel"
|
979 | 977 | CANDELA = "candela"
|
980 |
| - CELSIUS = "celsius" |
981 | 978 | COULOMB = "coulomb"
|
982 | 979 | DIMENSIONLESS = "dimensionless"
|
983 | 980 | FARAD = "farad"
|
|
0 commit comments