Skip to content

Latest commit

 

History

History
94 lines (53 loc) · 2.59 KB

principal.schema.md

File metadata and controls

94 lines (53 loc) · 2.59 KB

Principal Schema

https://ns.adobe.com/xdm/common/principal

This model represents a principal in an access control system. Principals are entities that have been authenticated against an identity provider.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated No Experimental No Forbidden Permitted common/principal.schema.json

Schema Hierarchy

  • Principal https://ns.adobe.com/xdm/common/principal

Principal Example

{
  "xdm:provider": {
    "@id": "https://ims-na1.adobelogin.com/"
  },
  "@id": "C0B648DE57D701277F000101@AdobeID",
  "@type": "https://ns.adobe.com/adobecloudplatform/ims/user"
}

Principal Properties

Property Type Required Defined by
@id string Required Principal (this schema)
@type string Required Principal (this schema)
xdm:provider Identity Provider Required Principal (this schema)
* any Additional this schema allows additional properties

@id

A unique (uniqueness is defined on the same lines as defined here) and persistent identifier for the principal. Ideally, this identifier should be a URI.

@id

  • is required
  • type: string
  • defined in this schema

@id Type

string

@type

The type of the principal. Acts as a processing hint to the client. Ideally, each value should be identified as a URI.

@type

  • is required
  • type: string
  • defined in this schema

@type Type

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

xdm:provider

The identity provider that manages this principal.

xdm:provider

  • is required
  • type: Identity Provider
  • defined in this schema

xdm:provider Type