@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix mcr: <https://registry.apicrafter.io/vocab#> .
@prefix dt: <https://registry.apicrafter.io/datatype/> .
@prefix cat: <https://registry.apicrafter.io/category/> .
@prefix country: <https://registry.apicrafter.io/country/> .
@prefix tool: <https://registry.apicrafter.io/tool/> .

dt:port_number a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "port_number" ;
    skos:prefLabel "TCP/UDP port number"@en ;
    skos:definition "16-bit number from 0 to 65535 that identifies an endpoint of a transport protocol such as TCP, UDP or SCTP on a host, for example 80 for HTTP or 443 for HTTPS. RFC 6335 divides the range into system ports 0-1023 and user ports 1024-49151, which IANA assigns to services, and dynamic ports 49152-65535, which are never assigned and serve short-lived client connections. Firewall rules, network flow logs and service inventories store it. Any integer in the range matches the regexp, so the column name is needed to tell a port from another number."@en ;
    skos:prefLabel "Номер порта TCP/UDP"@ru ;
    skos:definition "16-битный номер порта транспортного протокола (0–65535), например 80 для HTTP или 443 для HTTPS."@ru ;
    skos:exactMatch <http://www.wikidata.org/entity/P1641> ;
    skos:example "80" ;
    skos:example "443" ;
    skos:example "5432" ;
    skos:example "49152" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "categorical" ;
    mcr:regexp "^(?:6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}|0)$" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Port_(computer_networking)> ;
    rdfs:seeAlso <https://www.wikidata.org/wiki/Property:P1641> ;
    rdfs:seeAlso <https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml> ;
    rdfs:seeAlso <https://www.rfc-editor.org/rfc/rfc6335> .
