Repository navigation
Sync common files from Commonalities r4.3 - #124
0 errors, 55 warnings, 16 hints
Profile: standard | Branch: main | Trigger: pr
Annotations
Check warning on line 1 in code/API_definitions/population-density-data.yaml
camara-validation / CAMARA Validation
CloudEvent type format is wrong
[P-015] No event type enum values found in code/API_definitions/population-density-data.yaml — subscription APIs should define EventType schemas
Suggestion: Define a named event type schema (e.g. ApiEventType) that constrains the CloudEvent `type` value via allOf, rather than inlining the enum directly in CloudEvent.properties.type.enum. See the implicit-events API template in Commonalities artifacts/api-templates/ (tracked in camaraproject/Commonalities#608).
Check warning on line 1 in code/API_definitions/population-density-data.yaml
camara-validation / CAMARA Validation
info.description uses YAML folded scalar
[P-030] info.description uses YAML folded-scalar style ('description: >'). Line-anchored BEGIN/END markers for mandatory templates are flattened by the parser and will not be detected.
Suggestion: Change 'description: >' to 'description: |' so line-anchored mandatory-template markers survive YAML parsing.
Check warning on line 1 in code/API_definitions/population-density-data.yaml
camara-validation / CAMARA Validation
Mandatory info.description template missing
[P-026] info.description is missing the mandatory template 'authorization-and-authentication'. Paste the BEGIN..END block from 'code/common/info-description-templates.yaml'. | info.description is missing the mandatory template 'additional-error-responses'. Paste the BEGIN..END block from 'code/common/info-description-templates.yaml'. | info.description is missing the mandatory template 'request-body-strictness'. Paste the BEGIN..END block from 'code/common/info-description-templates.yaml'.
Suggestion: Paste the missing BEGIN..END block from code/common/info-description-templates.yaml under the template name reported in the message into info.description.
Check warning on line 205 in code/API_definitions/population-density-data.yaml
camara-validation / CAMARA Validation
Notification must use application/cloudevents+json
[S-035] Notification callback content type must include 'application/cloudevents+json', found: application/json
Check warning on line 281 in code/API_definitions/population-density-data.yaml
camara-validation / CAMARA Validation
Schema property must have a description
[S-011] Property description is missing or empty: "openId.description" property must be truthy
Check warning on line 302 in code/API_definitions/population-density-data.yaml
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 302 in code/API_definitions/population-density-data.yaml
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 315 in code/API_definitions/population-density-data.yaml
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 322 in code/API_definitions/population-density-data.yaml
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 331 in code/API_definitions/population-density-data.yaml
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 339 in code/API_definitions/population-density-data.yaml
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 415 in code/API_definitions/population-density-data.yaml
camara-validation / CAMARA Validation
Schema property must have a description
[S-011] Property description is missing or empty: "SinkCredential.description" property must be truthy
Check warning on line 445 in code/API_definitions/population-density-data.yaml
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 448 in code/API_definitions/population-density-data.yaml
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 458 in code/API_definitions/population-density-data.yaml
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 461 in code/API_definitions/population-density-data.yaml
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 486 in code/API_definitions/population-density-data.yaml
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 489 in code/API_definitions/population-density-data.yaml
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 503 in code/API_definitions/population-density-data.yaml
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 506 in code/API_definitions/population-density-data.yaml
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/population-density-data.yaml
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 535 in code/API_definitions/population-density-data.yaml
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 542 in code/API_definitions/population-density-data.yaml
camara-validation / CAMARA Validation
Schema property must have a description
[S-011] Property description is missing or empty: "AcceptedAsyncResponse.description" property must be truthy
Check warning on line 549 in code/API_definitions/population-density-data.yaml
camara-validation / CAMARA Validation
Schema property must have a description
[S-011] Property description is missing or empty: "PopulationDensityAsyncResponse.description" property must be truthy
Check warning on line 558 in code/API_definitions/population-density-data.yaml
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).