Skip to main content

SCHEMA_JSON

Constant SCHEMA_JSON 

Source
pub const SCHEMA_JSON: &str = "{\n  \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n  \"$id\": \"https://commonmeta.org/commonmeta_v1.0.json\",\n  \"title\": \"Commonmeta v1.0\",\n  \"description\": \"JSON representation of the Commonmeta schema. The document is an array of objects, where each object is a work, an organization, or a person.\",\n  \"type\": \"array\",\n  \"uniqueItems\": true,\n  \"prefixItems\": [\n    {\n      \"description\": \"The first item in the array: a work, a person, or an organization. In a collection, this is typically the subject whose related entities follow.\",\n      \"$ref\": \"#/$defs/entity\"\n    }\n  ],\n  \"items\": {\n    \"description\": \"Subsequent items in the array: works, persons, or organizations related to the subject.\",\n    \"$ref\": \"#/$defs/entity\"\n  },\n  \"$defs\": {\n    \"entity\": {\n      \"description\": \"A single Commonmeta entity: a work, a person, or an organization.\",\n      \"oneOf\": [\n        {\n          \"$ref\": \"#/$defs/work\"\n        },\n        {\n          \"allOf\": [\n            {\"$ref\": \"#/$defs/person\"},\n            {\"required\": [\"id\"]}\n          ]\n        },\n        {\n          \"allOf\": [\n            {\"$ref\": \"#/$defs/organization\"},\n            {\"required\": [\"id\"]}\n          ]\n        }\n      ]\n    },\n    \"work\": {\n      \"description\": \"A commonmeta work object.\",\n      \"type\": \"object\",\n      \"additionalProperties\": false,\n      \"properties\": {\n        \"id\": {\n          \"$ref\": \"#/$defs/id\"\n        },\n        \"type\": {\n          \"$ref\": \"#/$defs/type\"\n        },\n        \"additional_descriptions\": {\n          \"description\": \"The additional descriptions of the resource.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"object\",\n            \"additionalProperties\": false,\n            \"properties\": {\n              \"description\": {\n                \"description\": \"The description of the resource.\",\n                \"type\": \"string\"\n              },\n              \"type\": {\n                \"description\": \"The type of the description.\",\n                \"type\": \"string\",\n                \"enum\": [\n                  \"Abstract\",\n                  \"Summary\",\n                  \"Methods\",\n                  \"TechnicalInfo\",\n                  \"Other\"\n                ]\n              },\n              \"language\": {\n                \"$ref\": \"#/$defs/language\"\n              }\n            },\n            \"required\": [\n              \"description\"\n            ]\n          }\n        },\n        \"additional_titles\": {\n          \"description\": \"Additional titles of the resource.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"object\",\n            \"additionalProperties\": false,\n            \"properties\": {\n              \"title\": {\n                \"description\": \"The title of the resource.\",\n                \"type\": \"string\"\n              },\n              \"type\": {\n                \"description\": \"The type of the title.\",\n                \"type\": \"string\",\n                \"enum\": [\n                  \"AlternativeTitle\",\n                  \"Subtitle\",\n                  \"TranslatedTitle\"\n                ]\n              },\n              \"language\": {\n                \"$ref\": \"#/$defs/language\"\n              }\n            },\n            \"required\": [\n              \"title\"\n            ]\n          }\n        },\n        \"additional_type\": {\n          \"description\": \"The additional type of the resource.\",\n          \"type\": \"string\"\n        },\n        \"archive_locations\": {\n          \"description\": \"The locations where content is archived.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"string\",\n            \"enum\": [\n              \"CLOCKSS\",\n              \"LOCKSS\",\n              \"Portico\",\n              \"KB\",\n              \"Internet Archive\",\n              \"DWT\"\n            ]\n          }\n        },\n        \"citations\": {\n          \"description\": \"Citations of the resource by other resources.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"$ref\": \"#/$defs/reference\"\n          }\n        },\n        \"container\": {\n          \"description\": \"The container of the resource.\",\n          \"type\": \"object\",\n          \"additionalProperties\": false,\n          \"properties\": {\n            \"identifier\": {\n              \"description\": \"The identifier for the container.\",\n              \"type\": \"string\"\n            },\n            \"identifier_type\": {\n              \"type\": \"string\",\n              \"enum\": [\n                \"ARK\", \"arXiv\", \"article_id\", \"Bibcode\", \"DOI\", \"Handle\", \"ISBN\", \"ISSN\",\n                \"OpenAlex\", \"PMID\", \"PMCID\", \"PURL\", \"RAiD\", \"SWHID\",\n                \"URL\", \"URN\", \"UUID\", \"GUID\", \"Other\"\n              ]\n            },\n            \"scheme\": {\n              \"description\": \"The scheme for identifiers with identifier_type \'Other\', e.g. \'LISSN\' or \'IGSN\'.\",\n              \"type\": \"string\"\n            },\n            \"type\": {\n              \"description\": \"The type of the container.\",\n              \"type\": \"string\",\n              \"enum\": [\n                \"Blog\",\n                \"Book\",\n                \"BookSeries\",\n                \"Journal\",\n                \"Proceedings\",\n                \"ProceedingsSeries\",\n                \"Repository\",\n                \"DataRepository\",\n                \"Periodical\",\n                \"Series\",\n                \"Other\"\n              ]\n            },\n            \"title\": {\n              \"description\": \"The title of the container.\",\n              \"type\": \"string\"\n            },\n            \"description\": {\n              \"description\": \"The description of the container.\",\n              \"type\": \"string\"\n            },\n            \"language\": {\n              \"$ref\": \"#/$defs/language\"\n            },\n            \"license\": {\n              \"$ref\": \"#/$defs/license\"\n            },\n            \"platform\": {\n              \"description\": \"The platform of the container.\",\n              \"type\": \"string\"\n            },\n            \"image\": {\n              \"description\": \"The image for the container.\",\n              \"type\": \"string\",\n              \"format\": \"uri\"\n            },\n            \"first_page\": {\n              \"description\": \"The first page of the resource.\",\n              \"type\": \"string\"\n            },\n            \"last_page\": {\n              \"description\": \"The last page of the resource.\",\n              \"type\": \"string\"\n            },\n            \"volume\": {\n              \"description\": \"The volume of the resource.\",\n              \"type\": \"string\"\n            },\n            \"issue\": {\n              \"description\": \"The issue of the resource.\",\n              \"type\": \"string\"\n            },\n            \"location\": {\n              \"description\": \"The location of the conference or event.\",\n              \"type\": \"string\"\n            },\n            \"series\": {\n              \"description\": \"The series name or acronym for the conference or event.\",\n              \"type\": \"string\"\n            }\n          }\n        },\n        \"content\": {\n          \"description\": \"The full text content of the resource, e.g. the body of a blog post.\",\n          \"type\": \"string\"\n        },\n        \"contributors\": {\n          \"description\": \"The contributors to the resource.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"$ref\": \"#/$defs/contributor\"\n          },\n          \"minItems\": 1\n        },\n        \"date_published\": {\n          \"$ref\": \"#/$defs/date\"\n        },\n        \"date_updated\": {\n          \"$ref\": \"#/$defs/date\"\n        },\n        \"dates\": {\n          \"description\": \"Other dates for the resource.\",\n          \"type\": \"object\",\n          \"additionalProperties\": false,\n          \"properties\": {\n            \"created\": {\n              \"$ref\": \"#/$defs/date\"\n            },\n            \"submitted\": {\n              \"$ref\": \"#/$defs/date\"\n            },\n            \"accepted\": {\n              \"$ref\": \"#/$defs/date\"\n            },\n            \"accessed\": {\n              \"$ref\": \"#/$defs/date\"\n            },\n            \"available\": {\n              \"$ref\": \"#/$defs/date\"\n            },\n            \"withdrawn\": {\n              \"$ref\": \"#/$defs/date\"\n            },\n            \"collected\": {\n              \"$ref\": \"#/$defs/date\"\n            },\n            \"valid\": {\n              \"$ref\": \"#/$defs/date\"\n            },\n            \"copyrighted\": {\n              \"$ref\": \"#/$defs/date\"\n            },\n            \"other\": {\n              \"$ref\": \"#/$defs/date\"\n            }\n          }\n        },\n        \"description\": {\n          \"description\": \"The description of the resource.\",\n          \"type\": \"string\"\n        },\n        \"files\": {\n          \"description\": \"The downloadable files for the resource.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"object\",\n            \"additionalProperties\": false,\n            \"properties\": {\n              \"bucket\": {\n                \"type\": \"string\"\n              },\n              \"key\": {\n                \"type\": \"string\"\n              },\n              \"checksum\": {\n                \"type\": \"string\"\n              },\n              \"url\": {\n                \"type\": \"string\",\n                \"format\": \"uri\"\n              },\n              \"size\": {\n                \"type\": \"integer\"\n              },\n              \"mime_type\": {\n                \"type\": \"string\"\n              }\n            },\n            \"required\": [\n              \"url\"\n            ]\n          },\n          \"minItems\": 1\n        },\n        \"funding_references\": {\n          \"description\": \"The funding references for the resource.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"object\",\n            \"additionalProperties\": false,\n            \"properties\": {\n              \"funder_id\": {\n                \"$ref\": \"#/$defs/id\"\n              },\n              \"funder_name\": {\n                \"type\": \"string\"\n              },\n              \"award_id\": {\n                \"$ref\": \"#/$defs/id\"\n              },\n              \"award_title\": {\n                \"type\": \"string\"\n              },\n              \"award_number\": {\n                \"type\": \"string\"\n              },\n              \"asserted_by\": {\n                \"$ref\": \"#/$defs/provider\"\n              }\n            },\n            \"anyOf\": [\n              {\n                \"required\": [\n                  \"funder_name\"\n                ]\n              },\n              {\n                \"required\": [\n                  \"funder_id\"\n                ]\n              },\n              {\n                \"required\": [\n                  \"award_number\"\n                ]\n              },\n              {\n                \"required\": [\n                  \"award_title\"\n                ]\n              }\n            ]\n          }\n        },\n        \"geo_locations\": {\n          \"type\": \"array\",\n          \"items\": {\n            \"$ref\": \"#/$defs/geo_location\"\n          },\n          \"uniqueItems\": true\n        },\n        \"identifiers\": {\n          \"description\": \"Identifiers for the resource, including the id.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"$ref\": \"#/$defs/identifier\"\n          }\n        },\n        \"image\": {\n          \"description\": \"The image for the resource, e.g. a thumbnail for a blog post.\",\n          \"type\": \"string\",\n          \"format\": \"uri\"\n        },\n        \"language\": {\n          \"$ref\": \"#/$defs/language\"\n        },\n        \"license\": {\n          \"$ref\": \"#/$defs/license\"\n        },\n        \"provider\": {\n          \"$ref\": \"#/$defs/provider\"\n        },\n        \"publisher\": {\n          \"$ref\": \"#/$defs/organization\"\n        },\n        \"references\": {\n          \"description\": \"References cited by this resource.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"$ref\": \"#/$defs/reference\"\n          }\n        },\n        \"relations\": {\n          \"description\": \"Other resolvable persistent unique IDs related to the resource.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"object\",\n            \"additionalProperties\": false,\n            \"properties\": {\n              \"id\": {\n                \"$ref\": \"#/$defs/id\"\n              },\n              \"type\": {\n                \"type\": \"string\",\n                \"enum\": [\n                  \"IsNewVersionOf\",\n                  \"IsPreviousVersionOf\",\n                  \"IsVersionOf\",\n                  \"HasVersion\",\n                  \"IsPartOf\",\n                  \"HasPart\",\n                  \"IsVariantFormOf\",\n                  \"IsOriginalFormOf\",\n                  \"IsIdenticalTo\",\n                  \"IsTranslationOf\",\n                  \"HasTranslation\",\n                  \"IsReviewOf\",\n                  \"HasReview\",\n                  \"IsReviewedBy\",\n                  \"Reviews\",\n                  \"IsPreprintOf\",\n                  \"HasPreprint\",\n                  \"IsSupplementTo\",\n                  \"IsSupplementedBy\",\n                  \"Other\"\n                ]\n              },\n              \"asserted_by\": {\n                \"$ref\": \"#/$defs/provider\"\n              }\n            },\n            \"required\": [\n              \"id\",\n              \"type\"\n            ]\n          },\n          \"minItems\": 1\n        },\n        \"schema_version\": {\n          \"description\": \"The URI of the commonmeta JSON Schema version used.\",\n          \"type\": \"string\",\n          \"const\": \"https://commonmeta.org/commonmeta_v1.0.json\"\n        },\n        \"subjects\": {\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"object\",\n            \"additionalProperties\": false,\n            \"properties\": {\n              \"id\": {\n                \"$ref\": \"#/$defs/id\"\n              },\n              \"subject\": {\n                \"type\": \"string\"\n              },\n              \"language\": {\n                \"$ref\": \"#/$defs/language\"\n              }\n            },\n            \"required\": [\n              \"subject\"\n            ]\n          }\n        },\n        \"title\": {\n          \"description\": \"The title of the resource.\",\n          \"type\": \"string\"\n        },\n        \"url\": {\n          \"description\": \"The URL of the resource.\",\n          \"type\": \"string\",\n          \"format\": \"uri\"\n        },\n        \"version\": {\n          \"description\": \"The version of the resource.\",\n          \"type\": \"string\"\n        }\n      },\n      \"required\": [\n        \"id\",\n        \"type\"\n      ]\n    },\n    \"contributor\": {\n      \"type\": \"object\",\n      \"additionalProperties\": false,\n      \"properties\": {\n        \"type\": {\n          \"type\": \"string\",\n          \"enum\": [\n            \"Person\",\n            \"Organization\"\n          ]\n        },\n        \"person\": {\n          \"$ref\": \"#/$defs/person\"\n        },\n        \"organization\": {\n          \"$ref\": \"#/$defs/organization\"\n        },\n        \"roles\": {\n          \"description\": \"List of roles assumed by the contributor when working on the resource.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"$ref\": \"#/$defs/contributor_role\"\n          }\n        }\n      },\n      \"required\": [\n        \"type\"\n      ],\n      \"if\": {\n        \"properties\": {\n          \"type\": {\n            \"const\": \"Person\"\n          }\n        }\n      },\n      \"then\": {\n        \"required\": [\n          \"person\"\n        ]\n      },\n      \"else\": {\n        \"required\": [\n          \"organization\"\n        ]\n      }\n    },\n    \"contributor_role\": {\n      \"description\": \"The type of contribution made by a contributor\",\n      \"type\": \"string\",\n      \"enum\": [\n        \"Author\",\n        \"Chair\",\n        \"Conceptualization\",\n        \"ContactPerson\",\n        \"DataCollector\",\n        \"DataCuration\",\n        \"DataManager\",\n        \"Distributor\",\n        \"Editor\",\n        \"FormalAnalysis\",\n        \"FundingAcquisition\",\n        \"HostingInstitution\",\n        \"Interviewee\",\n        \"Investigation\",\n        \"Maintainer\",\n        \"Methodology\",\n        \"Other\",\n        \"Producer\",\n        \"ProjectAdministration\",\n        \"ProjectLeader\",\n        \"ProjectManager\",\n        \"ProjectMember\",\n        \"Reader\",\n        \"RelatedPerson\",\n        \"RegistrationAgency\",\n        \"RegistrationAuthority\",\n        \"ResearchGroup\",\n        \"Researcher\",\n        \"Resources\",\n        \"Reviewer\",\n        \"ReviewerExternal\",\n        \"ReviewAssistant\",\n        \"RightsHolder\",\n        \"Software\",\n        \"Sponsor\",\n        \"StatsReviewer\",\n        \"Supervision\",\n        \"Translator\",\n        \"Validation\",\n        \"Visualization\",\n        \"WorkPackageLeader\",\n        \"WritingOriginalDraft\",\n        \"WritingReviewEditing\"\n      ]\n    },\n    \"date\": {\n      \"description\": \"An ISO 8601 / EDTF level 0 date or partial date (year, year-month, year-month-day, or full date-time).\",\n      \"type\": \"string\",\n      \"pattern\": \"^\\\\d{4}(-\\\\d{2}(-\\\\d{2}(T\\\\d{2}:\\\\d{2}:\\\\d{2}(\\\\.\\\\d+)?(Z|[+-]\\\\d{2}:\\\\d{2})?)?)?)?$\"\n    },\n    \"id\": {\n      \"description\": \"The unique identifier for the resource.\",\n      \"type\": \"string\",\n      \"format\": \"uri\"\n    },\n    \"identifier\": {\n      \"description\": \"An identifier for the resource.\",\n      \"type\": \"object\",\n      \"additionalProperties\": false,\n      \"properties\": {\n        \"identifier\": {\n          \"type\": \"string\"\n        },\n        \"identifier_type\": {\n          \"type\": \"string\",\n          \"enum\": [\n            \"ARK\",\n            \"arXiv\",\n            \"article_id\",\n            \"Bibcode\",\n            \"DOI\",\n            \"FundRef\",\n            \"GeoNames\",\n            \"GRID\",\n            \"Handle\",\n            \"ISBN\",\n            \"ISNI\",\n            \"ISSN\",\n            \"OpenAlex\",\n            \"PMID\",\n            \"PMCID\",\n            \"PURL\",\n            \"RAiD\",\n            \"ResearcherID\",\n            \"ROR\",\n            \"ScopusID\",\n            \"SWHID\",\n            \"URL\",\n            \"URN\",\n            \"UUID\",\n            \"GUID\",\n            \"Wikidata\",\n            \"Other\"\n          ]\n        },\n        \"scheme\": {\n          \"description\": \"The scheme for identifiers with identifier_type \'Other\', e.g. \'IGSN\' or \'MGDS\'.\",\n          \"type\": \"string\"\n        },\n        \"asserted_by\": {\n          \"$ref\": \"#/$defs/provider\"\n        }\n      },\n      \"required\": [\n        \"identifier\",\n        \"identifier_type\"\n      ]\n    },\n    \"language\": {\n      \"description\": \"The language. Use one of the language codes from the IETF BCP 47 standard.\",\n      \"type\": \"string\"\n    },\n    \"geo_location\": {\n      \"description\": \"A geographic location associated with the resource.\",\n      \"type\": \"object\",\n      \"additionalProperties\": false,\n      \"properties\": {\n        \"id\": {\n          \"$ref\": \"#/$defs/id\"\n        },\n        \"place\": {\n          \"type\": \"string\"\n        },\n        \"point_longitude\": {\n          \"$ref\": \"#/$defs/longitude\"\n        },\n        \"point_latitude\": {\n          \"$ref\": \"#/$defs/latitude\"\n        },\n        \"box_west_longitude\": {\n          \"$ref\": \"#/$defs/longitude\"\n        },\n        \"box_east_longitude\": {\n          \"$ref\": \"#/$defs/longitude\"\n        },\n        \"box_south_latitude\": {\n          \"$ref\": \"#/$defs/latitude\"\n        },\n        \"box_north_latitude\": {\n          \"$ref\": \"#/$defs/latitude\"\n        },\n        \"polygon\": {\n          \"description\": \"The polygon geometry, formatted as Well-Known Text (WKT).\",\n          \"type\": \"string\"\n        }\n      }\n    },\n    \"latitude\": {\n      \"type\": \"number\",\n      \"minimum\": -90,\n      \"maximum\": 90\n    },\n    \"affiliation\": {\n      \"description\": \"An organizational affiliation of a person, optionally scoped by role and date range.\",\n      \"type\": \"object\",\n      \"additionalProperties\": false,\n      \"properties\": {\n        \"id\": {\n          \"description\": \"ROR identifier URL.\",\n          \"type\": \"string\",\n          \"format\": \"uri\",\n          \"pattern\": \"^https://ror\\\\.org/[0-9a-z]{9}$\"\n        },\n        \"name\": {\n          \"description\": \"The name of the affiliated organization.\",\n          \"type\": \"string\"\n        },\n        \"role\": {\n          \"description\": \"The role or job title held at the organization.\",\n          \"type\": \"string\"\n        },\n        \"start_date\": {\n          \"description\": \"The date the affiliation began.\",\n          \"$ref\": \"#/$defs/date\"\n        },\n        \"end_date\": {\n          \"description\": \"The date the affiliation ended.\",\n          \"$ref\": \"#/$defs/date\"\n        },\n        \"asserted_by\": {\n          \"$ref\": \"#/$defs/provider\"\n        }\n      },\n      \"anyOf\": [\n        {\"required\": [\"id\"]},\n        {\"required\": [\"name\"]}\n      ]\n    },\n    \"license\": {\n      \"description\": \"The license for the resource. Use one of the SPDX license identifiers.\",\n      \"type\": \"object\",\n      \"additionalProperties\": false,\n      \"properties\": {\n        \"id\": {\n          \"type\": \"string\"\n        },\n        \"title\": {\n          \"type\": \"string\"\n        },\n        \"url\": {\n          \"type\": \"string\",\n          \"format\": \"uri\"\n        },\n        \"asserted_by\": {\n          \"$ref\": \"#/$defs/provider\"\n        }\n      }\n    },\n    \"longitude\": {\n      \"type\": \"number\",\n      \"minimum\": -180,\n      \"maximum\": 180\n    },\n    \"organization\": {\n      \"type\": \"object\",\n      \"additionalProperties\": false,\n      \"properties\": {\n        \"id\": {\n          \"description\": \"ROR identifier URL.\",\n          \"type\": \"string\",\n          \"format\": \"uri\",\n          \"pattern\": \"^https://ror\\\\.org/[0-9a-z]{9}$\"\n        },\n        \"name\": {\n          \"description\": \"The name of the organization.\",\n          \"type\": \"string\"\n        },\n        \"acronym\": {\n          \"description\": \"The acronym or abbreviation of the organization.\",\n          \"type\": \"string\"\n        },\n        \"additional_names\": {\n          \"description\": \"Alternate names, aliases, or translated names of the organization.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"string\"\n          }\n        },\n        \"types\": {\n          \"description\": \"The types of the organization.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"string\",\n            \"enum\": [\n              \"education\",\n              \"funder\",\n              \"healthcare\",\n              \"company\",\n              \"archive\",\n              \"nonprofit\",\n              \"government\",\n              \"facility\",\n              \"other\"\n            ]\n          }\n        },\n        \"status\": {\n          \"description\": \"The status of the organization.\",\n          \"type\": \"string\",\n          \"enum\": [\n            \"active\",\n            \"inactive\",\n            \"withdrawn\"\n          ]\n        },\n        \"established\": {\n          \"description\": \"The year the organization was established.\",\n          \"type\": \"integer\"\n        },\n        \"date_updated\": {\n          \"description\": \"The date the organization record was last updated.\",\n          \"$ref\": \"#/$defs/date\"\n        },\n        \"identifiers\": {\n          \"description\": \"External identifiers for the organization, e.g. GRID, ISNI, FundRef, or Wikidata.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"$ref\": \"#/$defs/identifier\"\n          }\n        },\n        \"urls\": {\n          \"description\": \"Website and other URLs associated with the organization.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"object\",\n            \"additionalProperties\": false,\n            \"properties\": {\n              \"name\": {\n                \"description\": \"A label for the URL.\",\n                \"type\": \"string\"\n              },\n              \"url\": {\n                \"type\": \"string\",\n                \"format\": \"uri\"\n              }\n            },\n            \"required\": [\"url\"]\n          }\n        },\n        \"country\": {\n          \"description\": \"The country of the organization, as an ISO 3166-1 alpha-2 code.\",\n          \"type\": \"string\",\n          \"pattern\": \"^[A-Z]{2}$\"\n        },\n        \"relations\": {\n          \"description\": \"Other organizations related to this organization.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"object\",\n            \"additionalProperties\": false,\n            \"properties\": {\n              \"id\": {\n                \"description\": \"ROR or other identifier URL of the related organization.\",\n                \"type\": \"string\",\n                \"format\": \"uri\"\n              },\n              \"type\": {\n                \"type\": \"string\",\n                \"enum\": [\n                  \"IsPartOf\",\n                  \"HasPart\",\n                  \"IsRelatedTo\",\n                  \"Other\"\n                ]\n              }\n            },\n            \"required\": [\"id\", \"type\"]\n          },\n          \"minItems\": 1\n        },\n        \"asserted_by\": {\n          \"$ref\": \"#/$defs/provider\"\n        }\n      }\n    },\n    \"person\": {\n      \"type\": \"object\",\n      \"additionalProperties\": false,\n      \"properties\": {\n        \"id\": {\n          \"description\": \"ORCID identifier URL.\",\n          \"type\": \"string\",\n          \"format\": \"uri\",\n          \"pattern\": \"^https://orcid\\\\.org/\\\\d{4}-\\\\d{4}-\\\\d{4}-\\\\d{3}[0-9X]$\"\n        },\n        \"given_name\": {\n          \"description\": \"The given name of the person.\",\n          \"type\": \"string\"\n        },\n        \"family_name\": {\n          \"description\": \"The family name of the person.\",\n          \"type\": \"string\"\n        },\n        \"name\": {\n          \"description\": \"The display or credit name of the person.\",\n          \"type\": \"string\"\n        },\n        \"additional_names\": {\n          \"description\": \"Alternate names, pseudonyms, or previous names of the person.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"string\"\n          }\n        },\n        \"description\": {\n          \"description\": \"A biographical description of the person.\",\n          \"type\": \"string\"\n        },\n        \"affiliations\": {\n          \"description\": \"The affiliations of the person.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"$ref\": \"#/$defs/affiliation\"\n          }\n        },\n        \"identifiers\": {\n          \"description\": \"External identifiers for the person, e.g. Scopus Author ID or ResearcherID.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"$ref\": \"#/$defs/identifier\"\n          }\n        },\n        \"urls\": {\n          \"description\": \"Personal or professional URLs associated with the person.\",\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"object\",\n            \"additionalProperties\": false,\n            \"properties\": {\n              \"name\": {\n                \"description\": \"A label for the URL.\",\n                \"type\": \"string\"\n              },\n              \"url\": {\n                \"type\": \"string\",\n                \"format\": \"uri\"\n              }\n            },\n            \"required\": [\"url\"]\n          }\n        },\n        \"country\": {\n          \"description\": \"The country of the person, as an ISO 3166-1 alpha-2 code.\",\n          \"type\": \"string\",\n          \"pattern\": \"^[A-Z]{2}$\"\n        },\n        \"asserted_by\": {\n          \"$ref\": \"#/$defs/provider\"\n        }\n      },\n      \"anyOf\": [\n        {\"required\": [\"id\"]},\n        {\"required\": [\"given_name\"]},\n        {\"required\": [\"family_name\"]}\n      ]\n    },\n    \"provider\": {\n      \"description\": \"The provider of the resource or the assertion. This can be a DOI registration agency, a repository, or any other entity asserting the information.\",\n      \"type\": \"string\",\n      \"enum\": [\n        \"Crossref\",\n        \"DataCite\",\n        \"Airiti\",\n        \"CNKI\",\n        \"JaLC\",\n        \"KISTI\",\n        \"mEDRA\",\n        \"OP\",\n        \"Contributor\",\n        \"Commonmeta\",\n        \"GitHub\",\n        \"OpenAIRE\",\n        \"OpenAlex\",\n        \"ORCID\",\n        \"Publisher\",\n        \"PubMed\",\n        \"ROR\",\n        \"Other\"\n      ]\n    },\n    \"type\": {\n      \"type\": \"string\",\n      \"enum\": [\n        \"Article\",\n        \"Audiovisual\",\n        \"Blog\",\n        \"BlogPost\",\n        \"BlogVolume\",\n        \"Book\",\n        \"BookChapter\",\n        \"BookPart\",\n        \"BookSection\",\n        \"BookSeries\",\n        \"BookSet\",\n        \"Collection\",\n        \"Component\",\n        \"ComputationalNotebook\",\n        \"Database\",\n        \"Dataset\",\n        \"Dissertation\",\n        \"Document\",\n        \"Entry\",\n        \"Event\",\n        \"Figure\",\n        \"Grant\",\n        \"Image\",\n        \"Instrument\",\n        \"InteractiveResource\",\n        \"Journal\",\n        \"JournalArticle\",\n        \"JournalIssue\",\n        \"JournalVolume\",\n        \"LegalDocument\",\n        \"Manuscript\",\n        \"Map\",\n        \"Model\",\n        \"OutputManagementPlan\",\n        \"Patent\",\n        \"PeerReview\",\n        \"Performance\",\n        \"PersonalCommunication\",\n        \"PhysicalObject\",\n        \"Post\",\n        \"Poster\",\n        \"Presentation\",\n        \"Proceedings\",\n        \"ProceedingsArticle\",\n        \"ProceedingsSeries\",\n        \"Report\",\n        \"ReportComponent\",\n        \"ReportSeries\",\n        \"Review\",\n        \"Service\",\n        \"Software\",\n        \"Sound\",\n        \"Standard\",\n        \"StudyRegistration\",\n        \"WebPage\",\n        \"Workflow\",\n        \"Other\"\n      ]\n    },\n    \"reference\": {\n      \"description\": \"A cited or citing work. Used for both references (works cited by this resource) and citations (works that cite this resource).\",\n      \"type\": \"object\",\n      \"additionalProperties\": false,\n      \"properties\": {\n        \"key\": {\n          \"type\": \"string\"\n        },\n        \"id\": {\n          \"$ref\": \"#/$defs/id\"\n        },\n        \"type\": {\n          \"$ref\": \"#/$defs/type\"\n        },\n        \"reference\": {\n          \"description\": \"The reference formatted as string.\",\n          \"type\": \"string\"\n        },\n        \"title\": {\n          \"description\": \"The title of the referenced article.\",\n          \"type\": \"string\"\n        },\n        \"asserted_by\": {\n          \"$ref\": \"#/$defs/provider\"\n        }\n      }\n    }\n  }\n}\n";