Skip to content

Commit

Permalink
MegaLinter Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FabrizioMoggio authored Jul 5, 2024
1 parent f6fe4e1 commit ac09c0f
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions code/API_definitions/Traffic_Influence.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -738,36 +738,36 @@ components:
type: string
additionalProperties: false
Device:
description: |
End-user equipment able to connect to a mobile network. Examples of
devices include smartphones or IoT sensors/actuators.
The developer can choose to provide the below specified device
identifiers:
* `ipv4Address`
* `ipv6Address`
* `phoneNumber`
* `networkAccessIdentifier`
NOTE1: the MNO might support only a subset of these options.
The API invoker can provide multiple identifiers to be compatible
across different MNOs. In this case the identifiers MUST belong to
the same device.
NOTE2: for the Commonalities release v0.4, we are enforcing that the
networkAccessIdentifier is only part of the schema for
future-proofing, and CAMARA does not currently allow its use.
After the CAMARA meta-release work is concluded and the relevant
issues are resolved, its use will need to be explicitly documented
in the guidelines.
type: object
properties:
phoneNumber:
$ref: "#/components/schemas/PhoneNumber"
networkAccessIdentifier:
description: |
End-user equipment able to connect to a mobile network. Examples of
devices include smartphones or IoT sensors/actuators.
The developer can choose to provide the below specified device
identifiers:
* `ipv4Address`
* `ipv6Address`
* `phoneNumber`
* `networkAccessIdentifier`
NOTE1: the MNO might support only a subset of these options.
The API invoker can provide multiple identifiers to be compatible
across different MNOs. In this case the identifiers MUST belong to
the same device.
NOTE2: for the Commonalities release v0.4, we are enforcing that the
networkAccessIdentifier is only part of the schema for
future-proofing, and CAMARA does not currently allow its use.
After the CAMARA meta-release work is concluded and the relevant
issues are resolved, its use will need to be explicitly documented
in the guidelines.
type: object
properties:
phoneNumber:

Check failure on line 762 in code/API_definitions/Traffic_Influence.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

762:8 [indentation] wrong indentation: expected 8 but found 7
$ref: "#/components/schemas/PhoneNumber"
networkAccessIdentifier:
$ref: "#/components/schemas/NetworkAccessIdentifier"

Check failure on line 765 in code/API_definitions/Traffic_Influence.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

765:9 [indentation] wrong indentation: expected 9 but found 8
ipv4Address:
ipv4Address:
$ref: "#/components/schemas/DeviceIpv4Addr"

Check failure on line 767 in code/API_definitions/Traffic_Influence.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

767:9 [indentation] wrong indentation: expected 9 but found 8
ipv6Address:
$ref: "#/components/schemas/DeviceIpv6Address"
minProperties: 1
ipv6Address:
$ref: "#/components/schemas/DeviceIpv6Address"
minProperties: 1
PhoneNumber:
description: A public identifier addressing a telephone subscription. In
mobile networks it corresponds to the MSISDN (Mobile Station
Expand Down

0 comments on commit ac09c0f

Please sign in to comment.