Skip to content

Commit bd55542

Browse files
committed
Add a version quality to sdfInstanceOf
1 parent 0e6d091 commit bd55542

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

draft-ietf-asdf-instance-information.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,11 +372,13 @@ In constrast to models, including a `namespace` quality is mandatory as at least
372372

373373
Distinct from SDF models are two instance-specific blocks, the first of which is identified via the `sdfInstanceOf` keyword.
374374
Via the `model` keyword, this quality defines the entry point the `sdfInstance` quality from the next section is referring to.
375+
The `version` quality optionally allows for specifying a version or version range of the model.
375376
Furthermore, via the `patchMethod` field, a patch algorithm different from JSON Merge Patch can be specified.
376377

377378
| Quality | Type | Description |
378379
|------------------|--------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|
379380
| model | string | Defines the entry point for `sdfInstance` by pointing to an `sdfObject` or an `sdfThing`. Has to be based on a namespace identifier from the `namespaces` map. |
381+
| version | string | The version or a compatible version range of the model this message is referring to. |
380382
| patchMethod | string | Allows for overriding the default patch method (JSON Merge Patch) by providing a registered value. |
381383
| $comment | string | Source code comments only, no semantics |
382384
{: #iobsec title="Instance-of Block"}

0 commit comments

Comments
 (0)