|
Post by vincent0607 on Jun 6, 2023 9:23:45 GMT
Seem like there are conflict between RedfishExtensions schema and Redfish specification from RedfishExtensions (xml) schema redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xmldescript AllowablePattern annotation is a 'array' string type. </Term>
<Term Name="AllowablePattern" Type="Collection(Edm.String)" Nullable="false">
<Annotation Term="OData.Description" String="The term specifies a regular expression that describes the allowable values for a read-write property as supported by the service."/>
</Term>
but from redfish spec 1.16.0 www.dmtf.org/sites/default/files/standards/documents/DSP0266_1.16.0.pdfit gave example is string type, seems like it is not consist with above schema {
"AssetTag": "22HOU-34566",
"AssetTag@Redfish.AllowablePattern": "^[\\w:-]{0,31}$"
} not sure which type for AllowablePattern annotation is correct ? Thanks
|
|
|
Post by mraineri on Jun 6, 2023 13:18:24 GMT
The specification is correct; we'll need to fix the schema. Thanks for catching this!
|
|
|
Post by vincent0607 on Sept 27, 2023 9:06:39 GMT
thanks for the update and fixing!
|
|