Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Dataset Terms of Use: refactoring Dataset Model #251

Open
ekraffmiller opened this issue Feb 5, 2025 · 0 comments · May be fixed by #252
Open

Get Dataset Terms of Use: refactoring Dataset Model #251

ekraffmiller opened this issue Feb 5, 2025 · 0 comments · May be fixed by #252
Assignees
Labels
FY25 Sprint 16 FY25 Sprint 16 (2025-01-29 - 2025-02-12) GREI Re-arch GREI re-architecture-related Original size: 3 Size: 3 A percentage of a sprint. 2.1 hours. SPA.Q1.3 Dataset Page: Terms Tab

Comments

@ekraffmiller
Copy link
Contributor

ekraffmiller commented Feb 5, 2025

Although the Dataverse API returns terms of use as individual fields, they can be grouped into two categories: terms of access, which describes how files are accessed, and custom terms of use, which are only required if there is not a standard license associated with the dataset.

This refactoring issue is to make the terms of use more organized, and to incorporate the logic between the license and custom terms.

The new model for Dataset terms of use:

export interface CustomTerms {
  termsOfUse: string
  confidentialityDeclaration?: string
  specialPermissions?: string
  restrictions?: string
  citationRequirements?: string
  depositorRequirements?: string
  conditions?: string
  disclaimer?: string
}
export interface TermsOfAccess {
  fileAccessRequest: boolean
  termsOfAccessForRestrictedFiles?: string
  dataAccessPlace?: string
  originalArchive?: string
  availabilityStatus?: string
  contactForAccess?: string
  sizeOfCollection?: string
  studyCompletion?: string
}

export interface TermsOfUse {
  termsOfAccess: TermsOfAccess
  customTerms?: CustomTerms
}
@ekraffmiller ekraffmiller added GREI Re-arch GREI re-architecture-related FY25 Sprint 16 FY25 Sprint 16 (2025-01-29 - 2025-02-12) SPA.Q1.3 Dataset Page: Terms Tab Size: 3 A percentage of a sprint. 2.1 hours. Original size: 3 labels Feb 5, 2025
@ekraffmiller ekraffmiller self-assigned this Feb 5, 2025
@ekraffmiller ekraffmiller moved this to In Progress 💻 in IQSS Dataverse Project Feb 5, 2025
@ekraffmiller ekraffmiller linked a pull request Feb 5, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FY25 Sprint 16 FY25 Sprint 16 (2025-01-29 - 2025-02-12) GREI Re-arch GREI re-architecture-related Original size: 3 Size: 3 A percentage of a sprint. 2.1 hours. SPA.Q1.3 Dataset Page: Terms Tab
Projects
Status: In Progress 💻
Development

Successfully merging a pull request may close this issue.

1 participant