Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Template vocabulary"
(New page: {{#eclipseproject:technology.higgins|eclipse_custom_style.css}} right Vocabulary to describe a template context === Files === * Most recently [http:/...) |
|||
Line 1: | Line 1: | ||
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}} [[Image:Higgins logo 76Wx100H.jpg|right]] | {{#eclipseproject:technology.higgins|eclipse_custom_style.css}} [[Image:Higgins logo 76Wx100H.jpg|right]] | ||
− | Vocabulary | + | Vocabulary that describes a Template Context. Contains several kinds of "control" information necessary to instantiate and control (e.g. provide access control policies) for regular context instances. |
=== Files === | === Files === | ||
* Most recently [http://www.eclipse.org/higgins/ontologies/2010/6/template published] | * Most recently [http://www.eclipse.org/higgins/ontologies/2010/6/template published] | ||
* SVN source: [https://dev.eclipse.org/svnroot/technology/org.eclipse.higgins/trunk/ontology/org.eclipse.higgins.ontology/template.owl template.owl] | * SVN source: [https://dev.eclipse.org/svnroot/technology/org.eclipse.higgins/trunk/ontology/org.eclipse.higgins.ontology/template.owl template.owl] | ||
+ | |||
+ | ==UML Overview == | ||
+ | |||
+ | [[Image:Template 2.0.100.png|center]] | ||
+ | |||
+ | ==Classes== | ||
+ | |||
+ | ===<code>TemplateContext</code>=== | ||
+ | Template context. Contains several kinds of "control" information necessary to instantiate and control (e.g. provide access control policies) for regular context instances. | ||
+ | * 0..1 <code>app-data:appData</code> - provides a "template" for the AppData object within a dynamically created AppDataContext | ||
+ | * 1..1 <code>authNMaterials</code> - part of the metadata necessary to dynamically generate an XRDS service endpoint block within an XRDS | ||
+ | * 1..1 <code>contextType</code> - part of the metadata necessary to dynamically generate an XRDS service endpoint block within an XRDS | ||
+ | * 0..N <code>mapping:attributeMap</code> - if present provides RP-to-PDM (and back) vocabulary transformation rules | ||
+ | * 1..1 <code>templateRole</code> - the default role that persona nodes should inherit when dynamically created with contexts controlled by on this template | ||
+ | * 0..1 <code>udiMetadata</code> - part of the metadata necessary to dynamically generate an XRDS service endpoint block within an XRDS | ||
+ | * 1..N <code>used</code> - a list of 1..N attributes that are actually used in contexts controlled by this template context | ||
+ | * 0..N <code>userUpdateable</code> - a list of 0..N attributes that the user (or user agent) is allowed to modify, delete or add to | ||
+ | |||
+ | ===<code>UDIMetadata</code>=== | ||
+ | A set of attribute/values that, taken together, are considered the "Metadata" for the XRDS service endpoint. See http://www.azigo.com/udi/udi-resolution.html#anchor3 for an example. | ||
+ | |||
+ | ==Attributes== | ||
+ | |||
+ | ===<code>authNMaterialsType</code>=== | ||
+ | Type of authentication materials required to open this context. | ||
+ | * domain: TemplateContext | ||
+ | * value: string, one of {"urn:udi:authnmaterials:1.0:usernamePassword"} | ||
+ | |||
+ | ===<code>contextType</code>=== | ||
+ | The type of context endpoint to instantiate from this template. This corresponds to the value of the <Type> element in XRDS resolution (see http://www.azigo.com/udi/udi-resolution.html). | ||
+ | * domain: TemplateContext | ||
+ | * value: string, one of {"$context$sparql" , "$context$xdi"} | ||
+ | |||
+ | ===<code>templateRole</code>=== | ||
+ | The type of context endpoint to instantiate from this template. This corresponds to the value of the <Type> element in XRDS resolution (see http://www.azigo.com/udi/udi-resolution.html). | ||
+ | * domain: TemplateContext | ||
+ | * value: persona:Role | ||
+ | |||
+ | ==Example== | ||
+ | |||
+ | Here is a sample TemplateContext. It contains all of the metadata necessary to dynamically create the UDI service endpoint shown in this [http://www.azigo.com/udi/udi-resolution.html#anchor3 sample] XRDS discovery document. | ||
+ | |||
+ | :AppData_1 | ||
+ | rdf:type app-data:AppData ; | ||
+ | app-data:appDescription | ||
+ | "A wonderful app"^^xsd:string ; | ||
+ | app-data:appId "1024"^^xsd:string ; | ||
+ | app-data:appService "http://kynetx.com/appServer"^^xsd:anyURI ; | ||
+ | app-data:appServiceType | ||
+ | "kynetx"^^xsd:string ; | ||
+ | app-data:appVersion "2.4"^^xsd:string . | ||
+ | |||
+ | :_ContextSingleton | ||
+ | rdf:type template:TemplateContext ; | ||
+ | template:authNMaterialsType | ||
+ | "urn:udi:authnmaterials:1.0:usernamePassword"^^xsd:string ; | ||
+ | template:contextType | ||
+ | "$context$xdi"^^xsd:string ; | ||
+ | template:udiMetadata UDIMetadata_1 ; | ||
+ | template:used <http://www.w3.org/2006/vcard/ns#bday> , <http://www.w3.org/2006/vcard/ns#postal-code> ; | ||
+ | template:userUpdateable | ||
+ | <http://www.w3.org/2006/vcard/ns#bday> ; | ||
+ | app-data:appData :AppData_1 ; | ||
+ | higgins:vocabulary <http://www.eclipse.org/higgins/ontologies/2010/6/persona> . | ||
+ | |||
+ | :address | ||
+ | rdf:type owl:DatatypeProperty ; | ||
+ | rdfs:domain template:UDIMetadata ; | ||
+ | rdfs:range xsd:string . | ||
+ | |||
+ | :connectionType | ||
+ | rdf:type owl:DatatypeProperty ; | ||
+ | rdfs:domain template:UDIMetadata ; | ||
+ | rdfs:range xsd:string . | ||
+ | |||
+ | :UDIMetadata_1 | ||
+ | rdf:type template:UDIMetadata ; | ||
+ | :address "ldap://ldap.company.net:389"^^xsd:string ; | ||
+ | :connectionType "LDAP"^^xsd:string . | ||
+ | |||
+ | Or visually: | ||
+ | [[Image:Template example v2.png|center]] | ||
+ | |||
+ | Notes: | ||
+ | # userUpdateable attribute not shown above | ||
+ | # vocabulary attribute not shown above | ||
== Links == | == Links == | ||
* [[Persona Data Model 2.0]] | * [[Persona Data Model 2.0]] |
Revision as of 23:49, 13 October 2010
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}Vocabulary that describes a Template Context. Contains several kinds of "control" information necessary to instantiate and control (e.g. provide access control policies) for regular context instances.
Contents
Files
- Most recently published
- SVN source: template.owl
UML Overview
Classes
TemplateContext
Template context. Contains several kinds of "control" information necessary to instantiate and control (e.g. provide access control policies) for regular context instances.
- 0..1
app-data:appData
- provides a "template" for the AppData object within a dynamically created AppDataContext - 1..1
authNMaterials
- part of the metadata necessary to dynamically generate an XRDS service endpoint block within an XRDS - 1..1
contextType
- part of the metadata necessary to dynamically generate an XRDS service endpoint block within an XRDS - 0..N
mapping:attributeMap
- if present provides RP-to-PDM (and back) vocabulary transformation rules - 1..1
templateRole
- the default role that persona nodes should inherit when dynamically created with contexts controlled by on this template - 0..1
udiMetadata
- part of the metadata necessary to dynamically generate an XRDS service endpoint block within an XRDS - 1..N
used
- a list of 1..N attributes that are actually used in contexts controlled by this template context - 0..N
userUpdateable
- a list of 0..N attributes that the user (or user agent) is allowed to modify, delete or add to
UDIMetadata
A set of attribute/values that, taken together, are considered the "Metadata" for the XRDS service endpoint. See http://www.azigo.com/udi/udi-resolution.html#anchor3 for an example.
Attributes
authNMaterialsType
Type of authentication materials required to open this context.
- domain: TemplateContext
- value: string, one of {"urn:udi:authnmaterials:1.0:usernamePassword"}
contextType
The type of context endpoint to instantiate from this template. This corresponds to the value of the <Type> element in XRDS resolution (see http://www.azigo.com/udi/udi-resolution.html).
- domain: TemplateContext
- value: string, one of {"$context$sparql" , "$context$xdi"}
templateRole
The type of context endpoint to instantiate from this template. This corresponds to the value of the <Type> element in XRDS resolution (see http://www.azigo.com/udi/udi-resolution.html).
- domain: TemplateContext
- value: persona:Role
Example
Here is a sample TemplateContext. It contains all of the metadata necessary to dynamically create the UDI service endpoint shown in this sample XRDS discovery document.
:AppData_1 rdf:type app-data:AppData ; app-data:appDescription "A wonderful app"^^xsd:string ; app-data:appId "1024"^^xsd:string ; app-data:appService "http://kynetx.com/appServer"^^xsd:anyURI ; app-data:appServiceType "kynetx"^^xsd:string ; app-data:appVersion "2.4"^^xsd:string . :_ContextSingleton rdf:type template:TemplateContext ; template:authNMaterialsType "urn:udi:authnmaterials:1.0:usernamePassword"^^xsd:string ; template:contextType "$context$xdi"^^xsd:string ; template:udiMetadata UDIMetadata_1 ; template:used <http://www.w3.org/2006/vcard/ns#bday> , <http://www.w3.org/2006/vcard/ns#postal-code> ; template:userUpdateable <http://www.w3.org/2006/vcard/ns#bday> ; app-data:appData :AppData_1 ; higgins:vocabulary <http://www.eclipse.org/higgins/ontologies/2010/6/persona> . :address rdf:type owl:DatatypeProperty ; rdfs:domain template:UDIMetadata ; rdfs:range xsd:string . :connectionType rdf:type owl:DatatypeProperty ; rdfs:domain template:UDIMetadata ; rdfs:range xsd:string . :UDIMetadata_1 rdf:type template:UDIMetadata ; :address "ldap://ldap.company.net:389"^^xsd:string ; :connectionType "LDAP"^^xsd:string .
Or visually:
Notes:
- userUpdateable attribute not shown above
- vocabulary attribute not shown above