Skip to content

Instantly share code, notes, and snippets.

View tejash-jl's full-sized avatar
👨‍💻
Contributing

Tejash JL tejash-jl

👨‍💻
Contributing
View GitHub Profile
@tejash-jl
tejash-jl / bpp-onboarder.sh
Last active August 3, 2026 15:58
BPP Onix Adapter
#!/usr/bin/env bash
set -euo pipefail
# Applies Onix2 adapter runtime settings so it can coexist with Onix1.
# It auto-selects a free host port starting from 8082.
SCRIPT_PATH="${BASH_SOURCE[0]:-$0}"
SCRIPT_DIR="$(cd "$(dirname "${SCRIPT_PATH}")" && pwd)"
COMPOSE_FILE="${SCRIPT_DIR}/docker-compose-adapter.yml"
CONFIG_DIR="${SCRIPT_DIR}/../config"
openapi: 3.0.0
info:
title: Beckn Protocol Core
description: Layer 2 config for knowledge-advisory:agrinet:vistaar
version: 1.1.0
security:
- SubscriberAuth: []
paths:
/search:
post:
{
"@context": {
"id": "@id",
"type": "@type",
"@protected": true,
"proof": {
"@id": "https://w3id.org/security#proof",
"@type": "@id",
"@container": "@graph"
},
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
openapi: 3.0.1
info:
title: Sunbird RC - Schema APIs
description: Schema APIs
termsOfService: https://sunbirdrc.dev/
contact:
email: sunbird@example.com
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
openapi: 3.0.1
info:
title: Sunbird RC VC
description: Sunbird RC VC
termsOfService: https://sunbirdrc.dev/
contact:
email: sunbird@example.com
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.schema.org",
"https://www.proofoftrainingexperience.org/2021/credentials/v1"
"http://purl.org/dc/terms/",
],
"@id": "uuid1"
"@type": ["VerifiableCredential", "ProofOfTraining"],
"issuer": {
[{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.schema.org",
"https://www.proofofworkexperience.org/2021/credentials/v1"
"http://purl.org/dc/terms/",
],
"@id": "uuid1"
"@type": ["VerifiableCredential", "ProofOfWorkExperience"],
"issuer": {