Skip to content

Commit 7d7c293

Browse files
committed
Put ipv4 and ipv6 under "IP addresses"
1 parent f41559f commit 7d7c293

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

jsonschema-validation.xml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -995,26 +995,24 @@
995995
</t>
996996
</section>
997997

998-
<section title="ipv4">
998+
<section title="IP addresses">
999999
<t>
1000-
This attribute applies to string instances.
1001-
</t>
1002-
<t>
1003-
A string instance is valid against this attribute if it is a valid
1004-
representation of an IPv4 address according to the "dotted-quad" ABNF
1005-
syntax as defined in <xref target="RFC2673">RFC 2673, section
1006-
3.2</xref>.
1007-
</t>
1008-
</section>
1009-
1010-
<section title="ipv6">
1011-
<t>
1012-
This attribute applies to string instances.
1000+
These attributes apply to string instances.
10131001
</t>
10141002
<t>
1015-
A string instance is valid against this attribute if it is a valid
1016-
representation of an IPv6 address as defined in
1017-
<xref target="RFC4291">RFC 4291, section 2.2</xref>.
1003+
A string instance is valid against these attributes if it is a valid
1004+
representation of an IP address as follows:
1005+
<list style="hanging">
1006+
<t hangText="ipv4">
1007+
An IPv4 address according to the "dotted-quad" ABNF
1008+
syntax as defined in
1009+
<xref target="RFC2673">RFC 2673, section 3.2</xref>.
1010+
</t>
1011+
<t hangText="ipv6">
1012+
An IPv6 address as defined in
1013+
<xref target="RFC4291">RFC 4291, section 2.2</xref>.
1014+
</t>
1015+
</list>
10181016
</t>
10191017
</section>
10201018

0 commit comments

Comments
 (0)