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"
(→Classes) |
(→Classes) |
||
Line 13: | Line 13: | ||
==Classes== | ==Classes== | ||
+ | ===App=== | ||
+ | A prototype of a context instance that holds app-specific data (e.g. Person entity) if any | ||
+ | * subClassOf ContextPrototype | ||
+ | * 1..1 appURI | ||
+ | * 1..1 description | ||
+ | ===AppTemplate=== | ||
+ | A TemplateContext containing a ContextPrototype instance that describes a context to be used to support an app | ||
+ | * 1..1 app | ||
+ | ===Connector=== | ||
+ | A prototype of an SideA/SideB context instance. Abstract. | ||
+ | |||
+ | ===ConnectorTemplate=== | ||
+ | A TemplateContext containing two ContextPrototypes instances that describe each "mirror" context in a connector relationship | ||
+ | * 1..1 sideA | ||
+ | * 1..1 sideB | ||
+ | |||
+ | ===ContextPrototype=== | ||
+ | Abstract class. A prototype of an Context instance. The attributes of the prototype are copied into a Context instance | ||
+ | * 0..1 image | ||
+ | * 0..1 imageType | ||
+ | * 0..1 templateRole | ||
+ | * 0..1 viewRoot | ||
+ | |||
+ | ===SideA=== | ||
+ | A prototype of a context that is one side of a mirrored context pair. The "A" side is a context managed by the same party that created the TemplateContext--the party that defines the overall parameters of the connector relationship. In a person-to-business connector. Side A would typically be the business as it is the business that defines the relationship including the set of attributes that will go back and forth. | ||
+ | * subClassOf: Connector | ||
+ | |||
+ | ===SideB=== | ||
+ | A prototype of a context that is one side of a mirrored context pair. The "B" side is a context managed by the "other" party--not the party that created the TemplateContext that defines the overall parameters of the connector relationship. In a person-to-business connector. Side B would typically be the person. | ||
+ | * subClassOf: Connector | ||
+ | * 0..1 overlayCode | ||
===TemplateContext=== | ===TemplateContext=== | ||
Line 20: | Line 51: | ||
* subclassOf ctxt:Context (see [[Context vocabulary]]) | * subclassOf ctxt:Context (see [[Context vocabulary]]) | ||
+ | |||
+ | ===WebsiteFacade=== | ||
+ | A sideA context that instead of being managed by an external party, is created and managed by local code (e.g. JavaScript running locally) acting as a proxy for the "real" issuer. | ||
+ | * subClassOf: SideA | ||
+ | * 0..1 scrapeFillCode | ||
==Attributes== | ==Attributes== |
Revision as of 20:16, 14 August 2011
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}Vocabulary to describe a Template Context. Contains information necessary to dynamically instantiate regular contexts. Part of the Persona Data Model 2.0.
Contents
Files
- Most recently published
- SVN source: template.owl
UML Overview
Classes
App
A prototype of a context instance that holds app-specific data (e.g. Person entity) if any
- subClassOf ContextPrototype
- 1..1 appURI
- 1..1 description
AppTemplate
A TemplateContext containing a ContextPrototype instance that describes a context to be used to support an app
- 1..1 app
Connector
A prototype of an SideA/SideB context instance. Abstract.
ConnectorTemplate
A TemplateContext containing two ContextPrototypes instances that describe each "mirror" context in a connector relationship
- 1..1 sideA
- 1..1 sideB
ContextPrototype
Abstract class. A prototype of an Context instance. The attributes of the prototype are copied into a Context instance
- 0..1 image
- 0..1 imageType
- 0..1 templateRole
- 0..1 viewRoot
SideA
A prototype of a context that is one side of a mirrored context pair. The "A" side is a context managed by the same party that created the TemplateContext--the party that defines the overall parameters of the connector relationship. In a person-to-business connector. Side A would typically be the business as it is the business that defines the relationship including the set of attributes that will go back and forth.
- subClassOf: Connector
SideB
A prototype of a context that is one side of a mirrored context pair. The "B" side is a context managed by the "other" party--not the party that created the TemplateContext that defines the overall parameters of the connector relationship. In a person-to-business connector. Side B would typically be the person.
- subClassOf: Connector
- 0..1 overlayCode
TemplateContext
A TemplateContext is an abstract class for a context whose attributes act analogous to a "class" for regular context "instances".
- subclassOf ctxt:Context (see Context vocabulary)
WebsiteFacade
A sideA context that instead of being managed by an external party, is created and managed by local code (e.g. JavaScript running locally) acting as a proxy for the "real" issuer.
- subClassOf: SideA
- 0..1 scrapeFillCode
Attributes
desired
Attribute desired by card issuer. Value is an attribute defined by persona.owl or fp.owl
- domain: TemplateContext
- value: rdf:Property
image
Background image to use in CardProxies that point to contexts instantiated from this template context.
- domain: Card
- value: xsd:base64
imageType
Background image to use in CardProxies that point to contexts instantiated from this template context.
- domain: Card
- one of ("JPG", "GIF", "PNG")
provided
Attribute provided by card issuer. Value is an attribute defined by persona.owl or fp.owl
- domain: TemplateContext
- value: rdf:Property
required
Attribute required by card issuer. Value is an attribute defined by persona.owl or fp.owl
- domain: TemplateContext
- value: rdf:Property
role
Default role played by Person entity in contexts instantiated from this template
- domain: TemplateContext
- value: persona:Role
templateRole
The default role that p:Person nodes should inherit when dynamically created with contexts controlled by on this template
- domain: TemplateContext
- value: persona:Role
Example
Example of a NYTimes template (image data is truncated):
:TemplateContext_1 rdf:type template:TemplateContext ; template:desired fp:yearOfBirth ; template:image "00ffafdcee224432"^^xsd:base64Binary ; template:imageType "PNG"^^xsd:string ; template:required fp:email , fp:ageRange , fp:familyName , fp:givenName , fp:postalCode .