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

Indicate encoding format profile using conformsTo #231

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

stain
Copy link
Contributor

@stain stain commented Jan 16, 2023

Example: https://by-covid.github.io/baseline-use-case-synthetic-crate/ro-crate-preview.html#vaccines_effectiveness_common_data_model_specification/data/metadata/attributes.csv

 {
  "@id": "attributes.csv",
  "@type": "File",
  "encodingFormat": ["text/csv", {"@id": "https://www.nationalarchives.gov.uk/PRONOM/x-fmt/18"}],
  "conformsTo": {"@id": "https://docs.ropensci.org/dataspice/#create-spice"}
 },
 {
  "@id": "https://www.nationalarchives.gov.uk/PRONOM/x-fmt/18",
  "@type": "WebPage",
  "name": "Comma-Separated Values format (CSV)"
 },
 {
  "@id": "https://docs.ropensci.org/dataspice/#create-spice",
  "@type": "CreativeWork",
  "name": "dataspice CSV profile"
 }

This also adds note to explain conformsTo used on ro-crate-metadata.json and root dataset for profiles (assumes #229)

Example: https://by-covid.github.io/baseline-use-case-synthetic-crate/ro-crate-preview.html#vaccines_effectiveness_common_data_model_specification/data/metadata/attributes.csv

```json
 {
  "@id": "attributes.csv",
  "@type": "File",
  "encodingFormat": ["text/csv", {"@id": "https://www.nationalarchives.gov.uk/PRONOM/x-fmt/18"}],
  "conformsTo": {"@id": "https://docs.ropensci.org/dataspice/#create-spice"}
 },
 {
  "@id": "https://docs.ropensci.org/dataspice/#create-spice",
  "@type": "CreativeWork",
  "name": "dataspice CSV profile"
 }
```

adds note to explain conformsTo used on ro-crate-metadata.json and root dataset for profiles

This assumes #229
@stain
Copy link
Contributor Author

stain commented Jan 16, 2023

This could use WebPageElement instead of CreativeWork for this particular example, but that depends on #230 and the paragraph is complex enough.

@stain
Copy link
Contributor Author

stain commented Jan 26, 2023

@stain stain added the profile label Feb 27, 2023
@stain
Copy link
Contributor Author

stain commented Mar 23, 2023

Merging without review as call 2023-03-23 agreed to merge all outstanding PR (that are not WIP) so we can do an overall review and push out 1.2.

@stain stain merged commit e013a5e into master Mar 23, 2023
@stain stain deleted the profiles-on-data-entities branch March 23, 2023 22:02
@stain stain added this to the RO-Crate 1.2 milestone Mar 23, 2023
@stain stain mentioned this pull request Apr 28, 2023
29 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant