As I checked how to represent the inaccessible data for property? It is very clear for the string and represent by null, but if type is "boolean", "integer", "number", how to represent it?
DSP 0266 Redfish Specification, 10.5 Properties If an implementation supports a property, it shall always provide a value for that property. If a value is unknown at the time of the operation, due to an internal error, the current resource state, or inaccessibility of the data, then the value of null is an acceptable value if supported by the schema definition.
In the different schema languages, a property that can be null is expressed by:
CSDL: the property definition will not have the term Nullable="false".
JSON Schema: the "type" term will contain "null" in the list.
OpenAPI: the nullable term will be set to true.
In cases where null isn't allowed for a property, usually the forum doesn't expect the data to ever not be available. However, we have added null as an allowable type to properties over time as we've seen cases where a service might not know the value.
Do you have a specific property and scenario in mind that we can discuss further?
For more detail with my problem, I checked as the following description from redfish specification.
If a value is unknown at the time of the operation, due to an internal error, the current resource state, or inaccessibility of the data then the value of null is an acceptable value if supported by the schema definition.