opengeospatial / poi

OGC Points of Interest Encoding Specification
Apache License 2.0
21 stars 28 forks source link

What should be in the schema link? #106

Closed howardtrickey closed 1 year ago

howardtrickey commented 1 year ago

The recent update to the standard now has a "payload" and also a link that is supposed to describe the schema. The question is: should the schema describe just the payload items, or the entire POI?

Both choices have their advantages:

Advantage of describing the whole POI:

Advantage of describing just the payload:

If we go with the choice of just describing the payload, we need to furthermore be precise about what that means: for instance, it could mean that the schema describes an array of objects (probably property/value pairs), each of which can be any of a number of types. Or it could describe a choice of any number of object types, with the implication that there can be an arbitrary collection of those. Or it could describe a single object which in turn is probably some kind of aggregate type, but leaving it up to the schema writer what kind of aggregate type it is. The last choice probably offers the most control to the schema writer, so I would lean towards that.

cmheazel commented 1 year ago

The July 19 update should help clarify this issue.

cmheazel commented 1 year ago

July 19 added a PayloadSchema object which is associated with the POI_Payload. PayloadSchema is defined as a representation of a syntactic model for a POI payload.

Recommend to close.

geofizzydrink commented 1 year ago

Issue Closed