Contents
OSLC Automation 2.0 Appendix B: Resource Shapes
Overview
This defines the definitions of the OSLC Automation 2.0 defined resources utilizing the OSLC Core Shape Resource definition. Implementations may use these shapes as a basis for their work, providing their own property additions and additional constraints on OSLC defined properties.
AutomationPlan
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<oslc:ResourceShape
rdf:about="http://example.com:8080/OSLC4JAutomation/resourceShapes/autoPlan">
<dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Automation Plan Resource Shape</dcterms:title>
<oslc:describes rdf:resource="http://open-services.net/ns/auto#AutomationPlan" />
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/title" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Exactly-one" />
<oslc:valueType
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Title</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Title (reference: Dublin Core) or often a single line summary of
the resource represented as rich text in XHTML content.
</dcterms:description>
<oslc:name>title</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/modified" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Modified</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Timestamp last latest resource modification.</dcterms:description>
<oslc:readOnly>true</oslc:readOnly>
<oslc:name>modified</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/description" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:valueType
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Description</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Descriptive text (reference: Dublin Core) about resource
represented as rich text in XHTML content.</dcterms:description>
<oslc:name>description</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/contributor" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Contributors</dcterms:title>
<oslc:range rdf:resource="http://xmlns.com/foaf/0.1/Person" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
The person(s) who are responsible for the work needed to complete
the test case.</dcterms:description>
<oslc:name>contributor</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/auto#parameterDefinition" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#LocalResource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Parameter Definition</dcterms:title>
<oslc:range rdf:resource="http://open-services.net/ns/core#Property" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
The definition of a parameter for this Automation Plan.
</dcterms:description>
<oslc:readOnly>false</oslc:readOnly>
<oslc:name>parameterDefinition</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/subject" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Subjects</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Tag or keyword for a resource. Each occurrence of a dcterms:subject
property denotes an additional tag for the resource.
</dcterms:description>
<oslc:readOnly>false</oslc:readOnly>
<oslc:name>subject</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/identifier" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Exactly-one" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Identifier</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
A unique identifier for a resource. Assigned by the service
provider when a resource is created. Not intended for end-user
display.</dcterms:description>
<oslc:readOnly>true</oslc:readOnly>
<oslc:name>identifier</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/created" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Created</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Timestamp of resource creation.</dcterms:description>
<oslc:readOnly>true</oslc:readOnly>
<oslc:name>created</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/creator" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Creators</dcterms:title>
<oslc:range rdf:resource="http://xmlns.com/foaf/0.1/Person" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Creator or creators of resource.</dcterms:description>
<oslc:name>creator</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Types</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
The resource type URIs.</dcterms:description>
<oslc:name>type</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/core#serviceProvider" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Service Provider</dcterms:title>
<oslc:range rdf:resource="http://open-services.net/ns/core#ServiceProvider" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
The scope of a resource is a URI for the resource's OSLC Service
Provider.</dcterms:description>
<oslc:name>serviceProvider</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/core#instanceShape" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Instance Shape</dcterms:title>
<oslc:range rdf:resource="http://open-services.net/ns/core#ResourceShape" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Resource Shape that provides hints as to resource property
value-types and allowed values. </dcterms:description>
<oslc:name>instanceShape</oslc:name>
</oslc:Property>
</oslc:property>
</oslc:ResourceShape>
</rdf:RDF>
AutomationRequest
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<oslc:ResourceShape
rdf:about="http://example.com:8080/OSLC4JAutomation/resourceShapes/autoRequest">
<dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Automation Request Resource Shape</dcterms:title>
<oslc:describes rdf:resource="http://open-services.net/ns/auto#AutomationRequest" />
<oslc:property>
<oslc:Property>
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Automation Result States
</dcterms:title>
<oslc:allowedValue>http://open-services.net/ns/auto#canceling
</oslc:allowedValue>
<oslc:propertyDefinition rdf:resource="http://open-services.net/ns/auto#state" />
<oslc:name>state</oslc:name>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
See list of allowed values for oslc_auto:state
</dcterms:description>
<oslc:occurs rdf:resource="http://open-services.net/ns/core#One-or-many" />
<oslc:readOnly>true</oslc:readOnly>
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:allowedValue>http://open-services.net/ns/auto#new
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#inProgress
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#complete
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#queued
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#canceling
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#canceled
</oslc:allowedValue>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>desiredState</oslc:name>
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Desired State
</dcterms:title>
<oslc:readOnly>false</oslc:readOnly>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/auto#desiredState" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Used to indicate the desired state of the Automation
Request based
on values defined by the service provider.
</dcterms:description>
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:allowedValue>http://open-services.net/ns/auto#new
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#inProgress
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#complete
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#queued
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#canceling
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#canceled
</oslc:allowedValue>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/created" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Created</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Timestamp of resource creation.</dcterms:description>
<oslc:readOnly>true</oslc:readOnly>
<oslc:name>created</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/auto#inputParameter" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#LocalResource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Input Parameters</dcterms:title>
<oslc:range rdf:resource="http://open-services.net/ns/auto#ParameterInstance" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Parameters provided when Automation Requests are created
</dcterms:description>
<oslc:name>inputParameter</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/contributor" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Contributors</dcterms:title>
<oslc:range rdf:resource="http://xmlns.com/foaf/0.1/Person" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
The person(s) who are responsible for the work needed to complete
the test case.</dcterms:description>
<oslc:name>contributor</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/identifier" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Exactly-one" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Identifier</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
A unique identifier for a resource. Assigned by the service
provider when a resource is created. Not intended for end-user
display.</dcterms:description>
<oslc:readOnly>true</oslc:readOnly>
<oslc:name>identifier</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/creator" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Creators</dcterms:title>
<oslc:range rdf:resource="http://xmlns.com/foaf/0.1/Person" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Creator or creators of resource.</dcterms:description>
<oslc:name>creator</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/description" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:valueType
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Description</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Descriptive text (reference: Dublin Core) about resource
represented as rich text in XHTML content.</dcterms:description>
<oslc:name>description</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/modified" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Modified</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Timestamp last latest resource modification.</dcterms:description>
<oslc:readOnly>true</oslc:readOnly>
<oslc:name>modified</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>executesAutomationPlan</oslc:name>
<oslc:range rdf:resource="http://open-services.net/ns/auto#AutomationPlan" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Automation Plan run by the Automation Request.
</dcterms:description>
<oslc:readOnly>false</oslc:readOnly>
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Exactly-one" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Automation Plan Executed</dcterms:title>
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/auto#executesAutomationPlan" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Types</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
The resource type URIs.</dcterms:description>
<oslc:name>type</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/core#serviceProvider" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Service Provider</dcterms:title>
<oslc:range rdf:resource="http://open-services.net/ns/core#ServiceProvider" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
The scope of a resource is a URI for the resource's OSLC Service
Provider.</dcterms:description>
<oslc:name>serviceProvider</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/core#instanceShape" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Instance Shape</dcterms:title>
<oslc:range rdf:resource="http://open-services.net/ns/core#ResourceShape" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Resource Shape that provides hints as to resource property
value-types and allowed values. </dcterms:description>
<oslc:name>instanceShape</oslc:name>
</oslc:Property>
</oslc:property>
</oslc:ResourceShape>
</rdf:RDF>
AutomationResult
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<oslc:ResourceShape
rdf:about="http://example.com:8080/OSLC4JAutomation/resourceShapes/autoResult">
<dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Automation Resource Shape</dcterms:title>
<oslc:describes rdf:resource="http://open-services.net/ns/auto#AutomationResult" />
<oslc:property>
<oslc:Property>
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Automation Result Verdicts</dcterms:title>
<oslc:occurs rdf:resource="http://open-services.net/ns/core#One-or-many" />
<oslc:readOnly>true</oslc:readOnly>
<oslc:propertyDefinition rdf:resource="http://open-services.net/ns/auto#verdict" />
<oslc:name>verdict</oslc:name>
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
See list of allowed values for oslc_auto:verdict
</dcterms:description>
<oslc:allowedValue>http://open-services.net/ns/auto#passed
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#unavailable
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#failed
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#error
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#warning
</oslc:allowedValue>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Automation Result States</dcterms:title>
<oslc:allowedValue>http://open-services.net/ns/auto#canceling
</oslc:allowedValue>
<oslc:propertyDefinition rdf:resource="http://open-services.net/ns/auto#state" />
<oslc:name>state</oslc:name>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
See list of allowed values for oslc_auto:state
</dcterms:description>
<oslc:occurs rdf:resource="http://open-services.net/ns/core#One-or-many" />
<oslc:readOnly>true</oslc:readOnly>
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:allowedValue>http://open-services.net/ns/auto#new
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#inProgress
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#complete
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#queued
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#canceling
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#canceled
</oslc:allowedValue>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>desiredState</oslc:name>
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Desired State</dcterms:title>
<oslc:readOnly>false</oslc:readOnly>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/auto#desiredState" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Used to indicate the desired state of the Automation Request based
on values defined by the service provider.</dcterms:description>
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:allowedValue>http://open-services.net/ns/auto#new
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#inProgress
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#complete
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#queued
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#canceling
</oslc:allowedValue>
<oslc:allowedValue>http://open-services.net/ns/auto#canceled
</oslc:allowedValue>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/identifier" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Exactly-one" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Identifier</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
A unique identifier for a resource. Assigned by the service
provider when a resource is created. Not intended for end-user
display.</dcterms:description>
<oslc:readOnly>true</oslc:readOnly>
<oslc:name>identifier</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/contributor" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Contributors</dcterms:title>
<oslc:range rdf:resource="http://xmlns.com/foaf/0.1/Person" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
The person(s) who are responsible for the work needed to complete
the test case.</dcterms:description>
<oslc:name>contributor</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/created" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Created</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Timestamp of resource creation.</dcterms:description>
<oslc:readOnly>true</oslc:readOnly>
<oslc:name>created</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/auto#contribution" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#LocalResource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Result Contribution</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
A result contribution associated with this automation result.
</dcterms:description>
<oslc:name>contribution</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/creator" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Creators</dcterms:title>
<oslc:range rdf:resource="http://xmlns.com/foaf/0.1/Person" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Creator or creators of resource.</dcterms:description>
<oslc:name>creator</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/title" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Exactly-one" />
<oslc:valueType
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Title</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Title (reference: Dublin Core) or often a single line summary of
the resource represented as rich text in XHTML content.
</dcterms:description>
<oslc:name>title</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/auto#inputParameter" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#LocalResource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Input Parameters</dcterms:title>
<oslc:range rdf:resource="http://open-services.net/ns/auto#ParameterInstance" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Parameters provided when Automation Requests are created
</dcterms:description>
<oslc:name>inputParameter</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/auto#outputParameter" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#LocalResource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Output Parameters</dcterms:title>
<oslc:range rdf:resource="http://open-services.net/ns/auto#ParameterInstance" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Parameters associated with the automation execution which produced
this Result</dcterms:description>
<oslc:name>outputParameter</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/modified" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Modified</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Timestamp last latest resource modification.</dcterms:description>
<oslc:readOnly>true</oslc:readOnly>
<oslc:name>modified</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:range rdf:resource="http://open-services.net/ns/auto#AutomationPlan" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Exactly-one" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:name>reportsOnAutomationPlan</oslc:name>
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Automation Plan Reported On</dcterms:title>
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/auto#reportsOnAutomationPlan" />
<oslc:readOnly>false</oslc:readOnly>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Automation Plan which the Automation Result reports on.
</dcterms:description>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:range rdf:resource="http://open-services.net/ns/auto#AutomationRequest" />
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/auto#producedByAutomationRequest" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Automation Request Executed</dcterms:title>
<oslc:name>producedByAutomationRequest</oslc:name>
<oslc:readOnly>false</oslc:readOnly>
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Automation Request which produced the Automation Result.
</dcterms:description>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Types</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
The resource type URIs.</dcterms:description>
<oslc:name>type</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/core#serviceProvider" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Service Provider</dcterms:title>
<oslc:range rdf:resource="http://open-services.net/ns/core#ServiceProvider" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
The scope of a resource is a URI for the resource's OSLC Service
Provider.</dcterms:description>
<oslc:name>serviceProvider</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/core#instanceShape" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Instance Shape</dcterms:title>
<oslc:range rdf:resource="http://open-services.net/ns/core#ResourceShape" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Resource Shape that provides hints as to resource property
value-types and allowed values. </dcterms:description>
<oslc:name>instanceShape</oslc:name>
</oslc:Property>
</oslc:property>
</oslc:ResourceShape>
</rdf:RDF>
ParameterInstance
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<oslc:ResourceShape
rdf:about="http://example.com:8080/OSLC4JAutomation/resourceShapes/parameterInstance">
<dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Automation Parameter Instance Resource Shape</dcterms:title>
<oslc:describes rdf:resource="http://open-services.net/ns/auto#ParameterInstance" />
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://open-services.net/ns/core#name" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Exactly-one" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Name</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
The name of the parameter instance.</dcterms:description>
<oslc:name>name</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/description" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:valueType
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Description</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Descriptive text (reference: Dublin Core) about resource
represented as rich text in XHTML content.</dcterms:description>
<oslc:name>description</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Value</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
The value of the parameter. rdf:datatype SHOULD be used to indicate
the type of the parameter instance value.</dcterms:description>
<oslc:name>value</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#value" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Types</dcterms:title>
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
The resource type URIs.</dcterms:description>
<oslc:name>type</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/core#serviceProvider" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Service Provider</dcterms:title>
<oslc:range rdf:resource="http://open-services.net/ns/core#ServiceProvider" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
The scope of a resource is a URI for the resource's OSLC Service
Provider.</dcterms:description>
<oslc:name>serviceProvider</oslc:name>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/core#instanceShape" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<dcterms:title
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Instance Shape</dcterms:title>
<oslc:range rdf:resource="http://open-services.net/ns/core#ResourceShape" />
<dcterms:description
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
Resource Shape that provides hints as to resource property
value-types and allowed values. </dcterms:description>
<oslc:name>instanceShape</oslc:name>
</oslc:Property>
</oslc:property>
</oslc:ResourceShape>
</rdf:RDF>