beckn / DSEP-Specification

Open Interoperable Specifications for Skilling and Education. An adaptation of Beckn Protocol.
Other
19 stars 21 forks source link

Added Examples For Search & On_Search APIs For Languages #82

Open joffinjoy opened 1 year ago

joffinjoy commented 1 year ago

Adding search and on_search examples for languages.

Based on these examples, we should be able to search for sessions using languages, and catalog should mention in which all languages each course or session is available in.

ravi-prakash-v commented 1 year ago

Schema is correct. But examples need minor corrections

tags : [
   {
       code: lang
       name: Language
       list: [
            {
               code: ENG
               name: English
            },
            {
               code: HIN
               name: Hindi
            }
        ]
    }
] 
joffinjoy commented 1 year ago

Schema is correct. But examples need minor corrections

@ravi-prakash-v I have made this modification.

emmayank commented 1 year ago

Hi @ravi-prakash-v , shouldn't Hindi and English be values? rather than keeping them as code.