Skip to content

Commit

Permalink
Fix descriptions for IPRange and Port schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
jehisonprada committed May 3, 2024
1 parent 8c0eb4b commit 2cda8df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/schemas/IpRange.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
8 changes: 4 additions & 4 deletions src/schemas/Port.json
Original file line number Diff line number Diff line change
@@ -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": [
{
Expand All @@ -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": {
Expand All @@ -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"
}
},
Expand Down

0 comments on commit 2cda8df

Please sign in to comment.