Hi all,
We have the need to update the schema.xsd associated with layers in order to define a domain / list of string values that are “allowed” for a particular string attribute. For GeoSHAPE, we are currently generating drop down menus and validating the entries based on the .xsd file we place in the following location:
data_folder////schema.xsd
The issue is that the user has to ssh in and update the file directly (and then restart tomcat). We would like to post new/updated .xsd files using the rest API but it currently doesn’t exist. Is this something others would like to see in the API? If we have to implement it, I’d like us to implement it such that the pull request can be accepted so I’d appreciate any feedback. The route should perhaps look something like:
http:///geoserver/rest/workspaces//datastores//featuretypes//schema.xsd
Also, maybe the API can be used to get the schema as well similar to WFS DescribeFeatureType but the actual file as opposed to the serialized version of corresponding object.
Regards,
Syrus Mesdaghi