Skip to content

Commit bb367f4

Browse files
committed
verified ux; tweaked wording
1 parent 6d20c41 commit bb367f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.jekyll-metadata

1.25 KB
Binary file not shown.

_docs/schema/vocabs/data-2023.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ If the value is a JSON Path, the query is executed against the instance at the c
9191
> JSON Path returns a nodelist, which contains both values and their locations within the instance. This operation discards the locations and retains only the values.
9292
{: .prompt-info }
9393

94-
Otherwise, it must be resolved in accordance with the rules of `$ref` resolution for the relevant JSON Schema specification (e.g. [draft 2020-12, §8.2](https://json-schema.org/draft/2020-12/json-schema-core.html#name-base-uri-anchors-and-derefe)). However, unlike `$ref` which requires that the indicated data must represent a valid schema object, `data` and `optionalData` references can identify any value which is valid for the associated keyword.
94+
Otherwise, it must be resolved in accordance with the rules of `$ref` resolution for the relevant JSON Schema specification (e.g. [draft 2020-12, §8.2](https://json-schema.org/draft/2020-12/json-schema-core#section-8.2)). However, unlike `$ref` which requires that the indicated data must represent a valid schema object, `data` and `optionalData` references can identify any value which is valid for the associated keyword.
9595

9696
For each successfully resolved reference, the full value at the specified location MUST be returned.
9797

@@ -223,7 +223,7 @@ The schema below requires that `selection` be an ID from within the `options` ar
223223
}
224224
```
225225

226-
In this example, `$.options[*].id` returns an array of the available IDs which is then used in an `enum`. Then, `selection` is validated to be one of those IDs.
226+
In this example, `$.options[*].id` evaluated against the instance returns an array of the available IDs which is used in `enum`. Then, `selection` is validated to be one of those IDs.
227227

228228
If `selection` is present in the array's ID values, then the validation passes.
229229

0 commit comments

Comments
 (0)