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

Separate data-resource description and location #27

Open
Zarquan opened this issue Apr 21, 2022 · 0 comments
Open

Separate data-resource description and location #27

Zarquan opened this issue Apr 21, 2022 · 0 comments

Comments

@Zarquan
Copy link
Member

Zarquan commented Apr 21, 2022

The current data-resource combines the description of the data and the location of the data.

{
"uuid": "b77cc829-ac12-43b5-9dbe-48cfa727d14c",
"description": "Raw images",
"type": "urn:download-url",
"url": "",
"data-type": "urn:astronomy-image-data",
"mime-type": "image/fits"
}

Separating the data-resource description from the location makes it clearer who sets what.

{
"uuid": "b77cc829-ac12-43b5-9dbe-48cfa727d14c",
"type": "urn:basic-data-resource",
"description": "Raw images",
"data-type": "urn:astronomy-image-data",
"mime-type": "image/fits"
"location": {
    "type": "urn:rucio-datalake",
    "endpoint": "",
    "domain": "",
    "object": ""
    }
}

In this example the data-resource type (urn:basic-data-resource) is set by the task curator, and the location type (urn:rucio-datalake) is set by the user choosing the data they want to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant