iodepo / odis-arch

Development of the Ocean Data and Information System (ODIS) architecture
https://book.odis.org/
27 stars 16 forks source link

normalize how to define additionalProperty values #163

Open jmckenna opened 1 year ago

jmckenna commented 1 year ago
jmckenna commented 1 year ago

From example in https://github.com/schemaorg/schemaorg/issues/1685 :

 //additionalProperty can actually also be an array of property-value pairs

{
  "additionalProperty": [
    {
      "@type": "PropertyValue",
      "name": "myCustomProperty",
      "value": "my custom value"
    },
    {
      "@type": "PropertyValue",
      "name": "myOtherCustomProperty",
      "value": "my other custom value"
    }
  ]
}