Open APIs

 View Only

Use of JSON-LD in TMF Schema

  • 1.  Use of JSON-LD in TMF Schema

    TM Forum Member
    Posted Jan 20, 2020 00:32
    Hello TMF Members,

    I am going through 'REST API Design Guidelines Part 3' for extending TMF Open APIs.

    In this document there is a reference to JSON-LD and it describes that TMF entities are sub-classed from the entities defined in Schema.org by using JSON-LD concept.

    For example, this document describes TroubleTicket entity:

    "@context": {

        "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",

        "rdfs": "http://www.w3.org/2000/01/rdf-schema#",

        "xsd": "http://www.w3.org/2001/XMLSchema#"

    "@id": "http://schema.org/id",

          "@type": "rdf:Property",

    But when I look at the JSON schema for TroubleTicket under https://github.com/tmforum-rand/schemas/blob/688a879aff07864e126dfce7af8e27febe0b4bef/Common/TroubleTicket.schema.json

    I do not see a reference to schema.org in that. Does TMF specification schema use JSON-LD to subclass entities from schema.org?

    ------------------------------
    Sweety Nagpal
    Oracle Corporation
    ------------------------------