Closed marcelobianchi closed 6 months ago
https://github.com/FDSN/SeedLink/pull/47 adds "capability" as a simple list of strings.
Thanks @andres-h. I merged the PR before noticing that the addition when into the .rst document for rendering. I think it is also important to maintain the JSON schema in a separate file that can be used directly by software for validation. A stand-alone schema file already exists here:
https://github.com/FDSN/SeedLink/blob/main/docs/seedlink.schema.json
Ideally, this stand-along file would be included directly into the .rst, and to avoid defining this schema in two different places.
I forgot about the standalone schema file. It has now been updated and included in the document directly (draft branch). I also fixed some minor rst errors.
Thanks @andres-h . Changes in draft
have been reviewed and pushed to main
, and rendering at RTD looks good: https://seedlink.readthedocs.io/en/latest/protocol.html#appendix-b-json-schema
Two additions that I think would be useful:
As proposed by Issue #14 the INFO command should be used to get a list of server CAPABILITIES but "Appendix B. JSON schema" is missing the expected JSON schema for this request type.