From 2cda8dfa190bbdb5307291207e1752a13ef3e8c0 Mon Sep 17 00:00:00 2001 From: Jehison Prada Date: Fri, 3 May 2024 15:42:54 -0500 Subject: [PATCH] Fix descriptions for IPRange and Port schemas --- src/schemas/IpRange.json | 2 +- src/schemas/Port.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/schemas/IpRange.json b/src/schemas/IpRange.json index ce3806b..65ea44d 100644 --- a/src/schemas/IpRange.json +++ b/src/schemas/IpRange.json @@ -27,7 +27,7 @@ "type": "boolean" }, "asn": { - "description": "Indicates IP version 4 or 6", + "description": "Autonomous System Number that identifies a routing policy", "type": "string", "format": "asn" }, diff --git a/src/schemas/Port.json b/src/schemas/Port.json index f3460ba..6c6a837 100644 --- a/src/schemas/Port.json +++ b/src/schemas/Port.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "$id": "#Port", - "description": "Network communication endpoint", + "description": "A number assigned to identify a network communication endpoint.", "type": "object", "allOf": [ { @@ -10,12 +10,12 @@ { "properties": { "protocol": { - "description": "Communication protocol used last time in the Port.", + "description": "Communication protocol last observed being used on this port.", "type": "string", "enum": ["TCP", "UDP", "TCP/UDP", "UDP/TCP"] }, "open": { - "description": "Indicates if the Port is accessible and available for communication.", + "description": "Indicates if the port is open or shut communication.", "type": "boolean" }, "port": { @@ -29,7 +29,7 @@ "type": "string" }, "service": { - "description": " Indicates the type or protocol of the service running on the port.", + "description": "Indicates the type or protocol of the service running on the port.", "type": "string" } },