Difference between revisions of "Proxy vocabulary"

From Eclipsepedia

Jump to: navigation, search
(Proxy Attributes)
Line 136: Line 136:
 
* value: xsd:string
 
* value: xsd:string
  
=== hasConnector ===
 
If true this PDS instance is deployed with a connector that can integrate with the external object
 
* value: xsd:boolean
 
  
 
=== image ===
 
=== image ===
Line 149: Line 146:
 
Entity stored in local data store that is a local representation of the external object represented by this Proxy.
 
Entity stored in local data store that is a local representation of the external object represented by this Proxy.
 
* value: higgins:Agent
 
* value: higgins:Agent
 
=== sendsEmails ===
 
If true the external website sends emails to those on its mailing list
 
* value: xsd:boolean
 
  
 
==XRI 2.0 Attributes==
 
==XRI 2.0 Attributes==

Revision as of 21:44, 27 June 2012

A proxy is an object that stands in for a "real" object that is stored in the local Attribute Data Store (ADS). The proxy's proxy:resource URI that is a link to the "real" object. To support a visual representation of a proxy, proxies have optional background color, image and imageType attributes.

Subclasses of Proxy exist that add a second reference--a reference to an object stored external to the local ADS. Specific subclasses indicate the protocol used to access it, and any authentication materials required).

Part of the Persona Data Model 2.0.

Contents

Files

UML Overview

Proxy-2.0.123.png

Classes

App

An App Proxy references an h:Agent (usually a p:Person) that an App (a PDS add-on) can use for local storage.

  • subClassOf Proxy
  • description xsd:String

Connection

Abstract class. A metaphor representing an attribute data channel to/from an external party. The connectionType attribute indicates the nature of the party on the other end of the connection.

  • subClassOf Proxy
  • 1..1 externalResource
  • 1..1 connectionType

Known subclasses of Connection: I-Card (See I-Card vocabulary), WebLogin, LinkedData, XRI2.0

LinkedData

A reference to an external representation (e.g. a person) stored as Linked Data in the Semantic Web (probably using FOAF). See (http://linkeddatabook.com/editions/1.0/). The value of its inherited externalResource attribute is a LinkedData URI (303 or Hash)

  • subClassOf Connection

WebLogin

A connection that uses HTML screen scraping and form filling to read/write from/to an external website. The 'externalResource' is the URI of the homepage of this site. If login is required then userid and password are the values required to login.

  • subClassOf: Connection
  • 0..1 invalidCredentials
  • 0..1 neverRememberPassword
  • 0..1 password
  • 0..1 userid
  • 0..1 loginPage
  • 0..1 registerPage
  • 0..1 subscribePage
  • 0..1 hasConnector
  • 0..1 sendsEmails

Proxy

A (abstract) proxy for an object that is stored external to the local data store. Concrete subclasses of Proxy specify how this external object it accessed (e.g. by specifying location of the object, the used protocol to access it, and any authentication materials required). Each Proxy instance has a resource attribute that is a reference to a representation of the external object in a context in the local data store. Some Proxies may be represented as visual icons/metaphors in a UI. To support this it has optional background color, image/imageType or imageURL attributes

  • 1..1 displayName
  • 1..1 resource
  • 1..1 template
  • 0..1 backgroundColor
  • 0..1 image
  • 0..1 imageType
  • 0..1 imageURL

XRI2.0

A reference to an external representation (e.g. a person). The value of the inherited externalReference attribute is an XRI 2.0 URI. Dereferences to an XRDS discovery document.

  • subClassOf Card
  • 0..1 app-data:appData - provides a "template" for the AppData object within a dynamically created AppDataContext (see App-data vocabulary)
  • 1..1 authNMaterialsType
  • 1..1 contextType
  • 0..1 udiMetadata

UDIMetadata

A set of attribute/values that, taken together, are considered the "metadata" for the XRDS service endpoint.

Connection Attributes

externalResource

URI of a resource external to the ADS. Different Connection subclasses interpret this differently.

  • value: xsd:anyURI

connectionType

Indication of the nature of the counter party of this connection. If the value is "business" then the counterparty pointed to by 'externalResource' is some kind of organization. If the value is "person" then 'externalResource' is an identifier of a person (e.g. if this is a LinkedData Connection then it could be the URI of the "me" entity in a FOAF file). If the value is "ad" then this Connection is a connection to a set of businesses (e.g. Google, Yahoo, Bizo, Excelate, etc.) from which interests & demographics can be read and to which user-managed values of such can be written.

  • value: one of ("business", "person", "ad")

WebLogin Attributes

domain

DND domain name of this site (e.g. nytimes.com)

  • value: xsd:string

imageURL

Optional URL of background image. An alternative to the embedded image/imageType attributes.

  • value: foaf:Image

invalidCredentials

If true, then some attempt has been made to use the userid/password but the login failed.

  • domain: WebLogin
  • value: xsd:boolean

loginPage

URL of a page where a user can login to this site.

  • value: Entity

neverRememberPassword

If true then don't ever capture/remember the password that the user just typed in.

  • domain: WebLogin
  • value: xsd:boolean

password

Password used in conjunction with userid to login user.

  • domain: WebLogin
  • value: xsd:string

registerPage

URL of a page where the user can register for a new account at this site.

  • value: Entity

subscribePage

URL of a page where the user can subscribe to emails from this site.

  • value: Entity

userid

A userid (that is also an email address) used by an external site to identify the user. E.g. paul@fabrikam.com

  • domain: WebLogin
  • value: p:emailDatatype

useridOnly

A userid (that is not an email address) used by an external site to identify the user. E.g. "john53"

  • domain: WebLogin
  • value: xsd:string

Proxy Attributes

backgroundColor

Background image of a Proxy/Card.

  • value: xsd:string

displayName

Short human-friendly name for this Proxy.

  • value: xsd:string


image

  • value: xsd:base64

imageType

  • one of ("JPG", "GIF", "PNG")

resource

Entity stored in local data store that is a local representation of the external object represented by this Proxy.

  • value: higgins:Agent

XRI 2.0 Attributes

authNMaterialsType

  • domain: XRI2.0
  • value: one of ("urn:udi:authnmaterials:1.0.:usernamePassword")

udiMetadata

UDIMetadata instance

  • domain: XRI2.0
  • value: UDIMetadata

Links