You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2013/10/01 21:47:08 UTC
svn commit: r1528189 -
/directory/escimo/branches/json-schema-experiment/client/src/main/resources/example-user.json
Author: kayyagari
Date: Tue Oct 1 19:47:07 2013
New Revision: 1528189
URL: http://svn.apache.org/r1528189
Log:
example User resource document
Added:
directory/escimo/branches/json-schema-experiment/client/src/main/resources/example-user.json
Added: directory/escimo/branches/json-schema-experiment/client/src/main/resources/example-user.json
URL: http://svn.apache.org/viewvc/directory/escimo/branches/json-schema-experiment/client/src/main/resources/example-user.json?rev=1528189&view=auto
==============================================================================
--- directory/escimo/branches/json-schema-experiment/client/src/main/resources/example-user.json (added)
+++ directory/escimo/branches/json-schema-experiment/client/src/main/resources/example-user.json Tue Oct 1 19:47:07 2013
@@ -0,0 +1,128 @@
+{
+ "schemas": ["urn:scim:schemas:core:2.0:User"],
+ "id": "2819c223-7f76-453a-919d-413861904646",
+ "externalId": "701984",
+ "userName": "bjensen@example.com",
+ "name": {
+ "formatted": "Ms. Barbara J Jensen III",
+ "familyName": "Jensen",
+ "givenName": "Barbara",
+ "middleName": "Jane",
+ "honorificPrefix": "Ms.",
+ "honorificSuffix": "III"
+ },
+ "displayName": "Babs Jensen",
+ "nickName": "Babs",
+ "profileUrl": "https://login.example.com/bjensen",
+ "emails": [
+ {
+ "value": "bjensen@example.com",
+ "type": "work",
+ "primary": true
+ },
+ {
+ "value": "babs@jensen.org",
+ "type": "home"
+ }
+ ],
+ "addresses": [
+ {
+ "type": "work",
+ "streetAddress": "100 Universal City Plaza",
+ "locality": "Hollywood",
+ "region": "CA",
+ "postalCode": "91608",
+ "country": "USA",
+ "formatted": "100 Universal City Plaza\nHollywood, CA 91608 USA",
+ "primary": true
+ },
+ {
+ "type": "home",
+ "streetAddress": "456 Hollywood Blvd",
+ "locality": "Hollywood",
+ "region": "CA",
+ "postalCode": "91608",
+ "country": "USA",
+ "formatted": "456 Hollywood Blvd\nHollywood, CA 91608 USA"
+ }
+ ],
+ "phoneNumbers": [
+ {
+ "value": "555-555-5555",
+ "type": "work"
+ },
+ {
+ "value": "555-555-4444",
+ "type": "mobile"
+ }
+ ],
+ "ims": [
+ {
+ "value": "someaimhandle",
+ "type": "aim"
+ }
+ ],
+ "photos": [
+ {
+ "value": "https://photos.example.com/profilephoto/72930000000Ccne/F",
+ "type": "photo"
+ },
+ {
+ "value": "https://photos.example.com/profilephoto/72930000000Ccne/T",
+ "type": "thumbnail"
+ }
+ ],
+ "userType": "Employee",
+ "title": "Tour Guide",
+ "preferredLanguage":"en_US",
+ "locale": "en_US",
+ "timezone": "America/Los_Angeles",
+ "active":true,
+ "password":"t1meMa$heen",
+ "groups": [
+ {
+ "value": "e9e30dba-f08f-4109-8486-d5c6a331660a",
+ "$ref": "https://example.com/v1/Groups/e9e30dba-f08f-4109-8486-d5c6a331660a",
+ "display": "Tour Guides"
+ },
+ {
+ "value": "fc348aa8-3835-40eb-a20b-c726e15c55b5",
+ "$ref": "https://example.com/v1/Groups/fc348aa8-3835-40eb-a20b-c726e15c55b5",
+ "display": "Employees"
+ },
+ {
+ "value": "71ddacd2-a8e7-49b8-a5db-ae50d0a5bfd7",
+ "$ref": "https://example.com/v1/Groups/71ddacd2-a8e7-49b8-a5db-ae50d0a5bfd7",
+ "display": "US Employees"
+ }
+ ],
+ "x509Certificates": [
+ {
+ "value": "MIIDQzCCAqygAwIBAgICEAAwDQYJKoZIhvcNAQEFBQAwTjELMAkGA1UEBhMCVVMx
+ EzARBgNVBAgMCkNhbGlmb3JuaWExFDASBgNVBAoMC2V4YW1wbGUuY29tMRQwEgYD
+ VQQDDAtleGFtcGxlLmNvbTAeFw0xMTEwMjIwNjI0MzFaFw0xMjEwMDQwNjI0MzFa
+ MH8xCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRQwEgYDVQQKDAtl
+ eGFtcGxlLmNvbTEhMB8GA1UEAwwYTXMuIEJhcmJhcmEgSiBKZW5zZW4gSUlJMSIw
+ IAYJKoZIhvcNAQkBFhNiamVuc2VuQGV4YW1wbGUuY29tMIIBIjANBgkqhkiG9w0B
+ AQEFAAOCAQ8AMIIBCgKCAQEA7Kr+Dcds/JQ5GwejJFcBIP682X3xpjis56AK02bc
+ 1FLgzdLI8auoR+cC9/Vrh5t66HkQIOdA4unHh0AaZ4xL5PhVbXIPMB5vAPKpzz5i
+ PSi8xO8SL7I7SDhcBVJhqVqr3HgllEG6UClDdHO7nkLuwXq8HcISKkbT5WFTVfFZ
+ zidPl8HZ7DhXkZIRtJwBweq4bvm3hM1Os7UQH05ZS6cVDgweKNwdLLrT51ikSQG3
+ DYrl+ft781UQRIqxgwqCfXEuDiinPh0kkvIi5jivVu1Z9QiwlYEdRbLJ4zJQBmDr
+ SGTMYn4lRc2HgHO4DqB/bnMVorHB0CC6AV1QoFK4GPe1LwIDAQABo3sweTAJBgNV
+ HRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZp
+ Y2F0ZTAdBgNVHQ4EFgQU8pD0U0vsZIsaA16lL8En8bx0F/gwHwYDVR0jBBgwFoAU
+ dGeKitcaF7gnzsNwDx708kqaVt0wDQYJKoZIhvcNAQEFBQADgYEAA81SsFnOdYJt
+ Ng5Tcq+/ByEDrBgnusx0jloUhByPMEVkoMZ3J7j1ZgI8rAbOkNngX8+pKfTiDz1R
+ C4+dx8oU6Za+4NJXUjlL5CvV6BEYb1+QAEJwitTVvxB/A67g42/vzgAtoRUeDov1
+ +GFiBZ+GNF/cAYKcMtGcrs2i97ZkJMo="
+ }
+ ],
+ "meta": {
+ "resourceType": "User",
+ "created": "2010-01-23T04:56:22Z",
+ "lastModified": "2011-05-13T04:42:34Z",
+ "version": "W\/\"a330bc54f0671c9\"",
+ "location": "https://example.com/v1/Users/2819c223-7f76-453a-919d-413861904646"
+ }
+ }
\ No newline at end of file