oslc_asset
- The asset management resources - http://open-services.net/xmlns/asset/1.0/
rdf
- RDF XML namespace - http://www.w3.org/1999/02/22-rdf-syntax-ns#
dc
- The Dublin Core Metadata Terms namespace - http://purl.org/dc/terms/
application/xml
.
XML Representation Summary: Asset Element | |
<oslc_asset:Asset rdf:about = xsd:anyURI > Content: (ras:id, dc:title, dc:type, dc:subject, dc:state, dc:description?, dc:contributor?, artifactContentFactory, artifact?, relation?, dc:modified?) </oslc_asset:Asset> | |
Property | Representation |
ras:id | The required identifier for the asset includes the GUID and version. |
dc:title | The required title string. Note that this element comes from the DC namespace, allowing tools unaware of the asset management domain to access this element. This is sometimes also referred to as the asset name. |
dc:type | The required type string. The type of asset that is represented, such as: Service, Release, etc. |
dc:subject | The required subject string. The DC namespace defines this element to be the topic of the asset.This is also known as the asset's short description. |
dc:description | The optional description string. This element comes from the DC namespace, allowing tools completely unaware of the change management domain to access this element. |
dc:contributor | The required multi-valued property for each of the asset owners. |
state | The required , read-only, state string. The current state of the asset. This element comes from the DC namespace, allowing tools completely unaware of the change management domain to access this element. |
artifactContentFactory | The required , read-only resource URI used to post new Artifacts to the Assset. |
artifact | The optional multi valued list of artifacs |
- dc:title | The required title string. Note that this element comes from the DC namespace, allowing tools unaware of the asset management domain to access this element. |
- content | The required media resource reference URI (the artifact bytes). |
- dc:subject | The optional subject string. The DC namespace defines this element to be the topic of the asset.This is also known as the artifact's label. |
- mimeType | The required mime type of the artifact media. |
- size | The required size of the artifact media in bytes. |
- dc:modified | The required, read-only modified date time which must conform to RFC3339 format |
relation | The optional multi valued list of relationships to other assets. |
- rdf:resource | The required reference to the related resource. |
- dc:type | The optional type string. The type of relationship (i.e. dependcy, test case, specification...) |
- dc:title | The optional string name of the relation. |
dc:modified | The required, read-only modified date time which must conform to RFC3339 format |
<?xml version="1.0" encoding="UTF-8"?> <oslc_asset:asset rdf:about="https://server:9443/am/oslc/assets/%7B1082CDD3-1E40-5648-E7DC-5137CC841AA5%7D/1.0"> <ras:id> <ras:GUID>{1082CDD3-1E40-5648-E7DC-5137CC841AA5}</ras:GUID> <ras:version>1.0.20091011</ras:version> </ras:id> <dc:title>Myco Services Application</dc:title> <dc:subject>My Company's REST Services Application</dc:subject> <dc:type>Application</dc:type> <oslc_asset:state>Approved</oslc_asset:state> <dc:contributor>bobsmith@myco.com</dc:contributor> <oslc_asset:artifactContentFactory rdf:resource="https://server:9443/am/oslc/assets/%7B1082CDD3-1E40-5648-E7DC-5137CC841AA5%7D/1.0.20091011/artifacts"/> <oslc_asset:artifact> <dc:title>services.ear</dc:title> <dc:subject>Services Enterprise Application</dc:subject> <oslc_asset:mimeType>application/ear</oslc_asset:mimeType> <oslc_asset:content rdf:resource="oslc/assets/%7B1082CDD3-1E40-5648-E7DC-5137CC841AA5%7D/1.0.20091011/artifactConetnts/ear/services.ear"/> <oslc_asset:size>22130688</oslc_asset:size> <dc:modified>2008-09-16T08:42:11.265Z</dc:modified> </oslc_asset:artifact> <oslc_asset:artifact> <dc:title>buildSummary.html</dc:title> <dc:subject>Build Summary</dc:subject> <content rdf:resource="https://buildServer/fullcontrol/index.php?mod=jobs&action=edit&bf_id=965518"/> <dc:modified>2008-09-16T08:42:11.265Z</dc:modified> </oslc_asset:artifact> <oslc_asset:relation rdf:resource="https://server:9443/am/oslc/assets/%7B882B4FD7-3C72-4DB0-8097-66866E7D45F6%7D/1.2"> <dc:title>Appache Logging Service</dc:title> <dc:type>Dependency</dc:type> </oslc_asset:relation> <dc:modified>2008-09-16T08:42:11.265Z</dc:modified> </oslc_asset:asset>
application/json
.
XML Representation Summary: Asset Element | |
{ Content: (ras:id, dc:title, dc:type, dc:subject, dc:state, dc:description?, owner?, artifactContentFactory, artifact?, relation?, dc:modified?) } | |
Property | Representation |
ras:id | The required identifier for the asset includes the GUID and version. |
dc:title | The required title string. Note that this element comes from the DC namespace, allowing tools unaware of the asset management domain to access this element. This is sometimes also referred to as the asset name. |
dc:type | The required type string. The type of asset that is represented, such as: Service, Release, etc. |
dc:subject | The required subject string. The DC namespace defines this element to be the topic of the asset.This is also known as the asset's short description. |
dc:description | The optional description string. This element comes from the DC namespace, allowing tools completely unaware of the change management domain to access this element. |
dc:contributor | The required multi-valued property for each of the asset owners. |
state | The required , read-only, state string. The current state of the asset. This element comes from the DC namespace, allowing tools completely unaware of the change management domain to access this element. |
artifactContentFactory | The required , read-only resource URI used to post new Artifacts to the Assset. |
artifact | The optional multi valued list of artifats |
- dc:title | The required title string. Note that this element comes from the DC namespace, allowing tools unaware of the asset management domain to access this element. |
- content | The required media resource reference URI (the artifact bytes). |
- dc:subject | The optional subject string. The DC namespace defines this element to be the topic of the asset.This is also known as the artifact's label. |
- mimeType | The required mime type of the artifact media. |
- size | The required size of the artifact media in bytes. |
- dc:modified | The required, read-only modified date time which must conform to RFC3339 format |
relation | The optional multi valued list of relationships to other assets. |
- rdf:resource | The required reference to the related resource. |
- dc:type | The optional type string. The type of relationship (i.e. dependcy, test case, specification...) |
- dc:title | The optional string name of the relation. |
dc:modified | The required, read-only modified date time which must conform to RFC3339 format |
{ "rdf:about": "https://server:9443/am/"oslc/assets/%7B1082CDD3-1E40-5648-E7DC-5137CC841AA5%7D/1.0", "ras:id": {"ras:GUID": "{1082CDD3-1E40-5648-E7DC-5137CC841AA5}", "ras:version", "1.0.20091011"}, "dc:title": "Myco Services Application", "dc:subject" : "My Company's REST Services Application", "dc:type" : "Application", "oslc_asset:state" : "Approved", "dc:contributor" : "bobsmith@myco.com", "oslc_asset:artifactFactory" :{ "rdf:resource": "https://server:9443/am/"oslc/assets/%7B1082CDD3-1E40-5648-E7DC-5137CC841AA5%7D/1.0.20091011/artifacts"}, "oslc_asset:artifact" : {"dc:title" : "services.ear", "dc:subject": "Services Enterprise Application", "oslc_asset:mimeType": "application/ear" "oslc_asset:size": "22130688", "dc:modified": "2008-09-16T08:42:11.265Z"}, "oslc_asset:artifact" : {"dc:title" : "buildSummary.html", "dc:subject", "Build Summary" "oslc_asset:content" : "https://buildServer/fullcontrol/index.php?mod=jobs&action=edit&bf_id=965518"}, "dc:relation": {"dc:type": {"value": "Dependency", "rdf:resource": "https://server:9443/am/"oslc/assets/%7B882B4FD7-3C72-4DB0-8097-66866E7D45F6%7D/1.2"}} "dc:modified" : "2008-09-16T08:42:11.265Z" }