Skip to content

fix(geofencing-subscriptions): resolve S-015 and S-211 validation warnings - #417

Merged
jlurien merged 1 commit into
mainfrom
fix/geofencing-linter-s015-s211
Jul 29, 2026
Merged

fix(geofencing-subscriptions): resolve S-015 and S-211 validation warnings#417
jlurien merged 1 commit into
mainfrom
fix/geofencing-linter-s015-s211

Conversation

@jlurien

@jlurien jlurien commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

What type of PR is this?

correction

What this PR does / why we need it:

Resolves the S-015 and S-211 validation warnings surfaced by the CAMARA linter in PR #415 (Release Review r4.1 rc).

S-015 (PascalCase schema name): The local schema named CloudEvent in geofencing-subscriptions.yaml collided with the CloudEvent base schema from CAMARA_event_common.yaml. When bundled, the local schema was renamed to CloudEvent-2, failing the PascalCase rule. The fix renames the local envelope schema to GeofencingNotificationEvent and the associated event-type enum from NotificationEventType to GeofencingEventType, following the same pattern applied in QoSBooking and QosProvisioning.

S-211 (unused components): Seven passthrough schema re-exports (XCorrelator, Latitude, Longitude, Source, DateTime, AccessTokenCredential, PrivateKeyJWTCredential) were defined in components/schemas but never referenced locally. They have been removed.

S-313 hints and G-004 warning are dismissed and documented in issue #416: the string-format hints are acceptable for free-form fields per the CAMARA linter FAQ; the scenario count (53 vs max 50) reflects the r4.3 test-plan alignment from PR #414 and is deferred to a future revision.

Which issue(s) this PR fixes:

Fixes #416

Special notes for reviewers:

The external $ref to CAMARA_event_common.yaml#/components/schemas/CloudEvent inside GeofencingNotificationEvent is intentionally unchanged — it refers to the shared CloudEvents 1.0 base schema.

Changelog input

release-note
* **geofencing-subscriptions:** renamed local notification envelope schema from `CloudEvent` to `GeofencingNotificationEvent` and event-type enum from `NotificationEventType` to `GeofencingEventType` to eliminate bundler name collision (S-015 fix)
* **geofencing-subscriptions:** removed unused passthrough schema re-exports (`XCorrelator`, `Latitude`, `Longitude`, `Source`, `DateTime`, `AccessTokenCredential`, `PrivateKeyJWTCredential`) (S-211 fix)

Additional documentation

docs

…nings

Rename local CloudEvent schema to GeofencingNotificationEvent and
NotificationEventType to GeofencingEventType, eliminating the bundler
name collision that caused the S-015 PascalCase warning (CloudEvent-2).

Remove seven unused passthrough schema re-exports (XCorrelator, Latitude,
Longitude, Source, DateTime, AccessTokenCredential, PrivateKeyJWTCredential)
to resolve the S-211 unused-component warnings.

Update the schema reference in geofencing-subscriptions.feature to match
the renamed GeofencingNotificationEvent envelope.

S-313 hints and G-004 are dismissed and documented in issue #416.
@camara-validation

Copy link
Copy Markdown

CAMARA Validation — PASS (with warnings)

0 errors, 16 warnings, 1 hints | Profile: standard

View full results

@bigludo7 bigludo7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jlurien
jlurien merged commit 37572ed into main Jul 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warnings and hints raised by Validation linter

2 participants