Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR to release 1.x branch #299

Merged
merged 197 commits into from
Aug 22, 2022
Merged
Changes from 6 commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
6e0f757
Added sample proposal
Dec 26, 2021
65df607
Renamed RFC file naming format
Dec 26, 2021
cbd8dfb
Update core.yaml
BLR-0118 Jan 20, 2022
9c53309
Update core.yaml
BLR-0118 Jan 21, 2022
d7f5cbf
Update core.yaml
BLR-0118 Jan 21, 2022
3232480
Update core.yaml
BLR-0118 Jan 21, 2022
3fe4c4c
Update core.yaml
BLR-0118 Jan 21, 2022
a2e822d
Update core.yaml
BLR-0118 Jan 21, 2022
83066f1
Create ERROR_CODES.md
BLR-0118 Jan 21, 2022
521df87
Delete ERROR_CODES.md
BLR-0118 Jan 21, 2022
a8e1e2d
Update core.yaml
BLR-0118 Jan 21, 2022
0973811
Create ERROR
BLR-0118 Jan 22, 2022
eb24af1
Rename ERROR to ERROR_CODES.md
BLR-0118 Jan 22, 2022
310a951
Create BECKN-RFC-005-Error-Codes-Draft-01.md
BLR-0118 Jan 25, 2022
bdb0780
Delete ERROR_CODES.md
BLR-0118 Jan 25, 2022
d0a1f4a
Update core.yaml
BLR-0118 Jan 25, 2022
4b9b458
Create BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 25, 2022
4785893
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 25, 2022
59200ec
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 25, 2022
36e5f0f
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 25, 2022
76a2862
Merge pull request #210 from Open-network-for-digital-commerce/error-…
Jan 27, 2022
ce3ae98
Merge pull request #204 from Open-network-for-digital-commerce/paymen…
Jan 27, 2022
3a60828
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 28, 2022
248fb96
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 28, 2022
a585e53
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 28, 2022
edac76e
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 28, 2022
5d5d166
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 28, 2022
3b00d1a
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 28, 2022
f74e481
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 28, 2022
96b9031
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Feb 4, 2022
13c5fe0
Update core.yaml
BLR-0118 Feb 6, 2022
7d341f8
Update BECKN-002-Payments-On-Beckn-Enabled-Networks.md
BLR-0118 Feb 14, 2022
eeb86b3
Update BECKN-002-Payments-On-Beckn-Enabled-Networks.md
BLR-0118 Feb 14, 2022
c64bfe6
Updated Item description.
techframewirk Feb 21, 2022
8406f83
Merge pull request #236 from techframewirk/update-item-desc
Feb 22, 2022
36a5a82
Merge pull request #233 from Open-network-for-digital-commerce/paymen…
Feb 22, 2022
4b82c4d
Merge pull request #225 from Open-network-for-digital-commerce/paymen…
Feb 22, 2022
e9a72d5
Merge pull request #206 from Open-network-for-digital-commerce/auth-h…
Feb 22, 2022
85ad70b
rfc-draft01
techframewirk Mar 10, 2022
a331dc1
Merge pull request #240 from techframewirk/rating-and-reputation-rfc
Mar 10, 2022
6085821
Merge remote-tracking branch 'origin/core-0.9.4-draft' into draft
Mar 10, 2022
f1b5b35
Updated descriptions of schema level objects
techframewirk Mar 22, 2022
843aabe
more descriptions
techframewirk Mar 24, 2022
56fb538
Format issue resolved with the id property of Item schema
AyushAgrawal25 Mar 25, 2022
38b71f0
updated item and order
techframewirk Mar 28, 2022
2e7aa90
Review comments from Pramod
techframewirk Apr 2, 2022
9f16c0d
Added rating communication sequence
Apr 21, 2022
88997d6
Added rating flow sequence diagram
Apr 21, 2022
ed0d85c
Merge pull request #244 from AyushAgrawal25/draft
May 5, 2022
db4495a
Merge pull request #242 from techframewirk/object-definitions
Aug 3, 2022
88e2c26
Update README.md
Mar 31, 2022
4845a8a
Update README.md
Mar 31, 2022
fec401d
Added link to community guidelines
techframewirk Apr 5, 2022
044271a
removed space
Jul 18, 2022
31839bc
Added full address string
Jul 18, 2022
3078ead
Added space
Jul 18, 2022
95c4611
Added jcard field in contact
Jul 18, 2022
5c9b83f
Added Organization schema
Jul 18, 2022
715c5d4
Removed format restrictions on Name schema
Jul 18, 2022
c2a6d5a
Added space
Jul 18, 2022
1c7811b
Fixed order object
Jul 19, 2022
58975d1
Added Feedback Form
Jul 19, 2022
7b09467
Removed ProxyAuth header
Jul 19, 2022
21598b2
Added / removed unnecessary spaces
Jul 19, 2022
72cc4e3
Removed required fields
Jul 19, 2022
99fb5da
added CargoItem schema
Jul 19, 2022
916c9ec
added WIP Verifiable Credential schema
Jul 19, 2022
1792eb0
Added video as a property in descriptor
Jul 19, 2022
e6fc24c
Added Item Quantity as a property of Item
Jul 19, 2022
36e3ff9
Added payment_id to Item to reference Payment terms
Jul 19, 2022
46e9f5e
Updated Order object
Jul 19, 2022
1c3ab14
Removed Old Organization schema
Jul 19, 2022
705f3bb
Added payload schema
Jul 19, 2022
9e27bee
Removed tl_method property from Payment
Jul 19, 2022
c802e94
Added bank related params and vpas in Payment schema
Jul 19, 2022
6d9db93
Added id to person schema
Jul 19, 2022
6f8bb9b
Added credentials in Person schema
Jul 19, 2022
cba04a0
Added feedback url as a response to a rating call
Jul 19, 2022
517528f
Updated Scalar schema fields to DecimalValue
Jul 19, 2022
8eb7775
Added cancellation terms
Jul 19, 2022
6d73306
Added order update terms
Jul 19, 2022
1463cb9
Added order update terms
Jul 19, 2022
dbc28b8
Added cancellation, update, return and replacement terms in Order schema
Jul 19, 2022
d5c9678
Updated version number to 1.0.0-draft
Jul 19, 2022
91b1cd2
Removed gateway subscriber auth
Jul 19, 2022
4134f6c
Bug fixes in openapi file
Jul 19, 2022
effeda2
Schema fixes
venkatramanm Jul 21, 2022
9e9f316
Removed merge conflicts
Aug 3, 2022
99aff62
Merge pull request #296 from beckn/ecosystem-fixes
Aug 3, 2022
c8df9f8
Added default reponse codes instead of 200, removed format:uri in bap_id
Aug 3, 2022
0ce527b
Added media files as a property in Descriptor
Aug 3, 2022
b10adfd
Added descriptions to ItemQuantity properties
Aug 3, 2022
e88dc0a
Added unitized quantity to ItemQuantity to represent quntity availabl…
Aug 3, 2022
e2c531f
Added mediafile type
Aug 3, 2022
d0cc033
Added double quotes instead of signle quotes in certain places
Aug 3, 2022
5e1bec8
Added external refs in cancellation terms
Aug 3, 2022
3a14dec
Added confirmation terms
Aug 3, 2022
f862c02
Generalized FeedbackForm to Form
Aug 3, 2022
dac5c74
Removed feedback form url object
Aug 3, 2022
868563a
Added manufacturer property to item
Aug 3, 2022
0d3e4be
Added terms to item and order
Aug 3, 2022
0de4246
Added refund terms
Aug 3, 2022
186d7ca
Added id and description
Aug 3, 2022
bbf3374
Merge pull request #297 from beckn/ecosystem-fixes
Aug 3, 2022
7f3faec
Added sample proposal
Dec 26, 2021
52469f0
Renamed RFC file naming format
Dec 26, 2021
c920153
Update core.yaml
BLR-0118 Jan 20, 2022
8de94a1
Update core.yaml
BLR-0118 Jan 21, 2022
8f629f7
Update core.yaml
BLR-0118 Jan 21, 2022
ae13c72
Update core.yaml
BLR-0118 Jan 21, 2022
732d453
Update core.yaml
BLR-0118 Jan 21, 2022
bc916bf
Update core.yaml
BLR-0118 Jan 21, 2022
36c7a19
Create ERROR_CODES.md
BLR-0118 Jan 21, 2022
2cd564a
Delete ERROR_CODES.md
BLR-0118 Jan 21, 2022
1432a6a
Update core.yaml
BLR-0118 Jan 21, 2022
dce702a
Create ERROR
BLR-0118 Jan 22, 2022
452d1b2
Rename ERROR to ERROR_CODES.md
BLR-0118 Jan 22, 2022
813e438
Create BECKN-RFC-005-Error-Codes-Draft-01.md
BLR-0118 Jan 25, 2022
e5c7147
Delete ERROR_CODES.md
BLR-0118 Jan 25, 2022
30a2fea
Update core.yaml
BLR-0118 Jan 25, 2022
4f047dc
Create BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 25, 2022
e287d9f
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 25, 2022
628eb7f
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 25, 2022
c53557e
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 25, 2022
bcf0601
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 28, 2022
a59bf3d
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 28, 2022
73ca0a0
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 28, 2022
9202e17
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 28, 2022
922754a
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 28, 2022
8d58f93
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 28, 2022
3dd0895
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Jan 28, 2022
79a6c29
Update BECKN-RFC-006-Signing-Beckn-APIs-In-HTTP-Draft-01.md
BLR-0118 Feb 4, 2022
f6fcd96
Update core.yaml
BLR-0118 Feb 6, 2022
b3114f0
Update BECKN-002-Payments-On-Beckn-Enabled-Networks.md
BLR-0118 Feb 14, 2022
3abcc4b
Update BECKN-002-Payments-On-Beckn-Enabled-Networks.md
BLR-0118 Feb 14, 2022
6856273
Updated Item description.
techframewirk Feb 21, 2022
14daa42
rfc-draft01
techframewirk Mar 10, 2022
9a08b26
Updated descriptions of schema level objects
techframewirk Mar 22, 2022
338039f
more descriptions
techframewirk Mar 24, 2022
3946435
Format issue resolved with the id property of Item schema
AyushAgrawal25 Mar 25, 2022
c3b7597
updated item and order
techframewirk Mar 28, 2022
c8b83f3
Review comments from Pramod
techframewirk Apr 2, 2022
089a4d7
Added rating communication sequence
Apr 21, 2022
63b8c47
Added rating flow sequence diagram
Apr 21, 2022
a3b6af7
removed space
Jul 18, 2022
84943d1
Added full address string
Jul 18, 2022
fbd692c
Added space
Jul 18, 2022
1c0b6f8
Added jcard field in contact
Jul 18, 2022
6bbc9e7
Added Organization schema
Jul 18, 2022
18f5fd7
Removed format restrictions on Name schema
Jul 18, 2022
4c544a9
Added space
Jul 18, 2022
e7dc3a3
Fixed order object
Jul 19, 2022
9f93baf
Added Feedback Form
Jul 19, 2022
fd3c07a
Removed ProxyAuth header
Jul 19, 2022
652763c
Added / removed unnecessary spaces
Jul 19, 2022
3fd7cd2
Removed required fields
Jul 19, 2022
b52b864
added CargoItem schema
Jul 19, 2022
ef9c400
added WIP Verifiable Credential schema
Jul 19, 2022
823344e
Added video as a property in descriptor
Jul 19, 2022
c121666
Added Item Quantity as a property of Item
Jul 19, 2022
7e8eb66
Added payment_id to Item to reference Payment terms
Jul 19, 2022
01644a2
Updated Order object
Jul 19, 2022
5c1bf7c
Removed Old Organization schema
Jul 19, 2022
d6ae425
Added payload schema
Jul 19, 2022
5d91fa4
Removed tl_method property from Payment
Jul 19, 2022
f6d209a
Added bank related params and vpas in Payment schema
Jul 19, 2022
282681a
Added id to person schema
Jul 19, 2022
0d8f3db
Added credentials in Person schema
Jul 19, 2022
a388b80
Added feedback url as a response to a rating call
Jul 19, 2022
95282e5
Updated Scalar schema fields to DecimalValue
Jul 19, 2022
337358e
Added cancellation terms
Jul 19, 2022
4e6b867
Added order update terms
Jul 19, 2022
941f027
Added order update terms
Jul 19, 2022
ff30bcb
Added cancellation, update, return and replacement terms in Order schema
Jul 19, 2022
2e7c88b
Updated version number to 1.0.0-draft
Jul 19, 2022
1e67155
Removed gateway subscriber auth
Jul 19, 2022
3c40fbd
Bug fixes in openapi file
Jul 19, 2022
8021ccd
Schema fixes
venkatramanm Jul 21, 2022
4050570
Removed merge conflicts
Aug 3, 2022
249e9a6
Added default reponse codes instead of 200, removed format:uri in bap_id
Aug 3, 2022
0413f6d
Added media files as a property in Descriptor
Aug 3, 2022
500b745
Added descriptions to ItemQuantity properties
Aug 3, 2022
fd4f9e6
Added unitized quantity to ItemQuantity to represent quntity availabl…
Aug 3, 2022
7b89d39
Added mediafile type
Aug 3, 2022
f3a9615
Added double quotes instead of signle quotes in certain places
Aug 3, 2022
5dd9016
Added external refs in cancellation terms
Aug 3, 2022
04030cc
Added confirmation terms
Aug 3, 2022
edb5ec5
Generalized FeedbackForm to Form
Aug 3, 2022
8f48d7c
Removed feedback form url object
Aug 3, 2022
5ad48ab
Added manufacturer property to item
Aug 3, 2022
e7c16ef
Added terms to item and order
Aug 3, 2022
cd05e60
Added refund terms
Aug 3, 2022
b682252
Added id and description
Aug 3, 2022
b58943a
Merge branch 'release-1.x' into draft
Aug 3, 2022
fe8a8b7
Fix
Aug 4, 2022
8c0f06b
Fix
Aug 4, 2022
54d2bdc
Fixed version number
Aug 4, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/v0/api/core.yaml
Original file line number Diff line number Diff line change
@@ -1725,7 +1725,7 @@ components:
- JSON-SCHEMA-ERROR
code:
type: string
description: 'Beckn specific error code. For full list of error codes, refer to error_codes.md in the root folder of this repo'
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:
type: string
description: Path to json schema generating the error. Used only during json schema validation errors
76 changes: 76 additions & 0 deletions docs/protocol-drafts/BECKN-RFC-005-Error-Codes-Draft-01.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Error Codes for BPP

