1
- # <a name =" features " />Features Document
1
+ # <a name =" features " />Features Structure
2
2
3
- A [ runtime] ( glossary.md#runtime ) MAY provide a JSON document about its implemented features to [ runtime callers] ( glossary.md#runtime-caller ) .
4
- This JSON document is called [ "features document "] ( glossary.md#features-document ) .
3
+ A [ runtime] ( glossary.md#runtime ) MAY provide a JSON structure about its implemented features to [ runtime callers] ( glossary.md#runtime-caller ) .
4
+ This JSON structure is called [ "Features structure "] ( glossary.md#features-structure ) .
5
5
6
- The features document is irrelevant to the actual availability of the features in the host operating system.
7
- Hence, the content of the feature document SHOULD be determined on the compilation time of the runtime, not on the execution time.
6
+ The Features structure is irrelevant to the actual availability of the features in the host operating system.
7
+ Hence, the content of the Features structure SHOULD be determined on the compilation time of the runtime, not on the execution time.
8
8
9
- All properties in the features document except ` ociVersionMin ` and ` ociVersionMax ` MAY either be absent or have the ` null ` value.
9
+ All properties in the Features structure except ` ociVersionMin ` and ` ociVersionMax ` MAY either be absent or have the ` null ` value.
10
10
The ` null ` value MUST NOT be confused with an empty value such as ` 0 ` , ` false ` , ` "" ` , ` [] ` , and ` {} ` .
11
11
12
12
## <a name =" featuresSpecificationVersion " />Specification version
@@ -17,7 +17,7 @@ The `null` value MUST NOT be confused with an empty value such as `0`, `false`,
17
17
* ** ` ociVersionMax ` ** (string, REQUIRED) The maximum recognized version of the Open Container Initiative Runtime Specification.
18
18
The runtime MUST accept this value as the [ ` ociVersion ` property of ` config.json ` ] ( config.md#specification-version ) .
19
19
The value MUST NOT be less than the value of the ` ociVersionMin ` property.
20
- The feature document MUST NOT contain properties that are not defined in this version of the Open Container Initiative Runtime Specification.
20
+ The Features structure MUST NOT contain properties that are not defined in this version of the Open Container Initiative Runtime Specification.
21
21
22
22
### Example
23
23
``` json
0 commit comments