+* `ports` - MUST be a map (key-value pair) with two keys: `tcp` and `udp`. These two keys MUST have values which are also maps (key-value pairs) which correlate a single number between 0-65535 (representing a port) to a [`Service`](Service.md) object (NOTE: Since JSON doesn't allow numbers to be keys, a string representation of the number must be used). If a port is closed, then it SHOULD NOT have an entry in the key-value pair under its respective `tcp` or `udp` designation. However, in the circumstance that data needs to be stored on a port that was open and is now closed, the [`Service`](Service.md) object's `active` attribute should be used to delimit that the port is closed. If a port is open, but no [`Service`](Service.md) object has been constructed, it should be left with a blank object `{}`. Otherwise, the port's value pair MUST point to its respective [`Service`](Service.md) object.
0 commit comments