Open APIs

Expand all | Collapse all

TMF API Schema

  • 1.  TMF API Schema

    Posted Sep 15, 2021 09:39
    Hi All,

    I have see in tmform API table we can see Swagger file definition. But i could not find any schema definition for the API.
    I want to validate the payload with Schema. Where can i find tmforum specific schema for these APIs. for example TMF637

    BR, Jay

    ------------------------------
    jayaraju singari
    Virtusa Corporation
    ------------------------------


  • 2.  RE: TMF API Schema

    TM Forum Member
    Posted Sep 16, 2021 02:56
    Hello Jay,
    Not sure to understand your request. All the schema definition are present in the swagger for me.
    Ludovic

    PS: you have 2 duplicate on your request - may I ask kindly ask you to check if you can remove them :) ?
    Thanks

    ------------------------------
    Ludovic Robert
    Orange
    My answer are my own & don't represent necessarily my company or the TMF
    ------------------------------



  • 3.  RE: TMF API Schema

    Posted Sep 16, 2021 03:28
    Hi Ludovic,

    I can use the same Swagger json file mentioned in Open table to validate the TMF 637 payload or I need to convert the Swagger json to schema json file.
    I have seen in Github specific schema definition in below links
    https://github.com/tmforum-rand/schemas/blob/candidates/Product/Product.schema.json
    https://github.com/tmforum-apis/Open_Api_And_Data_Model

    To validate the payload which one i can consider.

    BR, Jay

    ------------------------------
    jayaraju singari
    Virtusa Corporation
    ------------------------------



  • 4.  RE: TMF API Schema

    TM Forum Member
    Posted Sep 16, 2021 03:41
    Jay,
    I will recommend you to validate your payload from the product schema you'll get from TMF637 directly.
    Ludovic

    ------------------------------
    Ludovic Robert
    Orange
    My answer are my own & don't represent necessarily my company or the TMF
    ------------------------------