-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprincipal.schema.json
34 lines (34 loc) · 1.53 KB
/
principal.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"meta:license": [
"Copyright 2017 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$schema": "http://json-schema.org/draft-06/schema#",
"$id": "https://ns.adobe.com/xdm/common/principal",
"title": "Principal",
"description":
"This model represents a principal in an access control system. Principals are entities that have been authenticated against an identity provider.",
"type": "object",
"meta:extensible": false,
"properties": {
"xdm:provider": {
"description": "The identity provider that manages this principal.",
"$ref": "https://ns.adobe.com/xdm/common/identity-provider"
},
"@id": {
"type": "string",
"description":
"A unique (uniqueness is defined on the same lines as defined [here](https://tools.ietf.org/html/rfc8141#section-5)) and persistent identifier for the principal. Ideally, this identifier should be a [URI](https://tools.ietf.org/html/rfc3986)."
},
"@type": {
"type": "string",
"format": "uri",
"description":
"The type of the principal. Acts as a processing hint to the client. Ideally, each value should be identified as a [URI](https://tools.ietf.org/html/rfc3986)."
}
},
"required": ["xdm:provider", "@id", "@type"],
"meta:status": "experimental"
}