Skip to content

Resource

const Resource: ZodObject<{ alternateIdentifiers: ZodOptional<ZodArray<ZodObject<{ alternateIdentifier: ZodString; alternateIdentifierType: ZodString; }, $strip>>>; contributors: ZodOptional<ZodArray<ZodObject<{ affiliation: ZodOptional<ZodArray<ZodObject<{ affiliationIdentifier: ZodOptional<…>; affiliationIdentifierScheme: ZodOptional<…>; name: ZodString; schemeUri: ZodOptional<…>; }, $strip>>>; contributorType: ZodEnum<{ ContactPerson: "ContactPerson"; DataCollector: "DataCollector"; DataCurator: "DataCurator"; DataManager: "DataManager"; Distributor: "Distributor"; Editor: "Editor"; HostingInstitution: "HostingInstitution"; Other: "Other"; Producer: "Producer"; ProjectLeader: "ProjectLeader"; ProjectManager: "ProjectManager"; ProjectMember: "ProjectMember"; RegistrationAgency: "RegistrationAgency"; RegistrationAuthority: "RegistrationAuthority"; RelatedPerson: "RelatedPerson"; Researcher: "Researcher"; ResearchGroup: "ResearchGroup"; RightsHolder: "RightsHolder"; Sponsor: "Sponsor"; Supervisor: "Supervisor"; Translator: "Translator"; WorkPackageLeader: "WorkPackageLeader"; }>; familyName: ZodOptional<ZodString>; givenName: ZodOptional<ZodString>; lang: ZodOptional<ZodString>; name: ZodString; nameIdentifiers: ZodOptional<ZodArray<ZodObject<{ nameIdentifier: ZodString; nameIdentifierScheme: ZodString; schemeUri: ZodOptional<…>; }, $strip>>>; nameType: ZodOptional<ZodEnum<{ Organizational: "Organizational"; Personal: "Personal"; }>>; }, $strip>>>; creators: ZodOptional<ZodArray<ZodObject<{ affiliation: ZodOptional<ZodArray<ZodObject<{ affiliationIdentifier: ZodOptional<…>; affiliationIdentifierScheme: ZodOptional<…>; name: ZodString; schemeUri: ZodOptional<…>; }, $strip>>>; familyName: ZodOptional<ZodString>; givenName: ZodOptional<ZodString>; lang: ZodOptional<ZodString>; name: ZodString; nameIdentifiers: ZodOptional<ZodArray<ZodObject<{ nameIdentifier: ZodString; nameIdentifierScheme: ZodString; schemeUri: ZodOptional<…>; }, $strip>>>; nameType: ZodOptional<ZodEnum<{ Organizational: "Organizational"; Personal: "Personal"; }>>; }, $strip>>>; data: ZodOptional<ZodUnknown>; dataSchema: ZodOptional<ZodUnion<readonly [ZodUnion<readonly [ZodString, ZodString]>, ZodRecord<ZodString, ZodUnknown>]>>; dates: ZodOptional<ZodArray<ZodObject<{ date: ZodString; dateInformation: ZodOptional<ZodString>; dateType: ZodEnum<{ Accepted: "Accepted"; Available: "Available"; Collected: "Collected"; Copyrighted: "Copyrighted"; Coverage: "Coverage"; Created: "Created"; Issued: "Issued"; Other: "Other"; Submitted: "Submitted"; Updated: "Updated"; Valid: "Valid"; Withdrawn: "Withdrawn"; }>; }, $strip>>>; descriptions: ZodOptional<ZodArray<ZodObject<{ description: ZodString; descriptionType: ZodEnum<{ Abstract: "Abstract"; Methods: "Methods"; Other: "Other"; SeriesInformation: "SeriesInformation"; TableOfContents: "TableOfContents"; TechnicalInfo: "TechnicalInfo"; }>; lang: ZodOptional<ZodString>; }, $strip>>>; doi: ZodOptional<ZodString>; format: ZodOptional<ZodDiscriminatedUnion<[ZodObject<{ columnNames: ZodOptional<ZodArray<ZodString>>; commentPrefix: ZodOptional<ZodString>; commentRows: ZodOptional<ZodArray<ZodNumber>>; delimiter: ZodOptional<ZodString>; description: ZodOptional<ZodString>; headerJoin: ZodOptional<ZodString>; headerRows: ZodOptional<ZodUnion<readonly [ZodLiteral<…>, ZodArray<…>]>>; lineTerminator: ZodOptional<ZodString>; name: ZodLiteral<"csv">; nullSequence: ZodOptional<ZodString>; quoteChar: ZodOptional<ZodString>; title: ZodOptional<ZodString>; }, $strip>, ZodObject<{ columnNames: ZodOptional<ZodArray<ZodString>>; commentPrefix: ZodOptional<ZodString>; commentRows: ZodOptional<ZodArray<ZodNumber>>; description: ZodOptional<ZodString>; headerJoin: ZodOptional<ZodString>; headerRows: ZodOptional<ZodUnion<readonly [ZodLiteral<…>, ZodArray<…>]>>; lineTerminator: ZodOptional<ZodString>; name: ZodLiteral<"tsv">; nullSequence: ZodOptional<ZodString>; title: ZodOptional<ZodString>; }, $strip>, ZodObject<{ columnNames: ZodOptional<ZodArray<ZodString>>; commentPrefix: ZodOptional<ZodString>; commentRows: ZodOptional<ZodArray<ZodNumber>>; description: ZodOptional<ZodString>; headerJoin: ZodOptional<ZodString>; headerRows: ZodOptional<ZodUnion<readonly [ZodLiteral<…>, ZodArray<…>]>>; jsonPointer: ZodOptional<ZodString>; name: ZodLiteral<"json">; rowType: ZodOptional<ZodEnum<{ array: "array"; object: "object"; }>>; title: ZodOptional<ZodString>; }, $strip>], "name">>; formats: ZodOptional<ZodArray<ZodString>>; fundingReferences: ZodOptional<ZodArray<ZodObject<{ awardNumber: ZodOptional<ZodString>; awardTitle: ZodOptional<ZodString>; awardUri: ZodOptional<ZodString>; funderIdentifier: ZodOptional<ZodString>; funderIdentifierType: ZodOptional<ZodEnum<{ Crossref Funder ID: "Crossref Funder ID"; GRID: "GRID"; ISNI: "ISNI"; Other: "Other"; ROR: "ROR"; }>>; funderName: ZodString; }, $strip>>>; geoLocations: ZodOptional<ZodArray<ZodObject<{ geoLocationBox: ZodOptional<ZodObject<{ eastBoundLongitude: ZodNumber; northBoundLatitude: ZodNumber; southBoundLatitude: ZodNumber; westBoundLongitude: ZodNumber; }, $strip>>; geoLocationPlace: ZodOptional<ZodString>; geoLocationPoint: ZodOptional<ZodObject<{ pointLatitude: ZodNumber; pointLongitude: ZodNumber; }, $strip>>; geoLocationPolygon: ZodOptional<ZodArray<ZodObject<{ inPolygonPoint: ZodOptional<…>; polygonPoint: ZodOptional<…>; }, $strip>>>; }, $strip>>>; integrity: ZodOptional<ZodObject<{ hash: ZodString; type: ZodEnum<{ md5: "md5"; sha1: "sha1"; sha256: "sha256"; sha512: "sha512"; }>; }, $strip>>; language: ZodOptional<ZodString>; name: ZodOptional<ZodString>; prefix: ZodOptional<ZodString>; publicationYear: ZodOptional<ZodString>; publisher: ZodOptional<ZodObject<{ lang: ZodOptional<ZodString>; name: ZodString; publisherIdentifier: ZodOptional<ZodString>; publisherIdentifierScheme: ZodOptional<ZodString>; schemeUri: ZodOptional<ZodString>; }, $strip>>; relatedIdentifiers: ZodOptional<ZodArray<ZodObject<{ relatedIdentifier: ZodString; relatedIdentifierType: ZodEnum<{ ARK: "ARK"; arXiv: "arXiv"; bibcode: "bibcode"; CSTR: "CSTR"; DOI: "DOI"; EAN13: "EAN13"; EISSN: "EISSN"; Handle: "Handle"; IGSN: "IGSN"; ISBN: "ISBN"; ISSN: "ISSN"; ISTC: "ISTC"; LISSN: "LISSN"; LSID: "LSID"; PMID: "PMID"; PURL: "PURL"; RRID: "RRID"; UPC: "UPC"; URL: "URL"; URN: "URN"; w3id: "w3id"; }>; relatedMetadataScheme: ZodOptional<ZodString>; relationType: ZodEnum<{ Cites: "Cites"; Collects: "Collects"; Compiles: "Compiles"; Continues: "Continues"; Describes: "Describes"; Documents: "Documents"; HasMetadata: "HasMetadata"; HasPart: "HasPart"; HasTranslation: "HasTranslation"; HasVersion: "HasVersion"; IsCitedBy: "IsCitedBy"; IsCollectedBy: "IsCollectedBy"; IsCompiledBy: "IsCompiledBy"; IsContinuedBy: "IsContinuedBy"; IsDerivedFrom: "IsDerivedFrom"; IsDescribedBy: "IsDescribedBy"; IsDocumentedBy: "IsDocumentedBy"; IsIdenticalTo: "IsIdenticalTo"; IsMetadataFor: "IsMetadataFor"; IsNewVersionOf: "IsNewVersionOf"; IsObsoletedBy: "IsObsoletedBy"; IsOriginalFormOf: "IsOriginalFormOf"; IsPartOf: "IsPartOf"; IsPreviousVersionOf: "IsPreviousVersionOf"; IsPublishedIn: "IsPublishedIn"; IsReferencedBy: "IsReferencedBy"; IsRequiredBy: "IsRequiredBy"; IsReviewedBy: "IsReviewedBy"; IsSourceOf: "IsSourceOf"; IsSupplementedBy: "IsSupplementedBy"; IsSupplementTo: "IsSupplementTo"; IsTranslationOf: "IsTranslationOf"; IsVariantFormOf: "IsVariantFormOf"; IsVersionOf: "IsVersionOf"; Obsoletes: "Obsoletes"; References: "References"; Requires: "Requires"; Reviews: "Reviews"; }>; resourceTypeGeneral: ZodOptional<ZodEnum<{ Audiovisual: "Audiovisual"; Award: "Award"; Book: "Book"; BookChapter: "BookChapter"; Collection: "Collection"; ComputationalNotebook: "ComputationalNotebook"; ConferencePaper: "ConferencePaper"; ConferenceProceeding: "ConferenceProceeding"; DataPaper: "DataPaper"; Dataset: "Dataset"; Dissertation: "Dissertation"; Event: "Event"; Image: "Image"; Instrument: "Instrument"; InteractiveResource: "InteractiveResource"; Journal: "Journal"; JournalArticle: "JournalArticle"; Model: "Model"; Other: "Other"; OutputManagementPlan: "OutputManagementPlan"; PeerReview: "PeerReview"; PhysicalObject: "PhysicalObject"; Preprint: "Preprint"; Project: "Project"; Report: "Report"; Service: "Service"; Software: "Software"; Sound: "Sound"; Standard: "Standard"; StudyRegistration: "StudyRegistration"; Text: "Text"; Workflow: "Workflow"; }>>; schemeType: ZodOptional<ZodString>; schemeUri: ZodOptional<ZodString>; }, $strip>>>; relatedItems: ZodOptional<ZodArray<ZodObject<{ contributors: ZodOptional<ZodArray<ZodObject<{ affiliation: ZodOptional<…>; contributorType: ZodEnum<…>; familyName: ZodOptional<…>; givenName: ZodOptional<…>; lang: ZodOptional<…>; name: ZodString; nameIdentifiers: ZodOptional<…>; nameType: ZodOptional<…>; }, $strip>>>; creators: ZodOptional<ZodArray<ZodObject<{ affiliation: ZodOptional<…>; familyName: ZodOptional<…>; givenName: ZodOptional<…>; lang: ZodOptional<…>; name: ZodString; nameIdentifiers: ZodOptional<…>; nameType: ZodOptional<…>; }, $strip>>>; edition: ZodOptional<ZodString>; firstPage: ZodOptional<ZodString>; issue: ZodOptional<ZodString>; lastPage: ZodOptional<ZodString>; number: ZodOptional<ZodString>; numberType: ZodOptional<ZodEnum<{ Article: "Article"; Chapter: "Chapter"; Other: "Other"; Report: "Report"; }>>; publicationYear: ZodOptional<ZodString>; publisher: ZodOptional<ZodString>; relatedItemIdentifier: ZodOptional<ZodObject<{ relatedItemIdentifier: ZodString; relatedItemIdentifierType: ZodEnum<{ ARK: …; arXiv: …; bibcode: …; CSTR: …; DOI: …; EAN13: …; EISSN: …; Handle: …; IGSN: …; ISBN: …; ISSN: …; ISTC: …; LISSN: …; LSID: …; PMID: …; PURL: …; RRID: …; UPC: …; URL: …; URN: …; w3id: …; }>; }, $strip>>; relatedItemType: ZodEnum<{ Audiovisual: "Audiovisual"; Award: "Award"; Book: "Book"; BookChapter: "BookChapter"; Collection: "Collection"; ComputationalNotebook: "ComputationalNotebook"; ConferencePaper: "ConferencePaper"; ConferenceProceeding: "ConferenceProceeding"; DataPaper: "DataPaper"; Dataset: "Dataset"; Dissertation: "Dissertation"; Event: "Event"; Image: "Image"; Instrument: "Instrument"; InteractiveResource: "InteractiveResource"; Journal: "Journal"; JournalArticle: "JournalArticle"; Model: "Model"; Other: "Other"; OutputManagementPlan: "OutputManagementPlan"; PeerReview: "PeerReview"; PhysicalObject: "PhysicalObject"; Preprint: "Preprint"; Project: "Project"; Report: "Report"; Service: "Service"; Software: "Software"; Sound: "Sound"; Standard: "Standard"; StudyRegistration: "StudyRegistration"; Text: "Text"; Workflow: "Workflow"; }>; relatedMetadataScheme: ZodOptional<ZodString>; relationType: ZodEnum<{ Cites: "Cites"; Collects: "Collects"; Compiles: "Compiles"; Continues: "Continues"; Describes: "Describes"; Documents: "Documents"; HasMetadata: "HasMetadata"; HasPart: "HasPart"; HasTranslation: "HasTranslation"; HasVersion: "HasVersion"; IsCitedBy: "IsCitedBy"; IsCollectedBy: "IsCollectedBy"; IsCompiledBy: "IsCompiledBy"; IsContinuedBy: "IsContinuedBy"; IsDerivedFrom: "IsDerivedFrom"; IsDescribedBy: "IsDescribedBy"; IsDocumentedBy: "IsDocumentedBy"; IsIdenticalTo: "IsIdenticalTo"; IsMetadataFor: "IsMetadataFor"; IsNewVersionOf: "IsNewVersionOf"; IsObsoletedBy: "IsObsoletedBy"; IsOriginalFormOf: "IsOriginalFormOf"; IsPartOf: "IsPartOf"; IsPreviousVersionOf: "IsPreviousVersionOf"; IsPublishedIn: "IsPublishedIn"; IsReferencedBy: "IsReferencedBy"; IsRequiredBy: "IsRequiredBy"; IsReviewedBy: "IsReviewedBy"; IsSourceOf: "IsSourceOf"; IsSupplementedBy: "IsSupplementedBy"; IsSupplementTo: "IsSupplementTo"; IsTranslationOf: "IsTranslationOf"; IsVariantFormOf: "IsVariantFormOf"; IsVersionOf: "IsVersionOf"; Obsoletes: "Obsoletes"; References: "References"; Requires: "Requires"; Reviews: "Reviews"; }>; resourceTypeGeneral: ZodOptional<ZodEnum<{ Audiovisual: "Audiovisual"; Award: "Award"; Book: "Book"; BookChapter: "BookChapter"; Collection: "Collection"; ComputationalNotebook: "ComputationalNotebook"; ConferencePaper: "ConferencePaper"; ConferenceProceeding: "ConferenceProceeding"; DataPaper: "DataPaper"; Dataset: "Dataset"; Dissertation: "Dissertation"; Event: "Event"; Image: "Image"; Instrument: "Instrument"; InteractiveResource: "InteractiveResource"; Journal: "Journal"; JournalArticle: "JournalArticle"; Model: "Model"; Other: "Other"; OutputManagementPlan: "OutputManagementPlan"; PeerReview: "PeerReview"; PhysicalObject: "PhysicalObject"; Preprint: "Preprint"; Project: "Project"; Report: "Report"; Service: "Service"; Software: "Software"; Sound: "Sound"; Standard: "Standard"; StudyRegistration: "StudyRegistration"; Text: "Text"; Workflow: "Workflow"; }>>; schemeType: ZodOptional<ZodString>; schemeUri: ZodOptional<ZodString>; titles: ZodArray<ZodObject<{ lang: ZodOptional<ZodString>; title: ZodString; titleType: ZodOptional<ZodEnum<…>>; }, $strip>>; volume: ZodOptional<ZodString>; }, $strip>>>; rightsList: ZodOptional<ZodArray<ZodObject<{ lang: ZodOptional<ZodString>; rights: ZodOptional<ZodString>; rightsIdentifier: ZodOptional<ZodString>; rightsIdentifierScheme: ZodOptional<ZodString>; rightsUri: ZodOptional<ZodString>; schemeUri: ZodOptional<ZodString>; }, $strip>>>; sizes: ZodOptional<ZodArray<ZodString>>; subjects: ZodOptional<ZodArray<ZodObject<{ classificationCode: ZodOptional<ZodString>; lang: ZodOptional<ZodString>; schemeUri: ZodOptional<ZodString>; subject: ZodString; subjectScheme: ZodOptional<ZodString>; valueUri: ZodOptional<ZodString>; }, $strip>>>; suffix: ZodOptional<ZodString>; tableSchema: ZodOptional<ZodUnion<readonly [ZodUnion<readonly [ZodString, ZodString]>, ZodObject<{ $schema: ZodOptional<ZodURL>; description: ZodOptional<ZodString>; foreignKeys: ZodOptional<ZodArray<ZodObject<{ columns: …; reference: …; }, $strip>>>; missingValues: ZodOptional<ZodArray<ZodUnion<readonly […, …, …, …]>>>; primaryKey: ZodOptional<ZodArray<ZodString>>; properties: ZodOptional<ZodRecord<ZodString, ZodDiscriminatedUnion<[…, …, …], "type">>>; required: ZodOptional<ZodArray<ZodString>>; title: ZodOptional<ZodString>; uniqueKeys: ZodOptional<ZodArray<ZodArray<ZodString>>>; }, $strip>]>>; textual: ZodOptional<ZodBoolean>; titles: ZodOptional<ZodArray<ZodObject<{ lang: ZodOptional<ZodString>; title: ZodString; titleType: ZodOptional<ZodEnum<{ AlternativeTitle: "AlternativeTitle"; Other: "Other"; Subtitle: "Subtitle"; TranslatedTitle: "TranslatedTitle"; }>>; }, $strip>>>; types: ZodOptional<ZodObject<{ resourceType: ZodOptional<ZodString>; resourceTypeGeneral: ZodEnum<{ Audiovisual: "Audiovisual"; Award: "Award"; Book: "Book"; BookChapter: "BookChapter"; Collection: "Collection"; ComputationalNotebook: "ComputationalNotebook"; ConferencePaper: "ConferencePaper"; ConferenceProceeding: "ConferenceProceeding"; DataPaper: "DataPaper"; Dataset: "Dataset"; Dissertation: "Dissertation"; Event: "Event"; Image: "Image"; Instrument: "Instrument"; InteractiveResource: "InteractiveResource"; Journal: "Journal"; JournalArticle: "JournalArticle"; Model: "Model"; Other: "Other"; OutputManagementPlan: "OutputManagementPlan"; PeerReview: "PeerReview"; PhysicalObject: "PhysicalObject"; Preprint: "Preprint"; Project: "Project"; Report: "Report"; Service: "Service"; Software: "Software"; Sound: "Sound"; Standard: "Standard"; StudyRegistration: "StudyRegistration"; Text: "Text"; Workflow: "Workflow"; }>; }, $strip>>; unstable_customMetadata: ZodOptional<ZodRecord<ZodString, ZodUnknown>>; version: ZodOptional<ZodString>; }, $strip>

Defined in: metadata/models/resource.ts:10