Text from XDI dictionary discussion today

7 views
Skip to first unread message

Drummond Reed

unread,
Oct 22, 2010, 2:25:26 PM10/22/10
to personal...@googlegroups.com
Below is what we worked on today in our XDI dictionary discussion:

START OF XDI PDX DICTIONARY

 

{

!

      {

            $()

                  +string

                  +number

                  +boolean

+email

      {

            $!

                  +string!

            $*

                  +person

                  +org

            $()

                  +personal

                  +work

+web

      {

            $!

                  $uri+string!

            $min-values

                  “0”

            $max-values

                  “1”

            $*

                  +person

                  +org

            $()

                  +blog

                  +work

                  +personal

                  +rss

                  +photo

+name

      {

            $!

                  +string!

            $*

                  +person

            $()

                  +givenName

                  +sn

                  +middle

                  +nickName

                  +maiden

+personal

      {

            $!

                  $

            $*

                  +person

            ()

                  +email

                  +web

}


EXAMPLES OF INVERSE STATEMENTS


+personal/()/+email

+email/$()/+personal

 

=drummond/+son/=gardner

=gardner/$+son/=drummond

 

EXAMPLE INSTANCE DOCUMENT (IN X3 SHORT)

 

{

      @gluu

            {

                  *mike

                        {

                              $!

                                    +person

                              +email

                                    {

                                          !1

                                                mi...@gmail.com

                                          !2

                                                mi...@gluu.com

                                          $()

                                                +personal

                                                +work

                              +personal+email

                                    (@gluu*mike+email/!1)

                              +work+email

                                    (@gluu*mike+email/!2)

}

 

 


Reply all
Reply to author
Forward
0 new messages