I want to work with JSON behind TypeScript interfaces but I'm not sure what the spec should be outside of GeoJSON. Is there a spec which is more encompassing then GeoJSON and includes things like a GetCapabilities response?
For example, it is very obvious with ESRI because ArcGIS Server services have built-in json support via adding a query string. For example, http://sampleserver3.arcgisonline.com/ArcGIS/rest/services?f=json&callback=foo
But GeoServer limits json support to GetFeature/GetFeatureInfo requests so it's not obvious what a GetCapabilies response might look like if a tool were to actually produce JSON.
So my question is this:
- Is GeoJSON format limited to spatial data?
- If so, is there any other JSON standards/schemas related to WFS/WMS services that is more encompassing?
NOTE: OpenLayers has WFS/WMS readers for various services. Presumably the resulting JSON conforms to some standard?