Skip to content

NPA-3899 Validate Consent Example #3

NPA-3899 Validate Consent Example

NPA-3899 Validate Consent Example #3

name: Schema Checks
on: pull_request
jobs:
schema-validate-examples:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install dependencies
run: npm install -g
- name: Run Schema Validation
run:
env:
EXAMPLE_PATH: specification/examples/responses/GET_Consent/adults-consenting.yaml
SCHEMA_PATH: specification/validated-relationships-service-api.yaml
SCHEMA_OBJECT: "#/components/schemas/ConsentBundle"