opengeospatial / ogcapi-connected-systems

Public Repository for the Connected Systems SWG
Other
7 stars 6 forks source link

Add Scalar List Components #6

Open alexrobin opened 1 year ago

alexrobin commented 1 year ago

Add new components to declare simple lists of scalar values. Currently, this is only possible using a DataArray but the syntax is too complex for simple use cases (e.g. a list of textual values like license plates).

This applies to all scalar components, so the new components would be:

Example JSON for component definition:

{
  "name": "license_plates",
  "type": "TextList",
  "definition": "https://dbpedia.org/page/Vehicle_registration_plate",
  "label": "Detected License Plates"
}

In text and binary encoding, the number of items would have to be encoded first.

alexrobin commented 7 months ago

Not implemented as part of SWE Common 2.1