Skip to content

Commit 0105102

Browse files
committed
Put ipv4 and ipv6 under "IP addresses"
1 parent 10e7b4a commit 0105102

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
@@ -960,26 +960,24 @@
960960
</t>
961961
</section>
962962

963-
<section title="ipv4">
963+
<section title="IP addresses">
964964
<t>
965-
This attribute applies to string instances.
966-
</t>
967-
<t>
968-
A string instance is valid against this attribute if it is a valid
969-
representation of an IPv4 address according to the "dotted-quad" ABNF
970-
syntax as defined in <xref target="RFC2673">RFC 2673, section
971-
3.2</xref>.
972-
</t>
973-
</section>
974-
975-
<section title="ipv6">
976-
<t>
977-
This attribute applies to string instances.
965+
These attributes apply to string instances.
978966
</t>
979967
<t>
980-
A string instance is valid against this attribute if it is a valid
981-
representation of an IPv6 address as defined in
982-
<xref target="RFC4291">RFC 4291, section 2.2</xref>.
968+
A string instance is valid against these attributes if it is a valid
969+
representation of an IP address as follows:
970+
<list style="hanging">
971+
<t hangText="ipv4">
972+
An IPv4 address according to the "dotted-quad" ABNF
973+
syntax as defined in
974+
<xref target="RFC2673">RFC 2673, section 3.2</xref>.
975+
</t>
976+
<t hangText="ipv6">
977+
An IPv6 address as defined in
978+
<xref target="RFC4291">RFC 4291, section 2.2</xref>.
979+
</t>
980+
</list>
983981
</t>
984982
</section>
985983

0 commit comments

Comments
 (0)