## ID:
BECKN-RFC-034

## Draft ID
Draft-01

## Title:
Error Codes

## Category:
Network Policy

## Status:
Protocol Draft

## Published on:
January 21, 2022

## Expires on:
January 20, 2023 or Date of publication of next draft which ever is earlier

## License:
CC-BY-ND

## Authors:
1. Ravi Prakash : ravi@becknfoundation.org

## Reviewers:
1. Sujith Nair : sujith@becknfoundation.org
2. Pramod Varma : pramod@ekstep.org

## Introduction
This document outlines the error codes which must be returned by a BPP.

## Error Codes
|**Code**|**Message**|**Description**|
|---|---|---|
|30000|Invalid request error|Generic invalid request error|
|30001|Provider not found|When BPP is unable to find the provider id sent by the BAP|
|30002|Provider location not found|When BPP is unable to find the provider location id sent by the BAP|
|30003|Provider category not found|When BPP is unable to find the provider category id sent by the BAP|
|30004|Item not found|When BPP is unable to find the item id sent by the BAP|
|30005|Category not found|When BPP is unable to find the category id sent by the BAP|
|30006|Offer not found|When BPP is unable to find the offer id sent by the BAP|
|30007|Add on not found|When the BPP is unable to find the add on id sent by the BAP|
|30008|Fulfillment unavailable|When BPP is unable to find the fulfillment id sent by the BAP|
|30009|Fulfilment provider unavailable|When the BPP is unable to find fulfilment provider id sent by the BAP|
|30010|Order not found|When the BPP is unable to find the order id sent by the BAP|
|30011|Invalid cancellation reason|When the BPP is unable to find the cancellation reason in cancellation_reason_id|
|30012|Invalid update_target|When the BPP is unable to find the update_target in the order object|
|30013|Update inconsistency|When the BPP finds changes in the order object other than the update_target|
|30014|Entity to rate not found|When the BPP is unable to find the entity to rate in id|
|30015|Invalid rating value|When the BPP receives an invalid value as the rating value in value|
|40000|Business Error|Generic business error|
|40001|Action not applicable|When an API endpoint is not implemented by the BPP as it is not required for their use cases and a BAP calls one of these endpoints|
|40002|Item quantity unavailable|When the BPP is unable to select the specified number in order.items[].quantity|
|40003|Quote unavailable|When the quote sent by the BAP is no longer available from the BPP|
|40004|Payment not supported|When the payment object sent by the BAP is not supported by the BPP|
|40005|Tracking not supported|When the BPP does not support tracking for the order in order_id|
|40006|Fulfilment agent unavailable|When an agent for fulfilment is not available|
|50000|Policy Error|Generic Policy Error|
|50001|Cancellation not possible|When the BPP is unable to cancel the order due to it's cancellation policy|
|50002|Updation not possible|When the BPP is unable to update the order due to it's updation policy|
|50003|Unsupported rating category|When the BPP receives an entity to rate which is not supported|
|50004|Support unavailable|When the BPP receives an object if for which it does not provide support|

## Acknowledgements
The author would like to thank the following individuals for their contributions in creating the first draft of this document (in alphabetical order):

1. Pramod Varma, Beckn Foundation
2. Sujith Nair, Beckn Foundation
3. Supriyo Ghosh, ONDC

*Copyright (c) 2022 Beckn Foundation. All rights reserved.*