components:
  schemas:
    PrivilegeRegistry_v1_0_2_Mapping:
      additionalProperties: false
      description: This type describes a mapping between an entity and the relevant
        privileges used to access it.
      properties:
        Entity:
          description: Indicates entity name. e.g., Manager.
          readOnly: true
          type: string
          x-longDescription: Indicates entity name. e.g., Manager.
        OperationMap:
          $ref: '#/components/schemas/PrivilegeRegistry_v1_0_2_OperationMap'
          description: List mapping between HTTP method and privilege required for
            entity.
          x-longDescription: List mapping between HTTP method and privilege required
            for entity.
        PropertyOverrides:
          description: Indicates privilege overrides of property or element within
            a entity.
          items:
            $ref: '#/components/schemas/PrivilegeRegistry_v1_0_2_Target_PrivilegeMap'
            nullable: true
          type: array
          x-longDescription: Indicates privilege overrides of property or element.
            e.g., password property.
        ResourceURIOverrides:
          description: Indicates privilege overrides of Resource URI.
          items:
            $ref: '#/components/schemas/PrivilegeRegistry_v1_0_2_Target_PrivilegeMap'
            nullable: true
          type: array
          x-longDescription: Indicates privilege overrides of Resource URI. Target
            lists Resource URI.
        SubordinateOverrides:
          description: Indicates privilege overrides of subordinate resource.
          items:
            $ref: '#/components/schemas/PrivilegeRegistry_v1_0_2_Target_PrivilegeMap'
            nullable: true
          type: array
          x-longDescription: Indicates privilege overrides of subordinate resource.
            Target lists referenced by Entity.
      type: object
      x-longDescription: This type shall describe a mapping between an entity and
        the relevant privileges used to access it.
      x-patternProperties:
        ^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\.[a-zA-Z_][a-zA-Z0-9_.]+$:
          description: This property shall specify a valid odata or Redfish property.
    PrivilegeRegistry_v1_0_2_OperationMap:
      additionalProperties: false
      description: Used for describing the specific privileges for a set of HTTP operations.
      properties:
        DELETE:
          description: Indicates privilege required for HTTP DELETE operation.
          items:
            $ref: '#/components/schemas/PrivilegeRegistry_v1_0_2_OperationPrivilege'
          type: array
          x-longDescription: Indicates privilege required for HTTP DELETE operation.
        GET:
          description: Indicates privilege required for HTTP GET operation.
          items:
            $ref: '#/components/schemas/PrivilegeRegistry_v1_0_2_OperationPrivilege'
          type: array
          x-longDescription: Indicates privilege required for HTTP GET operation.
        HEAD:
          description: Indicates privilege required for HTTP HEAD operation.
          items:
            $ref: '#/components/schemas/PrivilegeRegistry_v1_0_2_OperationPrivilege'
          type: array
          x-longDescription: Indicates privilege required for HTTP HEAD operation.
        PATCH:
          description: Indicates privilege required for HTTP PATCH operation.
          items:
            $ref: '#/components/schemas/PrivilegeRegistry_v1_0_2_OperationPrivilege'
          type: array
          x-longDescription: Indicates privilege required for HTTP PATCH operation.
        POST:
          description: Indicates privilege required for HTTP POST operation.
          items:
            $ref: '#/components/schemas/PrivilegeRegistry_v1_0_2_OperationPrivilege'
          type: array
          x-longDescription: Indicates privilege required for HTTP POST operation.
        PUT:
          description: Indicates privilege required for HTTP PUT operation.
          items:
            $ref: '#/components/schemas/PrivilegeRegistry_v1_0_2_OperationPrivilege'
          type: array
          x-longDescription: Indicates privilege required for HTTP PUT operation.
      type: object
      x-longDescription: This type shall describe the specific privileges required
        for a set of HTTP operations.
      x-patternProperties:
        ^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\.[a-zA-Z_][a-zA-Z0-9_.]+$:
          description: This property shall specify a valid odata or Redfish property.
    PrivilegeRegistry_v1_0_2_OperationPrivilege:
      additionalProperties: false
      description: Used for describing the specific privileges for a given type of
        HTTP operation.
      properties:
        Privilege:
          description: Lists the privileges that are allowed to perform the given
            type of HTTP operation on the entity type.
          items:
            type: string
          readOnly: true
          type: array
          x-longDescription: This array shall contain a set of strings that match
            0 or more of the strings found in the PrivilegesUsed and OEMPrivilegesUsed
            properties.
      type: object
      x-longDescription: This type shall describe the specific privileges required
        for a given type of HTTP operation.
      x-patternProperties:
        ^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\.[a-zA-Z_][a-zA-Z0-9_.]+$:
          description: This property shall specify a valid odata or Redfish property.
    PrivilegeRegistry_v1_0_2_PrivilegeRegistry:
      additionalProperties: false
      description: This is the schema definition for Operation to Privilege mapping.
      properties:
        '@odata.context':
          $ref: http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.yaml#/components/schemas/odata_v4_0_1_context
        '@odata.id':
          $ref: http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.yaml#/components/schemas/odata_v4_0_1_id
        '@odata.type':
          $ref: http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.yaml#/components/schemas/odata_v4_0_1_type
        Description:
          $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Description
          nullable: true
          readOnly: true
        Id:
          $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Id
          readOnly: true
        Mappings:
          items:
            $ref: '#/components/schemas/PrivilegeRegistry_v1_0_2_Mapping'
          type: array
        Name:
          $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Name
          readOnly: true
        OEMPrivilegesUsed:
          description: Lists the set of OEM Priviliges used in building this mapping.
          items:
            type: string
          readOnly: true
          type: array
        Oem:
          $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Oem
          description: This is the manufacturer/provider specific extension moniker
            used to divide the Oem object into sections.
          x-longDescription: The value of this string shall be of the format for the
            reserved word *Oem*.
        PrivilegesUsed:
          description: Lists the set of Redfish standard priviliges used in building
            this mapping.
          items:
            $ref: http://redfish.dmtf.org/schemas/v1/Privileges.yaml#/components/schemas/Privileges_PrivilegeType
          readOnly: true
          type: array
      required:
      - Id
      - Name
      type: object
      x-longDescription: This resource shall be used to represent operation to privilege
        mappings.
      x-patternProperties:
        ^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\.[a-zA-Z_][a-zA-Z0-9_.]+$:
          description: This property shall specify a valid odata or Redfish property.
    PrivilegeRegistry_v1_0_2_Target_PrivilegeMap:
      additionalProperties: false
      description: This type describes a mapping between one or more targets and the
        HTTP operations associated with them.
      properties:
        OperationMap:
          $ref: '#/components/schemas/PrivilegeRegistry_v1_0_2_OperationMap'
          description: List mapping between HTTP operation and privilege needed to
            perform operation.
          nullable: true
          x-longDescription: List mapping between HTTP operation and privilege needed
            to perform operation.
        Targets:
          description: Indicates the URI or Entity.
          items:
            nullable: true
            type: string
          readOnly: true
          type: array
          x-longDescription: Indicates the set of URI(s) or Entity(s) or property(s).
            e.g./redfish/v1/Systems/1, Manager, Password. When targets property is
            not mentioned, then there is no override.
      type: object
      x-longDescription: This type shall describe a mapping between one or more targets
        and the HTTP operations associated with them.
      x-patternProperties:
        ^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\.[a-zA-Z_][a-zA-Z0-9_.]+$:
          description: This property shall specify a valid odata or Redfish property.
title: '#PrivilegeRegistry.v1_0_2.PrivilegeRegistry'
x-copyright: Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF). For
  the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright
