Skip to content

Commit e450051

Browse files
committed
Add Spectral rules + fix misalignment
1 parent b72911a commit e450051

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

.stoplight/styleguide.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

ovs_hub_ntf/v1/OVS_HUB_NTF_v1.0.0.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,6 +1067,9 @@ components:
10671067
type: string
10681068
description: |
10691069
This attribute contains a value describing the type of event related to the originating occurrence. Often this attribute is used for routing, observability, policy enforcement, etc. The format of this is producer defined and might include information such as the version of the type - see [Versioning of CloudEvents in the Primer](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/primer.md#versioning-of-cloudevents) for more information.
1070+
1071+
- `org.dcsa.ovs-hub.schedules.service` (for Service originated notifications)
1072+
- `org.dcsa.ovs-hub.schedules.terminal` (for Terminal originated notifications)
10701073
enum:
10711074
- org.dcsa.ovs-hub.schedules.service
10721075
- org.dcsa.ovs-hub.schedules.terminal
@@ -1208,7 +1211,8 @@ components:
12081211
example: 2103N
12091212
vesselName:
12101213
type: string
1211-
maxLength: 35
1214+
maxLength: 50
1215+
pattern: ^\S(?:.*\S)?$
12121216
description: |
12131217
The name of the Vessel given by the Vessel Operator and registered with IMO.
12141218

ovs_hub_ref/v1/OVS_HUB_REF_v1.0.0.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,7 @@ components:
693693

694694
ServicePartner:
695695
type: object
696+
title: Service Partner
696697
description: |
697698
An object including a carrier specific service code, service name and the SMDG code.
698699
properties:

0 commit comments

Comments
 (0)