Skip to content

Fix linter warnings

51b0a00
Select commit
Loading
Failed to load commit list.
Open

Introduce callReason parameter #104

Fix linter warnings
51b0a00
Select commit
Loading
Failed to load commit list.
camara-validation / CAMARA Validation succeeded May 29, 2026 in 0s

0 errors, 29 warnings, 21 hints

Profile: standard | Branch: main | Trigger: pr

Annotations

Check warning on line 1 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

CloudEvent should be $ref, not inline

[P-020] CloudEvent is defined inline in code/API_definitions/brand-registration.yaml. Consume the shared schema from CAMARA_event_common.yaml via $ref instead of maintaining a local copy.

Suggestion: Replace the local CloudEvent schema with `$ref: './CAMARA_event_common.yaml#/components/schemas/CloudEvent'`, or an allOf combining the $ref with an API-specific ApiEventType schema. See implicit-events API template in Commonalities artifacts/api-templates/.

Check warning on line 308 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

String must declare maxLength, enum, or const

[S-312] Schema of type string must specify maxLength, enum, or const.

Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).

Check warning on line 343 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

String must declare maxLength, enum, or const

[S-312] Schema of type string must specify maxLength, enum, or const.

Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).

Check warning on line 378 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

String must declare maxLength, enum, or const

[S-312] Schema of type string must specify maxLength, enum, or const.

Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).

Check warning on line 462 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Integer must declare int32 or int64 format

[S-310] Schema of type integer must specify format (int32 or int64).

Suggestion: Add format: int32 or int64 to integer properties (CAMARA Design Guide section 2.2).

Check warning on line 462 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Integer must declare minimum and maximum

[S-311] Schema of type integer must specify minimum and maximum.

Suggestion: Add minimum and maximum to integer properties (CAMARA Design Guide section 2.2).

Check warning on line 469 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Integer must declare int32 or int64 format

[S-310] Schema of type integer must specify format (int32 or int64).

Suggestion: Add format: int32 or int64 to integer properties (CAMARA Design Guide section 2.2).

Check warning on line 469 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Integer must declare minimum and maximum

[S-311] Schema of type integer must specify minimum and maximum.

Suggestion: Add minimum and maximum to integer properties (CAMARA Design Guide section 2.2).

Check warning on line 476 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

String must declare maxLength, enum, or const

[S-312] Schema of type string must specify maxLength, enum, or const.

Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).

Check warning on line 523 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

String must declare maxLength, enum, or const

[S-312] Schema of type string must specify maxLength, enum, or const.

Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).

Check warning on line 527 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Integer must declare int32 or int64 format

[S-310] Schema of type integer must specify format (int32 or int64).

Suggestion: Add format: int32 or int64 to integer properties (CAMARA Design Guide section 2.2).

Check warning on line 527 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Integer must declare minimum and maximum

[S-311] Schema of type integer must specify minimum and maximum.

Suggestion: Add minimum and maximum to integer properties (CAMARA Design Guide section 2.2).

Check warning on line 530 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Schema property must have a description

[S-011] Property description is missing or empty: "XCorrelator.description" property must be truthy

Check warning on line 530 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

String must declare maxLength, enum, or const

[S-312] Schema of type string must specify maxLength, enum, or const.

Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).

Check warning on line 534 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

String must declare maxLength, enum, or const

[S-312] Schema of type string must specify maxLength, enum, or const.

Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).

Check warning on line 540 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

String must declare maxLength, enum, or const

[S-312] Schema of type string must specify maxLength, enum, or const.

Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).

Check warning on line 552 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

String must declare maxLength, enum, or const

[S-312] Schema of type string must specify maxLength, enum, or const.

Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).

Check warning on line 570 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

String must declare maxLength, enum, or const

[S-312] Schema of type string must specify maxLength, enum, or const.

Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).

Check warning on line 591 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Integer must declare int32 or int64 format

[S-310] Schema of type integer must specify format (int32 or int64).

Suggestion: Add format: int32 or int64 to integer properties (CAMARA Design Guide section 2.2).

Check warning on line 591 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Integer must declare minimum and maximum

[S-311] Schema of type integer must specify minimum and maximum.

Suggestion: Add minimum and maximum to integer properties (CAMARA Design Guide section 2.2).

Check warning on line 596 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

String must declare maxLength, enum, or const

[S-312] Schema of type string must specify maxLength, enum, or const.

Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).

Check warning on line 679 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Schema property must have a description

[S-011] Property description is missing or empty: "RegistrationRecords.description" property must be truthy

Check warning on line 679 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Array must declare maxItems

[S-309] Schema of type array must specify maxItems.

Suggestion: Add maxItems to constrain array size (CAMARA Design Guide section 2.2).

Check warning on line 692 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Integer must declare int32 or int64 format

[S-310] Schema of type integer must specify format (int32 or int64).

Suggestion: Add format: int32 or int64 to integer properties (CAMARA Design Guide section 2.2).

Check warning on line 692 in code/API_definitions/brand-registration.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Integer must declare minimum and maximum

[S-311] Schema of type integer must specify minimum and maximum.

Suggestion: Add minimum and maximum to integer properties (CAMARA Design Guide section 2.2).