Skip to content

Commit 832a13b

Browse files
authored
Update README.md
1 parent a46f1df commit 832a13b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,19 @@ creating two new entities (stores in **Berlin**). Any entity must have a `id` an
244244
attributes are optional and will depend on the system being described. Each additional attribute should also have a
245245
defined `type` and a `value` attribute.
246246
247+
> [!NOTE]
248+
> The `type` attribute should be used to describe the **Datatype** of the Entity and its Properties
249+
>
250+
> - For Native JSON Properties, the `type` can align with a well-known **Datatype** schema, such as [schema.org](https://schema.org/DataType) or
251+
> [XML Schema](https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/) - typically values such as: `Time`, `Boolean`, `DateTime`, `Number`,
252+
> `Text`, `Date`, `Float`, `Integer` etc.
253+
> - For other JSON Objects, where possible use a datatype from an existing ontology - for example `PostalAddress` aligns with `https://schema.org/PostalAddress`.
254+
> - `"type": "Property"` can also be used if maintenance of a detailed datatype is not important.
255+
> - For GeoProperties, define the position using [GeoJSON](https://geojson.org/) and use the attribute type: `"type": "geo:json"`
256+
> - Use of [NGSI-LD](https://ngsi-ld-tutorials.readthedocs.io/) Property sub-classes such `LanguageProperty`, `VocabularyProperty`, `JsonProperty` and `ListProperty`
257+
> can be useful if it is enviaged that an NGSI-v2 system is expected to later connect with NGSI-LD systems for Federations and Data Spaces
258+
> - By convention `"type": "Relationship"` is used for [Relationships](https://github.com/FIWARE/tutorials.Entity-Relationships/tree/NGSI-v2)
259+
247260
#### 2️⃣ Request:
248261
249262
```console

0 commit comments

Comments
 (0)