summaryrefslogtreecommitdiff
path: root/redfish-core/schema/dmtf/json-schema/PolicyCollection.json
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2026-09-24 06:43:31 +0300
committerGunnar Mills <gmills@us.ibm.com>2026-10-22 03:08:08 +0300
commit0128851e733fa2cdc8af2c20ba90ef272d96422a (patch)
tree26c24b6bd43f13964e68b2f47adc85a1500684f6 /redfish-core/schema/dmtf/json-schema/PolicyCollection.json
parente44732f264b7f81dabff30a5a5c316eda4264ce7 (diff)
downloadbmcweb-master.tar.xz
Move to Redfish 2026.2HEADmaster
Like we do, one line change and rerun the script. 2026.2 includes new properties and schemas. The overview is at [1]. [1]: https://www.dmtf.org/sites/default/files/Redfish_Release_2026.2_Overview.pdf Tested: Inspection only. Change-Id: I860c142a3685b5aa98dfe27b2c718f16b04bece7 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'redfish-core/schema/dmtf/json-schema/PolicyCollection.json')
-rw-r--r--redfish-core/schema/dmtf/json-schema/PolicyCollection.json100
1 files changed, 100 insertions, 0 deletions
diff --git a/redfish-core/schema/dmtf/json-schema/PolicyCollection.json b/redfish-core/schema/dmtf/json-schema/PolicyCollection.json
new file mode 100644
index 0000000000..49c8d924fd
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema/PolicyCollection.json
@@ -0,0 +1,100 @@
+{
+ "$id": "http://redfish.dmtf.org/schemas/v1/PolicyCollection.json",
+ "$ref": "#/definitions/PolicyCollection",
+ "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
+ "copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
+ "definitions": {
+ "PolicyCollection": {
+ "anyOf": [
+ {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef"
+ },
+ {
+ "additionalProperties": false,
+ "description": "The collection of `Policy` resource instances.",
+ "longDescription": "This resource shall represent a resource collection of `Policy` instances for a Redfish implementation.",
+ "patternProperties": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
+ "type": [
+ "array",
+ "boolean",
+ "integer",
+ "number",
+ "null",
+ "object",
+ "string"
+ ]
+ }
+ },
+ "properties": {
+ "@odata.context": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
+ },
+ "@odata.etag": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
+ },
+ "@odata.id": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
+ },
+ "@odata.type": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
+ },
+ "Description": {
+ "anyOf": [
+ {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "readonly": true
+ },
+ "Members": {
+ "description": "The members of this collection.",
+ "items": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Policy.json#/definitions/Policy"
+ },
+ "longDescription": "This property shall contain an array of links to the members of this collection.",
+ "readonly": true,
+ "type": "array"
+ },
+ "Members@odata.count": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
+ },
+ "Members@odata.nextLink": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/nextLink"
+ },
+ "Name": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
+ "readonly": true
+ },
+ "Oem": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
+ "description": "The OEM extension property.",
+ "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
+ }
+ },
+ "required": [
+ "Members",
+ "Members@odata.count",
+ "@odata.id",
+ "@odata.type",
+ "Name"
+ ],
+ "type": "object"
+ }
+ ],
+ "deletable": false,
+ "insertable": true,
+ "updatable": false,
+ "uris": [
+ "/redfish/v1/PolicyService/Policies"
+ ]
+ }
+ },
+ "language": "en",
+ "owningEntity": "DMTF",
+ "title": "#PolicyCollection.PolicyCollection"
+} \ No newline at end of file