19b46bc0bSMyung Bae{ 29b46bc0bSMyung Bae "$id": "http://redfish.dmtf.org/schemas/v1/Role.v1_3_3.json", 39b46bc0bSMyung Bae "$ref": "#/definitions/Role", 49b46bc0bSMyung Bae "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 59b46bc0bSMyung Bae "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", 69b46bc0bSMyung Bae "definitions": { 79b46bc0bSMyung Bae "Actions": { 89b46bc0bSMyung Bae "additionalProperties": false, 99b46bc0bSMyung Bae "description": "The available actions for this resource.", 109b46bc0bSMyung Bae "longDescription": "This type shall contain the available actions for this resource.", 119b46bc0bSMyung Bae "patternProperties": { 129b46bc0bSMyung Bae "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 139b46bc0bSMyung Bae "description": "This property shall specify a valid odata or Redfish property.", 149b46bc0bSMyung Bae "type": [ 159b46bc0bSMyung Bae "array", 169b46bc0bSMyung Bae "boolean", 179b46bc0bSMyung Bae "integer", 189b46bc0bSMyung Bae "number", 199b46bc0bSMyung Bae "null", 209b46bc0bSMyung Bae "object", 219b46bc0bSMyung Bae "string" 229b46bc0bSMyung Bae ] 239b46bc0bSMyung Bae } 249b46bc0bSMyung Bae }, 259b46bc0bSMyung Bae "properties": { 269b46bc0bSMyung Bae "Oem": { 279b46bc0bSMyung Bae "$ref": "#/definitions/OemActions", 289b46bc0bSMyung Bae "description": "The available OEM-specific actions for this resource.", 299b46bc0bSMyung Bae "longDescription": "This property shall contain the available OEM-specific actions for this resource.", 309b46bc0bSMyung Bae "versionAdded": "v1_1_0" 319b46bc0bSMyung Bae } 329b46bc0bSMyung Bae }, 339b46bc0bSMyung Bae "type": "object" 349b46bc0bSMyung Bae }, 359b46bc0bSMyung Bae "OemActions": { 369b46bc0bSMyung Bae "additionalProperties": true, 379b46bc0bSMyung Bae "description": "The available OEM-specific actions for this resource.", 389b46bc0bSMyung Bae "longDescription": "This type shall contain the available OEM-specific actions for this resource.", 399b46bc0bSMyung Bae "patternProperties": { 409b46bc0bSMyung Bae "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 419b46bc0bSMyung Bae "description": "This property shall specify a valid odata or Redfish property.", 429b46bc0bSMyung Bae "type": [ 439b46bc0bSMyung Bae "array", 449b46bc0bSMyung Bae "boolean", 459b46bc0bSMyung Bae "integer", 469b46bc0bSMyung Bae "number", 479b46bc0bSMyung Bae "null", 489b46bc0bSMyung Bae "object", 499b46bc0bSMyung Bae "string" 509b46bc0bSMyung Bae ] 519b46bc0bSMyung Bae } 529b46bc0bSMyung Bae }, 539b46bc0bSMyung Bae "properties": {}, 549b46bc0bSMyung Bae "type": "object" 559b46bc0bSMyung Bae }, 569b46bc0bSMyung Bae "Role": { 579b46bc0bSMyung Bae "additionalProperties": false, 589b46bc0bSMyung Bae "description": "The `Role` schema contains a Redfish role to use in conjunction with a manager account.", 599b46bc0bSMyung Bae "longDescription": "This resource shall represent the Redfish role for the user account.", 609b46bc0bSMyung Bae "patternProperties": { 619b46bc0bSMyung Bae "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 629b46bc0bSMyung Bae "description": "This property shall specify a valid odata or Redfish property.", 639b46bc0bSMyung Bae "type": [ 649b46bc0bSMyung Bae "array", 659b46bc0bSMyung Bae "boolean", 669b46bc0bSMyung Bae "integer", 679b46bc0bSMyung Bae "number", 689b46bc0bSMyung Bae "null", 699b46bc0bSMyung Bae "object", 709b46bc0bSMyung Bae "string" 719b46bc0bSMyung Bae ] 729b46bc0bSMyung Bae } 739b46bc0bSMyung Bae }, 749b46bc0bSMyung Bae "properties": { 759b46bc0bSMyung Bae "@odata.context": { 769b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 779b46bc0bSMyung Bae }, 789b46bc0bSMyung Bae "@odata.etag": { 799b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 809b46bc0bSMyung Bae }, 819b46bc0bSMyung Bae "@odata.id": { 829b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 839b46bc0bSMyung Bae }, 849b46bc0bSMyung Bae "@odata.type": { 859b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" 869b46bc0bSMyung Bae }, 879b46bc0bSMyung Bae "Actions": { 889b46bc0bSMyung Bae "$ref": "#/definitions/Actions", 899b46bc0bSMyung Bae "description": "The available actions for this resource.", 909b46bc0bSMyung Bae "longDescription": "This property shall contain the available actions for this resource.", 919b46bc0bSMyung Bae "versionAdded": "v1_1_0" 929b46bc0bSMyung Bae }, 939b46bc0bSMyung Bae "AlternateRoleId": { 949b46bc0bSMyung Bae "description": "An equivalent role to use when this role is restricted.", 959b46bc0bSMyung Bae "longDescription": "This property shall contain a non-restricted `RoleId` intended to be used in its place when the `Restricted` property contains the value `true`.", 969b46bc0bSMyung Bae "readonly": true, 979b46bc0bSMyung Bae "type": "string", 989b46bc0bSMyung Bae "versionAdded": "v1_3_0" 999b46bc0bSMyung Bae }, 1009b46bc0bSMyung Bae "AssignedPrivileges": { 1019b46bc0bSMyung Bae "description": "The Redfish privileges for this role.", 1029b46bc0bSMyung Bae "items": { 1039b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/Privileges.json#/definitions/PrivilegeType" 1049b46bc0bSMyung Bae }, 1059b46bc0bSMyung Bae "longDescription": "This property shall contain the Redfish privileges for this role. For predefined roles, this property shall be read-only. For custom roles, some implementations may prevent writing to this property.", 1069b46bc0bSMyung Bae "readonly": false, 1079b46bc0bSMyung Bae "type": "array" 1089b46bc0bSMyung Bae }, 1099b46bc0bSMyung Bae "Description": { 1109b46bc0bSMyung Bae "anyOf": [ 1119b46bc0bSMyung Bae { 1129b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" 1139b46bc0bSMyung Bae }, 1149b46bc0bSMyung Bae { 1159b46bc0bSMyung Bae "type": "null" 1169b46bc0bSMyung Bae } 1179b46bc0bSMyung Bae ], 1189b46bc0bSMyung Bae "readonly": true 1199b46bc0bSMyung Bae }, 1209b46bc0bSMyung Bae "Id": { 1219b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", 1229b46bc0bSMyung Bae "readonly": true 1239b46bc0bSMyung Bae }, 1249b46bc0bSMyung Bae "IsPredefined": { 1259b46bc0bSMyung Bae "description": "An indication of whether the role is predefined by Redfish or an OEM rather than a client-defined role.", 1269b46bc0bSMyung Bae "longDescription": "This property shall indicate whether the role is predefined by Redfish or an OEM as contrasted with a client-defined role. If this property is not present, the value should be assumed to be `false`.", 1279b46bc0bSMyung Bae "readonly": true, 1289b46bc0bSMyung Bae "type": "boolean" 1299b46bc0bSMyung Bae }, 1309b46bc0bSMyung Bae "Name": { 1319b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", 1329b46bc0bSMyung Bae "readonly": true 1339b46bc0bSMyung Bae }, 1349b46bc0bSMyung Bae "Oem": { 1359b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", 1369b46bc0bSMyung Bae "description": "The OEM extension property.", 1379b46bc0bSMyung Bae "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." 1389b46bc0bSMyung Bae }, 1399b46bc0bSMyung Bae "OemPrivileges": { 1409b46bc0bSMyung Bae "description": "The OEM privileges for this role.", 1419b46bc0bSMyung Bae "items": { 1429b46bc0bSMyung Bae "type": "string" 1439b46bc0bSMyung Bae }, 1449b46bc0bSMyung Bae "longDescription": "This property shall contain the OEM privileges for this role. For predefined roles, this property shall be read-only. For custom roles, some implementations may prevent writing to this property.", 1459b46bc0bSMyung Bae "readonly": false, 1469b46bc0bSMyung Bae "type": "array" 1479b46bc0bSMyung Bae }, 1489b46bc0bSMyung Bae "Restricted": { 1499b46bc0bSMyung Bae "description": "An indication of whether use of the role is restricted.", 1509b46bc0bSMyung Bae "longDescription": "This property shall indicate whether use of the role is restricted by a service as defined by the 'Restricted roles and restricted privileges' clause of the Redfish Specification. If this property is not present, the value shall be assumed to be `false`.", 1519b46bc0bSMyung Bae "readonly": true, 1529b46bc0bSMyung Bae "type": "boolean", 1539b46bc0bSMyung Bae "versionAdded": "v1_3_0" 1549b46bc0bSMyung Bae }, 1559b46bc0bSMyung Bae "RoleId": { 1569b46bc0bSMyung Bae "description": "The name of the role.", 1579b46bc0bSMyung Bae "longDescription": "This property shall contain the string name of the role. This property shall contain the same value as the `Id` property.", 1589b46bc0bSMyung Bae "readonly": true, 1599b46bc0bSMyung Bae "type": "string", 1609b46bc0bSMyung Bae "versionAdded": "v1_2_0" 1619b46bc0bSMyung Bae } 1629b46bc0bSMyung Bae }, 1639b46bc0bSMyung Bae "required": [ 1649b46bc0bSMyung Bae "@odata.id", 1659b46bc0bSMyung Bae "@odata.type", 1669b46bc0bSMyung Bae "Id", 1679b46bc0bSMyung Bae "Name", 1689b46bc0bSMyung Bae "RoleId" 1699b46bc0bSMyung Bae ], 1709b46bc0bSMyung Bae "requiredOnCreate": [ 1719b46bc0bSMyung Bae "RoleId" 1729b46bc0bSMyung Bae ], 1739b46bc0bSMyung Bae "type": "object" 1749b46bc0bSMyung Bae } 1759b46bc0bSMyung Bae }, 1769b46bc0bSMyung Bae "language": "en", 1779b46bc0bSMyung Bae "owningEntity": "DMTF", 1789b46bc0bSMyung Bae "release": "2020.4", 1799b46bc0bSMyung Bae "title": "#Role.v1_3_3.Role" 1809b46bc0bSMyung Bae}