Open m-mohr opened 7 months ago
Related issue with more info in the comments: https://github.com/fiboa/schema/issues/3#issuecomment-2321346585
How to handle required fields (e.g. in merged datasets)
Generally: How to combine/merge datasets
Examples:
# merged
{
"fiboa_version": "0.3.0",
"fiboa_extensions": {
"abc": [
"https://example.com/provider/schema.yaml"
],
"xyz": [
"https://example.com/provider/schema.yaml",
"https://example.com/xyz_crop_extension/schema.yaml"
]
},
"fiboa_collection": {
"determination_method": "surveyed"
}
}
# single
{
"fiboa_version": "0.3.0",
"fiboa_extensions": [
"https://example.com/xyz_crop_extension/schema.yaml",
"https://example.com/provider/schema.yaml"
],
"fiboa_collection": {
"collection": "xyz",
"provider:name": "XYZ",
"determination_method": "surveyed"
}
}
{
"fiboa_version": "0.3.0",
"fiboa_extensions": [
"https://example.com/provider/schema.yaml"
],
"fiboa_collection": {
"collection": "abc",
"provider:name": "ABC",
"determination_method": "surveyed",
}
}
Originally posted by @m-mohr in https://github.com/fiboa/specification/issues/13#issuecomment-2051843988
@andyjenkinson wrote:
@cholmes wrote:
I wrote: