forked from hbacila/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pretty-print all JSON according to style guide adobe#22
- Loading branch information
Showing
106 changed files
with
2,088 additions
and
1,849 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,35 @@ | ||
{ | ||
"meta:license": [ | ||
"Copyright 2017 Adobe Systems Incorporated. All rights reserved.", | ||
"This file is licensed to you under the Apache License, Version 2.0 (the 'License');", | ||
"you may not use this file except in compliance with the License. You may obtain a copy", | ||
"of the License at http://www.apache.org/licenses/LICENSE-2.0" | ||
], | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"$id": "https://ns.adobe.com/xdm-extensions/aem/user", | ||
"title": "AEM User", | ||
"description": "This model represents an [AEM User](https://jackrabbit.apache.org/api/2.8/org/apache/jackrabbit/api/security/user/User.html). The associated principal with this AEM User is the principal returned by [`User.getPrincipal()`](https://jackrabbit.apache.org/api/2.8/org/apache/jackrabbit/api/security/user/Authorizable.html#getPrincipal()).", | ||
"definitions": { | ||
"user": { | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"description": "The value `User.getPrincipal().getName()`. This identifier is unique and persistent per AEM repository, with one caveat, that this identifier could be reassigned.", | ||
"type": "string" | ||
}, | ||
"type": { | ||
"type": "string", | ||
"const": "https://ns.adobe.com/xdm/aem/user" | ||
} | ||
} | ||
"meta:license": [ | ||
"Copyright 2017 Adobe Systems Incorporated. All rights reserved.", | ||
"This file is licensed to you under the Apache License, Version 2.0 (the 'License');", | ||
"you may not use this file except in compliance with the License. You may obtain a copy", | ||
"of the License at http://www.apache.org/licenses/LICENSE-2.0" | ||
], | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"$id": "https://ns.adobe.com/xdm-extensions/aem/user", | ||
"title": "AEM User", | ||
"description": "This model represents an [AEM User](https://jackrabbit.apache.org/api/2.8/org/apache/jackrabbit/api/security/user/User.html). The associated principal with this AEM User is the principal returned by [`User.getPrincipal()`](https://jackrabbit.apache.org/api/2.8/org/apache/jackrabbit/api/security/user/Authorizable.html#getPrincipal()).", | ||
"definitions": { | ||
"user": { | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"description": "The value `User.getPrincipal().getName()`. This identifier is unique and persistent per AEM repository, with one caveat, that this identifier could be reassigned.", | ||
"type": "string" | ||
}, | ||
"type": { | ||
"type": "string", | ||
"const": "https://ns.adobe.com/xdm/aem/user" | ||
} | ||
} | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "https://ns.adobe.com/xdm/common/principal" | ||
}, | ||
"allOf": [ | ||
{ "$ref": "https://ns.adobe.com/xdm/common/principal" }, | ||
{ "$ref": "#/definitions/user" } | ||
] | ||
} | ||
{ | ||
"$ref": "#/definitions/user" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,39 @@ | ||
{ | ||
"meta:license": [ | ||
"Copyright 2017 Adobe Systems Incorporated. All rights reserved.", | ||
"This file is licensed to you under the Apache License, Version 2.0 (the 'License');", | ||
"you may not use this file except in compliance with the License. You may obtain a copy", | ||
"of the License at http://www.apache.org/licenses/LICENSE-2.0" | ||
], | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"$id": "https://ns.adobe.com/xdm-extensions/ims/organization", | ||
"title": "IMS Organization", | ||
"description": "This model represents a IMS Organization. The IMS organization prinicpal is a organization account under Adobe's identity management system (IMS).", | ||
"definitions": { | ||
"organization": { | ||
"type": "object", | ||
"properties": { | ||
"identity_provider": { | ||
"type": "string", | ||
"const": "ims" | ||
}, | ||
"id": { | ||
"description": "Principal id identifies an organization in IMS. It is a unique and persitent identifier which is allocated at the time the organization is created in the system. An organization's admin can find this value by logging into the [adminconsole](https://adminconsole.adobe.com) and parsing the resource URL they are redirected to.", | ||
"type": "string" | ||
}, | ||
"type": { | ||
"type": "string", | ||
"const": "https://ns.adobe.com/xdm-extensions/ims/organization" | ||
} | ||
} | ||
"meta:license": [ | ||
"Copyright 2017 Adobe Systems Incorporated. All rights reserved.", | ||
"This file is licensed to you under the Apache License, Version 2.0 (the 'License');", | ||
"you may not use this file except in compliance with the License. You may obtain a copy", | ||
"of the License at http://www.apache.org/licenses/LICENSE-2.0" | ||
], | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"$id": "https://ns.adobe.com/xdm-extensions/ims/organization", | ||
"title": "IMS Organization", | ||
"description": "This model represents a IMS Organization. The IMS organization prinicpal is a organization account under Adobe's identity management system (IMS).", | ||
"definitions": { | ||
"organization": { | ||
"type": "object", | ||
"properties": { | ||
"identity_provider": { | ||
"type": "string", | ||
"const": "ims" | ||
}, | ||
"id": { | ||
"description": "Principal id identifies an organization in IMS. It is a unique and persitent identifier which is allocated at the time the organization is created in the system. An organization's admin can find this value by logging into the [adminconsole](https://adminconsole.adobe.com) and parsing the resource URL they are redirected to.", | ||
"type": "string" | ||
}, | ||
"type": { | ||
"type": "string", | ||
"const": "https://ns.adobe.com/xdm-extensions/ims/organization" | ||
} | ||
} | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "https://ns.adobe.com/xdm/common/principal" | ||
}, | ||
"allOf": [ | ||
{ "$ref": "https://ns.adobe.com/xdm/common/principal" }, | ||
{ "$ref": "#/definitions/organization" } | ||
] | ||
} | ||
{ | ||
"$ref": "#/definitions/organization" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,39 @@ | ||
{ | ||
"meta:license": [ | ||
"Copyright 2017 Adobe Systems Incorporated. All rights reserved.", | ||
"This file is licensed to you under the Apache License, Version 2.0 (the 'License');", | ||
"you may not use this file except in compliance with the License. You may obtain a copy", | ||
"of the License at http://www.apache.org/licenses/LICENSE-2.0" | ||
], | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"$id": "https://ns.adobe.com/xdm-extensions/ims/user", | ||
"title": "IMS User", | ||
"description": "This model represents an authenticated IMS User. The IMS user prinicpal is a user account under Adobe's identity management system (IMS).", | ||
"definitions": { | ||
"user": { | ||
"type": "object", | ||
"properties": { | ||
"identity_provider": { | ||
"type": "string", | ||
"const": "ims" | ||
}, | ||
"id": { | ||
"description": "Principal id identifies a user account in IMS. Its value is equivalent to the standard claim, `sub` as mentioned in the [openid connect 1.0 standard claims](http://openid.net/specs/openid-connect-core-1_0.html#StandardClaim). This value can be obtained by fetching the [userinfo resource](http://openid.net/specs/openid-connect-core-1_0.html#UserInfo) for a particular user [in IMS](https://wiki.corp.adobe.com/display/ims/IMS+API+-+userinfo).", | ||
"type": "string" | ||
}, | ||
"type": { | ||
"type": "string", | ||
"const": "https://ns.adobe.com/xdm-extensions/ims/user" | ||
} | ||
} | ||
"meta:license": [ | ||
"Copyright 2017 Adobe Systems Incorporated. All rights reserved.", | ||
"This file is licensed to you under the Apache License, Version 2.0 (the 'License');", | ||
"you may not use this file except in compliance with the License. You may obtain a copy", | ||
"of the License at http://www.apache.org/licenses/LICENSE-2.0" | ||
], | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"$id": "https://ns.adobe.com/xdm-extensions/ims/user", | ||
"title": "IMS User", | ||
"description": "This model represents an authenticated IMS User. The IMS user prinicpal is a user account under Adobe's identity management system (IMS).", | ||
"definitions": { | ||
"user": { | ||
"type": "object", | ||
"properties": { | ||
"identity_provider": { | ||
"type": "string", | ||
"const": "ims" | ||
}, | ||
"id": { | ||
"description": "Principal id identifies a user account in IMS. Its value is equivalent to the standard claim, `sub` as mentioned in the [openid connect 1.0 standard claims](http://openid.net/specs/openid-connect-core-1_0.html#StandardClaim). This value can be obtained by fetching the [userinfo resource](http://openid.net/specs/openid-connect-core-1_0.html#UserInfo) for a particular user [in IMS](https://wiki.corp.adobe.com/display/ims/IMS+API+-+userinfo).", | ||
"type": "string" | ||
}, | ||
"type": { | ||
"type": "string", | ||
"const": "https://ns.adobe.com/xdm-extensions/ims/user" | ||
} | ||
} | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "https://ns.adobe.com/xdm/common/principal" | ||
}, | ||
"allOf": [ | ||
{ "$ref": "https://ns.adobe.com/xdm/common/principal" }, | ||
{ "$ref": "#/definitions/user" } | ||
] | ||
} | ||
{ | ||
"$ref": "#/definitions/user" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
"origin_y": 0, | ||
"origin_x": 256, | ||
"unit": "pixels" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ | |
"xdm:size": 1632418, | ||
"xdm:path": "here", | ||
"xdm:etag": "15" | ||
} | ||
} |
Oops, something went wrong.