-
Notifications
You must be signed in to change notification settings - Fork 14
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
DDO Schema handling #205
Comments
from Slack:
Good issue :) {
"did:op": {
"versions": [
{ "4.1.0" : //this is version for DDO + match did starts with did:op
{
"validation_file":"op_4.1.0.schacl",
"mapping_file":"op_4.1.0.json",
"collection_name":"op_4.1.0"
}
},
{ "5.1.0" : //this is version for DDO + match did starts with did:op
{
"validation_file":"op_5.1.0.schacl",
"mapping_file":"op_5.1.0.json",
"collection_name":"op_5.1.0"
}
}
]
},
"did:gaia-x": {
"versions": [
{ "1.0" : //this is version for DDO + match did starts with did:gaia-x
{
"validation_file":"gaia_x_1.0.schacl",
"mapping_file":"gaia_x_1.0.json",
"collection_name":"gaia_x_1.0"
}
},
{ "2.0" : //this is version for DDO + match did starts with did:gaia-x
{
"validation_file":"gaia_x_2.0.schacl",
"mapping_file":"gaia_x_2.0.json",
"collection_name":"gaia_x_2.0"
}
},
]
}
} This will take care of all conflicts, and it's not changing our logic (now we are browsing the folder to take the files, instead we will have it predefined) |
We also need to ensure that a did does not exist in more than one collection, so if a ddo is updated to use a new schema it should be removed from all other schemas. |
so the flow is the following:
When doing query: |
Merged in: #239 |
Once we have validateDDO command:
The text was updated successfully, but these errors were encountered: