π¨Data Model Overview
Overview of the data models which can be used to structure metadata
Last updated
Overview of the data models which can be used to structure metadata
Last updated
This specification uses data models derived from standards such as schema.org to deliver structure to metadata and define some standard properties, which we use to describe metadata.
Schema.org is a collaborative, community activity on a mission to create, maintain, and promote schemas for structured data on the Internet and web pages, in email messages, and beyond. Schema.org had founded by the companies such as Google, Microsoft, Yahoo and Yandex.
Schema.org vocabularies are developed by an open community process, using the public-schemaorg@w3.org mailing list and through GitHub. Often properties are added for some specific use case, and their potential relationship to other areas of schema.org only becomes apparent later. The acquisition of new properties gives rise to changes in textual definition and property-to-type associations that gradually make schema.org coherent without introducing radical changes in meaning. Consumers of schema.org data can generally rely on schema.org term meanings not changing dramatically; however, term definitions often evolve with time to accommodate new usage scenarios and improve usability. When schema.org properties are occasionally deprecated, they stay in the context that can still be used and referenced to their replacement property.
Schema.org allows the structuring of data using JSON-LD format. JSON-LD is a JSON having an additional @context
field. We use the same schema to structure metadata without the presence of this field.
Each data model possesses a type with the various supported attributes which a lightning web application can utilise to structure metadata. Data model types such as AudioObject, ImageObject, VideoObject and many more are present to structure metadata.
Use our data models of the suitable type to structure metadata in JSON format:
Eg.
To learn more about how to structure metadata for Bitcoin transactions: