Skip to content

Commit 71612be

Browse files
author
Phil Sturgeon
authored
Merge pull request #753 from json-schema-org/deprecated
Deprecated clarfications around arrays
2 parents b021902 + e463e1e commit 71612be

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

jsonschema-validation.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,8 +1167,14 @@
11671167
is going to be removed in the future.
11681168
</t>
11691169
<t>
1170-
A root schema containing "deprecated" with a value of true indicates the entire
1171-
root schema MAY be removed in the future.
1170+
A root schema containing "deprecated" with a value of true indicates that
1171+
the entire resource being described MAY be removed in the future.
1172+
</t>
1173+
<t>
1174+
When the "deprecated" keyword is applied to an item in an array by means of
1175+
"items", if "items" is a single schema, the deprecation relates to the whole
1176+
array, while if "items" is an array of schemas, the deprecation relates to
1177+
the corrosponding item according to the subschemas position.
11721178
</t>
11731179
<t>
11741180
Omitting this keyword has the same behavior as a value of false.

0 commit comments

Comments
 (0)