API reference¶
Plugin¶
transpiler-mate plugin for CWL 2 DataCite.
CWL2DataCiteOptions
¶
Bases: BaseModel
Options accepted by the CWL 2 DataCite plugin.
Source code in src/cwl2datacite/plugin.py
114 115 116 117 118 119 120 121 122 | |
cwl2datacite(context, options)
¶
CWL 2 DataCite Transpiler-Mate Plugin.
Source code in src/cwl2datacite/plugin.py
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 | |
DataCite 4.6 models¶
The plugin's output model is generated from the bundled DataCite Metadata Schema 4.6 definition.
Affiliation
¶
Bases: BaseModel
The organizational or institutional affiliation of the creator.
Source code in src/cwl2datacite/datacite_4_6_models.py
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | |
affiliation_identifier = None
class-attribute
instance-attribute
¶
Uniquely identifies the organizational affiliation of the creator.
affiliation_identifier_scheme = None
class-attribute
instance-attribute
¶
The name of the affiliation identifier scheme
scheme_uri = None
class-attribute
instance-attribute
¶
The URI of the affiliation identifier scheme.
AlternateIdentifier
¶
Bases: BaseModel
An identifier other than the primary Identifier applied to the resource being registered.
Source code in src/cwl2datacite/datacite_4_6_models.py
366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 | |
alternate_identifier = None
class-attribute
instance-attribute
¶
An identifier other than the primary Identifier applied to the resource being registered
Contributor
¶
Bases: Creator
The institution or person responsible for collecting, managing, distributing, or otherwise contributing to the development of the resource.
Source code in src/cwl2datacite/datacite_4_6_models.py
255 256 257 258 259 260 261 262 263 264 | |
ContributorType
¶
Bases: Enum
The type of contributor of the resource
Source code in src/cwl2datacite/datacite_4_6_models.py
226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 | |
Creator
¶
Bases: BaseModel
The main researcher involved in producing the data, or the author of the publication.
Source code in src/cwl2datacite/datacite_4_6_models.py
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
affiliation = None
class-attribute
instance-attribute
¶
The organizational or institutional affiliations of the creator.
family_name = None
class-attribute
instance-attribute
¶
The surname or last name of the creator.
given_name = None
class-attribute
instance-attribute
¶
The personal or first name of the creator.
name
instance-attribute
¶
The full name of the creator.
name_identifiers = None
class-attribute
instance-attribute
¶
Uniquely identifies an individual or legal entity, according to various schemes.
Data
¶
Bases: BaseModel
TODO
Source code in src/cwl2datacite/datacite_4_6_models.py
982 983 984 985 986 987 988 989 990 991 992 993 | |
DataCiteAttributes
¶
Bases: BaseModel
DataCite Metadata Schema
Source code in src/cwl2datacite/datacite_4_6_models.py
877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 | |
alternate_identifiers = None
class-attribute
instance-attribute
¶
An identifier other than the primary Identifier applied to the resource being registered.
contributors = None
class-attribute
instance-attribute
¶
The institution or person responsible for collecting, managing, distributing, or otherwise contributing to the development of the resource.
creators
instance-attribute
¶
The main researchers involved in producing the data, or the authors of the publication, in priority order.
dates = None
class-attribute
instance-attribute
¶
Different dates relevant to the work.
doi = None
class-attribute
instance-attribute
¶
The full DOI (prefix + suffix)
event = None
class-attribute
instance-attribute
¶
Indicates a state-change action for the DOI
formats = None
class-attribute
instance-attribute
¶
Technical format of the resources.
funding_references = None
class-attribute
instance-attribute
¶
Information about financial support (funding) for the resource being registered.
geo_locations = None
class-attribute
instance-attribute
¶
Spatial regions or named places where the data was gathered or about which the data is focused.
language = None
class-attribute
instance-attribute
¶
The primary language of the resource
prefix = None
class-attribute
instance-attribute
¶
The namespace prefix
publication_year
instance-attribute
¶
The year when the data was or will be made publicly available.
related_identifiers = None
class-attribute
instance-attribute
¶
Identifiers of related resources.
related_items = None
class-attribute
instance-attribute
¶
Informations about a resource related to the one being registered.
rights_list = None
class-attribute
instance-attribute
¶
Any rights information for this resource
sizes = None
class-attribute
instance-attribute
¶
Size (e.g., bytes, pages, inches, etc.) or duration (extent), e.g., hours, minutes, days, etc., of a resource.
subjects = None
class-attribute
instance-attribute
¶
Subjects, keywords, classification codes, or key phrases describing the resource.
suffix = None
class-attribute
instance-attribute
¶
The suffix portion of the DOI
titles
instance-attribute
¶
Names or titles by which a resource is known. May be the title of a dataset or the name of a piece of software or an instrument.
version = None
class-attribute
instance-attribute
¶
The version number of the resources.
DataCiteMetadata46
¶
Bases: BaseModel
DataCite Metadata Schema
Source code in src/cwl2datacite/datacite_4_6_models.py
996 997 998 999 1000 1001 1002 1003 1004 1005 | |
Date
¶
Bases: BaseModel
Date relevant to the work.
Source code in src/cwl2datacite/datacite_4_6_models.py
286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 | |
DateType
¶
Bases: Enum
The type of date
Source code in src/cwl2datacite/datacite_4_6_models.py
267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 | |
Description
¶
Bases: BaseModel
All additional information that does not fit in any of the other categories.
Source code in src/cwl2datacite/datacite_4_6_models.py
541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 | |
DescriptionType
¶
Bases: Enum
The type of the Description.
Source code in src/cwl2datacite/datacite_4_6_models.py
528 529 530 531 532 533 534 535 536 537 538 | |
Event
¶
Bases: Enum
Indicates a state-change action for the DOI
Source code in src/cwl2datacite/datacite_4_6_models.py
801 802 803 804 805 806 807 808 | |
FunderIdentifierType
¶
Bases: Enum
The type of the funderIdentifier.
Source code in src/cwl2datacite/datacite_4_6_models.py
647 648 649 650 651 652 653 654 655 656 | |
FundingReference
¶
Bases: BaseModel
Information about financial support (funding) for the resource being registered.
Source code in src/cwl2datacite/datacite_4_6_models.py
659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 | |
award_number = None
class-attribute
instance-attribute
¶
The code assigned by the funder to a sponsored award (grant).
award_title = None
class-attribute
instance-attribute
¶
The human readable title or name of the award (grant).
award_uri = None
class-attribute
instance-attribute
¶
The URI leading to a page provided by the funder for more information about the award (grant).
funder_identifier = None
class-attribute
instance-attribute
¶
Uniquely identifies a funding entity, according to various types
funder_identifier_type
instance-attribute
¶
The type of the funderIdentifier.
funder_name
instance-attribute
¶
Name of the funding provider.
scheme_uri = None
class-attribute
instance-attribute
¶
The URI of the funder identifier scheme.
GeoLocation
¶
Bases: BaseModel
Spatial region or named place where the data was gathered or about which the data is focused.
Source code in src/cwl2datacite/datacite_4_6_models.py
623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 | |
geo_location_place = None
class-attribute
instance-attribute
¶
Description of a geographic location.
GeoLocationBox
¶
Bases: BaseModel
The spatial limits of a box.
Source code in src/cwl2datacite/datacite_4_6_models.py
579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 | |
east_bound_longitude
instance-attribute
¶
Eastern longitudinal dimension of box.
north_bound_latitude
instance-attribute
¶
Northern latitudinal dimension of box.
south_bound_latitude
instance-attribute
¶
Southern latitudinal dimension of box.
west_bound_longitude
instance-attribute
¶
Western longitudinal dimension of box.
GeoLocationPoint
¶
Bases: BaseModel
A point location in space.
Source code in src/cwl2datacite/datacite_4_6_models.py
560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 | |
GeoLocationPolygon
¶
Bases: BaseModel
A drawn polygon area, defined by a set of points and lines connecting the points in a closed chain.
Source code in src/cwl2datacite/datacite_4_6_models.py
606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 | |
Identifier
¶
Bases: BaseModel
The Identifier is a unique string that identifies a resource.
Source code in src/cwl2datacite/datacite_4_6_models.py
16 17 18 19 20 21 22 23 24 25 26 | |
NameIdentifier
¶
Bases: BaseModel
Uniquely identifies an individual or legal entity, according to various schemes.
Source code in src/cwl2datacite/datacite_4_6_models.py
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | |
name_identifier = None
class-attribute
instance-attribute
¶
Uniquely identifies an individual or legal entity, according to various schemes.
name_identifier_scheme
instance-attribute
¶
The name of the name identifier scheme.
scheme_uri = None
class-attribute
instance-attribute
¶
The URI of the name identifier scheme.
NameType
¶
Bases: Enum
The type of name.
Source code in src/cwl2datacite/datacite_4_6_models.py
79 80 81 82 83 84 85 | |
NumberType
¶
Bases: Enum
Type of the related item’s number, e.g., report number or article number.
Source code in src/cwl2datacite/datacite_4_6_models.py
783 784 785 786 787 788 789 790 791 | |
PublicationYear1
¶
Bases: RootModel[str]
Source code in src/cwl2datacite/datacite_4_6_models.py
794 795 796 797 798 | |
root
instance-attribute
¶
The year when the data was or will be made publicly available.
Publisher
¶
Bases: BaseModel
The name of the entity that holds, archives, publishes, prints, distributes, releases, issues, or produces the resource. This property will be used to formulate the citation, so consider the prominence of the role.
Source code in src/cwl2datacite/datacite_4_6_models.py
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | |
lang = None
class-attribute
instance-attribute
¶
The language used by the Publisher.
name
instance-attribute
¶
The name of the entity that holds, archives, publishes, prints, distributes, releases, issues, or produces the resource. This property will be used to formulate the citation, so consider the prominence of the role.
publisher_identifier = None
class-attribute
instance-attribute
¶
Uniquely identifies the publisher, according to various schemes.
publisher_identifier_scheme = None
class-attribute
instance-attribute
¶
The name of the publisher identifier scheme.
scheme_uri = None
class-attribute
instance-attribute
¶
The URI of the publisher identifier scheme.
RelatedIdentifier
¶
Bases: BaseModel
Identifier of related resources.
Source code in src/cwl2datacite/datacite_4_6_models.py
459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 | |
related_identifier = None
class-attribute
instance-attribute
¶
Identifier of related resources.
related_metadata_scheme = None
class-attribute
instance-attribute
¶
The name of the schemes.
scheme_type = None
class-attribute
instance-attribute
¶
The type of the relatedMetadataScheme, linked with the schemeURI
scheme_uri = None
class-attribute
instance-attribute
¶
The URI of the name identifier scheme.
RelatedIdentifierType
¶
Bases: Enum
The type of the RelatedIdentifier.
Source code in src/cwl2datacite/datacite_4_6_models.py
431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 | |
RelatedItem
¶
Bases: BaseModel
Information about a resource related to the one being registered.
Source code in src/cwl2datacite/datacite_4_6_models.py
811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 | |
contributors = None
class-attribute
instance-attribute
¶
An institution or person identified as contributing to the development of the resource
creators = None
class-attribute
instance-attribute
¶
The institution or person responsible for creating the related resource.
edition = None
class-attribute
instance-attribute
¶
Edition or version of the related item.
first_page = None
class-attribute
instance-attribute
¶
First page of the resource within the related item, e.g., of the chapter, article, or conference paper in proceedings.
issue = None
class-attribute
instance-attribute
¶
Issue number or name of the related item.
last_page = None
class-attribute
instance-attribute
¶
Last page of the resource within the related item, e.g., of the chapter, article, or conference paper in proceedings.
number = None
class-attribute
instance-attribute
¶
Number of the resource within the related item, e.g., report number or article number.
number_type = None
class-attribute
instance-attribute
¶
Type of the related item’s number, e.g., report number or article number.
publication_year = None
class-attribute
instance-attribute
¶
The year when the data was or will be made publicly available.
publisher = None
class-attribute
instance-attribute
¶
The name of the entity that holds, archives, publishes prints, distributes, releases, issues, or produces the resource.
titles
instance-attribute
¶
Title of the related item
volume = None
class-attribute
instance-attribute
¶
Volume of the related item.
RelatedItemContributor
¶
Bases: RelatedItemCreator
An institution or person identified as contributing to the development of the resource.
Source code in src/cwl2datacite/datacite_4_6_models.py
771 772 773 774 775 776 777 778 779 780 | |
RelatedItemCreator
¶
Bases: BaseModel
The institution or person responsible for creating the related resource.
Source code in src/cwl2datacite/datacite_4_6_models.py
728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 | |
RelatedItemIdentifier
¶
Bases: BaseModel
The identifier for the related item.
Source code in src/cwl2datacite/datacite_4_6_models.py
700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 | |
related_metadata_scheme = None
class-attribute
instance-attribute
¶
The name of the schemes.
scheme_type = None
class-attribute
instance-attribute
¶
The type of the relatedMetadataScheme, linked with the schemeURI
scheme_uri = None
class-attribute
instance-attribute
¶
The URI of the name identifier scheme.
RelatedItemTitle
¶
Bases: BaseModel
Title of the related item.
Source code in src/cwl2datacite/datacite_4_6_models.py
752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 | |
RelationType
¶
Bases: Enum
Description of the relationship of the resource being registered (A) and the related resource (B).
Source code in src/cwl2datacite/datacite_4_6_models.py
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 | |
ResourceType
¶
Bases: BaseModel
A description of the resource.
Source code in src/cwl2datacite/datacite_4_6_models.py
348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 | |
resource_type
instance-attribute
¶
A description of the resource.
ResourceTypeGeneral
¶
Bases: Enum
The general type of a resource.
Source code in src/cwl2datacite/datacite_4_6_models.py
309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 | |
Right
¶
Bases: BaseModel
Any right information for this resource.
Source code in src/cwl2datacite/datacite_4_6_models.py
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 | |
rights
instance-attribute
¶
Any right information for this resource.
rights_identifier = None
class-attribute
instance-attribute
¶
A short, standardized version of the license name.
rights_identifier_scheme = None
class-attribute
instance-attribute
¶
The name of the scheme.
rights_uri = None
class-attribute
instance-attribute
¶
The URI of the license.
scheme_uri = None
class-attribute
instance-attribute
¶
The URI of the rightsIdentifierScheme.
Subject
¶
Bases: BaseModel
Subject, keyword, classification code, or key phrase describing the resource.
Source code in src/cwl2datacite/datacite_4_6_models.py
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 | |
classification_code = None
class-attribute
instance-attribute
¶
The classification code used for the subject term in the subject schemes.
lang = None
class-attribute
instance-attribute
¶
The language used in the Subject.
scheme_uri = None
class-attribute
instance-attribute
¶
The URI of the subject identifier scheme.
subject
instance-attribute
¶
Subject, keyword, classification code, or key phrase describing the resource.
subject_scheme = None
class-attribute
instance-attribute
¶
The name of the subject scheme or classification code or authority if one is used.
value_uri = None
class-attribute
instance-attribute
¶
The URI of the subject term.
Title
¶
Bases: BaseModel
A name or title by which a resource is known. May be the title of a dataset or the name of a piece of software or an instrument.
Source code in src/cwl2datacite/datacite_4_6_models.py
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | |
TitleType
¶
Bases: Enum
The type of Title (other than the Main Title).
Source code in src/cwl2datacite/datacite_4_6_models.py
122 123 124 125 126 127 128 129 130 | |