Hello OGC Connected System People,
I am currently making an implementation of the api and I have a question about datastream and observation schema.
Based on Req 67,
It appears that when creating an observation, the server should get the schema based on the observation (application/json, protobuff, or some custom like application/report+json) then verify the observation follows said schema.
Is that the correct flow, so for example, the result schema seems to follow SWE Common DataComponent (instead of json schema) would be saying the JSON (application/json) needs to adhear that SWE common schema? Asking cause there is an existing application/swe+json format, i would of assumed that uses SWE common result schema and the application/json uses JSON Schema as the resultSchema
Then one last question, in regard to custom schema (let's say application/report+json) if we wanted that to be resolved via json schema we would just upload the json schema to the "resultSchema" field and make our server "know" what how resolve the two.
Hello OGC Connected System People,
I am currently making an implementation of the api and I have a question about datastream and observation schema.
Based on Req 67,
It appears that when creating an observation, the server should get the schema based on the observation (
application/json, protobuff, or some custom likeapplication/report+json) then verify the observation follows said schema.Is that the correct flow, so for example, the result schema seems to follow SWE Common DataComponent (instead of json schema) would be saying the JSON (
application/json) needs to adhear that SWE common schema? Asking cause there is an existingapplication/swe+jsonformat, i would of assumed that uses SWE common result schema and theapplication/jsonuses JSON Schema as the resultSchemaThen one last question, in regard to custom schema (let's say
application/report+json) if we wanted that to be resolved via json schema we would just upload the json schema to the "resultSchema" field and make our server "know" what how resolve the two.