-
Notifications
You must be signed in to change notification settings - Fork 1
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
Allow alternate keywords for service #39
Comments
As you point out, these are more "types" than "keywords". |
Yes. That would work also. |
Yeah, we definitely should support multiple types.
STAC would be a "catalog" type right?
Sure that makes sense |
Yes. Good point. So to summarize (other fields omitted just to be short) : {
"type": "object",
"required": [
"name",
"types",
"keywords",
"description",
"links"
],
"properties": {
"keywords": {
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"minLength": 1
}
},
"types": {
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"enum": [
"catalog",
"data",
"jupyterhub",
"other",
"wps",
"wms",
"wfs",
"wcs",
"ogcapi_processes"
]
}
}
}
} |
Look good, except for a few things:
|
Indeed. Should we introduce version-specific schemas? Instead of Then, we can introduce
I'm fine with removing that requirement. |
Yes for sure. That will help going forward but it won't really help with the backwards compatibility problem since the older ones are using For that I'll probably have to make a conversion function in |
The current definition of "service" defines
keywords
as follows:Marble-node-registry/node_registry.schema.json
Lines 96 to 103 in 7fc410a
Given the specific values specified (especially
service-[...]
prefixed values), it feels more like a "type" than a generic keyword listing.Additional values cannot be provided either.
Should the definition allow extending with any other string, as long as at least 1 fulfills the requirement of the specific values?
The text was updated successfully, but these errors were encountered: