diff --git a/api/dsep.yaml b/api/dsep.yaml index 4da6273..bcc5c40 100644 --- a/api/dsep.yaml +++ b/api/dsep.yaml @@ -1649,16 +1649,12 @@ components: items: $ref: '#/components/schemas/TagGroup' AddOn: - description: This is typically an optional product or service that can be offered in addition to a product or a service of type Item. Objects of type AddOn should not exist without an associated Item. If a BAP receives an Item with an add-on, it must show it to the user as a selectable object. If any AddOn object is found without an associated Item object, then the validator must throw an error 'NO-PARENT=ITEM' with message 'No parent found' + description: Describes an additional item offered as a value-addition to a product or service. This does not exist independently in a catalog and is always associated with an item. type: object properties: id: + description: Provider-defined ID of the add-on type: string - description: ID of the add-on as present in the source catalog - optional: - type: boolean - default: false - description: This value indicates if the add-on is optional or required to be selected by the user along with an Item. If this value is set to true, then the BAP must ensure that the add-on is mandatorily selected by the user while creating the Order object with the Item. descriptor: $ref: '#/components/schemas/Descriptor' price: @@ -1992,29 +1988,19 @@ components: description: Describes duration as per ISO8601 format type: string Error: - description: Describes an error object + description: 'Describes an error object that is returned by a BAP, BPP or BG as a response or callback to an action by another network participant. This object is sent when any request received by a network participant is unacceptable. This object can be sent either during Ack or with the callback.' type: object properties: - type: - type: string - enum: - - CONTEXT-ERROR - - CORE-ERROR - - DOMAIN-ERROR - - POLICY-ERROR - - JSON-SCHEMA-ERROR code: type: string - description: 'Beckn specific error code. For full list of error codes, refer to docs/protocol-drafts/BECKN-RFC-005-ERROR-CODES-DRAFT-01.md of this repo' - path: + description: 'Standard error code. For full list of error codes, refer to docs/protocol-drafts/BECKN-005-ERROR-CODES-DRAFT-01.md of this repo"' + paths: type: string description: Path to json schema generating the error. Used only during json schema validation errors message: type: string - description: Human readable message describing the error - required: - - type - - code + description: Human readable message describing the error. Used mainly for logging. Not recommended to be shown to the user. + Fee: description: A fee applied on a particular entity type: object diff --git a/docs/implementation-guide/1_courses_implementation_guide.md b/docs/implementation-guide/1_courses_implementation_guide.md index a146e46..5b38a2f 100644 --- a/docs/implementation-guide/1_courses_implementation_guide.md +++ b/docs/implementation-guide/1_courses_implementation_guide.md @@ -40,14 +40,14 @@ A search request for a course may look like this ``` { "context": { - "domain": "onest:courses", + "domain": "onest:learning-experiences", "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", "message_id": "$bb579fb8-cb82-4824-be12-fcbc405b6608", "action": "search", "timestamp": "2022-12-15T05:23:03.443Z", "version": "1.1.0", - "bap_uri": "https://onest-network.becknprotocol.io/", - "bap_id": "onest.becknprotocol.io", + "bap_uri": "https://sample.bap.io/", + "bap_id": "sample.bap.io", "ttl": "PT10M" }, "message": { @@ -66,11 +66,11 @@ An example catalog of courses may look like this ``` { "context": { - "domain": "onest:courses", + "domain": "onest:learning-experiences", "version": "1.1.0", "action": "on_search", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", + "bap_uri": "https://sample.bap.io/", + "bap_id": "sample.bap.io", "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", "message_id": "7db91181-718f-4720-83de-88e36e9f854e", "ttl": "PT10M", @@ -117,17 +117,27 @@ An example catalog of courses may look like this "code": "TECHNICAL-COURSES", "name": "Technical Courses" } + }, + { + "id": "SELF-PACED-COURSES", + "descriptor": { + "code": "SELF-PACED-COURSES", + "name": "Self Paced Courses" + } } ], "items": [ { "id": "d4975df5-b18c-4772-80ad-368669856d52", "quantity": { - "maximum": 1 + "maximum": { + "count": 1 + } }, "descriptor": { "name": "Everyday Conversational English", - "long_desc": "Everyday Conversational English", + "short_desc": "Elevate your daily conversations with confidence through our 'Everyday Conversational English' course.", + "long_desc": "

Course Overview:
Welcome to 'Everyday Conversational English,' your key to mastering essential language skills for real-life communication. Tailored for all levels, this course offers:

  1. Practical Vocabulary:
    Learn everyday expressions for seamless communication.
  2. Interactive Role-Playing:
    Apply knowledge through immersive exercises for real-world scenarios.
  3. Cultural Insights:
    Gain cultural nuances to connect authentically in conversations.
  4. Real-Life Scenarios:
    Navigate common situations with confidence-building tools.
  5. Quiz Assessments:
    Reinforce learning through quizzes for ongoing skill development.

Why Take This Course:

Join 'Everyday Conversational English' and elevate your communication for meaningful connections and success.

", "images": [ { "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english.png" @@ -139,52 +149,91 @@ An example catalog of courses may look like this } ] }, - "price": { - "currency": "INR", - "value": "0" - }, - "category_ids": [ - "LANGUAGE-COURSES" - ], - "rating": "4.5", - "rateable": true - }, - { - "id": "58449592-c4f2-4971-8e23-1da2515042c2", - "quantity": { - "maximum": 1 - }, - "descriptor": { - "name": "English Grammar and Usage", - "long_desc": "English Grammar and Usage", - "images": [ - { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/english-grammar-and-usage.png" - } - ], - "media": [ - { - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/english-grammar-and-usage/preview/" - } - ] + "creator": { + "descriptor": { + "name": "Prof. Emma Sullivan", + "short_desc": "Experienced language educator dedicated to fostering practical conversational skills and cultural fluency", + "long_desc": "Hello, I'm Prof. Emma Sullivan, your guide in 'Everyday Conversational English.' With over a decade of experience, I'm here to make language learning dynamic and culturally enriching. Let's explore practical communication skills together for personal and professional growth. Join me on this exciting journey!", + "images": [ + { + "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/ins/1.png" + } + ] + } }, "price": { "currency": "INR", "value": "0" }, "category_ids": [ - "LANGUAGE-COURSES" + "LANGUAGE-COURSES", + "SELF-PACED-COURSES" ], - "rating": "4.2", - "rateable": true + "rating": "4.5", + "rateable": true, + "tags": [ + { + "descriptor": { + "code": "content-metadata", + "name": "Content metadata" + }, + "list": [ + { + "descriptor": { + "code": "learner-level", + "name": "Learner level" + }, + "value": "Beginner" + }, + { + "descriptor": { + "code": "learning-objective", + "name": "Learning objective" + }, + "value": "By the end of the course, learners will confidently navigate everyday conversations, demonstrating improved fluency, cultural awareness, and effective communication skills." + }, + { + "descriptor": { + "code": "prerequisite", + "name": "Prerequisite" + }, + "value": "Should have a basic understanding of English" + }, + { + "descriptor": { + "code": "prerequisite", + "name": "Prerequisite" + }, + "value": "Access to a computer or internet to access the course online" + }, + { + "descriptor": { + "code": "lang-code", + "name": "Language code" + }, + "value": "en" + }, + { + "descriptor": { + "code": "course-duration", + "name": "Course duration" + }, + "value": "P20H" + } + ], + "display": true + } + ] } ], "fulfillments": [ { "agent": { "person": { - "id": "eng-01-prof", - "name": "Prof. Shipra Vaidya" + "name": "Infosys Springboard" + }, + "contact": { + "email": "support@infy.com" } } } @@ -245,11 +294,11 @@ Below is an example of a `select` request ``` { "context": { - "domain": "onest:courses", + "domain": "onest:learning-experiences", "action": "select", "version": "1.1.0", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", + "bap_uri": "https://sample.bap.io/", + "bap_id": "sample.bap.io", "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", "message_id": "$bb579fb8-cb82-4824-be12-fcbc405b6608", "timestamp": "2022-12-12T09:55:41.161Z", @@ -276,11 +325,11 @@ Below is an example of an `on_select` callback ``` { "context": { - "domain": "onest:courses", + "domain": "onest:learning-experiences", "version": "1.1.0", "action": "on_select", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", + "bap_uri": "https://sample.bap.io/", + "bap_id": "sample.bap.io", "bpp_id": "infosys.springboard.io", "bpp_uri": "https://infosys.springboard.io", "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", @@ -323,6 +372,13 @@ Below is an example of an `on_select` callback "code": "TECHNICAL-COURSES", "name": "Technical Courses" } + }, + { + "id": "SELF-PACED-COURSES", + "descriptor": { + "code": "SELF-PACED-COURSES", + "name": "Self Paced Courses" + } } ] }, @@ -330,11 +386,14 @@ Below is an example of an `on_select` callback { "id": "d4975df5-b18c-4772-80ad-368669856d52", "quantity": { - "maximum": 1 + "maximum": { + "count": 1 + } }, "descriptor": { "name": "Everyday Conversational English", - "long_desc": "Everyday Conversational English", + "short_desc": "Elevate your daily conversations with confidence through our 'Everyday Conversational English' course.", + "long_desc": "

Course Overview:
Welcome to 'Everyday Conversational English,' your key to mastering essential language skills for real-life communication. Tailored for all levels, this course offers:

  1. Practical Vocabulary:
    Learn everyday expressions for seamless communication.
  2. Interactive Role-Playing:
    Apply knowledge through immersive exercises for real-world scenarios.
  3. Cultural Insights:
    Gain cultural nuances to connect authentically in conversations.
  4. Real-Life Scenarios:
    Navigate common situations with confidence-building tools.
  5. Quiz Assessments:
    Reinforce learning through quizzes for ongoing skill development.

Why Take This Course:

Join 'Everyday Conversational English' and elevate your communication for meaningful connections and success.

", "images": [ { "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english.png" @@ -346,82 +405,101 @@ Below is an example of an `on_select` callback } ] }, + "creator": { + "descriptor": { + "name": "Prof. Emma Sullivan", + "short_desc": "Experienced language educator dedicated to fostering practical conversational skills and cultural fluency", + "long_desc": "Hello, I'm Prof. Emma Sullivan, your guide in 'Everyday Conversational English.' With over a decade of experience, I'm here to make language learning dynamic and culturally enriching. Let's explore practical communication skills together for personal and professional growth. Join me on this exciting journey!", + "images": [ + { + "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/ins/1.png" + } + ] + } + }, "price": { "currency": "INR", - "value": "0" + "value": "150" }, "category_ids": [ - "LANGUAGE-COURSES" + "LANGUAGE-COURSES", + "SELF-PACED-COURSES" ], "rating": "4.5", + "rateable": true, "tags": [ { "descriptor": { - "code": "course-highlights", - "name": "Course Highlights" + "code": "content-metadata", + "name": "Content metadata" }, "list": [ { "descriptor": { - "code": "highlight", - "name": "highlight-1" + "code": "learner-level", + "name": "Learner level" }, - "value": "Focusing on clear pronunciation and reducing any strong accents that may impede communication." + "value": "Beginner" }, { "descriptor": { - "code": "highlight", - "name": "highlight-2" + "code": "learning-objective", + "name": "Learning objective" }, - "value": "Expanding everyday vocabulary to facilitate common conversations." - } - ], - "display": true - }, - { - "descriptor": { - "code": "course-prerequisites", - "name": "Course Prerequisites" - }, - "list": [ + "value": "By the end of the course, learners will confidently navigate everyday conversations, demonstrating improved fluency, cultural awareness, and effective communication skills." + }, { "descriptor": { "code": "prerequisite", - "name": "prerequisite-1" + "name": "Prerequisite" }, "value": "Should have a basic understanding of English" }, { "descriptor": { "code": "prerequisite", - "name": "prerequisite-2" + "name": "Prerequisite" }, "value": "Access to a computer or internet to access the course online" + }, + { + "descriptor": { + "code": "lang-code", + "name": "Language code" + }, + "value": "en" + }, + { + "descriptor": { + "code": "course-duration", + "name": "Course duration" + }, + "value": "P20H" } ], "display": true } - ], - "rateable": true + ] } ], - "quote": { - "price": { - "currency": "INR", - "value": "0" - } - }, "fulfillments": [ { "agent": { "person": { - "id": "eng-01-prof", - "name": "Prof. Shipra Vaidya" + "name": "Infosys Springboard" + }, + "contact": { + "email": "support@infy.com" } } } ], - "type": "DEFAULT" + "quote": { + "price": { + "currency": "INR", + "value": "150" + } + } } } } @@ -432,11 +510,11 @@ Below is an example of a `init` request ``` { "context": { - "domain": "onest:courses", + "domain": "onest:learning-experiences", "action": "init", "version": "1.1.0", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", + "bap_uri": "https://sample.bap.io/", + "bap_id": "sample.bap.io", "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", "message_id": "$bb579fb8-cb82-4824-be12-fcbc405b6608", "timestamp": "2022-12-12T09:55:41.161Z", @@ -455,26 +533,40 @@ Below is an example of a `init` request } ], "billing": { - "name": "Namma Yatri", - "organization": { - "address": "Girija Building, Number 817, Ganapathi Temple Rd", - "city": "Bengaluru", - "state": "Karnataka", - "contact": { - "email": "nammayatri.support@juspay.in", - "phone": "+91 80 68501060" - } - } + "name": "Jane Doe", + "phone": "+91-9663088848", + "email": "jane.doe@example.com", + "address": "No 27, XYZ Lane, etc" }, "fulfillments": [ { "customer": { "person": { - "name": "Manjunath" + "name": "Jane Doe", + "age": "13", + "gender": "female", + "tags": [ + { + "descriptor": { + "code": "professional-details", + "name": "Professional Details" + }, + "list": [ + { + "descriptor": { + "code": "profession", + "name": "profession" + }, + "value": "student" + } + ], + "display": true + } + ] }, "contact": { - "phone": "+91 9988764321", - "email": "manjunath@gmail.com" + "phone": "+91-9663088848", + "email": "jane.doe@example.com" } } } @@ -488,11 +580,11 @@ Below is an example of an `on_init` callback ``` { "context": { - "domain": "onest:courses", + "domain": "onest:learning-experiences", "version": "1.1.0", "action": "on_init", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", + "bap_uri": "https://sample.bap.io/", + "bap_id": "sample.bap.io", "bpp_id": "infosys.springboard.io", "bpp_uri": "https://infosys.springboard.io", "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", @@ -513,17 +605,50 @@ Below is an example of an `on_init` callback "size_type": "sm" } ] - } + }, + "categories": [ + { + "id": "LANGUAGE-COURSES", + "descriptor": { + "code": "LANGUAGE-COURSES", + "name": "Language Courses" + } + }, + { + "id": "SKILL-DEVELOPMENT-COURSES", + "descriptor": { + "code": "SKILL-DEVELOPMENT-COURSES", + "name": "Skill development Courses" + } + }, + { + "id": "TECHNICAL-COURSES", + "descriptor": { + "code": "TECHNICAL-COURSES", + "name": "Technical Courses" + } + }, + { + "id": "SELF-PACED-COURSES", + "descriptor": { + "code": "SELF-PACED-COURSES", + "name": "Self Paced Courses" + } + } + ] }, "items": [ { "id": "d4975df5-b18c-4772-80ad-368669856d52", "quantity": { - "maximum": 1 + "maximum": { + "count": 1 + } }, "descriptor": { "name": "Everyday Conversational English", - "long_desc": "Everyday Conversational English", + "short_desc": "Elevate your daily conversations with confidence through our 'Everyday Conversational English' course.", + "long_desc": "

Course Overview:
Welcome to 'Everyday Conversational English,' your key to mastering essential language skills for real-life communication. Tailored for all levels, this course offers:

  1. Practical Vocabulary:
    Learn everyday expressions for seamless communication.
  2. Interactive Role-Playing:
    Apply knowledge through immersive exercises for real-world scenarios.
  3. Cultural Insights:
    Gain cultural nuances to connect authentically in conversations.
  4. Real-Life Scenarios:
    Navigate common situations with confidence-building tools.
  5. Quiz Assessments:
    Reinforce learning through quizzes for ongoing skill development.

Why Take This Course:

Join 'Everyday Conversational English' and elevate your communication for meaningful connections and success.

", "images": [ { "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english.png" @@ -535,118 +660,148 @@ Below is an example of an `on_init` callback } ] }, + "creator": { + "descriptor": { + "name": "Prof. Emma Sullivan", + "short_desc": "Experienced language educator dedicated to fostering practical conversational skills and cultural fluency", + "long_desc": "Hello, I'm Prof. Emma Sullivan, your guide in 'Everyday Conversational English.' With over a decade of experience, I'm here to make language learning dynamic and culturally enriching. Let's explore practical communication skills together for personal and professional growth. Join me on this exciting journey!", + "images": [ + { + "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/ins/1.png" + } + ] + } + }, "price": { "currency": "INR", - "value": "0" + "value": "150" }, "category_ids": [ - "LANGUAGE-COURSES" + "LANGUAGE-COURSES", + "SELF-PACED-COURSES" ], "rating": "4.5", + "rateable": true, "tags": [ { "descriptor": { - "code": "course-highlights", - "name": "Course Highlights" + "code": "content-metadata", + "name": "Content metadata" }, "list": [ { "descriptor": { - "code": "highlight", - "name": "highlight-1" + "code": "learner-level", + "name": "Learner level" }, - "value": "Focusing on clear pronunciation and reducing any strong accents that may impede communication." + "value": "Beginner" }, { "descriptor": { - "code": "highlight", - "name": "highlight-2" + "code": "learning-objective", + "name": "Learning objective" }, - "value": "Expanding everyday vocabulary to facilitate common conversations." - } - ], - "display": true - }, - { - "descriptor": { - "code": "course-prerequisites", - "name": "Course Prerequisites" - }, - "list": [ + "value": "By the end of the course, learners will confidently navigate everyday conversations, demonstrating improved fluency, cultural awareness, and effective communication skills." + }, { "descriptor": { "code": "prerequisite", - "name": "prerequisite-1" + "name": "Prerequisite" }, "value": "Should have a basic understanding of English" }, { "descriptor": { "code": "prerequisite", - "name": "prerequisite-2" + "name": "Prerequisite" }, "value": "Access to a computer or internet to access the course online" + }, + { + "descriptor": { + "code": "lang-code", + "name": "Language code" + }, + "value": "en" + }, + { + "descriptor": { + "code": "course-duration", + "name": "Course duration" + }, + "value": "P20H" } ], "display": true } - ], - "rateable": true + ] } ], - "billing": { - "name": "Namma Yatri", - "organization": { - "address": "Girija Building, Number 817, Ganapathi Temple Rd", - "city": "Bengaluru", - "state": "Karnataka", - "contact": { - "email": "nammayatri.support@juspay.in", - "phone": "+91 80 68501060" - } - } - }, - "quote": { - "price": { - "currency": "INR", - "value": "0" - } - }, "fulfillments": [ { - "customer": { + "agent": { "person": { - "name": "Manjunath" + "name": "Infosys Springboard" }, "contact": { - "phone": "+91 9988764321", - "email": "manjunath@gmail.com" + "email": "support@infy.com" } }, - "agent": { + "customer": { "person": { - "id": "eng-01-prof", - "name": "Prof. Shipra Vaidya" - } - }, - "state": { - "descriptor": { - "code": "order-initialized", - "name": "Order Initialized" + "name": "Jane Doe", + "age": "13", + "gender": "female", + "tags": [ + { + "descriptor": { + "code": "professional-details", + "name": "Professional Details" + }, + "list": [ + { + "descriptor": { + "code": "profession", + "name": "profession" + }, + "value": "student" + } + ], + "display": true + } + ] + }, + "contact": { + "phone": "+91-9663088848", + "email": "jane.doe@example.com" } } } ], + "quote": { + "price": { + "currency": "INR", + "value": "150" + } + }, + "billing": { + "name": "Jane Doe", + "phone": "+91-9663088848", + "email": "jane.doe@example.com", + "address": "No 27, XYZ Lane, etc" + }, "payments": [ { "params": { - "amount": "0", + "amount": "150", "currency": "INR" }, - "status": "PAID" + "url": "https://examplepayments.com/pay", + "type": "PRE-ORDER", + "status": "NOT-PAID", + "collected_by": "bpp" } - ], - "type": "DEFAULT" + ] } } } @@ -656,11 +811,11 @@ Below is an example of a `confirm` request ``` { "context": { - "domain": "onest:courses", + "domain": "onest:learning-experiences", "action": "confirm", "version": "1.1.0", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", + "bap_uri": "https://sample.bap.io/", + "bap_id": "sample.bap.io", "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", "message_id": "$bb579fb8-cb82-4824-be12-fcbc405b6608", "timestamp": "2022-12-12T09:55:41.161Z", @@ -679,26 +834,22 @@ Below is an example of a `confirm` request } ], "billing": { - "name": "Namma Yatri", - "organization": { - "address": "Girija Building, Number 817, Ganapathi Temple Rd", - "city": "Bengaluru", - "state": "Karnataka", - "contact": { - "email": "nammayatri.support@juspay.in", - "phone": "+91 80 68501060" - } - } + "name": "Jane Doe", + "phone": "+91-9663088848", + "email": "jane.doe@example.com", + "address": "No 27, XYZ Lane, etc" }, "fulfillments": [ { "customer": { "person": { - "name": "Manjunath" + "name": "Jane Doe", + "age": "13", + "gender": "female" }, "contact": { - "phone": "+91 9988764321", - "email": "manjunath@gmail.com" + "phone": "+91-9663088848", + "email": "jane.doe@example.com" } } } @@ -706,7 +857,7 @@ Below is an example of a `confirm` request "payments": [ { "params": { - "amount": "0", + "amount": "150", "currency": "INR" }, "status": "PAID" @@ -720,11 +871,11 @@ Below is an example of an `on_confirm` callback ``` { "context": { - "domain": "onest:courses", + "domain": "onest:learning-experiences", "version": "1.1.0", "action": "on_confirm", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", + "bap_uri": "https://sample.bap.io/", + "bap_id": "sample.bap.io", "bpp_id": "infosys.springboard.io", "bpp_uri": "https://infosys.springboard.io", "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", @@ -734,7 +885,7 @@ Below is an example of an `on_confirm` callback }, "message": { "order": { - "id": "d4975df5", + "id": "12424kh", "provider": { "id": "INFOSYS", "descriptor": { @@ -746,17 +897,50 @@ Below is an example of an `on_confirm` callback "size_type": "sm" } ] - } + }, + "categories": [ + { + "id": "LANGUAGE-COURSES", + "descriptor": { + "code": "LANGUAGE-COURSES", + "name": "Language Courses" + } + }, + { + "id": "SKILL-DEVELOPMENT-COURSES", + "descriptor": { + "code": "SKILL-DEVELOPMENT-COURSES", + "name": "Skill development Courses" + } + }, + { + "id": "TECHNICAL-COURSES", + "descriptor": { + "code": "TECHNICAL-COURSES", + "name": "Technical Courses" + } + }, + { + "id": "SELF-PACED-COURSES", + "descriptor": { + "code": "SELF-PACED-COURSES", + "name": "Self Paced Courses" + } + } + ] }, "items": [ { "id": "d4975df5-b18c-4772-80ad-368669856d52", "quantity": { - "maximum": 1 + "maximum": { + "count": 1 + } }, "descriptor": { "name": "Everyday Conversational English", - "long_desc": "Everyday Conversational English", + "short_desc": "Elevate your daily conversations with confidence through our 'Everyday Conversational English' course.", + "long_desc": "

Course Overview:
Welcome to 'Everyday Conversational English,' your key to mastering essential language skills for real-life communication. Tailored for all levels, this course offers:

  1. Practical Vocabulary:
    Learn everyday expressions for seamless communication.
  2. Interactive Role-Playing:
    Apply knowledge through immersive exercises for real-world scenarios.
  3. Cultural Insights:
    Gain cultural nuances to connect authentically in conversations.
  4. Real-Life Scenarios:
    Navigate common situations with confidence-building tools.
  5. Quiz Assessments:
    Reinforce learning through quizzes for ongoing skill development.

Why Take This Course:

Join 'Everyday Conversational English' and elevate your communication for meaningful connections and success.

", "images": [ { "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english.png" @@ -768,172 +952,230 @@ Below is an example of an `on_confirm` callback } ] }, + "creator": { + "descriptor": { + "name": "Prof. Emma Sullivan", + "short_desc": "Experienced language educator dedicated to fostering practical conversational skills and cultural fluency", + "long_desc": "Hello, I'm Prof. Emma Sullivan, your guide in 'Everyday Conversational English.' With over a decade of experience, I'm here to make language learning dynamic and culturally enriching. Let's explore practical communication skills together for personal and professional growth. Join me on this exciting journey!", + "images": [ + { + "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/ins/1.png" + } + ] + } + }, "price": { "currency": "INR", - "value": "0" + "value": "150" }, "category_ids": [ - "LANGUAGE-COURSES" + "LANGUAGE-COURSES", + "SELF-PACED-COURSES" ], "rating": "4.5", + "rateable": true, + "add-ons": [ + { + "id": "course-outline", + "descriptor": { + "name": "Course Outline", + "long_desc": "Outline for the course", + "media": [ + { + "mimetype": "application/pdf", + "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english/outline.pdf" + } + ] + } + }, + { + "id": "prelim-quiz", + "descriptor": { + "name": "Preliminary Quiz", + "long_desc": "Take this preliminary quiz to see if you will benefit from the course!", + "media": [ + { + "mimetype": "text/html", + "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english/prelim-quiz" + } + ] + } + } + ], "tags": [ { "descriptor": { - "code": "course-highlights", - "name": "Course Highlights" + "code": "content-metadata", + "name": "Content metadata" }, "list": [ { "descriptor": { - "code": "highlight", - "name": "highlight-1" + "code": "learner-level", + "name": "Learner level" }, - "value": "Focusing on clear pronunciation and reducing any strong accents that may impede communication." + "value": "Beginner" }, { "descriptor": { - "code": "highlight", - "name": "highlight-2" + "code": "learning-objective", + "name": "Learning objective" }, - "value": "Expanding everyday vocabulary to facilitate common conversations." - } - ], - "display": true - }, - { - "descriptor": { - "code": "course-prerequisites", - "name": "Course Prerequisites" - }, - "list": [ + "value": "By the end of the course, learners will confidently navigate everyday conversations, demonstrating improved fluency, cultural awareness, and effective communication skills." + }, { "descriptor": { "code": "prerequisite", - "name": "prerequisite-1" + "name": "Prerequisite" }, "value": "Should have a basic understanding of English" }, { "descriptor": { "code": "prerequisite", - "name": "prerequisite-2" + "name": "Prerequisite" }, "value": "Access to a computer or internet to access the course online" + }, + { + "descriptor": { + "code": "lang-code", + "name": "Language code" + }, + "value": "en" + }, + { + "descriptor": { + "code": "course-duration", + "name": "Course duration" + }, + "value": "P20H" } ], "display": true } - ], - "rateable": true - }, - { - "id": "c9461edd-628d-46f3-820e-bab42b57d143", - "parent_item_id": "d4975df5-b18c-4772-80ad-368669856d52", - "descriptor": { - "name": "Everyday Conversational English - Chapter 1", - "long_desc": "Everyday Conversational English - Chapter 1", - "images": [ - { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english-ch1.png" - } - ], - "media": [ - { - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english-ch1/" - } - ] - } - }, - { - "id": "77223dc6-f6e4-48dd-bf0e-1e43841e651c", - "parent_item_id": "d4975df5-b18c-4772-80ad-368669856d52", - "descriptor": { - "name": "Everyday Conversational English - Chapter 2", - "long_desc": "Everyday Conversational English - Chapter 2", - "images": [ - { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english-ch2.png" - } - ], - "media": [ - { - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english-ch2/" - } - ] - } - }, - { - "id": "eae312ed-5a2a-4b95-bed8-407a832b11b8", - "parent_item_id": "d4975df5-b18c-4772-80ad-368669856d52", - "descriptor": { - "name": "Everyday Conversational English - Chapter 3", - "long_desc": "Everyday Conversational English - Chapter 3", - "images": [ - { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english-ch3.png" - } - ], - "media": [ - { - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english-ch3/" - } - ] - } + ] } ], - "billing": { - "name": "Namma Yatri", - "organization": { - "address": "Girija Building, Number 817, Ganapathi Temple Rd", - "city": "Bengaluru", - "state": "Karnataka", - "contact": { - "email": "nammayatri.support@juspay.in", - "phone": "+91 80 68501060" - } - } - }, - "quote": { - "price": { - "currency": "INR", - "value": "0" - } - }, "fulfillments": [ { - "customer": { + "state": { + "descriptor": { + "code": "NOT-STARTED", + "name": "Not Started" + }, + "updated_at": "2023-02-06T09:55:41.161Z" + }, + "agent": { "person": { - "name": "Manjunath" + "name": "Infosys Springboard" }, "contact": { - "phone": "+91 9988764321", - "email": "manjunath@gmail.com" + "email": "support@infy.com" } }, - "agent": { + "customer": { "person": { - "id": "eng-01-prof", - "name": "Prof. Shipra Vaidya" + "name": "Jane Doe", + "age": "13", + "gender": "female" + }, + "contact": { + "phone": "+91-9663088848", + "email": "jane.doe@example.com" } }, - "state": { - "descriptor": { - "code": "order-confirmed", - "name": "Order Confirmed" + "stops": [ + { + "id": "0", + "instructions": { + "name": "content-video-1", + "long_desc": "Description About the Content", + "media": [ + { + "mimetype": "video/mp4", + "url": "https://embedded-video-player-url/play" + } + ] + } + }, + { + "id": "1", + "instructions": { + "name": "content-video-2", + "long_desc": "Description About the Content", + "media": [ + { + "mimetype": "video/mp4", + "url": "https://embedded-video-player-url/play" + } + ] + } + }, + { + "id": "2", + "instructions": { + "name": "content-pdf", + "long_desc": "Description About the Content", + "media": [ + { + "mimetype": "application/pdf", + "url": "https://link-to-the-document/" + } + ] + } } - } + ], + "tags": [ + { + "descriptor": { + "code": "course-completion-details", + "name": "Content Completion Details" + }, + "list": [ + { + "descriptor": { + "code": "course-certificate", + "name": "Course certificate" + }, + "value": "https://link-to-certificate" + }, + { + "descriptor": { + "code": "course-badge", + "name": "Course Badge" + }, + "value": "https://link-to-badge" + } + ], + "display": true + } + ] } ], + "quote": { + "price": { + "currency": "INR", + "value": "150" + } + }, + "billing": { + "name": "Jane Doe", + "phone": "+91-9663088848", + "email": "jane.doe@example.com", + "address": "No 27, XYZ Lane, etc" + }, "payments": [ { "params": { - "amount": "0", + "amount": "150", "currency": "INR" }, - "status": "PAID" + "type": "PRE-ORDER", + "status": "PAID", + "collected_by": "bpp" } - ], - "type": "DEFAULT" + ] } } } @@ -1005,11 +1247,11 @@ Below is an example of a `status` request ``` { "context": { - "domain": "onest:courses", + "domain": "onest:learning-experiences", "action": "status", "version": "1.1.0", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", + "bap_uri": "https://sample.bap.io/", + "bap_id": "sample.bap.io", "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", "message_id": "$bb579fb8-cb82-4824-be12-fcbc405b6608", "timestamp": "2022-12-12T09:55:41.161Z", @@ -1018,7 +1260,9 @@ Below is an example of a `status` request "bpp_uri": "https://infosys.springboard.io" }, "message": { - "order_id": "d4975df5" + "order": { + "id": "12424kh" + } } } ``` @@ -1027,11 +1271,11 @@ Below is an example of an `on_status` callback ``` { "context": { - "domain": "onest:courses", + "domain": "onest:learning-experiences", "version": "1.1.0", "action": "on_status", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", + "bap_uri": "https://sample.bap.io/", + "bap_id": "sample.bap.io", "bpp_id": "infosys.springboard.io", "bpp_uri": "https://infosys.springboard.io", "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", @@ -1041,7 +1285,7 @@ Below is an example of an `on_status` callback }, "message": { "order": { - "id": "d4975df5", + "id": "12424kh", "provider": { "id": "INFOSYS", "descriptor": { @@ -1053,17 +1297,50 @@ Below is an example of an `on_status` callback "size_type": "sm" } ] - } + }, + "categories": [ + { + "id": "LANGUAGE-COURSES", + "descriptor": { + "code": "LANGUAGE-COURSES", + "name": "Language Courses" + } + }, + { + "id": "SKILL-DEVELOPMENT-COURSES", + "descriptor": { + "code": "SKILL-DEVELOPMENT-COURSES", + "name": "Skill development Courses" + } + }, + { + "id": "TECHNICAL-COURSES", + "descriptor": { + "code": "TECHNICAL-COURSES", + "name": "Technical Courses" + } + }, + { + "id": "SELF-PACED-COURSES", + "descriptor": { + "code": "SELF-PACED-COURSES", + "name": "Self Paced Courses" + } + } + ] }, "items": [ { "id": "d4975df5-b18c-4772-80ad-368669856d52", "quantity": { - "maximum": 1 + "maximum": { + "count": 1 + } }, "descriptor": { "name": "Everyday Conversational English", - "long_desc": "Everyday Conversational English", + "short_desc": "Elevate your daily conversations with confidence through our 'Everyday Conversational English' course.", + "long_desc": "

Course Overview:
Welcome to 'Everyday Conversational English,' your key to mastering essential language skills for real-life communication. Tailored for all levels, this course offers:

  1. Practical Vocabulary:
    Learn everyday expressions for seamless communication.
  2. Interactive Role-Playing:
    Apply knowledge through immersive exercises for real-world scenarios.
  3. Cultural Insights:
    Gain cultural nuances to connect authentically in conversations.
  4. Real-Life Scenarios:
    Navigate common situations with confidence-building tools.
  5. Quiz Assessments:
    Reinforce learning through quizzes for ongoing skill development.

Why Take This Course:

Join 'Everyday Conversational English' and elevate your communication for meaningful connections and success.

", "images": [ { "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english.png" @@ -1075,173 +1352,248 @@ Below is an example of an `on_status` callback } ] }, + "creator": { + "descriptor": { + "name": "Prof. Emma Sullivan", + "short_desc": "Experienced language educator dedicated to fostering practical conversational skills and cultural fluency", + "long_desc": "Hello, I'm Prof. Emma Sullivan, your guide in 'Everyday Conversational English.' With over a decade of experience, I'm here to make language learning dynamic and culturally enriching. Let's explore practical communication skills together for personal and professional growth. Join me on this exciting journey!", + "images": [ + { + "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/ins/1.png" + } + ] + } + }, "price": { "currency": "INR", - "value": "0" + "value": "150" }, "category_ids": [ - "LANGUAGE-COURSES" + "LANGUAGE-COURSES", + "SELF-PACED-COURSES" ], "rating": "4.5", + "rateable": true, + "add-ons": [ + { + "id": "course-outline", + "descriptor": { + "name": "Course Outline", + "long_desc": "Outline for the course", + "media": [ + { + "mimetype": "application/pdf", + "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english/outline.pdf" + } + ] + } + }, + { + "id": "prelim-quiz", + "descriptor": { + "name": "Preliminary Quiz", + "long_desc": "Take this preliminary quiz to see if you will benefit from the course!", + "media": [ + { + "mimetype": "text/html", + "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english/prelim-quiz" + } + ] + } + } + ], "tags": [ { "descriptor": { - "code": "course-highlights", - "name": "Course Highlights" + "code": "content-metadata", + "name": "Content metadata" }, "list": [ { "descriptor": { - "code": "highlight", - "name": "highlight-1" + "code": "learner-level", + "name": "Learner level" }, - "value": "Focusing on clear pronunciation and reducing any strong accents that may impede communication." + "value": "Beginner" }, { "descriptor": { - "code": "highlight", - "name": "highlight-2" + "code": "learning-objective", + "name": "Learning objective" }, - "value": "Expanding everyday vocabulary to facilitate common conversations." - } - ], - "display": true - }, - { - "descriptor": { - "code": "course-prerequisites", - "name": "Course Prerequisites" - }, - "list": [ + "value": "By the end of the course, learners will confidently navigate everyday conversations, demonstrating improved fluency, cultural awareness, and effective communication skills." + }, { "descriptor": { "code": "prerequisite", - "name": "prerequisite-1" + "name": "Prerequisite" }, "value": "Should have a basic understanding of English" }, { "descriptor": { "code": "prerequisite", - "name": "prerequisite-2" + "name": "Prerequisite" }, "value": "Access to a computer or internet to access the course online" + }, + { + "descriptor": { + "code": "lang-code", + "name": "Language code" + }, + "value": "en" + }, + { + "descriptor": { + "code": "course-duration", + "name": "Course duration" + }, + "value": "P20H" } ], "display": true } - ], - "rateable": true - }, - { - "id": "c9461edd-628d-46f3-820e-bab42b57d143", - "parent_item_id": "d4975df5-b18c-4772-80ad-368669856d52", - "descriptor": { - "name": "Everyday Conversational English - Chapter 1", - "long_desc": "Everyday Conversational English - Chapter 1", - "images": [ - { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english-ch1.png" - } - ], - "media": [ - { - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english-ch1/" - } - ] - } - }, - { - "id": "77223dc6-f6e4-48dd-bf0e-1e43841e651c", - "parent_item_id": "d4975df5-b18c-4772-80ad-368669856d52", - "descriptor": { - "name": "Everyday Conversational English - Chapter 2", - "long_desc": "Everyday Conversational English - Chapter 2", - "images": [ - { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english-ch2.png" - } - ], - "media": [ - { - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english-ch2/" - } - ] - } - }, - { - "id": "eae312ed-5a2a-4b95-bed8-407a832b11b8", - "parent_item_id": "d4975df5-b18c-4772-80ad-368669856d52", - "descriptor": { - "name": "Everyday Conversational English - Chapter 3", - "long_desc": "Everyday Conversational English - Chapter 3", - "images": [ - { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english-ch3.png" - } - ], - "media": [ - { - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english-ch3/" - } - ] - } + ] } ], - "billing": { - "name": "Namma Yatri", - "organization": { - "address": "Girija Building, Number 817, Ganapathi Temple Rd", - "city": "Bengaluru", - "state": "Karnataka", - "contact": { - "email": "nammayatri.support@juspay.in", - "phone": "+91 80 68501060" - } - } - }, - "quote": { - "price": { - "currency": "INR", - "value": "0" - } - }, "fulfillments": [ { - "customer": { + "state": { + "descriptor": { + "code": "COMPLETED", + "name": "COMPLETED" + }, + "updated_at": "2023-02-06T09:55:41.161Z" + }, + "agent": { "person": { - "name": "Manjunath" + "name": "Infosys Springboard" }, "contact": { - "phone": "+91 9988764321", - "email": "manjunath@gmail.com" + "email": "support@infy.com" } }, - "agent": { + "customer": { "person": { - "id": "eng-01-prof", - "name": "Prof. Shipra Vaidya" + "name": "Jane Doe", + "age": "13", + "gender": "female", + "tags": [ + { + "descriptor": { + "code": "professional-details", + "name": "Professional Details" + }, + "list": [ + { + "descriptor": { + "code": "profession", + "name": "profession" + }, + "value": "student" + } + ], + "display": true + } + ] + }, + "contact": { + "phone": "+91-9663088848", + "email": "jane.doe@example.com" } }, - "state": { - "descriptor": { - "code": "course-completed", - "name": "Course completed", - "short_desc": "The course Everyday Conversational English has been completed" + "stops": [ + { + "id": "0", + "instructions": { + "name": "content-video-1", + "long_desc": "Description About the Content", + "media": [ + { + "mimetype": "video/mp4", + "url": "https://embedded-video-player-url/play" + } + ] + } + }, + { + "id": "1", + "instructions": { + "name": "content-video-2", + "long_desc": "Description About the Content", + "media": [ + { + "mimetype": "video/mp4", + "url": "https://embedded-video-player-url/play" + } + ] + } + }, + { + "id": "2", + "instructions": { + "name": "content-pdf", + "long_desc": "Description About the Content", + "media": [ + { + "mimetype": "application/pdf", + "url": "https://link-to-the-document/" + } + ] + } } - } + ], + "tags": [ + { + "descriptor": { + "code": "course-completion-details", + "name": "Content Completion Details" + }, + "list": [ + { + "descriptor": { + "code": "course-certificate", + "name": "Course certificate" + }, + "value": "https://link-to-certificate" + }, + { + "descriptor": { + "code": "course-badge", + "name": "Course Badge" + }, + "value": "https://link-to-badge" + } + ], + "display": true + } + ] } ], + "quote": { + "price": { + "currency": "INR", + "value": "150" + } + }, + "billing": { + "name": "Jane Doe", + "phone": "+91-9663088848", + "email": "jane.doe@example.com", + "address": "No 27, XYZ Lane, etc" + }, "payments": [ { "params": { - "amount": "0", + "amount": "150", "currency": "INR" }, - "status": "PAID" + "type": "PRE-ORDER", + "status": "PAID", + "collected_by": "bpp" } - ], - "type": "DEFAULT" + ] } } } @@ -1250,45 +1602,44 @@ Below is an example of an `on_status` callback Below is an example of a `update` request ``` { - "context": { - "domain": "onest:learning-experiences", - "version": "1.1.0", - "action": "update", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", - "bpp_id": "infosys.springboard.io", - "bpp_uri": "https://infosys.springboard.io", - "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", - "message_id": "d514a38f-e112-4bb8-a3d8-b8e5d8dea82d", - "ttl": "PT10M", - "timestamp": "2023-02-20T15:21:36.925Z" - }, - "message": { - "order": { - "id": "12424kh", - "items": [ + "context": { + "domain": "onest:learning-experiences", + "version": "1.1.0", + "action": "update", + "bap_id": "onest.becknprotocol.io", + "bap_uri": "https://onest-network.becknprotocol.io/", + "bpp_id": "infosys.springboard.io", + "bpp_uri": "https://infosys.springboard.io", + "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", + "message_id": "d514a38f-e112-4bb8-a3d8-b8e5d8dea82d", + "ttl": "PT10M", + "timestamp": "2023-02-20T15:21:36.925Z" + }, + "message": { + "order": { + "id": "12424kh", + "items": [ + { + "id": "d4975df5-b18c-4772-80ad-368669856d52", + "fulfillments": [ { - "id": "d4975df5-b18c-4772-80ad-368669856d52", - "fulfillments": [ - { - "state" : { - "descriptor" : { - "code": "COMPLETED", - "name" : "COMPLETED" - }, - "updated_at" : "2023-02-06T09:55:41.161Z" - } - } - ] + "state": { + "descriptor": { + "code": "COMPLETED", + "name": "COMPLETED" + }, + "updated_at": "2023-02-06T09:55:41.161Z" + } } ] - }, - "update_target": "order.items[0].fulfillments[0].state" - } + } + ] + }, + "update_target": "order.items[0].fulfillments[0].state" + } } ``` Below is an example of a `on_update` callback - ``` { "context": { @@ -1354,7 +1705,9 @@ Below is an example of a `on_update` callback { "id": "d4975df5-b18c-4772-80ad-368669856d52", "quantity": { - "maximum": 1 + "maximum": { + "count": 1 + } }, "descriptor": { "name": "Everyday Conversational English", @@ -1477,13 +1830,13 @@ Below is an example of a `on_update` callback } ], "fulfillments": [ - { - "state" : { - "descriptor" : { - "code": "COMPLETED", - "name" : "Completed" + { + "state": { + "descriptor": { + "code": "COMPLETED", + "name": "Completed" }, - "updated_at" : "2023-02-06T09:55:41.161Z" + "updated_at": "2023-02-06T09:55:41.161Z" }, "agent": { "person": { @@ -1635,10 +1988,10 @@ Below is an example of a `cancel` request "timestamp": "2023-02-20T15:21:36.925Z" }, "message": { - "order_id" : "d4975df5", - "cancellation_reason_id" :"1", + "order_id": "d4975df5", + "cancellation_reason_id": "1", "descriptor": { - "short_desc" :"Not Satisfied" + "short_desc": "Not Satisfied" } } } @@ -1646,228 +1999,315 @@ Below is an example of a `cancel` request Below is an example of a `on_cancel` callback ``` { - "context": { - "domain": "onest:learning-experiences", - "version": "1.1.0", - "action": "on_cancel", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", - "bpp_id": "infosys.springboard.io", - "bpp_uri": "https://infosys.springboard.io", - "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", - "message_id": "d514a38f-e112-4bb8-a3d8-b8e5d8dea82d", - "ttl": "PT10M", - "timestamp": "2023-02-20T15:21:36.925Z" - }, - "message": { - "order": { - "id": "d4975df5", - "provider": { - "id": "INFOSYS", + "context": { + "domain": "onest:learning-experiences", + "version": "1.1.0", + "action": "on_cancel", + "bap_uri": "https://sample.bap.io/", + "bap_id": "sample.bap.io", + "bpp_id": "infosys.springboard.io", + "bpp_uri": "https://infosys.springboard.io", + "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", + "message_id": "d514a38f-e112-4bb8-a3d8-b8e5d8dea82d", + "ttl": "PT10M", + "timestamp": "2023-02-20T15:21:36.925Z" + }, + "message": { + "order": { + "id": "12424kh", + "provider": { + "id": "INFOSYS", + "descriptor": { + "name": "Infosys Springboard", + "short_desc": "Infosys Springboard Digital literacy program", + "images": [ + { + "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/app_logos/landing-new.png", + "size_type": "sm" + } + ] + }, + "categories": [ + { + "id": "LANGUAGE-COURSES", + "descriptor": { + "code": "LANGUAGE-COURSES", + "name": "Language Courses" + } + }, + { + "id": "SKILL-DEVELOPMENT-COURSES", + "descriptor": { + "code": "SKILL-DEVELOPMENT-COURSES", + "name": "Skill development Courses" + } + }, + { + "id": "TECHNICAL-COURSES", + "descriptor": { + "code": "TECHNICAL-COURSES", + "name": "Technical Courses" + } + }, + { + "id": "SELF-PACED-COURSES", + "descriptor": { + "code": "SELF-PACED-COURSES", + "name": "Self Paced Courses" + } + } + ] + }, + "items": [ + { + "id": "d4975df5-b18c-4772-80ad-368669856d52", + "quantity": { + "maximum": { + "count": 1 + } + }, "descriptor": { - "name": "Infosys Springboard", - "short_desc": "Infosys Springboard Digital literacy program", + "name": "Everyday Conversational English", + "short_desc": "Elevate your daily conversations with confidence through our 'Everyday Conversational English' course.", + "long_desc": "

Course Overview:
Welcome to 'Everyday Conversational English,' your key to mastering essential language skills for real-life communication. Tailored for all levels, this course offers:

  1. Practical Vocabulary:
    Learn everyday expressions for seamless communication.
  2. Interactive Role-Playing:
    Apply knowledge through immersive exercises for real-world scenarios.
  3. Cultural Insights:
    Gain cultural nuances to connect authentically in conversations.
  4. Real-Life Scenarios:
    Navigate common situations with confidence-building tools.
  5. Quiz Assessments:
    Reinforce learning through quizzes for ongoing skill development.

Why Take This Course:

Join 'Everyday Conversational English' and elevate your communication for meaningful connections and success.

", "images": [ { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/app_logos/landing-new.png", - "size_type": "sm" + "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english.png" + } + ], + "media": [ + { + "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english/preview/" } ] - } - }, - "items": [ - { - "id": "d4975df5-b18c-4772-80ad-368669856d52", - "quantity": { - "maximum": 1 - }, + }, + "creator": { "descriptor": { - "name": "Everyday Conversational English", - "long_desc": "Everyday Conversational English", + "name": "Prof. Emma Sullivan", + "short_desc": "Experienced language educator dedicated to fostering practical conversational skills and cultural fluency", + "long_desc": "Hello, I'm Prof. Emma Sullivan, your guide in 'Everyday Conversational English.' With over a decade of experience, I'm here to make language learning dynamic and culturally enriching. Let's explore practical communication skills together for personal and professional growth. Join me on this exciting journey!", "images": [ { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english.png" - } - ], - "media": [ - { - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english/preview/" + "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/ins/1.png" } ] + } + }, + "price": { + "currency": "INR", + "value": "150" + }, + "category_ids": [ + "LANGUAGE-COURSES", + "SELF-PACED-COURSES" + ], + "rating": "4.5", + "rateable": true, + "add-ons": [ + { + "id": "course-outline", + "descriptor": { + "name": "Course Outline", + "long_desc": "Outline for the course", + "media": [ + { + "mimetype": "application/pdf", + "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english/outline.pdf" + } + ] + } }, - "price": { - "currency": "INR", - "value": "0" - }, - "category_ids": [ - "LANGUAGE-COURSES" - ], - "rating": "4.5", - "tags": [ - { - "descriptor": { - "code": "course-highlights", - "name": "Course Highlights" - }, - "list": [ + { + "id": "prelim-quiz", + "descriptor": { + "name": "Preliminary Quiz", + "long_desc": "Take this preliminary quiz to see if you will benefit from the course!", + "media": [ { - "descriptor": { - "code": "highlight", - "name": "highlight-1" - }, - "value": "Focusing on clear pronunciation and reducing any strong accents that may impede communication." + "mimetype": "text/html", + "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english/prelim-quiz" + } + ] + } + } + ], + "tags": [ + { + "descriptor": { + "code": "content-metadata", + "name": "Content metadata" + }, + "list": [ + { + "descriptor": { + "code": "learner-level", + "name": "Learner level" + }, + "value": "Beginner" + }, + { + "descriptor": { + "code": "learning-objective", + "name": "Learning objective" + }, + "value": "By the end of the course, learners will confidently navigate everyday conversations, demonstrating improved fluency, cultural awareness, and effective communication skills." + }, + { + "descriptor": { + "code": "prerequisite", + "name": "Prerequisite" + }, + "value": "Should have a basic understanding of English" + }, + { + "descriptor": { + "code": "prerequisite", + "name": "Prerequisite" + }, + "value": "Access to a computer or internet to access the course online" + }, + { + "descriptor": { + "code": "lang-code", + "name": "Language code" + }, + "value": "en" + }, + { + "descriptor": { + "code": "course-duration", + "name": "Course duration" }, + "value": "P20H" + } + ], + "display": true + } + ] + } + ], + "fulfillments": [ + { + "state": { + "descriptor": { + "code": "course-cancelled", + "name": "Course has been cancelled" + }, + "updated_at": "2023-02-06T09:55:41.161Z" + }, + "agent": { + "person": { + "name": "Infosys Springboard" + }, + "contact": { + "email": "support@infy.com" + } + }, + "customer": { + "person": { + "name": "Jane Doe", + "age": "13", + "gender": "female" + }, + "contact": { + "phone": "+91-9663088848", + "email": "jane.doe@example.com" + } + }, + "stops": [ + { + "id": "0", + "instructions": { + "name": "content-video-1", + "long_desc": "Description About the Content", + "media": [ { - "descriptor": { - "code": "highlight", - "name": "highlight-2" - }, - "value": "Expanding everyday vocabulary to facilitate common conversations." + "mimetype": "video/mp4", + "url": "https://embedded-video-player-url/play" } - ], - "display": true - }, - { - "descriptor": { - "code": "course-prerequisites", - "name": "Course Prerequisites" - }, - "list": [ + ] + } + }, + { + "id": "1", + "instructions": { + "name": "content-video-2", + "long_desc": "Description About the Content", + "media": [ { - "descriptor": { - "code": "prerequisite", - "name": "prerequisite-1" - }, - "value": "Should have a basic understanding of English" - }, + "mimetype": "video/mp4", + "url": "https://embedded-video-player-url/play" + } + ] + } + }, + { + "id": "2", + "instructions": { + "name": "content-pdf", + "long_desc": "Description About the Content", + "media": [ { - "descriptor": { - "code": "prerequisite", - "name": "prerequisite-2" - }, - "value": "Access to a computer or internet to access the course online" + "mimetype": "application/pdf", + "url": "https://link-to-the-document/" } - ], - "display": true + ] } - ], - "rateable": true - }, - { - "id": "c9461edd-628d-46f3-820e-bab42b57d143", - "parent_item_id": "d4975df5-b18c-4772-80ad-368669856d52", - "descriptor": { - "name": "Everyday Conversational English - Chapter 1", - "long_desc": "Everyday Conversational English - Chapter 1", - "images": [ - { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english-ch1.png" - } - ], - "media": [ - { - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english-ch1/" - } - ] } - }, - { - "id": "77223dc6-f6e4-48dd-bf0e-1e43841e651c", - "parent_item_id": "d4975df5-b18c-4772-80ad-368669856d52", - "descriptor": { - "name": "Everyday Conversational English - Chapter 2", - "long_desc": "Everyday Conversational English - Chapter 2", - "images": [ - { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english-ch2.png" - } - ], - "media": [ + ], + "tags": [ + { + "descriptor": { + "code": "course-completion-details", + "name": "Content Completion Details" + }, + "list": [ { - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english-ch2/" - } - ] - } - }, - { - "id": "eae312ed-5a2a-4b95-bed8-407a832b11b8", - "parent_item_id": "d4975df5-b18c-4772-80ad-368669856d52", - "descriptor": { - "name": "Everyday Conversational English - Chapter 3", - "long_desc": "Everyday Conversational English - Chapter 3", - "images": [ + "descriptor": { + "code": "course-certificate", + "name": "Course certificate" + }, + "value": "https://link-to-certificate" + }, { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english-ch3.png" + "descriptor": { + "code": "course-badge", + "name": "Course Badge" + }, + "value": "https://link-to-badge" } ], - "media": [ - { - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english-ch3/" - } - ] - } - } - ], - "billing": { - "name": "Namma Yatri", - "organization": { - "address": "Girija Building, Number 817, Ganapathi Temple Rd", - "city": "Bengaluru", - "state": "Karnataka", - "contact": { - "email": "nammayatri.support@juspay.in", - "phone": "+91 80 68501060" - } - } - }, - "quote": { - "price": { - "currency": "INR", - "value": "0" - } - }, - "fulfillments": [ - { - "customer": { - "person": { - "name": "Manjunath", - "creds": { - "type": "VerifiableCredential", - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english/certificate" - } - }, - "contact": { - "phone": "+91 9988764321", - "email": "manjunath@gmail.com" - } - }, - "agent": { - "person": { - "id": "eng-01-prof", - "name": "Prof. Shipra Vaidya" - } - }, - "state": { - "descriptor": { - "code": "course-cancelled", - "name": "Course has been cancelled" - } + "display": true } - } - ], - "payments": [ - { - "params": { - "amount": "0", - "currency": "INR" - }, - "status": "PAID" - } - ], - "type": "DEFAULT" - } + ] + } + ], + "quote": { + "price": { + "currency": "INR", + "value": "150" + } + }, + "billing": { + "name": "Jane Doe", + "phone": "+91-9663088848", + "email": "jane.doe@example.com", + "address": "No 27, XYZ Lane, etc" + }, + "payments": [ + { + "params": { + "amount": "150", + "currency": "INR" + }, + "type": "PRE-ORDER", + "status": "PAID", + "collected_by": "bpp" + } + ] } } +} ``` Below is an example of a `track` request @@ -1887,7 +2327,7 @@ Below is an example of a `track` request "timestamp": "2023-02-20T15:21:36.925Z" }, "message": { - "order_id" : "d4975df5" + "order_id": "d4975df5" } } ``` @@ -1908,10 +2348,10 @@ Below is an example of a `on_track` callback "timestamp": "2023-02-20T15:21:36.925Z" }, "message": { - "tracking" : { - "id" : "66666ahhf9u385", - "url" : "tracking-url-for-course-progress", - "status" : "active" + "tracking": { + "id": "66666ahhf9u385", + "url": "tracking-url-for-course-progress", + "status": "active" } } } @@ -2003,120 +2443,119 @@ Below is an example of an `rating_categories` callback ``` Below is an example of a `rating` request - ``` { - "context": { - "domain": "onest:courses", - "version": "1.1.0", - "action": "rating", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", - "bpp_id": "infosys.springboard.io", - "bpp_uri": "https://infosys.springboard.io", - "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", - "message_id": "d514a38f-e112-4bb8-a3d8-b8e5d8dea82d", - "ttl": "PT10M", - "timestamp": "2023-02-20T15:21:36.925Z" - }, - "message": { - "rating" : { - "rating_category": "Provider", - "id" : "471", - "value" :"3" - } - } + "context": { + "domain": "onest:learning-experiences", + "action": "rating", + "version": "1.1.0", + "bap_id": "onest.becknprotocol.io", + "bap_uri": "https://onest-network.becknprotocol.io/", + "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", + "message_id": "$bb579fb8-cb82-4824-be12-fcbc405b6608", + "timestamp": "2022-12-12T09:55:41.161Z", + "ttl": "PT10M", + "bpp_id": "infosys.springboard.io", + "bpp_uri": "https://infosys.springboard.io" + }, + "message": { + "ratings": [ + { + "id": "d4975df5-b18c-4772-80ad-368669856d52", + "rating_category": "Item", + "value": "4" + } + ] + } } ``` Below is an example of an `on_rating` callback ``` { - "context": { - "domain": "onest:courses", - "version": "1.1.0", - "action": "on_rating", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", - "bpp_id": "infosys.springboard.io", - "bpp_uri": "https://infosys.springboard.io", - "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", - "message_id": "d514a38f-e112-4bb8-a3d8-b8e5d8dea82d", - "ttl": "PT10M", - "timestamp": "2023-02-20T15:21:36.925Z" - }, - "message": { - "feedback_form" : { - "form" : { - "url" : "url of the feedback form", - "mime_type" :"text/html" - }, - "required" : true - } + "context": { + "domain": "onest:learning-experiences", + "action": "on_rating", + "version": "1.1.0", + "bap_id": "onest.becknprotocol.io", + "bap_uri": "https://onest-network.becknprotocol.io/", + "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", + "message_id": "$bb579fb8-cb82-4824-be12-fcbc405b6608", + "timestamp": "2022-12-12T09:55:41.161Z", + "ttl": "PT10M", + "bpp_id": "infosys.springboard.io", + "bpp_uri": "https://infosys.springboard.io" + }, + "message": { + "feedback_form": { + "form": { + "url": "https://infosys.springboard.io/rating?course=d4975df5-b18c-4772-80ad-368669856d52", + "mime_type" :"text/html" + }, + "required": "false" } + } } ``` Below is an example of a `support` request ``` { - "context": { - "domain": "onest:courses", - "version": "1.1.0", - "action": "support", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", - "bpp_id": "infosys.springboard.io", - "bpp_uri": "https://infosys.springboard.io", - "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", - "message_id": "d514a38f-e112-4bb8-a3d8-b8e5d8dea82d", - "ttl": "PT10M", - "timestamp": "2023-02-20T15:21:36.925Z" - }, - "message": { - "support" : { - "order_id" : "12424kh", - "callback_phone" : "+91-8858150053" - } + "context": { + "domain": "onest:courses", + "action": "support", + "version": "1.1.0", + "bap_id": "onest.becknprotocol.io", + "bap_uri": "https://onest-network.becknprotocol.io/", + "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", + "message_id": "$bb579fb8-cb82-4824-be12-fcbc405b6608", + "timestamp": "2022-12-12T09:55:41.161Z", + "ttl": "PT10M", + "bpp_id": "infosys.springboard.io", + "bpp_uri": "https://infosys.springboard.io" + }, + "message": { + "support": { + "order_id": "d4975df5" } + } } ``` Below is an example of an `on_support` callback ``` { - "context": { - "domain": "onest:courses", - "version": "1.1.0", - "action": "on_support", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", - "bpp_id": "infosys.springboard.io", - "bpp_uri": "https://infosys.springboard.io", - "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", - "message_id": "d514a38f-e112-4bb8-a3d8-b8e5d8dea82d", - "ttl": "PT10M", - "timestamp": "2023-02-20T15:21:36.925Z" - }, - "message": { - "support" : { - "ref_id" : "Abjhjh13773", - "order_id" : "12424kh", - "callback_phone" : "+91-8858150053", - "email" : "support@ekstep.com", - "phone" : "+91-965676879", - "url" : "chat-url-for-support", - "docs": [ - { - "descriptor":{ - "name" :"FAQs", - "short_desc" : "Frequently asked questions and common issues" - }, - "url" : "https://link-to-the-document.com", - "mime_type" : "application/pdf" - } - ] - - } + "context": { + "domain": "onest:courses", + "action": "on_support", + "version": "1.1.0", + "bap_id": "onest.becknprotocol.io", + "bap_uri": "https://onest-network.becknprotocol.io/", + "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", + "message_id": "$bb579fb8-cb82-4824-be12-fcbc405b6608", + "timestamp": "2022-12-12T09:55:41.161Z", + "ttl": "PT10M", + "bpp_id": "infosys.springboard.io", + "bpp_uri": "https://infosys.springboard.io" + }, + "message": { + "support": { + "ref_id": "Abjhjh13773", + "order_id": "d4975df5", + "callback_phone": "+91-8858150053", + "email": "support@ekstep.com", + "phone": "+91-965676879", + "url": "chat-url-for-support", + "docs": [ + { + "descriptor": { + "name": "FAQs", + "short_desc": "Frequently asked questions and common issues" + }, + "url": "https://link-to-the-document.com", + "mime_type": "application/pdf" + } + ] } + } } ``` \ No newline at end of file diff --git a/examples/courses/cancel/cancel.json b/examples/courses/cancel/cancel.json index c5f7e26..32102bc 100644 --- a/examples/courses/cancel/cancel.json +++ b/examples/courses/cancel/cancel.json @@ -13,10 +13,10 @@ "timestamp": "2023-02-20T15:21:36.925Z" }, "message": { - "order_id" : "d4975df5", - "cancellation_reason_id" :"1", + "order_id": "d4975df5", + "cancellation_reason_id": "1", "descriptor": { - "short_desc" :"Not Satisfied" + "short_desc": "Not Satisfied" } } } \ No newline at end of file diff --git a/examples/courses/cancel/on_cancel.json b/examples/courses/cancel/on_cancel.json index bac6573..ffc9a63 100644 --- a/examples/courses/cancel/on_cancel.json +++ b/examples/courses/cancel/on_cancel.json @@ -1,223 +1,310 @@ { - "context": { - "domain": "onest:learning-experiences", - "version": "1.1.0", - "action": "on_cancel", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", - "bpp_id": "infosys.springboard.io", - "bpp_uri": "https://infosys.springboard.io", - "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", - "message_id": "d514a38f-e112-4bb8-a3d8-b8e5d8dea82d", - "ttl": "PT10M", - "timestamp": "2023-02-20T15:21:36.925Z" - }, - "message": { - "order": { - "id": "d4975df5", - "provider": { - "id": "INFOSYS", + "context": { + "domain": "onest:learning-experiences", + "version": "1.1.0", + "action": "on_cancel", + "bap_uri": "https://sample.bap.io/", + "bap_id": "sample.bap.io", + "bpp_id": "infosys.springboard.io", + "bpp_uri": "https://infosys.springboard.io", + "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", + "message_id": "d514a38f-e112-4bb8-a3d8-b8e5d8dea82d", + "ttl": "PT10M", + "timestamp": "2023-02-20T15:21:36.925Z" + }, + "message": { + "order": { + "id": "12424kh", + "provider": { + "id": "INFOSYS", + "descriptor": { + "name": "Infosys Springboard", + "short_desc": "Infosys Springboard Digital literacy program", + "images": [ + { + "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/app_logos/landing-new.png", + "size_type": "sm" + } + ] + }, + "categories": [ + { + "id": "LANGUAGE-COURSES", + "descriptor": { + "code": "LANGUAGE-COURSES", + "name": "Language Courses" + } + }, + { + "id": "SKILL-DEVELOPMENT-COURSES", + "descriptor": { + "code": "SKILL-DEVELOPMENT-COURSES", + "name": "Skill development Courses" + } + }, + { + "id": "TECHNICAL-COURSES", + "descriptor": { + "code": "TECHNICAL-COURSES", + "name": "Technical Courses" + } + }, + { + "id": "SELF-PACED-COURSES", + "descriptor": { + "code": "SELF-PACED-COURSES", + "name": "Self Paced Courses" + } + } + ] + }, + "items": [ + { + "id": "d4975df5-b18c-4772-80ad-368669856d52", + "quantity": { + "maximum": { + "count": 1 + } + }, "descriptor": { - "name": "Infosys Springboard", - "short_desc": "Infosys Springboard Digital literacy program", + "name": "Everyday Conversational English", + "short_desc": "Elevate your daily conversations with confidence through our 'Everyday Conversational English' course.", + "long_desc": "

Course Overview:
Welcome to 'Everyday Conversational English,' your key to mastering essential language skills for real-life communication. Tailored for all levels, this course offers:

  1. Practical Vocabulary:
    Learn everyday expressions for seamless communication.
  2. Interactive Role-Playing:
    Apply knowledge through immersive exercises for real-world scenarios.
  3. Cultural Insights:
    Gain cultural nuances to connect authentically in conversations.
  4. Real-Life Scenarios:
    Navigate common situations with confidence-building tools.
  5. Quiz Assessments:
    Reinforce learning through quizzes for ongoing skill development.

Why Take This Course:

Join 'Everyday Conversational English' and elevate your communication for meaningful connections and success.

", "images": [ { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/app_logos/landing-new.png", - "size_type": "sm" + "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english.png" + } + ], + "media": [ + { + "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english/preview/" } ] - } - }, - "items": [ - { - "id": "d4975df5-b18c-4772-80ad-368669856d52", - "quantity": { - "maximum": 1 - }, + }, + "creator": { "descriptor": { - "name": "Everyday Conversational English", - "long_desc": "Everyday Conversational English", + "name": "Prof. Emma Sullivan", + "short_desc": "Experienced language educator dedicated to fostering practical conversational skills and cultural fluency", + "long_desc": "Hello, I'm Prof. Emma Sullivan, your guide in 'Everyday Conversational English.' With over a decade of experience, I'm here to make language learning dynamic and culturally enriching. Let's explore practical communication skills together for personal and professional growth. Join me on this exciting journey!", "images": [ { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english.png" - } - ], - "media": [ - { - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english/preview/" + "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/ins/1.png" } ] - }, - "price": { - "currency": "INR", - "value": "0" - }, - "category_ids": [ - "LANGUAGE-COURSES" - ], - "rating": "4.5", - "tags": [ - { - "descriptor": { - "code": "course-highlights", - "name": "Course Highlights" - }, - "list": [ + } + }, + "price": { + "currency": "INR", + "value": "150" + }, + "category_ids": [ + "LANGUAGE-COURSES", + "SELF-PACED-COURSES" + ], + "rating": "4.5", + "rateable": true, + "add-ons": [ + { + "id": "course-outline", + "descriptor": { + "name": "Course Outline", + "long_desc": "Outline for the course", + "media": [ { - "descriptor": { - "code": "highlight", - "name": "highlight-1" - }, - "value": "Focusing on clear pronunciation and reducing any strong accents that may impede communication." - }, + "mimetype": "application/pdf", + "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english/outline.pdf" + } + ] + } + }, + { + "id": "prelim-quiz", + "descriptor": { + "name": "Preliminary Quiz", + "long_desc": "Take this preliminary quiz to see if you will benefit from the course!", + "media": [ { - "descriptor": { - "code": "highlight", - "name": "highlight-2" - }, - "value": "Expanding everyday vocabulary to facilitate common conversations." + "mimetype": "text/html", + "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english/prelim-quiz" } - ], - "display": true + ] + } + } + ], + "tags": [ + { + "descriptor": { + "code": "content-metadata", + "name": "Content metadata" }, - { - "descriptor": { - "code": "course-prerequisites", - "name": "Course Prerequisites" + "list": [ + { + "descriptor": { + "code": "learner-level", + "name": "Learner level" + }, + "value": "Beginner" }, - "list": [ - { - "descriptor": { - "code": "prerequisite", - "name": "prerequisite-1" - }, - "value": "Should have a basic understanding of English" + { + "descriptor": { + "code": "learning-objective", + "name": "Learning objective" }, - { - "descriptor": { - "code": "prerequisite", - "name": "prerequisite-2" - }, - "value": "Access to a computer or internet to access the course online" - } - ], - "display": true - } - ], - "rateable": true - }, - { - "id": "c9461edd-628d-46f3-820e-bab42b57d143", - "parent_item_id": "d4975df5-b18c-4772-80ad-368669856d52", - "descriptor": { - "name": "Everyday Conversational English - Chapter 1", - "long_desc": "Everyday Conversational English - Chapter 1", - "images": [ + "value": "By the end of the course, learners will confidently navigate everyday conversations, demonstrating improved fluency, cultural awareness, and effective communication skills." + }, { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english-ch1.png" - } - ], - "media": [ + "descriptor": { + "code": "prerequisite", + "name": "Prerequisite" + }, + "value": "Should have a basic understanding of English" + }, { - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english-ch1/" - } - ] - } - }, - { - "id": "77223dc6-f6e4-48dd-bf0e-1e43841e651c", - "parent_item_id": "d4975df5-b18c-4772-80ad-368669856d52", - "descriptor": { - "name": "Everyday Conversational English - Chapter 2", - "long_desc": "Everyday Conversational English - Chapter 2", - "images": [ + "descriptor": { + "code": "prerequisite", + "name": "Prerequisite" + }, + "value": "Access to a computer or internet to access the course online" + }, { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english-ch2.png" - } - ], - "media": [ + "descriptor": { + "code": "lang-code", + "name": "Language code" + }, + "value": "en" + }, { - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english-ch2/" + "descriptor": { + "code": "course-duration", + "name": "Course duration" + }, + "value": "P20H" } - ] + ], + "display": true } - }, - { - "id": "eae312ed-5a2a-4b95-bed8-407a832b11b8", - "parent_item_id": "d4975df5-b18c-4772-80ad-368669856d52", + ] + } + ], + "fulfillments": [ + { + "state": { "descriptor": { - "name": "Everyday Conversational English - Chapter 3", - "long_desc": "Everyday Conversational English - Chapter 3", - "images": [ - { - "url": "https://infyspringboard.onwingspan.com/web/assets/images/infosysheadstart/everyday-conversational-english-ch3.png" - } - ], - "media": [ - { - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english-ch3/" - } - ] + "code": "course-cancelled", + "name": "Course has been cancelled" + }, + "updated_at": "2023-02-06T09:55:41.161Z" + }, + "agent": { + "person": { + "name": "Infosys Springboard" + }, + "contact": { + "email": "support@infy.com" } - } - ], - "billing": { - "name": "Namma Yatri", - "organization": { - "address": "Girija Building, Number 817, Ganapathi Temple Rd", - "city": "Bengaluru", - "state": "Karnataka", + }, + "customer": { + "person": { + "name": "Jane Doe", + "age": "13", + "gender": "female" + }, "contact": { - "email": "nammayatri.support@juspay.in", - "phone": "+91 80 68501060" + "phone": "+91-9663088848", + "email": "jane.doe@example.com" } - } - }, - "quote": { - "price": { - "currency": "INR", - "value": "0" - } - }, - "fulfillments": [ - { - "customer": { - "person": { - "name": "Manjunath", - "creds": { - "type": "VerifiableCredential", - "url": "https://infyspringboard.onwingspan.com/web/courses/infosysheadstart/everyday-conversational-english/certificate" - } - }, - "contact": { - "phone": "+91 9988764321", - "email": "manjunath@gmail.com" + }, + "stops": [ + { + "id": "0", + "instructions": { + "name": "content-video-1", + "long_desc": "Description About the Content", + "media": [ + { + "mimetype": "video/mp4", + "url": "https://embedded-video-player-url/play" + } + ] } }, - "agent": { - "person": { - "id": "eng-01-prof", - "name": "Prof. Shipra Vaidya" + { + "id": "1", + "instructions": { + "name": "content-video-2", + "long_desc": "Description About the Content", + "media": [ + { + "mimetype": "video/mp4", + "url": "https://embedded-video-player-url/play" + } + ] } }, - "state": { - "descriptor": { - "code": "course-cancelled", - "name": "Course has been cancelled" + { + "id": "2", + "instructions": { + "name": "content-pdf", + "long_desc": "Description About the Content", + "media": [ + { + "mimetype": "application/pdf", + "url": "https://link-to-the-document/" + } + ] } } - } - ], - "payments": [ - { - "params": { - "amount": "0", - "currency": "INR" - }, - "status": "PAID" - } - ], - "type": "DEFAULT" - } + ], + "tags": [ + { + "descriptor": { + "code": "course-completion-details", + "name": "Content Completion Details" + }, + "list": [ + { + "descriptor": { + "code": "course-certificate", + "name": "Course certificate" + }, + "value": "https://link-to-certificate" + }, + { + "descriptor": { + "code": "course-badge", + "name": "Course Badge" + }, + "value": "https://link-to-badge" + } + ], + "display": true + } + ] + } + ], + "quote": { + "price": { + "currency": "INR", + "value": "150" + } + }, + "billing": { + "name": "Jane Doe", + "phone": "+91-9663088848", + "email": "jane.doe@example.com", + "address": "No 27, XYZ Lane, etc" + }, + "payments": [ + { + "params": { + "amount": "150", + "currency": "INR" + }, + "type": "PRE-ORDER", + "status": "PAID", + "collected_by": "bpp" + } + ] } - } \ No newline at end of file + } +} \ No newline at end of file diff --git a/examples/courses/confirm/on_confirm.json b/examples/courses/confirm/on_confirm.json index f9a2d16..447e6fa 100644 --- a/examples/courses/confirm/on_confirm.json +++ b/examples/courses/confirm/on_confirm.json @@ -187,13 +187,13 @@ } ], "fulfillments": [ - { - "state" : { - "descriptor" : { - "code": "NOT-STARTED", - "name" : "Not Started" + { + "state": { + "descriptor": { + "code": "NOT-STARTED", + "name": "Not Started" }, - "updated_at" : "2023-02-06T09:55:41.161Z" + "updated_at": "2023-02-06T09:55:41.161Z" }, "agent": { "person": { diff --git a/examples/courses/init/on_init-step-1.json b/examples/courses/init/on_init-step-1.json index cb17c56..b7b8255 100644 --- a/examples/courses/init/on_init-step-1.json +++ b/examples/courses/init/on_init-step-1.json @@ -211,7 +211,7 @@ "address": "No 27, XYZ Lane, etc" }, "payments": [ - { + { "params": { "amount": "150", "currency": "INR" diff --git a/examples/courses/rating/rating.json b/examples/courses/rating/rating.json index 98f89a9..c71933b 100644 --- a/examples/courses/rating/rating.json +++ b/examples/courses/rating/rating.json @@ -13,10 +13,12 @@ "bpp_uri": "https://infosys.springboard.io" }, "message": { - "ratings": { - "id": "d4975df5-b18c-4772-80ad-368669856d52", - "rating_category": "Item", - "value": "4" - } + "ratings": [ + { + "id": "d4975df5-b18c-4772-80ad-368669856d52", + "rating_category": "Item", + "value": "4" + } + ] } } \ No newline at end of file diff --git a/examples/courses/select/on_select.json b/examples/courses/select/on_select.json index ed067fe..9deb521 100644 --- a/examples/courses/select/on_select.json +++ b/examples/courses/select/on_select.json @@ -61,7 +61,9 @@ { "id": "d4975df5-b18c-4772-80ad-368669856d52", "quantity": { - "maximum": 1 + "maximum": { + "count": 1 + } }, "descriptor": { "name": "Everyday Conversational English", diff --git a/examples/courses/status/on_status-course-completed.json b/examples/courses/status/on_status-course-completed.json index 7a4631d..9c98c63 100644 --- a/examples/courses/status/on_status-course-completed.json +++ b/examples/courses/status/on_status-course-completed.json @@ -187,13 +187,13 @@ } ], "fulfillments": [ - { - "state" : { - "descriptor" : { - "code": "COMPLETED", - "name" : "COMPLETED" + { + "state": { + "descriptor": { + "code": "COMPLETED", + "name": "COMPLETED" }, - "updated_at" : "2023-02-06T09:55:41.161Z" + "updated_at": "2023-02-06T09:55:41.161Z" }, "agent": { "person": { diff --git a/examples/courses/support/on_support.json b/examples/courses/support/on_support.json index f11b82c..ea9ddf3 100644 --- a/examples/courses/support/on_support.json +++ b/examples/courses/support/on_support.json @@ -14,22 +14,22 @@ }, "message": { "support": { - "ref_id" : "Abjhjh13773", - "order_id" : "d4975df5", - "callback_phone" : "+91-8858150053", - "email" : "support@ekstep.com", - "phone" : "+91-965676879", - "url" : "chat-url-for-support", + "ref_id": "Abjhjh13773", + "order_id": "d4975df5", + "callback_phone": "+91-8858150053", + "email": "support@ekstep.com", + "phone": "+91-965676879", + "url": "chat-url-for-support", "docs": [ - { - "descriptor":{ - "name" :"FAQs", - "short_desc" : "Frequently asked questions and common issues" - }, - "url" : "https://link-to-the-document.com", - "mime_type" : "application/pdf" - } - ] + { + "descriptor": { + "name": "FAQs", + "short_desc": "Frequently asked questions and common issues" + }, + "url": "https://link-to-the-document.com", + "mime_type": "application/pdf" + } + ] } } } \ No newline at end of file diff --git a/examples/courses/support/support-with-callback.json b/examples/courses/support/support-with-callback.json index 6ad41bb..a50cd5d 100644 --- a/examples/courses/support/support-with-callback.json +++ b/examples/courses/support/support-with-callback.json @@ -14,8 +14,8 @@ }, "message": { "support": { - "order_id" : "d4975df5", - "callback_phone" : "+91-8858150053" + "order_id": "d4975df5", + "callback_phone": "+91-8858150053" } } } \ No newline at end of file diff --git a/examples/courses/support/support.json b/examples/courses/support/support.json index b28f684..a263c30 100644 --- a/examples/courses/support/support.json +++ b/examples/courses/support/support.json @@ -14,7 +14,7 @@ }, "message": { "support": { - "order_id" : "d4975df5" + "order_id": "d4975df5" } } } \ No newline at end of file diff --git a/examples/courses/track/on_track.json b/examples/courses/track/on_track.json index 49637b0..792e000 100644 --- a/examples/courses/track/on_track.json +++ b/examples/courses/track/on_track.json @@ -13,10 +13,10 @@ "timestamp": "2023-02-20T15:21:36.925Z" }, "message": { - "tracking" : { - "id" : "66666ahhf9u385", - "url" : "tracking-url-for-course-progress", - "status" : "active" + "tracking": { + "id": "66666ahhf9u385", + "url": "tracking-url-for-course-progress", + "status": "active" } } } \ No newline at end of file diff --git a/examples/courses/track/track.json b/examples/courses/track/track.json index 46f8a01..c069c6e 100644 --- a/examples/courses/track/track.json +++ b/examples/courses/track/track.json @@ -13,6 +13,6 @@ "timestamp": "2023-02-20T15:21:36.925Z" }, "message": { - "order_id" : "d4975df5" + "order_id": "d4975df5" } } \ No newline at end of file diff --git a/examples/courses/update/on_update-course-status.json b/examples/courses/update/on_update-course-status.json index 160020c..1a662ec 100644 --- a/examples/courses/update/on_update-course-status.json +++ b/examples/courses/update/on_update-course-status.json @@ -62,7 +62,9 @@ { "id": "d4975df5-b18c-4772-80ad-368669856d52", "quantity": { - "maximum": 1 + "maximum": { + "count": 1 + } }, "descriptor": { "name": "Everyday Conversational English", @@ -185,13 +187,13 @@ } ], "fulfillments": [ - { - "state" : { - "descriptor" : { - "code": "COMPLETED", - "name" : "Completed" + { + "state": { + "descriptor": { + "code": "COMPLETED", + "name": "Completed" }, - "updated_at" : "2023-02-06T09:55:41.161Z" + "updated_at": "2023-02-06T09:55:41.161Z" }, "agent": { "person": { diff --git a/examples/courses/update/update-course-status.json b/examples/courses/update/update-course-status.json index baa72df..ff779fc 100644 --- a/examples/courses/update/update-course-status.json +++ b/examples/courses/update/update-course-status.json @@ -1,37 +1,37 @@ { - "context": { - "domain": "onest:learning-experiences", - "version": "1.1.0", - "action": "update", - "bap_id": "onest.becknprotocol.io", - "bap_uri": "https://onest-network.becknprotocol.io/", - "bpp_id": "infosys.springboard.io", - "bpp_uri": "https://infosys.springboard.io", - "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", - "message_id": "d514a38f-e112-4bb8-a3d8-b8e5d8dea82d", - "ttl": "PT10M", - "timestamp": "2023-02-20T15:21:36.925Z" - }, - "message": { - "order": { - "id": "12424kh", - "items": [ + "context": { + "domain": "onest:learning-experiences", + "version": "1.1.0", + "action": "update", + "bap_id": "onest.becknprotocol.io", + "bap_uri": "https://onest-network.becknprotocol.io/", + "bpp_id": "infosys.springboard.io", + "bpp_uri": "https://infosys.springboard.io", + "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c62196", + "message_id": "d514a38f-e112-4bb8-a3d8-b8e5d8dea82d", + "ttl": "PT10M", + "timestamp": "2023-02-20T15:21:36.925Z" + }, + "message": { + "order": { + "id": "12424kh", + "items": [ + { + "id": "d4975df5-b18c-4772-80ad-368669856d52", + "fulfillments": [ { - "id": "d4975df5-b18c-4772-80ad-368669856d52", - "fulfillments": [ - { - "state" : { - "descriptor" : { - "code": "COMPLETED", - "name" : "COMPLETED" - }, - "updated_at" : "2023-02-06T09:55:41.161Z" - } - } - ] + "state": { + "descriptor": { + "code": "COMPLETED", + "name": "COMPLETED" + }, + "updated_at": "2023-02-06T09:55:41.161Z" + } } ] - }, - "update_target": "order.items[0].fulfillments[0].state" - } + } + ] + }, + "update_target": "order.items[0].fulfillments[0].state" + } } \ No newline at end of file diff --git a/examples/expert-connect/cancel/cancel.json b/examples/expert-connect/cancel/cancel.json index 41da30b..c1982f8 100644 --- a/examples/expert-connect/cancel/cancel.json +++ b/examples/expert-connect/cancel/cancel.json @@ -8,7 +8,7 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2022-12-15T15:38:16.226Z", "message_id": "64109204-bdff-4af6-a76b-5a33f8aa8675", - "version": "1.0.0", + "version": "1.1.0", "ttl": "PT10M", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, diff --git a/examples/expert-connect/cancel/on_cancel.json b/examples/expert-connect/cancel/on_cancel.json index 757f4fe..d6348f6 100644 --- a/examples/expert-connect/cancel/on_cancel.json +++ b/examples/expert-connect/cancel/on_cancel.json @@ -8,28 +8,194 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2023-02-22T12:19:53.969Z", "ttl": "PT10M", - "version": "1.0.0", + "version": "1.1.0", "message_id": "b1ef9186-df2a-432d-a232-a464a9393804", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, "message": { "order": { "id": "3159f713-120e-4e7e-beae-6a638fb5df55", - "fulfillments": [ + "provider": { + "categories": [ + { + "id": "Infrastructure Management", + "descriptor": { + "code": "Infrastructure Management", + "name": "Infrastructure Management" + } + } + ], + "id": "63d93aea62820fd9e6be9d1b", + "descriptor": { + "code": "org7", + "name": "ShikshalokamSeven", + "short_desc": "ShikshalokamOrgSeven" + } + }, + "items": [ { - "language": [ - "English" + "quantity": { + "available": { + "count": 5 + }, + "allocated": { + "count": 10 + } + }, + "price": { + "value": "0" + }, + "id": "63f1ebc423df082856936510", + "category_ids": [ + "Infrastructure-Management" ], - "id": "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965", - "time": { - "range": { - "start": "2023-02-19T23:23:16", - "end": "2023-02-20T01:23:16" + "descriptor": { + "images": [ + { + "url": "https://loremflickr.com/640/480/abstract?random=fttu1nidzj" + } + ], + "code": "Class Room Management Level Tags Test 1", + "name": "Class Room Management Level Tags Test 1", + "short_desc": "A level Tags Test 1 session on class room management for state schools and colleges.", + "long_desc": "A level Tags Test 1 session on class room management for state schools and colleges." + }, + "fulfillment_ids": [ + "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965" + ], + "tags": [ + { + "display": true, + "descriptor": { + "code": "recommended_for", + "name": "recommended_for" + }, + "list": [ + { + "value" : "District education officer" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "about_mentor", + "name": "About Mentor" + }, + "list": [ + { + "value" : "This mentor has spent their entire career working in their field, developing a deep understanding of its complexities and nuances. They are a natural teacher, and take great pleasure in helping others develop their own expertise. Whether you're looking for guidance on a specific project or simply need someone to bounce ideas off of, this mentor is always available and ready to lend a helping hand." + } + ] }, - "label": "Session Timing" + { + "display": true, + "descriptor": { + "code": "professional_experience", + "name": "Professional Experience" + }, + "list": [ + { + "value" : "Lead Developer | Technical Advisor - NexGen Innovations" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "qualification", + "name": "Qualification" + }, + "list": [ + { + "value" : "M.Tech from IIT Kharagpur" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "experience", + "name": "Experience" + }, + "list": [ + { + "value" : "29 Years" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "total_meetings", + "name": "Total Meetings" + }, + "list": [ + { + "value" : "112+" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "specialist_in", + "name": "Specialist In" + }, + "list": [ + { + "value" : "Mobile App Development" + } + ] + } + ] + } + ], + "fulfillments": [ + { + "id": "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965", + "stops": [ + { + "time": { + "range": { + "start": "2023-02-19T23:23:16", + "end": "2023-02-20T01:23:16" + }, + "label": "Session Timing" + } + } + ], + "state" : { + "descriptor" : { + "code" : "CANCELLED" + } }, "type": "ONLINE", "tags": [ + { + "descriptor": { + "code": "status", + "name": "status" + }, + "list": [ + { + "value" : "live" + } + ], + "display": true + }, + { + "descriptor": { + "code": "timeZone", + "name": "timeZone" + }, + "list": [ + { + "value" : "Asia/Calcutta" + } + ], + "display": true + }, { "display": true, "descriptor": { @@ -38,10 +204,8 @@ }, "list": [ { - "descriptor": { - "code": "https://dev.elevate-apis.shikshalokam.org/dsep-mentoring/v1/sessions/join/63f1ebc423df082856936510?user=63f60869b324854ca5ce3e18&name=Van%20Bode%20III", - "name": "https://dev.elevate-apis.shikshalokam.org/dsep-mentoring/v1/sessions/join/63f1ebc423df082856936510?user=63f60869b324854ca5ce3e18&name=Van%20Bode%20III" - } + + "value" : "https://dev.elevate-apis.shikshalokam.org/dsep-mentoring/v1/sessions/join/63f1ebc423df082856936510?user=63f60869b324854ca5ce3e18&name=Van%20Bode%20III" } ] } @@ -49,7 +213,12 @@ "agent": { "person": { "name": "joffin Mentor Fourteen", - "id": "63f0ceac62820fd9e6be9e9b" + "id": "63f0ceac62820fd9e6be9e9b", + "languages" : [ + { + "name" : "English" + } + ] } }, "tracking": false diff --git a/examples/expert-connect/confirm/confirm.json b/examples/expert-connect/confirm/confirm.json index 7e83b47..8c9f4f7 100644 --- a/examples/expert-connect/confirm/confirm.json +++ b/examples/expert-connect/confirm/confirm.json @@ -8,7 +8,7 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2022-12-15T15:38:16.226Z", "message_id": "64109204-bdff-4af6-a76b-5a33f8aa8675", - "version": "1.0.0", + "version": "1.1.0", "ttl": "PT10M", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, @@ -32,10 +32,7 @@ "billing": { "name": "Van Bode III", "phone": "881-311-2951 x01508", - "email": "Sonny_Auera1@yahoo1.com", - "time": { - "timezone": "IST" - } + "email": "Sonny_Auera1@yahoo1.com" } } } diff --git a/examples/expert-connect/confirm/on_confirm.json b/examples/expert-connect/confirm/on_confirm.json index 72646dd..581a6fc 100644 --- a/examples/expert-connect/confirm/on_confirm.json +++ b/examples/expert-connect/confirm/on_confirm.json @@ -8,28 +8,189 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2023-02-22T12:19:53.969Z", "ttl": "PT10M", - "version": "1.0.0", + "version": "1.1.0", "message_id": "b1ef9186-df2a-432d-a232-a464a9393804", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, "message": { "order": { "id": "3159f713-120e-4e7e-beae-6a638fb5df55", - "fulfillments": [ + "provider": { + "categories": [ + { + "id": "Infrastructure Management", + "descriptor": { + "code": "Infrastructure Management", + "name": "Infrastructure Management" + } + } + ], + "id": "63d93aea62820fd9e6be9d1b", + "descriptor": { + "code": "org7", + "name": "ShikshalokamSeven", + "short_desc": "ShikshalokamOrgSeven" + } + }, + "items": [ { - "language": [ - "English" - ], - "id": "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965", - "time": { - "range": { - "start": "2023-02-19T23:23:16", - "end": "2023-02-20T01:23:16" + "quantity": { + "available": { + "count": 5 }, - "label": "Session Timing" + "allocated": { + "count": 10 + } + }, + "price": { + "value": "0" }, + "id": "63f1ebc423df082856936510", + "category_ids": [ + "Infrastructure-Management" + ], + "descriptor": { + "images": [ + { + "url": "https://loremflickr.com/640/480/abstract?random=fttu1nidzj" + } + ], + "code": "Class Room Management Level Tags Test 1", + "name": "Class Room Management Level Tags Test 1", + "short_desc": "A level Tags Test 1 session on class room management for state schools and colleges.", + "long_desc": "A level Tags Test 1 session on class room management for state schools and colleges." + }, + "fulfillment_ids": [ + "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965" + ], + "tags": [ + { + "display": true, + "descriptor": { + "code": "recommended_for", + "name": "recommended_for" + }, + "list": [ + { + "value" : "District education officer" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "about_mentor", + "name": "About Mentor" + }, + "list": [ + { + "value" : "This mentor has spent their entire career working in their field, developing a deep understanding of its complexities and nuances. They are a natural teacher, and take great pleasure in helping others develop their own expertise. Whether you're looking for guidance on a specific project or simply need someone to bounce ideas off of, this mentor is always available and ready to lend a helping hand." + } + ] + }, + { + "display": true, + "descriptor": { + "code": "professional_experience", + "name": "Professional Experience" + }, + "list": [ + { + "value" : "Lead Developer | Technical Advisor - NexGen Innovations" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "qualification", + "name": "Qualification" + }, + "list": [ + { + "value" : "M.Tech from IIT Kharagpur" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "experience", + "name": "Experience" + }, + "list": [ + { + "value" : "29 Years" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "total_meetings", + "name": "Total Meetings" + }, + "list": [ + { + "value" : "112+" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "specialist_in", + "name": "Specialist In" + }, + "list": [ + { + "value" : "Mobile App Development" + } + ] + } + ] + } + ], + "fulfillments": [ + { + "id": "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965", + "stops": [ + { + "time": { + "range": { + "start": "2023-02-19T23:23:16", + "end": "2023-02-20T01:23:16" + }, + "label": "Session Timing" + } + } + ], "type": "ONLINE", "tags": [ + { + "descriptor": { + "code": "status", + "name": "status" + }, + "list": [ + { + "value" : "live" + } + ], + "display": true + }, + { + "descriptor": { + "code": "timeZone", + "name": "timeZone" + }, + "list": [ + { + "value" : "Asia/Calcutta" + } + ], + "display": true + }, { "display": true, "descriptor": { @@ -38,10 +199,8 @@ }, "list": [ { - "descriptor": { - "code": "https://dev.elevate-apis.shikshalokam.org/dsep-mentoring/v1/sessions/join/63f1ebc423df082856936510?user=63f60869b324854ca5ce3e18&name=Van%20Bode%20III", - "name": "https://dev.elevate-apis.shikshalokam.org/dsep-mentoring/v1/sessions/join/63f1ebc423df082856936510?user=63f60869b324854ca5ce3e18&name=Van%20Bode%20III" - } + + "value" : "https://dev.elevate-apis.shikshalokam.org/dsep-mentoring/v1/sessions/join/63f1ebc423df082856936510?user=63f60869b324854ca5ce3e18&name=Van%20Bode%20III" } ] } @@ -49,7 +208,12 @@ "agent": { "person": { "name": "joffin Mentor Fourteen", - "id": "63f0ceac62820fd9e6be9e9b" + "id": "63f0ceac62820fd9e6be9e9b", + "languages" : [ + { + "name" : "English" + } + ] } }, "tracking": false diff --git a/examples/expert-connect/init/init.json b/examples/expert-connect/init/init.json index ed39b74..b23e433 100644 --- a/examples/expert-connect/init/init.json +++ b/examples/expert-connect/init/init.json @@ -8,7 +8,7 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2022-12-15T15:38:16.226Z", "message_id": "64109204-bdff-4af6-a76b-5a33f8aa8675", - "version": "1.0.0", + "version": "1.1.0", "ttl": "PT10M", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, @@ -32,10 +32,7 @@ "billing": { "name": "Van Bode III", "phone": "881-311-2951 x01508", - "email": "Sonny_Auer@yahoo.com", - "time": { - "timezone": "IST" - } + "email": "Sonny_Auer@yahoo.com" } } } diff --git a/examples/expert-connect/init/on_init.json b/examples/expert-connect/init/on_init.json index 772a6a6..a00e184 100644 --- a/examples/expert-connect/init/on_init.json +++ b/examples/expert-connect/init/on_init.json @@ -8,7 +8,7 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2023-02-22T12:17:34.104Z", "ttl": "PT10M", - "version": "1.0.0", + "version": "1.1.0", "message_id": "d8157869-38e7-40d8-9122-ce793246548b", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, @@ -29,208 +29,182 @@ "code": "org7", "name": "ShikshalokamSeven", "short_desc": "ShikshalokamOrgSeven" - }, - "items": [ - { - "quantity": { - "available": { - "count": 5 - }, - "allocated": { - "count": 10 - } - }, - "price": { - "value": "0" + } + }, + "items": [ + { + "quantity": { + "available": { + "count": 5 }, - "id": "63f1ebc423df082856936510", - "category_ids": [ - "Infrastructure-Management" + "allocated": { + "count": 10 + } + }, + "price": { + "value": "0" + }, + "id": "63f1ebc423df082856936510", + "category_ids": [ + "Infrastructure-Management" + ], + "descriptor": { + "images": [ + { + "url": "https://loremflickr.com/640/480/abstract?random=fttu1nidzj" + } ], - "descriptor": { - "images": [ + "code": "Class Room Management Level Tags Test 1", + "name": "Class Room Management Level Tags Test 1", + "short_desc": "A level Tags Test 1 session on class room management for state schools and colleges.", + "long_desc": "A level Tags Test 1 session on class room management for state schools and colleges." + }, + "fulfillment_ids": [ + "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965" + ], + "tags": [ + { + "display": true, + "descriptor": { + "code": "recommended_for", + "name": "recommended_for" + }, + "list": [ { - "url": "https://loremflickr.com/640/480/abstract?random=fttu1nidzj" + "value" : "District education officer" } - ], - "code": "Class Room Management Level Tags Test 1", - "name": "Class Room Management Level Tags Test 1", - "short_desc": "A level Tags Test 1 session on class room management for state schools and colleges.", - "long_desc": "A level Tags Test 1 session on class room management for state schools and colleges." + ] }, - "fulfillment_ids": [ - "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965" - ], - "tags": [ - { - "display": true, - "descriptor": { - "code": "recommended_for", - "name": "recommended_for" - }, - "list": [ - { - "descriptor": { - "code": "deo", - "name": "District education officer" - } - } - ] + { + "display": true, + "descriptor": { + "code": "about_mentor", + "name": "About Mentor" }, - { - "display": true, - "descriptor": { - "code": "about_mentor", - "name": "About Mentor" - }, - "list": [ - { - "descriptor": { - "code": "about_mentor", - "name": "This mentor has spent their entire career working in their field, developing a deep understanding of its complexities and nuances. They are a natural teacher, and take great pleasure in helping others develop their own expertise. Whether you're looking for guidance on a specific project or simply need someone to bounce ideas off of, this mentor is always available and ready to lend a helping hand." - } - } - ] + "list": [ + { + "value" : "This mentor has spent their entire career working in their field, developing a deep understanding of its complexities and nuances. They are a natural teacher, and take great pleasure in helping others develop their own expertise. Whether you're looking for guidance on a specific project or simply need someone to bounce ideas off of, this mentor is always available and ready to lend a helping hand." + } + ] + }, + { + "display": true, + "descriptor": { + "code": "professional_experience", + "name": "Professional Experience" }, - { - "display": true, - "descriptor": { - "code": "professional_experience", - "name": "Professional Experience" - }, - "list": [ - { - "descriptor": { - "code": "professional_experience", - "name": "Lead Developer | Technical Advisor - NexGen Innovations" - } - } - ] + "list": [ + { + "value" : "Lead Developer | Technical Advisor - NexGen Innovations" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "qualification", + "name": "Qualification" }, - { - "display": true, - "descriptor": { - "code": "qualification", - "name": "Qualification" - }, - "list": [ - { - "descriptor": { - "code": "qualification", - "name": "M.Tech from IIT Kharagpur" - } - } - ] + "list": [ + { + "value" : "M.Tech from IIT Kharagpur" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "experience", + "name": "Experience" }, - { - "display": true, - "descriptor": { - "code": "experience", - "name": "Experience" - }, - "list": [ - { - "descriptor": { - "code": "experience", - "name": "29 Years" - } - } - ] + "list": [ + { + "value" : "29 Years" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "total_meetings", + "name": "Total Meetings" }, - { - "display": true, - "descriptor": { - "code": "total_meetings", - "name": "Total Meetings" - }, - "list": [ - { - "descriptor": { - "code": "total_meetings", - "name": "112+" - } - } - ] + "list": [ + { + "value" : "112+" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "specialist_in", + "name": "Specialist In" }, - { - "display": true, - "descriptor": { - "code": "specialist_in", - "name": "Specialist In" + "list": [ + { + "value" : "Mobile App Development" + } + ] + } + ] + } + ], + "fulfillments": [ + { + "id": "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965", + "stops": [ + { + "time": { + "range": { + "start": "2023-02-19T23:23:16", + "end": "2023-02-20T01:23:16" }, - "list": [ - { - "descriptor": { - "code": "specialist_in", - "name": "Mobile App Development" - } - } - ] + "label": "Session Timing" } - ] - } - ], - "fulfillments": [ - { - "language": [ - "English" - ], - "id": "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965", - "time": { - "range": { - "start": "2023-02-19T23:23:16", - "end": "2023-02-20T01:23:16" + } + ], + "type": "ONLINE", + "tags": [ + { + "descriptor": { + "code": "status", + "name": "status" }, - "label": "Session Timing" + "list": [ + { + "value" : "live" + } + ], + "display": true }, - "type": "ONLINE", - "tags": [ - { - "descriptor": { - "code": "status", - "name": "status" - }, - "list": [ - { - "descriptor": { - "code": "live", - "name": "Live" - } - } - ], - "display": true + { + "descriptor": { + "code": "timeZone", + "name": "timeZone" }, - { - "descriptor": { - "code": "timeZone", - "name": "timeZone" - }, - "list": [ - { - "descriptor": { - "code": "Asia/Calcutta", - "name": "Asia/Calcutta" - } - } - ], - "display": true - } - ], - "agent": { - "person": { - "name": "joffin Mentor Fourteen", - "id": "63f0ceac62820fd9e6be9e9b" - } - }, - "customer": { - "person": { - "name": "John Doe" - } - }, - "tracking": false - } - ] - }, + "list": [ + { + "value" : "Asia/Calcutta" + } + ], + "display": true + } + ], + "agent": { + "person": { + "name": "joffin Mentor Fourteen", + "id": "63f0ceac62820fd9e6be9e9b", + "languages" : [ + { + "name" : "English" + } + ] + } + }, + "tracking": false + } + ], "type": "DEFAULT" } } diff --git a/examples/expert-connect/rating/on_rating.json b/examples/expert-connect/rating/on_rating.json index e2d20e9..aba769a 100644 --- a/examples/expert-connect/rating/on_rating.json +++ b/examples/expert-connect/rating/on_rating.json @@ -8,7 +8,7 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2022-12-15T15:38:16.226Z", "message_id": "64109204-bdff-4af6-a76b-5a33f8aa8675", - "version": "1.0.0", + "version": "1.1.0", "ttl": "PT10M", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, diff --git a/examples/expert-connect/rating/rating-agent.json b/examples/expert-connect/rating/rating-agent.json index 072400b..832ad4d 100644 --- a/examples/expert-connect/rating/rating-agent.json +++ b/examples/expert-connect/rating/rating-agent.json @@ -8,15 +8,17 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2022-12-15T15:38:16.226Z", "message_id": "64109204-bdff-4af6-a76b-5a33f8aa8675", - "version": "1.0.0", + "version": "1.1.0", "ttl": "PT10M", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, "message": { - "rating" : { - "rating_category": "Agent", - "id" : "63f0ceac62820fd9e6be9e9b", - "value" :"5" - } + "ratings" : [ + { + "rating_category": "Agent", + "id" : "63f0ceac62820fd9e6be9e9b", + "value" :"5" + } + ] } } \ No newline at end of file diff --git a/examples/expert-connect/rating/rating-provider.json b/examples/expert-connect/rating/rating-provider.json index 2260b4b..ec19990 100644 --- a/examples/expert-connect/rating/rating-provider.json +++ b/examples/expert-connect/rating/rating-provider.json @@ -8,15 +8,17 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2022-12-15T15:38:16.226Z", "message_id": "64109204-bdff-4af6-a76b-5a33f8aa8675", - "version": "1.0.0", + "version": "1.1.0", "ttl": "PT10M", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, "message": { - "rating" : { - "rating_category": "Provider", - "id" : "63d93aea62820fd9e6be9d1b", - "value" :"3" - } + "ratings" : [ + { + "rating_category": "Provider", + "id" : "63d93aea62820fd9e6be9d1b", + "value" :"3" + } + ] } } \ No newline at end of file diff --git a/examples/expert-connect/search/on_search.json b/examples/expert-connect/search/on_search.json index 0a80d24..a9cce11 100644 --- a/examples/expert-connect/search/on_search.json +++ b/examples/expert-connect/search/on_search.json @@ -8,7 +8,7 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2023-02-22T12:11:27.388Z", "ttl": "PT10M", - "version": "1.0.0", + "version": "1.1.0", "message_id": "e54ba2b3-dbb1-40b8-a3c5-9cd0366d186a", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, @@ -71,10 +71,7 @@ }, "list": [ { - "descriptor": { - "code": "deo", - "name": "District education officer" - } + "value" : "District education officer" } ] }, @@ -86,10 +83,7 @@ }, "list": [ { - "descriptor": { - "code": "about_mentor", - "name": "This mentor has spent their entire career working in their field, developing a deep understanding of its complexities and nuances. They are a natural teacher, and take great pleasure in helping others develop their own expertise. Whether you're looking for guidance on a specific project or simply need someone to bounce ideas off of, this mentor is always available and ready to lend a helping hand." - } + "value" : "This mentor has spent their entire career working in their field, developing a deep understanding of its complexities and nuances. They are a natural teacher, and take great pleasure in helping others develop their own expertise. Whether you're looking for guidance on a specific project or simply need someone to bounce ideas off of, this mentor is always available and ready to lend a helping hand." } ] }, @@ -101,10 +95,7 @@ }, "list": [ { - "descriptor": { - "code": "professional_experience", - "name": "Lead Developer | Technical Advisor - NexGen Innovations" - } + "value" : "Lead Developer | Technical Advisor - NexGen Innovations" } ] }, @@ -116,10 +107,7 @@ }, "list": [ { - "descriptor": { - "code": "qualification", - "name": "M.Tech from IIT Kharagpur" - } + "value" : "M.Tech from IIT Kharagpur" } ] }, @@ -131,10 +119,7 @@ }, "list": [ { - "descriptor": { - "code": "experience", - "name": "29 Years" - } + "value" : "29 Years" } ] }, @@ -146,10 +131,7 @@ }, "list": [ { - "descriptor": { - "code": "total_meetings", - "name": "112+" - } + "value" : "112+" } ] }, @@ -161,10 +143,7 @@ }, "list": [ { - "descriptor": { - "code": "specialist_in", - "name": "Mobile App Development" - } + "value" : "Mobile App Development" } ] } @@ -209,10 +188,7 @@ }, "list": [ { - "descriptor": { - "code": "deo", - "name": "District education officer" - } + "value" : "District education officer" } ] }, @@ -224,10 +200,7 @@ }, "list": [ { - "descriptor": { - "code": "about_mentor", - "name": "This mentor has spent their entire career working in their field, developing a deep understanding of its complexities and nuances. They are a natural teacher, and take great pleasure in helping others develop their own expertise. Whether you're looking for guidance on a specific project or simply need someone to bounce ideas off of, this mentor is always available and ready to lend a helping hand." - } + "value": "This mentor has spent their entire career working in their field, developing a deep understanding of its complexities and nuances. They are a natural teacher, and take great pleasure in helping others develop their own expertise. Whether you're looking for guidance on a specific project or simply need someone to bounce ideas off of, this mentor is always available and ready to lend a helping hand." } ] }, @@ -239,10 +212,7 @@ }, "list": [ { - "descriptor": { - "code": "professional_experience", - "name": "Principal Engineer | Director of R&D - FutureTech Labs" - } + "value" : "Principal Engineer | Director of R&D - FutureTech Labs" } ] }, @@ -254,10 +224,7 @@ }, "list": [ { - "descriptor": { - "code": "qualification", - "name": "B.Tech from IIT Kanpur" - } + "value" : "B.Tech from IIT Kanpur" } ] }, @@ -269,10 +236,7 @@ }, "list": [ { - "descriptor": { - "code": "experience", - "name": "15 Years" - } + "value" : "15 Years" } ] }, @@ -284,10 +248,7 @@ }, "list": [ { - "descriptor": { - "code": "total_meetings", - "name": "87+" - } + "value" : "87+" } ] }, @@ -299,10 +260,7 @@ }, "list": [ { - "descriptor": { - "code": "specialist_in", - "name": "Backend Development" - } + "value" : "Backend Development" } ] } @@ -347,10 +305,7 @@ }, "list": [ { - "descriptor": { - "code": "deo", - "name": "District education officer" - } + "value" : "District education officer" } ] }, @@ -362,10 +317,7 @@ }, "list": [ { - "descriptor": { - "code": "about_mentor", - "name": "With over 20 years of experience in their field, this mentor is a highly respected expert with a wealth of knowledge to share. They are always eager to help others learn and grow, and are known for their patient and supportive approach to mentorship. Whether you're just starting out in the industry or looking to take your skills to the next level, this mentor is an invaluable resource." - } + "value" : "With over 20 years of experience in their field, this mentor is a highly respected expert with a wealth of knowledge to share. They are always eager to help others learn and grow, and are known for their patient and supportive approach to mentorship. Whether you're just starting out in the industry or looking to take your skills to the next level, this mentor is an invaluable resource." } ] }, @@ -377,10 +329,7 @@ }, "list": [ { - "descriptor": { - "code": "professional_experience", - "name": "Executive Director | Co-Founder - Quantum Insights, Inc." - } + "value" : "Executive Director | Co-Founder - Quantum Insights, Inc." } ] }, @@ -392,10 +341,7 @@ }, "list": [ { - "descriptor": { - "code": "qualification", - "name": "B.Tech from IIT Bombay" - } + "value" : "B.Tech from IIT Bombay" } ] }, @@ -407,10 +353,7 @@ }, "list": [ { - "descriptor": { - "code": "experience", - "name": "24 Years" - } + "value" : "24 Years" } ] }, @@ -422,10 +365,7 @@ }, "list": [ { - "descriptor": { - "code": "total_meetings", - "name": "148+" - } + "value" : "148+" } ] }, @@ -437,10 +377,7 @@ }, "list": [ { - "descriptor": { - "code": "specialist_in", - "name": "Full Stack Development" - } + "value" : "Full Stack Development" } ] } @@ -485,10 +422,7 @@ }, "list": [ { - "descriptor": { - "code": "deo", - "name": "District education officer" - } + "value" : "District education officer" } ] }, @@ -500,10 +434,7 @@ }, "list": [ { - "descriptor": { - "code": "about_mentor", - "name": "With over 20 years of experience in their field, this mentor is a highly respected expert with a wealth of knowledge to share. They are always eager to help others learn and grow, and are known for their patient and supportive approach to mentorship. Whether you're just starting out in the industry or looking to take your skills to the next level, this mentor is an invaluable resource." - } + "value" : "With over 20 years of experience in their field, this mentor is a highly respected expert with a wealth of knowledge to share. They are always eager to help others learn and grow, and are known for their patient and supportive approach to mentorship. Whether you're just starting out in the industry or looking to take your skills to the next level, this mentor is an invaluable resource." } ] }, @@ -515,10 +446,7 @@ }, "list": [ { - "descriptor": { - "code": "professional_experience", - "name": "Principal Engineer | Technical Advisor - MindShift Consulting" - } + "value" : "Principal Engineer | Technical Advisor - MindShift Consulting" } ] }, @@ -530,10 +458,7 @@ }, "list": [ { - "descriptor": { - "code": "qualification", - "name": "Ph.D from IIT Delhi" - } + "value" : "Ph.D from IIT Delhi" } ] }, @@ -545,10 +470,7 @@ }, "list": [ { - "descriptor": { - "code": "experience", - "name": "29 Years" - } + "value" : "29 Years" } ] }, @@ -560,10 +482,7 @@ }, "list": [ { - "descriptor": { - "code": "total_meetings", - "name": "77+" - } + "value" : "77+" } ] }, @@ -575,10 +494,7 @@ }, "list": [ { - "descriptor": { - "code": "specialist_in", - "name": "Frontend Development" - } + "value" : "Frontend Development" } ] } @@ -623,10 +539,7 @@ }, "list": [ { - "descriptor": { - "code": "deo", - "name": "District education officer" - } + "value" : "District education officer" } ] }, @@ -638,10 +551,7 @@ }, "list": [ { - "descriptor": { - "code": "about_mentor", - "name": "A true master of their craft, this mentor has spent decades honing their skills and building their knowledge base. They are a sought-after consultant and advisor, known for their ability to tackle even the most difficult challenges with ease. Despite their impressive credentials, they are warm and approachable, always happy to help those who are eager to learn." - } + "value" : "A true master of their craft, this mentor has spent decades honing their skills and building their knowledge base. They are a sought-after consultant and advisor, known for their ability to tackle even the most difficult challenges with ease. Despite their impressive credentials, they are warm and approachable, always happy to help those who are eager to learn." } ] }, @@ -653,10 +563,7 @@ }, "list": [ { - "descriptor": { - "code": "professional_experience", - "name": "Executive Director | Technical Advisor - Quantum Insights, Inc." - } + "value" : "Executive Director | Technical Advisor - Quantum Insights, Inc." } ] }, @@ -668,10 +575,7 @@ }, "list": [ { - "descriptor": { - "code": "qualification", - "name": "M.E from IIT Delhi" - } + "value" : "M.E from IIT Delhi" } ] }, @@ -683,10 +587,7 @@ }, "list": [ { - "descriptor": { - "code": "experience", - "name": "13 Years" - } + "value" : "13 Years" } ] }, @@ -698,10 +599,7 @@ }, "list": [ { - "descriptor": { - "code": "total_meetings", - "name": "127+" - } + "value" : "127+" } ] }, @@ -713,10 +611,7 @@ }, "list": [ { - "descriptor": { - "code": "specialist_in", - "name": "DevOps" - } + "value" : "DevOps" } ] } @@ -761,10 +656,7 @@ }, "list": [ { - "descriptor": { - "code": "deo", - "name": "District education officer" - } + "value" : "District education officer" } ] }, @@ -776,10 +668,7 @@ }, "list": [ { - "descriptor": { - "code": "about_mentor", - "name": "With a career spanning multiple decades, this mentor is a true veteran of their industry. They have seen it all, and have a wealth of stories and insights to share. They are passionate about passing on their knowledge and experience to others, and take great pride in helping others achieve their goals. Whether you're a newcomer to the industry or a seasoned pro, this mentor is an invaluable source of wisdom and guidance." - } + "value" : "With a career spanning multiple decades, this mentor is a true veteran of their industry. They have seen it all, and have a wealth of stories and insights to share. They are passionate about passing on their knowledge and experience to others, and take great pride in helping others achieve their goals. Whether you're a newcomer to the industry or a seasoned pro, this mentor is an invaluable source of wisdom and guidance." } ] }, @@ -791,10 +680,7 @@ }, "list": [ { - "descriptor": { - "code": "professional_experience", - "name": "Senior Consultant | Director of R&D - FutureTech Labs" - } + "value" : "Senior Consultant | Director of R&D - FutureTech Labs" } ] }, @@ -806,10 +692,7 @@ }, "list": [ { - "descriptor": { - "code": "qualification", - "name": "M.Tech from NID Ahmedabad" - } + "value" : "M.Tech from NID Ahmedabad" } ] }, @@ -821,10 +704,7 @@ }, "list": [ { - "descriptor": { - "code": "experience", - "name": "13 Years" - } + "value" : "13 Years" } ] }, @@ -836,10 +716,7 @@ }, "list": [ { - "descriptor": { - "code": "total_meetings", - "name": "124+" - } + "value" : "124+" } ] }, @@ -851,10 +728,7 @@ }, "list": [ { - "descriptor": { - "code": "specialist_in", - "name": "Machine Learning" - } + "value" : "Machine Learning" } ] } @@ -863,45 +737,38 @@ ], "fulfillments": [ { - "language": [ - "English" - ], "id": "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965", - "time": { - "range": { - "start": "2023-02-19T23:23:16", - "end": "2023-02-20T01:23:16" - }, - "label": "Session Timing" - }, + "stops": [ + { + "time": { + "range": { + "start": "2023-02-19T23:23:16", + "end": "2023-02-20T01:23:16" + }, + "label": "Session Timing" + } + } + ], "type": "ONLINE", "tags": [ { "descriptor": { - "code": "status", - "name": "status" + "code": "status" }, "list": [ { - "descriptor": { - "code": "live", - "name": "Live" - } + "value" : "Live" } ], "display": true }, { "descriptor": { - "code": "timeZone", - "name": "timeZone" + "code": "timeZone" }, "list": [ { - "descriptor": { - "code": "Asia/Calcutta", - "name": "Asia/Calcutta" - } + "value" : "Asia/Calcutta" } ], "display": true @@ -910,23 +777,29 @@ "agent": { "person": { "name": "joffin Mentor Fourteen", - "id": "63f0ceac62820fd9e6be9e9b" + "id": "63f0ceac62820fd9e6be9e9b", + "languages" : [ + { + "name" : "English" + } + ] } }, "tracking": false }, { - "language": [ - "English" - ], "id": "90b1be26-2135-47b7-9c2c-fc8f16b8ddd5", - "time": { - "range": { - "start": "2023-02-19T23:23:16", - "end": "2023-02-20T01:23:16" - }, - "label": "Session Timing" - }, + "stops": [ + { + "time": { + "range": { + "start": "2023-02-19T23:23:16", + "end": "2023-02-20T01:23:16" + }, + "label": "Session Timing" + } + } + ], "type": "ONLINE", "tags": [ { @@ -936,10 +809,7 @@ }, "list": [ { - "descriptor": { - "code": "live", - "name": "Live" - } + "value" : "Live" } ], "display": true @@ -951,10 +821,7 @@ }, "list": [ { - "descriptor": { - "code": "Asia/Calcutta", - "name": "Asia/Calcutta" - } + "value" : "Asia/Calcutta" } ], "display": true @@ -963,23 +830,29 @@ "agent": { "person": { "name": "joffin Mentor Fourteen", - "id": "63f0ceac62820fd9e6be9e9b" + "id": "63f0ceac62820fd9e6be9e9b", + "languages" : [ + { + "name" : "English" + } + ] } }, "tracking": false }, { - "language": [ - "English" - ], "id": "63af39b5-1cbf-4a34-a391-163af42a72bb", - "time": { - "range": { - "start": "2023-02-19T23:23:16", - "end": "2023-02-20T01:23:16" - }, - "label": "Session Timing" - }, + "stops": [ + { + "time": { + "range": { + "start": "2023-02-19T23:23:16", + "end": "2023-02-20T01:23:16" + }, + "label": "Session Timing" + } + } + ], "type": "ONLINE", "tags": [ { @@ -989,10 +862,7 @@ }, "list": [ { - "descriptor": { - "code": "live", - "name": "Live" - } + "value" : "Live" } ], "display": true @@ -1004,10 +874,7 @@ }, "list": [ { - "descriptor": { - "code": "Asia/Calcutta", - "name": "Asia/Calcutta" - } + "value" : "Asia/Calcutta" } ], "display": true @@ -1016,23 +883,29 @@ "agent": { "person": { "name": "joffin Mentor Fourteen", - "id": "63f0ceac62820fd9e6be9e9b" + "id": "63f0ceac62820fd9e6be9e9b", + "languages" : [ + { + "name" : "English" + } + ] } }, "tracking": false }, { - "language": [ - "English" - ], "id": "55329940-f3af-4d1c-8a46-94921e2f6443", - "time": { - "range": { - "start": "2023-02-19T23:23:16", - "end": "2023-02-20T01:23:16" - }, - "label": "Session Timing" - }, + "stops": [ + { + "time": { + "range": { + "start": "2023-02-19T23:23:16", + "end": "2023-02-20T01:23:16" + }, + "label": "Session Timing" + } + } + ], "type": "ONLINE", "tags": [ { @@ -1042,10 +915,7 @@ }, "list": [ { - "descriptor": { - "code": "live", - "name": "Live" - } + "value" : "Live" } ], "display": true @@ -1057,10 +927,7 @@ }, "list": [ { - "descriptor": { - "code": "Asia/Calcutta", - "name": "Asia/Calcutta" - } + "value" : "Asia/Calcutta" } ], "display": true @@ -1069,23 +936,29 @@ "agent": { "person": { "name": "joffin Mentor Fourteen", - "id": "63f0ceac62820fd9e6be9e9b" + "id": "63f0ceac62820fd9e6be9e9b", + "languages" : [ + { + "name" : "English" + } + ] } }, "tracking": false }, { - "language": [ - "English" - ], "id": "1e0e527c-0877-4e9a-addc-222facbf7210", - "time": { - "range": { - "start": "2023-02-19T23:23:16", - "end": "2023-02-20T01:23:16" - }, - "label": "Session Timing" - }, + "stops": [ + { + "time": { + "range": { + "start": "2023-02-19T23:23:16", + "end": "2023-02-20T01:23:16" + }, + "label": "Session Timing" + } + } + ], "type": "ONLINE", "tags": [ { @@ -1095,10 +968,7 @@ }, "list": [ { - "descriptor": { - "code": "live", - "name": "Live" - } + "value" : "Live" } ], "display": true @@ -1110,10 +980,7 @@ }, "list": [ { - "descriptor": { - "code": "Asia/Calcutta", - "name": "Asia/Calcutta" - } + "value" : "Asia/Calcutta" } ], "display": true @@ -1122,23 +989,29 @@ "agent": { "person": { "name": "joffin Mentor Fourteen", - "id": "63f0ceac62820fd9e6be9e9b" + "id": "63f0ceac62820fd9e6be9e9b", + "languages" : [ + { + "name" : "English" + } + ] } }, "tracking": false }, { - "language": [ - "English" - ], "id": "e45e438f-ff95-4ce5-a3f9-93037b5dbc30", - "time": { - "range": { - "start": "2023-02-19T23:23:16", - "end": "2023-02-20T01:23:16" - }, - "label": "Session Timing" - }, + "stops": [ + { + "time": { + "range": { + "start": "2023-02-19T23:23:16", + "end": "2023-02-20T01:23:16" + }, + "label": "Session Timing" + } + } + ], "type": "ONLINE", "tags": [ { @@ -1148,10 +1021,7 @@ }, "list": [ { - "descriptor": { - "code": "live", - "name": "Live" - } + "value" : "Live" } ], "display": true @@ -1163,10 +1033,7 @@ }, "list": [ { - "descriptor": { - "code": "Asia/Calcutta", - "name": "Asia/Calcutta" - } + "value" : "Asia/Calcutta" } ], "display": true @@ -1175,7 +1042,12 @@ "agent": { "person": { "name": "joffin Mentor Fourteen", - "id": "63f0ceac62820fd9e6be9e9b" + "id": "63f0ceac62820fd9e6be9e9b", + "languages" : [ + { + "name" : "English" + } + ] } }, "tracking": false @@ -1238,148 +1110,7 @@ }, "list": [ { - "descriptor": { - "code": "deo", - "name": "District education officer" - } - } - ] - }, - { - "display": true, - "descriptor": { - "code": "about_mentor", - "name": "About Mentor" - }, - "list": [ - { - "descriptor": { - "code": "about_mentor", - "name": "With a career spanning multiple decades, this mentor is a true veteran of their industry. They have seen it all, and have a wealth of stories and insights to share. They are passionate about passing on their knowledge and experience to others, and take great pride in helping others achieve their goals. Whether you're a newcomer to the industry or a seasoned pro, this mentor is an invaluable source of wisdom and guidance." - } - } - ] - }, - { - "display": true, - "descriptor": { - "code": "professional_experience", - "name": "Professional Experience" - }, - "list": [ - { - "descriptor": { - "code": "professional_experience", - "name": "Principal Engineer | Technical Advisor - FutureTech Labs" - } - } - ] - }, - { - "display": true, - "descriptor": { - "code": "qualification", - "name": "Qualification" - }, - "list": [ - { - "descriptor": { - "code": "qualification", - "name": "M.E from IIT Bombay" - } - } - ] - }, - { - "display": true, - "descriptor": { - "code": "experience", - "name": "Experience" - }, - "list": [ - { - "descriptor": { - "code": "experience", - "name": "17 Years" - } - } - ] - }, - { - "display": true, - "descriptor": { - "code": "total_meetings", - "name": "Total Meetings" - }, - "list": [ - { - "descriptor": { - "code": "total_meetings", - "name": "103+" - } - } - ] - }, - { - "display": true, - "descriptor": { - "code": "specialist_in", - "name": "Specialist In" - }, - "list": [ - { - "descriptor": { - "code": "specialist_in", - "name": "Backend Development" - } - } - ] - } - ] - }, - { - "quantity": { - "available": { - "count": 5 - }, - "allocated": { - "count": 10 - } - }, - "price": { - "value": "0" - }, - "id": "63f3b4d723df082856936568", - "category_ids": [ - "Infrastructure-Management" - ], - "descriptor": { - "images": [ - { - "url": "https://loremflickr.com/640/480/abstract?random=ash44tmyxj" - } - ], - "code": "Second Provider Management Level Tags Test 2", - "name": "Second Provider Management Level Tags Test 2", - "short_desc": "Second Provider Management Level Tags Test 2", - "long_desc": "Second Provider Management Level Tags Test 2" - }, - "fulfillment_ids": [ - "aed2c622-2596-4cbc-a7da-b4879f7de98d" - ], - "tags": [ - { - "display": true, - "descriptor": { - "code": "recommended_for", - "name": "recommended_for" - }, - "list": [ - { - "descriptor": { - "code": "deo", - "name": "District education officer" - } + "value" : "District education officer" } ] }, @@ -1391,10 +1122,7 @@ }, "list": [ { - "descriptor": { - "code": "about_mentor", - "name": "As a rising star in their industry, this mentor brings a fresh perspective and a wealth of new ideas to the table. They are deeply committed to helping others succeed, and are always on the lookout for opportunities to mentor and guide the next generation of professionals. With a blend of innovation and expertise, this mentor is a valuable asset to anyone looking to make their mark in their field." - } + "value" : "With a career spanning multiple decades, this mentor is a true veteran of their industry. They have seen it all, and have a wealth of stories and insights to share. They are passionate about passing on their knowledge and experience to others, and take great pride in helping others achieve their goals. Whether you're a newcomer to the industry or a seasoned pro, this mentor is an invaluable source of wisdom and guidance" } ] }, @@ -1406,10 +1134,7 @@ }, "list": [ { - "descriptor": { - "code": "professional_experience", - "name": "Senior Consultant | Chief Innovation Officer - NexGen Innovations" - } + "value": "Principal Engineer | Technical Advisor FutureTech Labs" } ] }, @@ -1421,10 +1146,7 @@ }, "list": [ { - "descriptor": { - "code": "qualification", - "name": "B.Tech from IIIT Hyderabad" - } + "value" : "M.E from IIT Bombay" } ] }, @@ -1436,10 +1158,7 @@ }, "list": [ { - "descriptor": { - "code": "experience", - "name": "22 Years" - } + "value" : "17 Years" } ] }, @@ -1451,10 +1170,7 @@ }, "list": [ { - "descriptor": { - "code": "total_meetings", - "name": "138+" - } + "value" : "103+" } ] }, @@ -1466,10 +1182,7 @@ }, "list": [ { - "descriptor": { - "code": "specialist_in", - "name": "Artificial Intelligence" - } + "value" : "Backend Development" } ] } @@ -1478,70 +1191,18 @@ ], "fulfillments": [ { - "language": [ - "English" - ], "id": "91ad1056-4ad1-4a30-a5ee-ba38eb039dbe", - "time": { - "range": { - "start": "2023-02-19T23:23:16", - "end": "2023-02-20T01:23:16" - }, - "label": "Session Timing" - }, - "type": "ONLINE", - "tags": [ - { - "descriptor": { - "code": "status", - "name": "status" - }, - "list": [ - { - "descriptor": { - "code": "live", - "name": "Live" - } - } - ], - "display": true - }, - { - "descriptor": { - "code": "timeZone", - "name": "timeZone" - }, - "list": [ - { - "descriptor": { - "code": "Asia/Calcutta", - "name": "Asia/Calcutta" - } - } - ], - "display": true - } - ], - "agent": { - "person": { - "name": "joffin Mentor Sixteen", - "id": "63f3b49c62820fd9e6be9ecf" + "stops": [ + { + "time": { + "range": { + "start": "2023-02-19T23:23:16", + "end": "2023-02-20T01:23:16" + }, + "label": "Session Timing" + } } - }, - "tracking": false - }, - { - "language": [ - "English" ], - "id": "aed2c622-2596-4cbc-a7da-b4879f7de98d", - "time": { - "range": { - "start": "2023-02-19T23:23:16", - "end": "2023-02-20T01:23:16" - }, - "label": "Session Timing" - }, "type": "ONLINE", "tags": [ { @@ -1551,10 +1212,7 @@ }, "list": [ { - "descriptor": { - "code": "live", - "name": "Live" - } + "value" : "Live" } ], "display": true @@ -1566,10 +1224,7 @@ }, "list": [ { - "descriptor": { - "code": "Asia/Calcutta", - "name": "Asia/Calcutta" - } + "value" : "Asia/Calcutta" } ], "display": true @@ -1578,7 +1233,12 @@ "agent": { "person": { "name": "joffin Mentor Sixteen", - "id": "63f3b49c62820fd9e6be9ecf" + "id": "63f3b49c62820fd9e6be9ecf", + "languages" : [ + { + "name" : "English" + } + ] } }, "tracking": false diff --git a/examples/expert-connect/search/search request - based on mentor name.json b/examples/expert-connect/search/search request - based on mentor name.json index 3a3db55..9b3e4ce 100644 --- a/examples/expert-connect/search/search request - based on mentor name.json +++ b/examples/expert-connect/search/search request - based on mentor name.json @@ -6,7 +6,7 @@ "bap_uri": "https://dsep-protocol-network.becknprotocol.io/", "timestamp": "2022-12-15T15:38:16.226Z", "message_id": "64109204-bdff-4af6-a76b-5a33f8aa8675", - "version": "1.0.0", + "version": "1.1.0", "ttl": "PT10M", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, diff --git a/examples/expert-connect/search/search request - based on title.json b/examples/expert-connect/search/search request - based on title.json index 18583e3..bfae5ab 100644 --- a/examples/expert-connect/search/search request - based on title.json +++ b/examples/expert-connect/search/search request - based on title.json @@ -6,7 +6,7 @@ "bap_uri": "https://dsep-protocol-network.becknprotocol.io/", "timestamp": "2022-12-15T15:38:16.226Z", "message_id": "64109204-bdff-4af6-a76b-5a33f8aa8675", - "version": "1.0.0", + "version": "1.1.0", "ttl": "PT10M", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, diff --git a/examples/expert-connect/select/on_select.json b/examples/expert-connect/select/on_select.json index 34116fb..92079d0 100644 --- a/examples/expert-connect/select/on_select.json +++ b/examples/expert-connect/select/on_select.json @@ -8,7 +8,7 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2023-02-22T12:15:37.311Z", "ttl": "PT10M", - "version": "1.0.0", + "version": "1.1.0", "message_id": "ab1fdee2-5ef0-43b7-9f67-acaec0a5d212", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, @@ -29,203 +29,182 @@ "code": "org7", "name": "ShikshalokamSeven", "short_desc": "ShikshalokamOrgSeven" - }, - "items": [ - { - "quantity": { - "available": { - "count": 5 - }, - "allocated": { - "count": 10 - } - }, - "price": { - "value": "0" + } + }, + "items": [ + { + "quantity": { + "available": { + "count": 5 }, - "id": "63f1ebc423df082856936510", - "category_ids": [ - "Infrastructure-Management" + "allocated": { + "count": 10 + } + }, + "price": { + "value": "0" + }, + "id": "63f1ebc423df082856936510", + "category_ids": [ + "Infrastructure-Management" + ], + "descriptor": { + "images": [ + { + "url": "https://loremflickr.com/640/480/abstract?random=fttu1nidzj" + } ], - "descriptor": { - "images": [ + "code": "Class Room Management Level Tags Test 1", + "name": "Class Room Management Level Tags Test 1", + "short_desc": "A level Tags Test 1 session on class room management for state schools and colleges.", + "long_desc": "A level Tags Test 1 session on class room management for state schools and colleges." + }, + "fulfillment_ids": [ + "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965" + ], + "tags": [ + { + "display": true, + "descriptor": { + "code": "recommended_for", + "name": "recommended_for" + }, + "list": [ { - "url": "https://loremflickr.com/640/480/abstract?random=fttu1nidzj" + "value" : "District education officer" } - ], - "code": "Class Room Management Level Tags Test 1", - "name": "Class Room Management Level Tags Test 1", - "short_desc": "A level Tags Test 1 session on class room management for state schools and colleges.", - "long_desc": "A level Tags Test 1 session on class room management for state schools and colleges." + ] }, - "fulfillment_ids": [ - "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965" - ], - "tags": [ - { - "display": true, - "descriptor": { - "code": "recommended_for", - "name": "recommended_for" - }, - "list": [ - { - "descriptor": { - "code": "deo", - "name": "District education officer" - } - } - ] + { + "display": true, + "descriptor": { + "code": "about_mentor", + "name": "About Mentor" }, - { - "display": true, - "descriptor": { - "code": "about_mentor", - "name": "About Mentor" - }, - "list": [ - { - "descriptor": { - "code": "about_mentor", - "name": "This mentor has spent their entire career working in their field, developing a deep understanding of its complexities and nuances. They are a natural teacher, and take great pleasure in helping others develop their own expertise. Whether you're looking for guidance on a specific project or simply need someone to bounce ideas off of, this mentor is always available and ready to lend a helping hand." - } - } - ] + "list": [ + { + "value" : "This mentor has spent their entire career working in their field, developing a deep understanding of its complexities and nuances. They are a natural teacher, and take great pleasure in helping others develop their own expertise. Whether you're looking for guidance on a specific project or simply need someone to bounce ideas off of, this mentor is always available and ready to lend a helping hand." + } + ] + }, + { + "display": true, + "descriptor": { + "code": "professional_experience", + "name": "Professional Experience" }, - { - "display": true, - "descriptor": { - "code": "professional_experience", - "name": "Professional Experience" - }, - "list": [ - { - "descriptor": { - "code": "professional_experience", - "name": "Lead Developer | Technical Advisor - NexGen Innovations" - } - } - ] + "list": [ + { + "value" : "Lead Developer | Technical Advisor - NexGen Innovations" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "qualification", + "name": "Qualification" }, - { - "display": true, - "descriptor": { - "code": "qualification", - "name": "Qualification" - }, - "list": [ - { - "descriptor": { - "code": "qualification", - "name": "M.Tech from IIT Kharagpur" - } - } - ] + "list": [ + { + "value" : "M.Tech from IIT Kharagpur" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "experience", + "name": "Experience" }, - { - "display": true, - "descriptor": { - "code": "experience", - "name": "Experience" - }, - "list": [ - { - "descriptor": { - "code": "experience", - "name": "29 Years" - } - } - ] + "list": [ + { + "value" : "29 Years" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "total_meetings", + "name": "Total Meetings" }, - { - "display": true, - "descriptor": { - "code": "total_meetings", - "name": "Total Meetings" - }, - "list": [ - { - "descriptor": { - "code": "total_meetings", - "name": "112+" - } - } - ] + "list": [ + { + "value" : "112+" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "specialist_in", + "name": "Specialist In" }, - { - "display": true, - "descriptor": { - "code": "specialist_in", - "name": "Specialist In" + "list": [ + { + "value" : "Mobile App Development" + } + ] + } + ] + } + ], + "fulfillments": [ + { + "id": "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965", + "stops": [ + { + "time": { + "range": { + "start": "2023-02-19T23:23:16", + "end": "2023-02-20T01:23:16" }, - "list": [ - { - "descriptor": { - "code": "specialist_in", - "name": "Mobile App Development" - } - } - ] + "label": "Session Timing" } - ] - } - ], - "fulfillments": [ - { - "language": [ - "English" - ], - "id": "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965", - "time": { - "range": { - "start": "2023-02-19T23:23:16", - "end": "2023-02-20T01:23:16" + } + ], + "type": "ONLINE", + "tags": [ + { + "descriptor": { + "code": "status", + "name": "status" }, - "label": "Session Timing" + "list": [ + { + "value" : "live" + } + ], + "display": true }, - "type": "ONLINE", - "tags": [ - { - "descriptor": { - "code": "status", - "name": "status" - }, - "list": [ - { - "descriptor": { - "code": "live", - "name": "Live" - } - } - ], - "display": true + { + "descriptor": { + "code": "timeZone", + "name": "timeZone" }, - { - "descriptor": { - "code": "timeZone", - "name": "timeZone" - }, - "list": [ - { - "descriptor": { - "code": "Asia/Calcutta", - "name": "Asia/Calcutta" - } - } - ], - "display": true - } - ], - "agent": { - "person": { - "name": "joffin Mentor Fourteen", - "id": "63f0ceac62820fd9e6be9e9b" - } - }, - "tracking": false - } - ] - }, + "list": [ + { + "value" : "Asia/Calcutta" + } + ], + "display": true + } + ], + "agent": { + "person": { + "name": "joffin Mentor Fourteen", + "id": "63f0ceac62820fd9e6be9e9b", + "languages" : [ + { + "name" : "English" + } + ] + } + }, + "tracking": false + } + ], "type": "DEFAULT" } } diff --git a/examples/expert-connect/select/select.json b/examples/expert-connect/select/select.json index 97429d8..2f93695 100644 --- a/examples/expert-connect/select/select.json +++ b/examples/expert-connect/select/select.json @@ -8,15 +8,20 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2022-12-15T15:38:16.226Z", "message_id": "64109204-bdff-4af6-a76b-5a33f8aa8675", - "version": "1.0.0", + "version": "1.1.0", "ttl": "PT10M", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, "message": { "order": { - "item": { + "provider" : { + "id" : "63d93aea62820fd9e6be9d1b" + }, + "items": [ + { "id": "63f1ebc423df082856936510" - } + } + ] } } } \ No newline at end of file diff --git a/examples/expert-connect/status/on_status.json b/examples/expert-connect/status/on_status.json index 833771e..5d04a88 100644 --- a/examples/expert-connect/status/on_status.json +++ b/examples/expert-connect/status/on_status.json @@ -6,17 +6,16 @@ "bap_uri": "https://dsep-protocol-network.becknprotocol.io/", "bpp_id": "dev.elevate-apis.shikshalokam.org/bpp", "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", - "timestamp": "2023-02-22T12:21:30.354Z", + "timestamp": "2023-02-22T12:19:53.969Z", "ttl": "PT10M", - "version": "1.0.0", - "message_id": "2b749cba-1219-4878-a5c6-ad0c6488fe5d", + "version": "1.1.0", + "message_id": "b1ef9186-df2a-432d-a232-a464a9393804", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, "message": { "order": { "id": "3159f713-120e-4e7e-beae-6a638fb5df55", "state": "ACTIVE", - "type": "DEFAULT", "provider": { "categories": [ { @@ -32,203 +31,196 @@ "code": "org7", "name": "ShikshalokamSeven", "short_desc": "ShikshalokamOrgSeven" - }, - "items": [ - { - "quantity": { - "available": { - "count": 5 - }, - "allocated": { - "count": 10 - } + } + }, + "items": [ + { + "quantity": { + "available": { + "count": 5 }, - "price": { - "value": "0" - }, - "id": "63f1ebc423df082856936510", - "category_ids": [ - "Infrastructure-Management" + "allocated": { + "count": 10 + } + }, + "price": { + "value": "0" + }, + "id": "63f1ebc423df082856936510", + "category_ids": [ + "Infrastructure-Management" + ], + "descriptor": { + "images": [ + { + "url": "https://loremflickr.com/640/480/abstract?random=fttu1nidzj" + } ], - "descriptor": { - "images": [ + "code": "Class Room Management Level Tags Test 1", + "name": "Class Room Management Level Tags Test 1", + "short_desc": "A level Tags Test 1 session on class room management for state schools and colleges.", + "long_desc": "A level Tags Test 1 session on class room management for state schools and colleges." + }, + "fulfillment_ids": [ + "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965" + ], + "tags": [ + { + "display": true, + "descriptor": { + "code": "recommended_for", + "name": "recommended_for" + }, + "list": [ { - "url": "https://loremflickr.com/640/480/abstract?random=fttu1nidzj" + "value" : "District education officer" } - ], - "code": "Class Room Management Level Tags Test 1", - "name": "Class Room Management Level Tags Test 1", - "short_desc": "A level Tags Test 1 session on class room management for state schools and colleges.", - "long_desc": "A level Tags Test 1 session on class room management for state schools and colleges." + ] }, - "fulfillment_ids": [ - "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965" - ], - "tags": [ - { - "display": true, - "descriptor": { - "code": "recommended_for", - "name": "recommended_for" - }, - "list": [ - { - "descriptor": { - "code": "deo", - "name": "District education officer" - } - } - ] + { + "display": true, + "descriptor": { + "code": "about_mentor", + "name": "About Mentor" }, - { - "display": true, - "descriptor": { - "code": "about_mentor", - "name": "About Mentor" - }, - "list": [ - { - "descriptor": { - "code": "about_mentor", - "name": "This mentor has spent their entire career working in their field, developing a deep understanding of its complexities and nuances. They are a natural teacher, and take great pleasure in helping others develop their own expertise. Whether you're looking for guidance on a specific project or simply need someone to bounce ideas off of, this mentor is always available and ready to lend a helping hand." - } - } - ] + "list": [ + { + "value" : "This mentor has spent their entire career working in their field, developing a deep understanding of its complexities and nuances. They are a natural teacher, and take great pleasure in helping others develop their own expertise. Whether you're looking for guidance on a specific project or simply need someone to bounce ideas off of, this mentor is always available and ready to lend a helping hand." + } + ] + }, + { + "display": true, + "descriptor": { + "code": "professional_experience", + "name": "Professional Experience" }, - { - "display": true, - "descriptor": { - "code": "professional_experience", - "name": "Professional Experience" - }, - "list": [ - { - "descriptor": { - "code": "professional_experience", - "name": "Lead Developer | Technical Advisor - NexGen Innovations" - } - } - ] + "list": [ + { + "value" : "Lead Developer | Technical Advisor - NexGen Innovations" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "qualification", + "name": "Qualification" }, - { - "display": true, - "descriptor": { - "code": "qualification", - "name": "Qualification" - }, - "list": [ - { - "descriptor": { - "code": "qualification", - "name": "M.Tech from IIT Kharagpur" - } - } - ] + "list": [ + { + "value" : "M.Tech from IIT Kharagpur" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "experience", + "name": "Experience" }, - { - "display": true, - "descriptor": { - "code": "experience", - "name": "Experience" - }, - "list": [ - { - "descriptor": { - "code": "experience", - "name": "29 Years" - } - } - ] + "list": [ + { + "value" : "29 Years" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "total_meetings", + "name": "Total Meetings" }, - { - "display": true, - "descriptor": { - "code": "total_meetings", - "name": "Total Meetings" - }, - "list": [ - { - "descriptor": { - "code": "total_meetings", - "name": "112+" - } - } - ] + "list": [ + { + "value" : "112+" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "specialist_in", + "name": "Specialist In" }, - { - "display": true, - "descriptor": { - "code": "specialist_in", - "name": "Specialist In" + "list": [ + { + "value" : "Mobile App Development" + } + ] + } + ] + } + ], + "fulfillments": [ + { + "id": "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965", + "stops": [ + { + "time": { + "range": { + "start": "2023-02-19T23:23:16", + "end": "2023-02-20T01:23:16" }, - "list": [ - { - "descriptor": { - "code": "specialist_in", - "name": "Mobile App Development" - } - } - ] + "label": "Session Timing" } - ] - } - ], - "fulfillments": [ - { - "language": [ - "English" - ], - "id": "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965", - "time": { - "range": { - "start": "2023-02-19T23:23:16", - "end": "2023-02-20T01:23:16" + } + ], + "type": "ONLINE", + "tags": [ + { + "descriptor": { + "code": "status", + "name": "status" }, - "label": "Session Timing" + "list": [ + { + "value" : "live" + } + ], + "display": true }, - "type": "ONLINE", - "tags": [ - { - "descriptor": { - "code": "status", - "name": "status" - }, - "list": [ - { - "descriptor": { - "code": "live", - "name": "Live" - } - } - ], - "display": true + { + "descriptor": { + "code": "timeZone", + "name": "timeZone" }, - { - "descriptor": { - "code": "timeZone", - "name": "timeZone" - }, - "list": [ - { - "descriptor": { - "code": "Asia/Calcutta", - "name": "Asia/Calcutta" - } - } - ], - "display": true - } - ], - "agent": { - "person": { - "name": "joffin Mentor Fourteen", - "id": "63f0ceac62820fd9e6be9e9b" - } + "list": [ + { + "value" : "Asia/Calcutta" + } + ], + "display": true }, - "tracking": false - } - ] - } + { + "display": true, + "descriptor": { + "code": "joinLink", + "name": "joinLink" + }, + "list": [ + { + + "value" : "https://dev.elevate-apis.shikshalokam.org/dsep-mentoring/v1/sessions/join/63f1ebc423df082856936510?user=63f60869b324854ca5ce3e18&name=Van%20Bode%20III" + } + ] + } + ], + "agent": { + "person": { + "name": "joffin Mentor Fourteen", + "id": "63f0ceac62820fd9e6be9e9b", + "languages" : [ + { + "name" : "English" + } + ] + } + }, + "tracking": false + } + ], + "type": "DEFAULT" } } } \ No newline at end of file diff --git a/examples/expert-connect/status/status.json b/examples/expert-connect/status/status.json index 504f7a7..e0bb9e0 100644 --- a/examples/expert-connect/status/status.json +++ b/examples/expert-connect/status/status.json @@ -8,7 +8,7 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2022-12-15T15:38:16.226Z", "message_id": "64109204-bdff-4af6-a76b-5a33f8aa8675", - "version": "1.0.0", + "version": "1.1.0", "ttl": "PT10M", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, diff --git a/examples/expert-connect/support/on_support.json b/examples/expert-connect/support/on_support.json index b22b167..e9154c5 100644 --- a/examples/expert-connect/support/on_support.json +++ b/examples/expert-connect/support/on_support.json @@ -8,7 +8,7 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2022-12-15T15:38:16.226Z", "message_id": "64109204-bdff-4af6-a76b-5a33f8aa8675", - "version": "1.0.0", + "version": "1.1.0", "ttl": "PT10M", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, diff --git a/examples/expert-connect/support/support-with-callback.json b/examples/expert-connect/support/support-with-callback.json index 4dac0c7..87fe113 100644 --- a/examples/expert-connect/support/support-with-callback.json +++ b/examples/expert-connect/support/support-with-callback.json @@ -8,7 +8,7 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2022-12-15T15:38:16.226Z", "message_id": "64109204-bdff-4af6-a76b-5a33f8aa8675", - "version": "1.0.0", + "version": "1.1.0", "ttl": "PT10M", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, diff --git a/examples/expert-connect/support/support.json b/examples/expert-connect/support/support.json index d16f644..9836bc9 100644 --- a/examples/expert-connect/support/support.json +++ b/examples/expert-connect/support/support.json @@ -8,7 +8,7 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2022-12-15T15:38:16.226Z", "message_id": "64109204-bdff-4af6-a76b-5a33f8aa8675", - "version": "1.0.0", + "version": "1.1.0", "ttl": "PT10M", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, diff --git a/examples/expert-connect/track/on_track.json b/examples/expert-connect/track/on_track.json index 7363cdf..24566b9 100644 --- a/examples/expert-connect/track/on_track.json +++ b/examples/expert-connect/track/on_track.json @@ -8,7 +8,7 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2022-12-15T15:38:16.226Z", "message_id": "64109204-bdff-4af6-a76b-5a33f8aa8675", - "version": "1.0.0", + "version": "1.1.0", "ttl": "PT10M", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, diff --git a/examples/expert-connect/track/track.json b/examples/expert-connect/track/track.json index ec5e297..ba7a224 100644 --- a/examples/expert-connect/track/track.json +++ b/examples/expert-connect/track/track.json @@ -8,7 +8,7 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2022-12-15T15:38:16.226Z", "message_id": "64109204-bdff-4af6-a76b-5a33f8aa8675", - "version": "1.0.0", + "version": "1.1.0", "ttl": "PT10M", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, diff --git a/examples/expert-connect/update/on_update.json b/examples/expert-connect/update/on_update.json index b6bcf1f..0e26389 100644 --- a/examples/expert-connect/update/on_update.json +++ b/examples/expert-connect/update/on_update.json @@ -8,28 +8,190 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2023-02-22T12:19:53.969Z", "ttl": "PT10M", - "version": "1.0.0", + "version": "1.1.0", "message_id": "b1ef9186-df2a-432d-a232-a464a9393804", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, "message": { "order": { "id": "3159f713-120e-4e7e-beae-6a638fb5df55", - "fulfillments": [ + "state": "ACTIVE", + "provider": { + "categories": [ + { + "id": "Infrastructure Management", + "descriptor": { + "code": "Infrastructure Management", + "name": "Infrastructure Management" + } + } + ], + "id": "63d93aea62820fd9e6be9d1b", + "descriptor": { + "code": "org7", + "name": "ShikshalokamSeven", + "short_desc": "ShikshalokamOrgSeven" + } + }, + "items": [ { - "language": [ - "English" - ], - "id": "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965", - "time": { - "range": { - "start": "2023-02-19T23:23:16", - "end": "2023-02-20T01:23:16" + "quantity": { + "available": { + "count": 5 }, - "label": "Session Timing" + "allocated": { + "count": 10 + } + }, + "price": { + "value": "0" }, + "id": "63f1ebc423df082856936510", + "category_ids": [ + "Infrastructure-Management" + ], + "descriptor": { + "images": [ + { + "url": "https://loremflickr.com/640/480/abstract?random=fttu1nidzj" + } + ], + "code": "Class Room Management Level Tags Test 1", + "name": "Class Room Management Level Tags Test 1", + "short_desc": "A level Tags Test 1 session on class room management for state schools and colleges.", + "long_desc": "A level Tags Test 1 session on class room management for state schools and colleges." + }, + "fulfillment_ids": [ + "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965" + ], + "tags": [ + { + "display": true, + "descriptor": { + "code": "recommended_for", + "name": "recommended_for" + }, + "list": [ + { + "value" : "District education officer" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "about_mentor", + "name": "About Mentor" + }, + "list": [ + { + "value" : "This mentor has spent their entire career working in their field, developing a deep understanding of its complexities and nuances. They are a natural teacher, and take great pleasure in helping others develop their own expertise. Whether you're looking for guidance on a specific project or simply need someone to bounce ideas off of, this mentor is always available and ready to lend a helping hand." + } + ] + }, + { + "display": true, + "descriptor": { + "code": "professional_experience", + "name": "Professional Experience" + }, + "list": [ + { + "value" : "Lead Developer | Technical Advisor - NexGen Innovations" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "qualification", + "name": "Qualification" + }, + "list": [ + { + "value" : "M.Tech from IIT Kharagpur" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "experience", + "name": "Experience" + }, + "list": [ + { + "value" : "29 Years" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "total_meetings", + "name": "Total Meetings" + }, + "list": [ + { + "value" : "112+" + } + ] + }, + { + "display": true, + "descriptor": { + "code": "specialist_in", + "name": "Specialist In" + }, + "list": [ + { + "value" : "Mobile App Development" + } + ] + } + ] + } + ], + "fulfillments": [ + { + "id": "3f8fb3a3-f018-40e6-9b96-8b7bbd5df965", + "stops": [ + { + "time": { + "range": { + "start": "2023-02-19T23:23:16", + "end": "2023-02-20T01:23:16" + }, + "label": "Session Timing" + } + } + ], "type": "ONLINE", "tags": [ + { + "descriptor": { + "code": "status", + "name": "status" + }, + "list": [ + { + "value" : "live" + } + ], + "display": true + }, + { + "descriptor": { + "code": "timeZone", + "name": "timeZone" + }, + "list": [ + { + "value" : "Asia/Calcutta" + } + ], + "display": true + }, { "display": true, "descriptor": { @@ -38,10 +200,8 @@ }, "list": [ { - "descriptor": { - "code": "https://dev.elevate-apis.shikshalokam.org/dsep-mentoring/v1/sessions/join/63f1ebc423df082856936510?user=63f60869b324854ca5ce3e18&name=Van%20Bode%20III", - "name": "https://dev.elevate-apis.shikshalokam.org/dsep-mentoring/v1/sessions/join/63f1ebc423df082856936510?user=63f60869b324854ca5ce3e18&name=Van%20Bode%20III" - } + + "value" : "https://dev.elevate-apis.shikshalokam.org/dsep-mentoring/v1/sessions/join/63f1ebc423df082856936510?user=63f60869b324854ca5ce3e18&name=Van%20Bode%20III" } ] } @@ -49,7 +209,12 @@ "agent": { "person": { "name": "joffin Mentor Fourteen", - "id": "63f0ceac62820fd9e6be9e9b" + "id": "63f0ceac62820fd9e6be9e9b", + "languages" : [ + { + "name" : "English" + } + ] } }, "tracking": false diff --git a/examples/expert-connect/update/update.json b/examples/expert-connect/update/update.json index 63cec97..22b8a8c 100644 --- a/examples/expert-connect/update/update.json +++ b/examples/expert-connect/update/update.json @@ -8,7 +8,7 @@ "bpp_uri": "https://dev.elevate-apis.shikshalokam.org/bpp", "timestamp": "2022-12-15T15:38:16.226Z", "message_id": "64109204-bdff-4af6-a76b-5a33f8aa8675", - "version": "1.0.0", + "version": "1.1.0", "ttl": "PT10M", "transaction_id": "bdb5ba09-2241-4f00-b434-73466cd06228" }, diff --git a/examples/financial-support/V0.7.0/cancel/cancel.json b/examples/financial-support/V0.7.0/cancel/cancel.json index 5f585e7..a440c89 100644 --- a/examples/financial-support/V0.7.0/cancel/cancel.json +++ b/examples/financial-support/V0.7.0/cancel/cancel.json @@ -12,7 +12,7 @@ } }, "action": "cancel", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/cancel/on_cancel.json b/examples/financial-support/V0.7.0/cancel/on_cancel.json index ffbaae6..9e5463c 100644 --- a/examples/financial-support/V0.7.0/cancel/on_cancel.json +++ b/examples/financial-support/V0.7.0/cancel/on_cancel.json @@ -12,7 +12,7 @@ } }, "action": "on_cancel", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/confirm/confirm.json b/examples/financial-support/V0.7.0/confirm/confirm.json index 8bb61b2..2aff1be 100644 --- a/examples/financial-support/V0.7.0/confirm/confirm.json +++ b/examples/financial-support/V0.7.0/confirm/confirm.json @@ -12,7 +12,7 @@ } }, "action": "confirm", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/confirm/on_confirm.json b/examples/financial-support/V0.7.0/confirm/on_confirm.json index ed9def9..9a2b6d7 100644 --- a/examples/financial-support/V0.7.0/confirm/on_confirm.json +++ b/examples/financial-support/V0.7.0/confirm/on_confirm.json @@ -12,7 +12,7 @@ } }, "action": "on_confirm", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/init/init.json b/examples/financial-support/V0.7.0/init/init.json index e4fda90..09209f6 100644 --- a/examples/financial-support/V0.7.0/init/init.json +++ b/examples/financial-support/V0.7.0/init/init.json @@ -12,7 +12,7 @@ } }, "action": "init", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/init/on_init_step1.json b/examples/financial-support/V0.7.0/init/on_init_step1.json index 54ec010..931b898 100644 --- a/examples/financial-support/V0.7.0/init/on_init_step1.json +++ b/examples/financial-support/V0.7.0/init/on_init_step1.json @@ -12,7 +12,7 @@ } }, "action": "on_init", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/init/on_init_step2.json b/examples/financial-support/V0.7.0/init/on_init_step2.json index a5c15b8..0004fa1 100644 --- a/examples/financial-support/V0.7.0/init/on_init_step2.json +++ b/examples/financial-support/V0.7.0/init/on_init_step2.json @@ -12,7 +12,7 @@ } }, "action": "on_init", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/init/on_init_step3.json b/examples/financial-support/V0.7.0/init/on_init_step3.json index 1be09c4..033e11c 100644 --- a/examples/financial-support/V0.7.0/init/on_init_step3.json +++ b/examples/financial-support/V0.7.0/init/on_init_step3.json @@ -12,7 +12,7 @@ } }, "action": "on_init", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/init/on_init_step4.json b/examples/financial-support/V0.7.0/init/on_init_step4.json index 6324f3b..862a7f0 100644 --- a/examples/financial-support/V0.7.0/init/on_init_step4.json +++ b/examples/financial-support/V0.7.0/init/on_init_step4.json @@ -12,7 +12,7 @@ } }, "action": "on_init", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/init/on_init_step5.json b/examples/financial-support/V0.7.0/init/on_init_step5.json index 7e9b78c..bb1e4d3 100644 --- a/examples/financial-support/V0.7.0/init/on_init_step5.json +++ b/examples/financial-support/V0.7.0/init/on_init_step5.json @@ -12,7 +12,7 @@ } }, "action": "on_init", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/meta-api/cancellation_reasons.json b/examples/financial-support/V0.7.0/meta-api/cancellation_reasons.json index 5eadd91..a1c372d 100644 --- a/examples/financial-support/V0.7.0/meta-api/cancellation_reasons.json +++ b/examples/financial-support/V0.7.0/meta-api/cancellation_reasons.json @@ -12,7 +12,7 @@ } }, "action": "cancellation_reason", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/meta-api/get_cancellation_reasons.json b/examples/financial-support/V0.7.0/meta-api/get_cancellation_reasons.json index d9761e1..2e9828e 100644 --- a/examples/financial-support/V0.7.0/meta-api/get_cancellation_reasons.json +++ b/examples/financial-support/V0.7.0/meta-api/get_cancellation_reasons.json @@ -12,7 +12,7 @@ } }, "action": "get_cancellation_reason", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/meta-api/get_rating_categories.json b/examples/financial-support/V0.7.0/meta-api/get_rating_categories.json index 52b2e52..c6452c3 100644 --- a/examples/financial-support/V0.7.0/meta-api/get_rating_categories.json +++ b/examples/financial-support/V0.7.0/meta-api/get_rating_categories.json @@ -12,7 +12,7 @@ } }, "action": "get_rating_categories", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/meta-api/rating_categories.json b/examples/financial-support/V0.7.0/meta-api/rating_categories.json index d29cad5..5031b61 100644 --- a/examples/financial-support/V0.7.0/meta-api/rating_categories.json +++ b/examples/financial-support/V0.7.0/meta-api/rating_categories.json @@ -12,7 +12,7 @@ } }, "action": "rating_categories", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/rating/on_rating.json b/examples/financial-support/V0.7.0/rating/on_rating.json index ee42d95..0db16d1 100644 --- a/examples/financial-support/V0.7.0/rating/on_rating.json +++ b/examples/financial-support/V0.7.0/rating/on_rating.json @@ -12,7 +12,7 @@ } }, "action": "on_rating", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/rating/rating-provider.json b/examples/financial-support/V0.7.0/rating/rating-provider.json index b040c42..f4e2dd3 100644 --- a/examples/financial-support/V0.7.0/rating/rating-provider.json +++ b/examples/financial-support/V0.7.0/rating/rating-provider.json @@ -12,7 +12,7 @@ } }, "action": "rating", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", @@ -23,10 +23,12 @@ "ttl": "PT10M" }, "message": { - "rating" : { - "rating_category": "Provider", - "id" : "471", - "value" :"3" - } + "rating" : [ + { + "rating_category": "Provider", + "id" : "471", + "value" :"3" + } + ] } } \ No newline at end of file diff --git a/examples/financial-support/V0.7.0/rating/rating-scholarship.json b/examples/financial-support/V0.7.0/rating/rating-scholarship.json index 43efa11..e9b12fd 100644 --- a/examples/financial-support/V0.7.0/rating/rating-scholarship.json +++ b/examples/financial-support/V0.7.0/rating/rating-scholarship.json @@ -12,7 +12,7 @@ } }, "action": "rating", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", @@ -23,10 +23,12 @@ "ttl": "PT10M" }, "message": { - "rating" : { - "rating_category": "Item", - "id" : "SCM_63587501", - "value" :"5" - } + "rating" : [ + { + "rating_category": "Item", + "id" : "SCM_63587501", + "value" :"5" + } + ] } } \ No newline at end of file diff --git a/examples/financial-support/V0.7.0/search/Search-by-gender.json b/examples/financial-support/V0.7.0/search/Search-by-gender.json index 035e681..97f13f8 100644 --- a/examples/financial-support/V0.7.0/search/Search-by-gender.json +++ b/examples/financial-support/V0.7.0/search/Search-by-gender.json @@ -12,7 +12,7 @@ } }, "action": "search", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "transaction_id": "a9aaecca-10b7-4d19-b640-022723112309", diff --git a/examples/financial-support/V0.7.0/search/Search-by-name.json b/examples/financial-support/V0.7.0/search/Search-by-name.json index f3bca6b..da28af9 100644 --- a/examples/financial-support/V0.7.0/search/Search-by-name.json +++ b/examples/financial-support/V0.7.0/search/Search-by-name.json @@ -12,7 +12,7 @@ } }, "action": "search", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c60008", diff --git a/examples/financial-support/V0.7.0/search/on_search.json b/examples/financial-support/V0.7.0/search/on_search.json index 8acbd7f..c4c483d 100644 --- a/examples/financial-support/V0.7.0/search/on_search.json +++ b/examples/financial-support/V0.7.0/search/on_search.json @@ -14,7 +14,7 @@ "action": "on_search", "timestamp": "2023-08-02T07:21:58.448Z", "ttl": "PT10M", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/search/search-by-gender-and-name.json b/examples/financial-support/V0.7.0/search/search-by-gender-and-name.json index 3540869..1e9d789 100644 --- a/examples/financial-support/V0.7.0/search/search-by-gender-and-name.json +++ b/examples/financial-support/V0.7.0/search/search-by-gender-and-name.json @@ -12,7 +12,7 @@ } }, "action": "search", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "transaction_id": "a9aaecca-10b7-4d19-b640-b047a7c60008", diff --git a/examples/financial-support/V0.7.0/select/on_select.json b/examples/financial-support/V0.7.0/select/on_select.json index 4da8352..83bd81f 100644 --- a/examples/financial-support/V0.7.0/select/on_select.json +++ b/examples/financial-support/V0.7.0/select/on_select.json @@ -14,7 +14,7 @@ "action": "on_select", "timestamp": "2023-08-02T09:12:12.680Z", "ttl": "PT10M", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/select/select.json b/examples/financial-support/V0.7.0/select/select.json index dac6896..28b2bb2 100644 --- a/examples/financial-support/V0.7.0/select/select.json +++ b/examples/financial-support/V0.7.0/select/select.json @@ -12,7 +12,7 @@ } }, "action": "select", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/status/on_status_scholarship_approved.json b/examples/financial-support/V0.7.0/status/on_status_scholarship_approved.json index 6925b56..a3286a6 100644 --- a/examples/financial-support/V0.7.0/status/on_status_scholarship_approved.json +++ b/examples/financial-support/V0.7.0/status/on_status_scholarship_approved.json @@ -12,7 +12,7 @@ } }, "action": "on_status", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/status/on_status_scholarship_rejected.json b/examples/financial-support/V0.7.0/status/on_status_scholarship_rejected.json index c5183e2..29acdc0 100644 --- a/examples/financial-support/V0.7.0/status/on_status_scholarship_rejected.json +++ b/examples/financial-support/V0.7.0/status/on_status_scholarship_rejected.json @@ -12,7 +12,7 @@ } }, "action": "on_status", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/status/status.json b/examples/financial-support/V0.7.0/status/status.json index c6c7ea0..8c8bffb 100644 --- a/examples/financial-support/V0.7.0/status/status.json +++ b/examples/financial-support/V0.7.0/status/status.json @@ -12,7 +12,7 @@ } }, "action": "status", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/support/on_support.json b/examples/financial-support/V0.7.0/support/on_support.json index c6a8ab4..1a32402 100644 --- a/examples/financial-support/V0.7.0/support/on_support.json +++ b/examples/financial-support/V0.7.0/support/on_support.json @@ -12,7 +12,7 @@ } }, "action": "on_support", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/support/support-with-callback.json b/examples/financial-support/V0.7.0/support/support-with-callback.json index 4a49714..6aca3d3 100644 --- a/examples/financial-support/V0.7.0/support/support-with-callback.json +++ b/examples/financial-support/V0.7.0/support/support-with-callback.json @@ -12,7 +12,7 @@ } }, "action": "support", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/support/support.json b/examples/financial-support/V0.7.0/support/support.json index 115f243..5659390 100644 --- a/examples/financial-support/V0.7.0/support/support.json +++ b/examples/financial-support/V0.7.0/support/support.json @@ -12,7 +12,7 @@ } }, "action": "support", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/update/on_update.json b/examples/financial-support/V0.7.0/update/on_update.json index e135172..38794e4 100644 --- a/examples/financial-support/V0.7.0/update/on_update.json +++ b/examples/financial-support/V0.7.0/update/on_update.json @@ -12,7 +12,7 @@ } }, "action": "on_update", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/update/on_update__scholarship_disbursed.json b/examples/financial-support/V0.7.0/update/on_update__scholarship_disbursed.json index 7553901..fc15684 100644 --- a/examples/financial-support/V0.7.0/update/on_update__scholarship_disbursed.json +++ b/examples/financial-support/V0.7.0/update/on_update__scholarship_disbursed.json @@ -12,7 +12,7 @@ } }, "action": "on_update", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/update/on_update_additionaldetailsrequired.json b/examples/financial-support/V0.7.0/update/on_update_additionaldetailsrequired.json index a35b4b5..3caa0cd 100644 --- a/examples/financial-support/V0.7.0/update/on_update_additionaldetailsrequired.json +++ b/examples/financial-support/V0.7.0/update/on_update_additionaldetailsrequired.json @@ -12,7 +12,7 @@ } }, "action": "on_update", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/financial-support/V0.7.0/update/update-bankdetails.json b/examples/financial-support/V0.7.0/update/update-bankdetails.json index 2af32a4..b437b34 100644 --- a/examples/financial-support/V0.7.0/update/update-bankdetails.json +++ b/examples/financial-support/V0.7.0/update/update-bankdetails.json @@ -12,7 +12,7 @@ } }, "action": "update", - "version": "0.7.0", + "version": "1.1.0", "bap_id": "ps-bap-network.becknprotocol.io", "bap_uri": "https://ps-bap-network.becknprotocol.io/", "bpp_id": "beckn-sandbox-bpp.becknprotocol.io", diff --git a/examples/student-connect/search/search-by-location.json b/examples/student-connect/search/search-by-location.json index c8f4729..c860548 100644 --- a/examples/student-connect/search/search-by-location.json +++ b/examples/student-connect/search/search-by-location.json @@ -21,13 +21,21 @@ }, "message": { "intent": { - "location": { - "gps": "12.423423,77.325647", - "radius": { - "type": "CONSTANT", - "value": "5", - "unit": "km" - } + "fulfilment" : { + "stops" : [ + { + "location": { + "gps": "12.423423,77.325647", + "circle" : { + "radius": { + "type": "CONSTANT", + "value": "5", + "unit": "km" + } + } + } + } + ] }, "item": { "descriptor": { diff --git a/examples/work-opportunities/rating/rating-provider.json b/examples/work-opportunities/rating/rating-provider.json index 1b9fbee..19a27f9 100644 --- a/examples/work-opportunities/rating/rating-provider.json +++ b/examples/work-opportunities/rating/rating-provider.json @@ -13,10 +13,12 @@ "timestamp": "2023-02-23T08:09:02.172Z" }, "message": { - "rating" : { - "rating_category": "Provider", - "id" : "a23f2fdfbbb8ac402bf259d75402eb0792f50c095f7d08a55475e7af1c2dadca", - "value" :"4" - } + "rating" : [ + { + "rating_category": "Provider", + "id" : "a23f2fdfbbb8ac402bf259d75402eb0792f50c095f7d08a55475e7af1c2dadca", + "value" :"4" + } + ] } } \ No newline at end of file diff --git a/examples/work-opportunities/search/on_search response.json b/examples/work-opportunities/search/on_search response.json index 4607f4f..c05aa62 100644 --- a/examples/work-opportunities/search/on_search response.json +++ b/examples/work-opportunities/search/on_search response.json @@ -17,7 +17,6 @@ "descriptor": { "name": "Affindi Jobs" }, - "payments": [], "providers": [ { "id": "1", diff --git a/examples/work-opportunities/search/search request - based on skills.json b/examples/work-opportunities/search/search request - based on skills.json index 190eeac..be83e7c 100644 --- a/examples/work-opportunities/search/search request - based on skills.json +++ b/examples/work-opportunities/search/search request - based on skills.json @@ -12,8 +12,7 @@ }, "message": { "intent": { - "item": [ - { + "item": { "tags": [ { "descriptor" : { @@ -32,8 +31,8 @@ ] } ] - } - ] + } + } } } \ No newline at end of file