|
Post by puwen on Nov 12, 2022 13:30:45 GMT
As the title, Checked redfish.dmtf.org/schemas/v1/Privileges.v1_0_5.json and DSP8010, it's corrupt. { "$id": "http://redfish.dmtf.org/schemas/v1/Privileges.v1_0_5.json", "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", "definitions": {}, "owningEntity": "DMTF", "release": "1.0", "title": "#Privileges.v1_0_5" }
|
|
|
Post by jautor on Nov 13, 2022 16:22:45 GMT
It's actually correct. The single definition of "PrivilegeType" was moved to the un-versioned file/namespace to avoid issues when this is referenced from other schema (which is the only reason this schema file exists).
You'll see the definition in Privileges.json - and if you are making a reference across Redfish schema files, you should always point to the un-versioned JSON schema file, as it will contain all versions of the schema (as an "AnyOf" reference). This is true for all Redfish schemas, although this is one of the few that contains only un-versioned content.
Jeff
|
|
|
Post by puwen on Nov 14, 2022 7:30:01 GMT
Hi Jeff,
I get it now, thanks. By the way, I see 2 typos in Privileges.json. There are "Adminsitrator" and "colletion".
BR, Puwen
|
|
|
Post by jautor on Nov 16, 2022 6:28:42 GMT
Thanks! We'll get those fixed for the next release.
Jeff
|
|