openapi: 3.0.3
info:
  title: BPS DPP Core API (Skeleton)
  version: "0.1"
paths:
  /api/v1/dpp/{productId}/{version}:
    get:
      summary: Retrieve DPP (Lite or Full)
      parameters:
        - in: path
          name: productId
          required: true
          schema: { type: string }
        - in: path
          name: version
          required: true
          schema: { type: string }
        - in: query
          name: lite
          required: false
          schema: { type: boolean }
      responses:
        "200":
          description: DPP payload (JSON-LD)
          content:
            application/ld+json:
              schema:
                $ref: "https://bps.kivanura.org/spec/bps/dpp/0.1/bps-dpp-core-0.1.schema.json"